Bug 1440857
Summary: | make prepare fails in F24 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ed Wahl <ewahl> |
Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | 5jxusjgarm, anees.sirmulla, gansalmon, ichavero, itamar, iuyo5678, jonathan, kernel-maint, labbott, madhu.chinakonda, mchehab, mxedit10n, pollock, redhat, sohnythomas, yurikoles |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-08 19:46:13 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ed Wahl
2017-04-10 15:44:24 UTC
4.8.x is very old. Please test on the newest kernels. *********** MASS BUG UPDATE ************** We apologize for the inconvenience. There are a large number of bugs to go through and several of them have gone stale. Due to this, we are doing a mass bug update across all of the Fedora 24 kernel bugs. Fedora 25 has now been rebased to 4.10.9-100.fc24. Please test this kernel update (or newer) and let us know if you issue has been resolved or if it is still present with the newer kernel. If you have moved on to Fedora 26, and are still experiencing this issue, please change the version to Fedora 26. If you experience different issues, please open a new bug report for those. Tested 4.8.15-200.fc24.x86_64 still an issue. root@osc-nc166744 kernels]# cd 4.10.8-100.fc24.x86_64/ [root@osc-nc166744 4.10.8-100.fc24.x86_64]# make oldconfig HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/bin2c HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/zconf.tab.o HOSTLD scripts/kconfig/conf scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config # [root@osc-nc166744 4.10.8-100.fc24.x86_64]# make prepare scripts/kconfig/conf --silentoldconfig Kconfig HOSTCC arch/x86/tools/relocs_32.o HOSTCC arch/x86/tools/relocs_64.o HOSTCC arch/x86/tools/relocs_common.o HOSTLD arch/x86/tools/relocs CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CC arch/x86/purgatory/purgatory.o AS arch/x86/purgatory/stack.o AS arch/x86/purgatory/setup-x86_64.o CC arch/x86/purgatory/sha256.o AS arch/x86/purgatory/entry64.o CC arch/x86/purgatory/string.o LD arch/x86/purgatory/purgatory.ro BIN2C arch/x86/purgatory/kexec-purgatory.c DESCEND objtool /usr/src/kernels/4.10.8-100.fc24.x86_64/tools/build/Makefile.build:32: /usr/src/kernels/4.10.8-100.fc24.x86_64/tools/build/Build.include: No such file or directory make[4]: *** No rule to make target '/usr/src/kernels/4.10.8-100.fc24.x86_64/tools/build/Build.include'. Stop. Makefile:42: recipe for target '/usr/src/kernels/4.10.8-100.fc24.x86_64/tools/objtool/fixdep-in.o' failed make[3]: *** [/usr/src/kernels/4.10.8-100.fc24.x86_64/tools/objtool/fixdep-in.o] Error 2 /usr/src/kernels/4.10.8-100.fc24.x86_64/tools/build/Makefile.include:4: recipe for target 'fixdep' failed make[2]: *** [fixdep] Error 2 Makefile:61: recipe for target 'objtool' failed make[1]: *** [objtool] Error 2 Makefile:1617: recipe for target 'tools/objtool' failed make: *** [tools/objtool] Error 2 Note this is also an issue on latest 4.10.8-100.fc24.x86_64/ as shown above. Sorry took a day to hit Save. (In reply to Ed Wahl from comment #3) [root@Fedoraworld 4.10.14-100.fc24.x86_64]# make prepare CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h DESCEND objtool /usr/src/kernels/4.10.14-100.fc24.x86_64/tools/build/Makefile.build:32: /usr/src/kernels/4.10.14-100.fc24.x86_64/tools/build/Build.include: No such file or directory make[4]: *** No rule to make target '/usr/src/kernels/4.10.14-100.fc24.x86_64/tools/build/Build.include'. Stop. Makefile:42: recipe for target '/usr/src/kernels/4.10.14-100.fc24.x86_64/tools/objtool/fixdep-in.o' failed make[3]: *** [/usr/src/kernels/4.10.14-100.fc24.x86_64/tools/objtool/fixdep-in.o] Error 2 /usr/src/kernels/4.10.14-100.fc24.x86_64/tools/build/Makefile.include:4: recipe for target 'fixdep' failed make[2]: *** [fixdep] Error 2 Makefile:61: recipe for target 'objtool' failed make[1]: *** [objtool] Error 2 Makefile:1617: recipe for target 'tools/objtool' failed make: *** [tools/objtool] Error 2 [root@Fedoraworld 4.10.14-100.fc24.x86_64]# rpm -qi kernel-devel Name : kernel-devel Version : 4.10.14 Release : 100.fc24 Architecture: x86_64 Install Date: Saturday 13 May 2017 02:14:37 PM IST Group : System Environment/Kernel Size : 43793223 License : GPLv2 and Redistributable, no modification permitted Signature : RSA/SHA256, Thursday 04 May 2017 05:15:58 PM IST, Key ID 73bde98381b46521 Source RPM : kernel-4.10.14-100.fc24.src.rpm Build Date : Thursday 04 May 2017 01:59:01 AM IST Build Host : bkernel01.phx2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://www.kernel.org/ Summary : Development package for building kernel modules to match the kernel Description : This package provides kernel headers and makefiles sufficient to build modules against the kernel package. [root@Fedoraworld 4.10.14-100.fc24.x86_64]# [root@Fedoraworld 4.10.14-100.fc24.x86_64]# uname -a Linux Fedoraworld 4.10.6-100.fc24.x86_64 #1 SMP Mon Mar 27 17:29:12 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [root@Fedoraworld 4.10.14-100.fc24.x86_64]# [root@mxtuxb0x 4.10.17-200.fc25.x86_64]# uname -a Linux mxtuxb0x 4.10.17-200.fc25.x86_64 #1 SMP Mon May 22 18:12:57 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux [root@mxtuxb0x 4.10.17-200.fc25.x86_64]# rpm -qi kernel-devel Name : kernel-devel Version : 4.10.17 Release : 200.fc25 Architecture: x86_64 Install Date: Sat 27 May 2017 10:46:42 PM EDT Group : System Environment/Kernel Size : 43793405 License : GPLv2 and Redistributable, no modification permitted Signature : RSA/SHA256, Tue 23 May 2017 12:48:34 AM EDT, Key ID 4089d8f2fdb19c98 Source RPM : kernel-4.10.17-200.fc25.src.rpm Build Date : Mon 22 May 2017 03:27:06 PM EDT Build Host : bkernel02.phx2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://www.kernel.org/ Summary : Development package for building kernel modules to match the kernel Description : This package provides kernel headers and makefiles sufficient to build modules against the kernel package. [root@mxtuxb0x 4.10.17-200.fc25.x86_64]# make prepare CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h DESCEND objtool /usr/src/kernels/4.10.17-200.fc25.x86_64/tools/build/Makefile.build:32: /usr/src/kernels/4.10.17-200.fc25.x86_64/tools/build/Build.include: No such file or directory make[4]: *** No rule to make target '/usr/src/kernels/4.10.17-200.fc25.x86_64/tools/build/Build.include'. Stop. Makefile:42: recipe for target '/usr/src/kernels/4.10.17-200.fc25.x86_64/tools/objtool/fixdep-in.o' failed make[3]: *** [/usr/src/kernels/4.10.17-200.fc25.x86_64/tools/objtool/fixdep-in.o] Error 2 /usr/src/kernels/4.10.17-200.fc25.x86_64/tools/build/Makefile.include:4: recipe for target 'fixdep' failed make[2]: *** [fixdep] Error 2 Makefile:61: recipe for target 'objtool' failed make[1]: *** [objtool] Error 2 Makefile:1617: recipe for target 'tools/objtool' failed make: *** [tools/objtool] Error 2 [root@mxtuxb0x 4.10.17-200.fc25.x86_64]# This message is a reminder that Fedora 24 is nearing its end of life. Approximately 2 (two) weeks from now Fedora will stop maintaining and issuing updates for Fedora 24. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '24'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 24 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. Please reopen. This bug exists for Fedora 26: [root@localhost 4.13.9-200.fc26.x86_64]# make prepare CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h DESCEND objtool /usr/src/kernels/4.13.9-200.fc26.x86_64/tools/build/Makefile.build:36: /usr/src/kernels/4.13.9-200.fc26.x86_64/tools/build/Build.include: No such file or directory make[4]: *** No rule to make target '/usr/src/kernels/4.13.9-200.fc26.x86_64/tools/build/Build.include'. Stop. make[3]: *** [Makefile:42: /usr/src/kernels/4.13.9-200.fc26.x86_64/tools/objtool/fixdep-in.o] Error 2 make[2]: *** [/usr/src/kernels/4.13.9-200.fc26.x86_64/tools/build/Makefile.include:4: fixdep] Error 2 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1641: tools/objtool] Error 2 This bug prevents building the latest VirtualBox modules!! This is a SERIOUS problem! Also on Fedora 27: [root@localhost 4.14.11-300.fc27.x86_64]# make prepare CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h DESCEND objtool /usr/src/kernels/4.14.11-300.fc27.x86_64/tools/build/Makefile.build:37: /usr/src/kernels/4.14.11-300.fc27.x86_64/tools/build/Build.include: No such file or directory make[4]: *** No rule to make target '/usr/src/kernels/4.14.11-300.fc27.x86_64/tools/build/Build.include'. Stop. make[3]: *** [Makefile:43: /usr/src/kernels/4.14.11-300.fc27.x86_64/tools/objtool/fixdep-in.o] Error 2 make[2]: *** [/usr/src/kernels/4.14.11-300.fc27.x86_64/tools/build/Makefile.include:4: fixdep] Error 2 make[1]: *** [Makefile:62: objtool] Error 2 make: *** [Makefile:1636: tools/objtool] Error 2 I don't understand why this is being ignored. HI @Paul Anguiano were you able to receive any update on this? I've heard nothing. Bug remains auto-closed. It doesn't appear anyone has ever seriously looked at this issue, so I don't know what the purpose of this bug tracker is. It is exceedingly odd that they simply close all bugs at the end of a version cycle, as if pretending they no longer exist, rather than rolling them forward. I suppose the way forward, from the auto-notice, is: "If you are unable to reopen this bug, please file a new report against the current release." Every other project I've worked on has done everything they can to avoid duplicates, but I don't see any other way to get anyone's attention. Also find on fedroa 27, I try to download the kernel src code to fix 。。。。 Please re-open for Fedora 27. STEPS TO REPRODUCE: 1. Create a Fedora 27 virtual machine in VirtualBox 5.2.6. 2. Run `sudo dnf upgrade -y --refresh`. 3. Run `sudo dnf install -y kernel-devel`. 4. Insert the VirtualBox Guest Additions CD image. 5. When prompted, install VirtualBox Guest Additions 5.2.6. OBSERVED BEHAVIOR: 1. A terminal window opens with the following: VirtualBox Guest Additions: Building the VirtualBox Guest Additions kernel modules. VirtualBox Guest Additions: Look at /var/log/vboxadd-setup.log to find out what went wrong 2. Running `head /var/log/vboxadd-setup.log` shows the following: Building the main Guest Additions module. make V=1 CONFIG_MODULE_SIG= -C /lib/modules/4.15.4-300.fc27.x86_64/build SUBDIRS=/tmp/vbox.0 SRCROOT=/tmp/vbox.0 -j4 modules make[1]: warning: -jN forced in submake: disabling jobserver mode. test -e include/generated/autoconf.h -a -e include/config/auto.conf || ( \ echo >&2; \ echo >&2 " ERROR: Kernel configuration is invalid."; \ echo >&2 " include/generated/autoconf.h or include/config/auto.conf are missing.";\ echo >&2 " Run 'make oldconfig && make prepare' on kernel src to fix it."; \ echo >&2 ; \ /bin/false) 3. Running `cd cd /usr/src/kernels/4.15.4-300.fc27.x86_64 && make oldconfig && make prepare` shows the following: scripts/kconfig/conf --oldconfig Kconfig # # configuration written to .config # scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h scripts/Kbuild.include:102: warning: overriding recipe for target '.cache.mk' scripts/Kbuild.include:102: warning: ignoring old recipe for target '.cache.mk' DESCEND objtool /usr/src/kernels/4.15.4-300.fc27.x86_64/tools/build/Makefile.build:37: /usr/src/kernels/4.15.4-300.fc27.x86_64/tools/build/Build.include: No such file or directory EXPECTED BEHAVIOR: 1. The development package for kernel 4.15.4-300 should provide tools/build/Build.include. 2. VirtualBox Guest Additions should compile with kernel 4.15.4-300. ENVIRONMENT: # grep PRETTY_NAME /etc/os-release PRETTY_NAME="Fedora 27 (Workstation Edition)" # uname -ar Linux localhost.localdomain 4.15.4-300.fc27.x86_64 #1 SMP Mon Feb 19 23:31:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux # dnf info kernel-devel | grep Source Source : kernel-4.15.4-300.fc27.src.rpm This bug looks related to #1460526. |