Bug 100901

Summary: After building a kernel sucessfully, building target "binrpm-pkg" fails with "unrecognized option '--silentoldconfig'"
Product: Other Reporter: Thomas Schweikle (tps)
Component: OtherAssignee: other_other
Status: NEW ---    
Severity: normal    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: linux-3.12.y, linux3.14.y, linux-3.18.y, linux-4.0.y Subsystem:
Regression: No Bisected commit-id:

Description Thomas Schweikle 2015-07-04 07:47:56 UTC
MKDIR   /var/lib/jenkins/rpmbuild/BUILDROOT/kernel-3.12.44-4.x86_64/lib/firmware/3.12.44/yam/
  INSTALL /var/lib/jenkins/rpmbuild/BUILDROOT/kernel-3.12.44-4.x86_64/lib/firmware/3.12.44/yam/1200.bin
  IHEX    firmware/yam/9600.bin
  INSTALL /var/lib/jenkins/rpmbuild/BUILDROOT/kernel-3.12.44-4.x86_64/lib/firmware/3.12.44/yam/9600.bin
+ cp HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --silentoldconfig Kconfig arch/x86/boot/bzImage /var/lib/jenkins/rpmbuild/BUILDROOT/kernel-3.12.44-4.x86_64/boot/vmlinuz-3.12.44
cp: unrecognized option '--silentoldconfig'
Try 'cp --help' for more information.
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.U5bGNZ (%install)


Fehler beim Bauen des RPM:
    Fehler-Status beim Beenden von /var/tmp/rpm-tmp.U5bGNZ (%install)
make[2]: *** [binrpm-pkg] Fehler 1
make[1]: *** [binrpm-pkg] Fehler 2
make: *** [sub-make] Fehler 2
+ true


Changing the command to:
cp HOSTCC scripts/basic/fixdep HOSTCC scripts/kconfig/conf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/zconf.lex.c SHIPPED scripts/kconfig/zconf.hash.c HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf -- silentoldconfig Kconfig arch/x86/boot/bzImage /var/lib/jenkins/rpmbuild/BUILDROOT/kernel-3.12.44-4.x86_64/boot/vmlinuz-3.12.44

makes it work. I'd assume a missing space between "--" and "silentoldconfig".
Comment 1 Thomas Schweikle 2015-07-05 01:02:42 UTC
can't build binrpm-pkg for:
- linux-3.12.y
- linux-3.14.y
- linux-3.18.y
- linux-4.0.y

works for
- linux-3.10.y