[opensuse-kernel] How in obs can 'make oldconfig' be run in obs ?
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@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Wed, Sep 08, 2010 at 10:24:34PM +1000, doiggl@velocitynet.com.au wrote:
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)
Well, it seems the space between make and oldconfig is not a ascii space, but some other weird character? Ciao, Marcus -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
On Wed, 8 Sep 2010 14:25:53 +0200, Marcus Meissner <meissner@suse.de> wrote:
On Wed, Sep 08, 2010 at 10:24:34PM +1000, doiggl@velocitynet.com.au wrote:
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)
Well, it seems the space between make and oldconfig is not a ascii space, but some other weird character?
Ciao, Marcus
Managed to fix the weird character issue. The message I get now is + cd linux-2.6.35.4 + /usr/src/packages/SOURCES/apply-patches --vanilla /usr/src/packages/SOURCES/series.conf .. + patch -s -F0 -E -p1 --no-backup-if-mismatch -i ../patches.rpmify/reiser4-for-2.6.35.patch + cd /usr/src/packages/BUILD/kernel-vanilla-2.6.36/linux-obj + '[' -f /usr/src/packages/SOURCES/localversion ']' + test -e ../config.addon/x86_64/vanilla + /usr/src/packages/SOURCES/configtool.pl ../config/x86_64/vanilla ../config.addon/x86_64/vanilla + /usr/src/packages/BUILD/kernel-vanilla-2.6.36/linux-2.6.35.4/scripts/config --set-str CONFIG_LOCALVERSION -6-vanilla --enable CONFIG_SUSE_KERNEL --disable CONFIG_DEBUG_INFO + MAKE_ARGS=' -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' + test -e /usr/src/packages/SOURCES/TOLERATE-UNKNOWN-NEW-CONFIG-OPTIONS + /usr/bin/make oldconfig make: *** No rule to make target `oldconfig'. Stop. error: Bad exit status from /var/tmp/rpm-tmp.TQaPvf (%prep) How can this error be resolved ? Thanks Glenn -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-kernel+help@opensuse.org
participants (2)
-
doiggl@velocitynet.com.au
-
Marcus Meissner