Mailinglist Archive: opensuse-kernel (79 mails)

< Previous Next >
[opensuse-kernel] How in obs can 'make oldconfig' be run in obs ?
  • From: <doiggl@xxxxxxxxxxxxxxxxxx>
  • Date: Wed, 08 Sep 2010 22:24:34 +1000
  • Message-id: <ef19f477748ec8c6ddadd62ef6995881@xxxxxxxxxxxxxxxxxxxxxxx>
Hello,
As suggested by the message [1] when I run the command 'make oldconfig'
in obs it generates the message as follows:

+ test -e /usr/src/packages/SOURCES/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS
+ $'/usr/bin/make\342\200\202oldconfig'
/var/tmp/rpm-tmp.Kg8iar: line 164: /usr/bin/make oldconfig: No such file or 
directory
error: Bad exit status from /var/tmp/rpm-tmp.Kg8iar (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Kg8iar (%prep)
SysRq : Power Off
Power down.

Question
How in obs can 'make oldconfig' be run in obs?
The full spec is listed at [2]
Thanks Glenn


[1]
+ make silentoldconfig -C 
/usr/src/packages/BUILD/kernel-vanilla-2.6.36/linux-2.6.35.4 
O=/usr/src/packages/BUILD/kernel-vanilla-2.6.36/linux-obj
make: Entering directory 
`/usr/src/packages/BUILD/kernel-vanilla-2.6.36/linux-2.6.35.4'
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  GEN     /usr/src/packages/BUILD/kernel-vanilla-2.6.36/linux-obj/Makefile
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kxgettext.o
  SHIPPED scripts/kconfig/zconf.tab.c
  SHIPPED scripts/kconfig/lex.zconf.c
  SHIPPED scripts/kconfig/zconf.hash.c
  HOSTCC  scripts/kconfig/zconf.tab.o
  HOSTLD  scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
*
* Restart config...
*
*
* Keyboards
*
Keyboards (INPUT_KEYBOARD) [Y/?] y
  Keypad Support for ADP5520 PMIC (KEYBOARD_ADP5520) [M/n/y/?] m
  ADP5588/87 I2C QWERTY Keypad and IO Expander (KEYBOARD_ADP5588) [M/n/y/?] m
  Atmel AT42QT2160 Touch Sensor Chip (KEYBOARD_QT2160) [N/m/y/?] (NEW) aborted!

Console input/output is redirected. Run 'make oldconfig' to update 
configuration.

make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** [sub-make] Error 2
make: Leaving directory 
`/usr/src/packages/BUILD/kernel-vanilla-2.6.36/linux-2.6.35.4'
error: Bad exit status from /var/tmp/rpm-tmp.g9zsTC (%prep)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.g9zsTC (%prep)
SysRq : Power Off
Power down.

[2] Full .spec file ->
https://build.opensuse.org/package/view_file?file=kernel-vanilla.spec&package=kernel-vanilla&project=home%3Adoiggl&srcmd5=8d4ca505ad91793bd71a5da38b04cbca

[part listing] The first line was added in
/usr/bin/make oldconfig
make silentoldconfig $MAKE_ARGS < /dev/null

--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups