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

Bug 357101

Summary: app-emulation/virtualbox depends on gentoo-sources
Product: Gentoo Linux Reporter: dE <de.techno>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description dE 2011-03-02 15:44:24 UTC
app-emulation/virtualbox requires Gentoo-sources to be installed as dependency, which's in reality not necessary if you have your own custom kernel.

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2011-03-02 16:00:21 UTC
First it's not app-emulation/virtualbox but app-emulation/virtualbox-modules that depends on kernel sources. 
Second it doesn't depend on sys-kernel/gentoo-sources but virtual/linux-sources which has quite a list of different kernel sources where gentoo-sources just is the first one that gets pulled. 

If you don't need that dependency then have a look at what the file /etc/portage/profile/package.provided is good for.
The dependency is needed for people that don't have their own sources in use so I won't remove that dependency.
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-03-02 16:01:14 UTC
Here was my comment but Lars beat me to it ;)

(In reply to comment #0)
> app-emulation/virtualbox requires Gentoo-sources to be installed as dependency,
> which's in reality not necessary if you have your own custom kernel.

If you have your own custom kernel (as I do on all of my systems too), then you
will need to "provide" kernel sources. eg:

% cat /etc/portage/profile/package.provided 
sys-kernel/gentoo-sources-2.6.30

This is clearly documented in the "portage" man page. You will have more issues
than just vbox here, eg:

http://tinderbox.dev.gentoo.org/misc/rindex/virtual/linux-sources
http://tinderbox.dev.gentoo.org/misc/dindex/virtual/linux-sources

I'm going to close this bug, feel free to reopen if you think the above is not
addequete.
Comment 3 dE 2011-03-03 01:50:47 UTC
Ok, thanks.