The ebuild currently always requires X for no apparent reason. Attaching a patch to the ebuild which removes this dependency when USE=-X. Tested here on amd64, works.
Created attachment 192537 [details, diff] Ebuild patch to remove X dependency
Please don't CC maintainers/herds yourself. Leave that to the bug-wranglers.
Hi, thanks for your report fixed (my fault) on jokey's overlay[1] both for virtualbox-guest-additions-2.2.2 and virtualbox-guest-additions-2.2.4. [1] http://overlays.gentoo.org/dev/jokey
Just checked out your repo and you don't actually appear to correct the issue. It looks like you only merged the DEPEND fix, but not the RDEPEND fix. The first line of the 'RDEPEND' still pulls in 'x11-libs/libXt', it should not as it is being pulled later in the X? () section ... Also, the amd64? () should only pull in the app-emulation/emul-linux-x86-xlibs if the X use flag exists. My patch addressed both of those as well. Thanks. -Brad
(In reply to comment #4) [..] yes, you are right again, fixed, thanks!
+ 01 Jun 2009; Patrick Lauer <patrick@gentoo.org> + +virtualbox-ose-2.2.4.ebuild: + Bump to 2.2.4, thanks to Alessio Cassibba. Fixes #271983 #271341 #269335 Since all of virtualbox got bumped that should include this bug too.