Bugzilla – Bug 1213552
ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing.
Last modified: 2023-07-21 18:56:45 UTC
Last night (7/19/2023) the 15.5 kernel part of VirtualBox complied with no errors. Today we submitted it and it said failed. I have to believe something got broken - can someone figure out why this happened today - is it because the signature of repomd.xlm in SLES 15 repos is bad? See 15.5 in build.opensuse.org for another log https://build.opensuse.org/package/show/Virtualization/virtualbox/ To see if unique to OBS - I reran the osc build on my computer and it now fails with this as the reason also: [ 50s] /usr/bin/make -C /usr/src/linux-5.14.21-150500.53-obj/x86_64/default -f /usr/src/linux-5.14.21-150500.53/Makefile modules [ 51s] test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ [ 51s] echo >&2; \ [ 51s] echo >&2 " ERROR: Kernel configuration is invalid."; \ [ 51s] echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ [ 51s] echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ [ 51s] echo >&2 ; \ [ 51s] /bin/false) [ 51s] /usr/bin/make -f /usr/src/linux-5.14.21-150500.53/scripts/Makefile.build obj=/home/abuild/rpmbuild/BUILD/VirtualBox-7.0.10/modules_build_dir/default/vboxvideo \ [ 51s] single-build= \ [ 51s] need-builtin=1 need-modorder=1 [ 52s] gcc -Wp,-MMD,/home/abuild/rpmbuild/BUILD/ViLast night the 15.5 kernel part of VirtualBox complied with no errors. Today we submitted it and it said failed. I have to believe something got broken - can someone figure out why this happened today - is it because the signature of repomd.xlm in SLES 15 repos is bad? I reran the osc build on my computer and it now fails with this as the reason: [ 50s] /usr/bin/make -C /usr/src/linux-5.14.21-150500.53-obj/x86_64/default -f /usr/src/linux-5.14.21-150500.53/Makefile modules [ 51s] test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ [ 51s] echo >&2; \ [ 51s] echo >&2 " ERROR: Kernel configuration is invalid."; \ [ 51s] echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ [ 51s] echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ [ 51s] echo >&2 ; \ [ 51s] /bin/false) [ 51s] /usr/bin/make -f /usr/src/linux-5.14.21-150500.53/scripts/Makefile.build obj=/home/abuild/rpmbuild/BUILD/VirtualBox-7.0.10/modules_build_dir/default/vboxvideo \ [ 51s] single-build= \ [ 51s] need-builtin=1 need-modorder=1 [ 52s] gcc -Wp,-MMD,/home/abuild/rpmbuild/BUILD/Vi
Are you sure that 7.0.10 was really built for Leap 15.5 in the past? I see no binaries for 15.5; in Virtualization/virtualbox:kmp, it has only 7.0.8 for 15.5 while TW and 15.4 have 7.0.10.
It is Larry Finger and my standard practice to build, test on osc. When testing is complete we submit it to OBS. 15.4, 15.5, and Tumbleweed all worked in osc on 7/19. When submitted to OBS on 7/20 - it failed to build the kmp. to see if OBS was the problem. I redid the osc after the OBS submit failed for 15.5 and the same error now appeared in osc for 15.5. Something changed overnight to osc as we had no errors on 7/18 (the day 7.0.10 was released and 7/19) we fixed typos in the change log on 7/20 and validated that it worked in 15.5 and tumbleweed test boxes.
Well, it's built for openSUSE:Backports:SLE-15-SP5, not openSUSE:Backports:SLE-15-SP5:Update. So basically the project won't get any update. I doubt it comes from the kernel update.
Found a condtion where and if endif was needed