Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 908804 - app-emulation/virtualbox-modules-7.0.8 build fails with make error
Summary: app-emulation/virtualbox-modules-7.0.8 build fails with make error
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Viorel Munteanu
Depends on:
Reported: 2023-06-18 20:48 UTC by David Suarez
Modified: 2023-11-28 11:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---

Build Log (build.log,73.27 KB, text/x-log)
2023-06-18 20:50 UTC, David Suarez
emerge --info (emerge.txt,6.77 KB, text/plain)
2023-06-18 20:52 UTC, David Suarez

Note You need to log in before you can comment on or make changes to this bug.
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/', 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.