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

Bug 240642

Summary: sys-apps/usbutils RDEPENDs on dev-libs/libusb
Product: Gentoo Linux Reporter: Bernhard Hartleb <bernhard.hartleb>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: VERIFIED NEEDINFO    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Bernhard Hartleb 2008-10-09 06:57:34 UTC
usbutils have a runtime dependency on dev-libs/libusb.

I know this is a minor problem, but it would be nice to have it fixed.

Reproducible: Always
Comment 1 SpanKY gentoo-dev 2008-10-09 19:46:19 UTC
usbutils already depends on libusb, so i dont know what this bug is about
Comment 2 Bernhard Hartleb 2008-10-10 08:40:17 UTC
Ok, sorry for my vague explanation.

Your are right, usbutils already depends on libusb.
But usbutils also have a runtime dependency on libusb:

# ldd /usr/sbin/lsusb
        ...
        libusb-0.1.so.4 => /lib/libusb-0.1.so.4 (0xf7f95000)
        ...

Which means that this line should be added to the ebuild, to get the depdendencies right:
RDEPEND="${DEPEND}"

An explanation for that can be found here:
http://devmanual.gentoo.org/general-concepts/dependencies/index.html#runtime-dependencies

I know this is anything but critical, so sorry for bothering you with that.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2008-10-10 09:00:31 UTC
that line is actually not explicitly needed yet, but I put it in anyway.
Comment 4 Bernhard Hartleb 2008-10-12 19:02:43 UTC
Thanks.

I actually run into this while building a minimal gentoo system.
Hence, I tried to remove all buildtime deps but had no luck with this ebuild.

There are probably a lot of ebuilds with this little issue out there.