Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950489 - app-emulation/virtualbox-7.1.4 missing 'automatic' dependency?
Summary: app-emulation/virtualbox-7.1.4 missing 'automatic' dependency?
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Viorel Munteanu
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-03 07:11 UTC by Joe Breuer
Modified: 2025-03-04 05:36 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,7.54 KB, text/plain)
2025-03-03 07:11 UTC, Joe Breuer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Breuer 2025-03-03 07:11:13 UTC
Created attachment 920159 [details]
emerge --info

I'd built a fairly minimal gentoo install to test a kernel bug. Since I could not replicate the bug on the most minimal install I started with, I'm successively expanding that install to be closer to the one of the affected system.

That meant switching from a generic profile to a desktop/plasma one.

I already had app-emulation/virtualbox installed, and rebuilding it because of the profile switch I got a build error that 'nspr.h' is missing.

I assumed this would come from dev-libs/nspr, so I installed it manually.

With dev-libs/nspr present on the system, the virtualbox build immediately succeeds.

On this system, dev-libs/nspr is not a dependency of anything, and virtualbox is also not depending on it.

My reading is that the virtualbox build system either automatically enables some code, or the profile change changed some flags to that effect, that now require nspr; but the ebuild is missing this conditional dependency (it doesn't mention nspr at all).
(And maybe on a lot of systems that's not obvious because they have nspr installed anyway for other reasons.)
Comment 1 Viorel Munteanu gentoo-dev 2025-03-04 05:36:48 UTC
It shouldn't, virtualbox includes its own nspr.h.  My minimal chroot where I test virtualbox from time to time does not have nspr installed.

Most probably you have hit a parallel make bug.  If this happens again, please try `ebuild "$(portageq get_repo_path / gentoo)/app-emulation/virtualbox/virtualbox-7.1.4.ebuild" merge`, it should resume compilation and eventually finish installing it.