Bug 1213552 - ERROR: Kernel configuration is invalid. include/generated/autoconf.h or include/config/auto.conf are missing.
Summary: ERROR: Kernel configuration is invalid. include/generated/autoconf.h or inclu...
Status: RESOLVED FIXED
Alias: None
Product: openSUSE.org
Classification: openSUSE
Component: BuildService (show other bugs)
Version: unspecified
Hardware: x86-64 openSUSE Leap 15.5
: P5 - None : Critical (vote)
Target Milestone: ---
Assignee: E-mail List
QA Contact: Adrian Schröter
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-21 13:06 UTC by Larry Rainey
Modified: 2023-07-21 18:56 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Larry Rainey 2023-07-21 13:06:39 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
Comment 1 Takashi Iwai 2023-07-21 14:06:08 UTC
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.
Comment 2 Larry Rainey 2023-07-21 14:27:46 UTC
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.
Comment 3 Takashi Iwai 2023-07-21 14:36:11 UTC
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.
Comment 4 Larry Rainey 2023-07-21 18:56:45 UTC
Found a condtion where and if endif was needed