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:
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.
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.
Ok, thanks.