Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357101 - app-emulation/virtualbox depends on gentoo-sources
Summary: app-emulation/virtualbox depends on gentoo-sources
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-02 15:44 UTC by dE
Modified: 2011-03-03 01:50 UTC (History)
0 users

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


Attachments

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