| Summary: | sys-apps/usbutils-008 should depend on virtual/libudev - ET_EXEC libusb-1.0.so.0,libudev.so.1,libc.so.6 /usr/bin/lsusb | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stuart Shelton <srcshelton> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | bugs.gentoo.org, nikoli |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Stuart Shelton
2015-01-11 13:50:31 UTC
Hi, Same issue here, upgrading from sys-apps/usbutils-007 to sys-apps/usbutils-008 breaks on servers using mdev (sys-apps/busybox). Emerging (8 of 12) sys-apps/usbutils-008::gentoo [...] checking for LIBUSB... yes checking for UDEV... no configure: error: Package requirements (libudev >= 196) were not met: No package 'libudev' found [...] For anyone it helps, I've worked-around the issue here: https://github.com/srcshelton/gentoo-ebuilds/tree/master/sys-apps/usbutils ... by converting the ebuild to use git, and then cloning the usbutils repo and reverting the two problematic commits. So far as I can tell, there are no adverse ramifications to this - udev isn't required. $ objdump -p /usr/bin/lsusb|grep NEEDED|sort NEEDED libc.so.6 NEEDED libudev.so.1 NEEDED libusb-1.0.so.0 usbutils-008 $ grep libudev configure.ac names.c configure.ac:PKG_CHECK_MODULES(UDEV, libudev >= 196) names.c:#include <libudev.h> So why ebuild does not have virtual/libudev DEPEND and RDEPEND? Fixed in 008-r1. Someone should ask upstream to conditionalize their udev support or provide them a patch if you're interested in that. |