Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 908804

Summary: app-emulation/virtualbox-modules-7.0.8 build fails with make error
Product: Gentoo Linux Reporter: David Suarez <darw_dobz>
Component: Current packagesAssignee: Viorel Munteanu <ceamac>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: ionen
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build Log
emerge --info

Description David Suarez 2023-06-18 20:48:16 UTC
While updating from 7.0.6 to 7.0.8, portage fails while building vboxdrv. The error I get is this:

> make[3]: *** No rule to make target 'scripts/module.lds', needed by '/var/tmp/portage/app-emulation/virtualbox-modules-7.0.8/work/vboxdrv/vboxdrv.ko'.  Stop.

Reproducible: Always

Steps to Reproduce:
1. sync your portage tree
2. try to emerge =app-emulation/virtualbox-modules-7.0.8
Actual Results:  
* ERROR: app-emulation/virtualbox-modules-7.0.8::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/virtualbox-modules-7.0.8::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/virtualbox-modules-7.0.8::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-emulation/virtualbox-modules-7.0.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-7.0.8/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/virtualbox-modules-7.0.8/work'
 * S: '/var/tmp/portage/app-emulation/virtualbox-modules-7.0.8/work'


Expected Results:  
EBuild should emerge without problems.
Comment 1 David Suarez 2023-06-18 20:50:13 UTC
Created attachment 864175 [details]
Build Log
Comment 2 David Suarez 2023-06-18 20:52:02 UTC
Created attachment 864176 [details]
emerge --info
Comment 3 Ionen Wolkens gentoo-dev 2023-06-18 21:02:46 UTC
>WARNING: Module.symvers is missing
This sounds like your kernel wasn't fully built? i.e. only did modules_prepare (often insufficient for many modules), or perhaps something else went wrong after sitting there for too long and it wouldn't hurt to make clean and rebuild kernel with current toolchain (updating it wouldn't hurt too, 6.1.19 is rather old)
Comment 4 Viorel Munteanu gentoo-dev 2023-06-20 05:02:06 UTC
The latest stable kernels are 6.1.28 and 6.1.31.  Please try with one of those.