Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532930 - app-emulation/virtualbox should optionally depend on virtual/udev
Summary: app-emulation/virtualbox should optionally depend on virtual/udev
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-12-18 12:31 UTC by driedfruit
Modified: 2014-12-29 14:14 UTC (History)
1 user (show)

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


Attachments
patch against virtualbox-4.2.24.ebuild (virtualbox-4.2.24.ebuild.patch,2.42 KB, patch)
2014-12-18 12:33 UTC, driedfruit
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description driedfruit 2014-12-18 12:31:57 UTC
In all not-9999 virtualbox ebuilds, a following pattern is used:
>=virtual/udev-171 is a hard depenancy, which is only used by ebuild itself to
a) setup device nodes, using udev
b) copy rule file to rules.d
this is required so that USB device nodes are working in VirtualBox.

However, that is not a hard dependancy at all, especially for people with no interest in USB. 

VirtualBox itself does not rely on udev/libudev during compile phase, not during installation phase. At also works fine afterwards (sans USB).

All of the virtualbox-4.2.24.ebuild, virtualbox-4.3.16.ebuild, virtualbox-4.3.20.ebuild, virtualbox-4.2.26.ebuild, virtualbox-4.3.18.ebuild show this problem.

virtualbox-9999.ebuild does not have this problem.

I've made a patch against virtualbox-4.2.24.ebuild, but if needed, can provide a version for all other ebuilds too.

Reproducible: Always
Comment 1 driedfruit 2014-12-18 12:33:07 UTC
Created attachment 391920 [details, diff]
patch against virtualbox-4.2.24.ebuild
Comment 2 driedfruit 2014-12-18 12:40:21 UTC
This is related to #356215.
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-12-29 14:14:05 UTC
+*virtualbox-4.3.20-r1 (29 Dec 2014)
+
+  29 Dec 2014; Lars Wendler <polynomial-c@gentoo.org>
+  +virtualbox-4.3.20-r1.ebuild, metadata.xml:
+  Make installation of udev rules optional (bug #532930). pax-mark some more
+  files (bug #524202).
+
Thanks for the patch.