Summary: | sys-fs/udev-149 configure: error: Package requirements (usbutils >= 0.82) were not met: | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | MT <toffanin.mauro> |
Component: | New packages | Assignee: | udev maintainers <udev-bugs> |
Status: | RESOLVED NEEDINFO | ||
Severity: | normal | CC: | base-system |
Priority: | High | ||
Version: | 10.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
package.info system.info config.log usbutils-0.87-r1.ebuild.patch usbutils-0.87-r1.ebuild.patch (alternative solution without sed) |
Description
MT
2010-06-07 14:04:04 UTC
Created attachment 234427 [details]
build.log
Created attachment 234429 [details]
package.info
Created attachment 234431 [details]
system.info
I forgot to mention that I have sys-apps/usbutils correctly installed and working: # emerge -pqv sys-apps/usbutils [ebuild R ] sys-apps/usbutils-0.86-r2 USE="zlib -network-cron" # # qlist usbutils /usr/bin/usb-devices /usr/bin/usbmodules /usr/sbin/lsusb /usr/sbin/update-usbids /usr/share/man/man1/usb-devices.1.bz2 /usr/share/man/man8/lsusb.8.bz2 /usr/share/misc/usb.ids /usr/share/misc/usb.ids.gz /usr/share/misc/pkgconfig/usbutils.pc /usr/share/doc/usbutils-0.86-r2/AUTHORS.bz2 /usr/share/doc/usbutils-0.86-r2/ChangeLog.bz2 /usr/share/doc/usbutils-0.86-r2/NEWS.bz2 /usr/share/doc/usbutils-0.86-r2/README.bz2 Created attachment 234737 [details]
config.log
After some debugging I have found the problem: usbutils.pc was installed into /usr/share/misc/pkgconfig instead of /usr/share/pkgconfig, so it wasn't picked up by pkgconfig (see bug #287206). This happened because the 'sed' command inside the sys-apps/usbutils ebuild was not applied (and I don't know why) and a missing 'die' statement didn't showed the problem at all. After updating my box, the issue is gone by itself and the 'sed' command is correctly applied as expected; however attached there is an ebuild patch for the usbutils package that adds the missing 'die' statement, just to prevent the problem ('sed' binary broken? missing 'sed' dependencies?) occurring in the future for other final users. Created attachment 235693 [details, diff]
usbutils-0.87-r1.ebuild.patch
Created attachment 235695 [details, diff] usbutils-0.87-r1.ebuild.patch (alternative solution without sed) note for Mike Frysinger (vapier@gentoo.org): this is an alternative solution of the bug #287206 without the need of the 'sed' command; it fixes the problem one for all, is shorter and more portable as requires less ebuild maintenance, so if you judge it a valuable alternative feel free to use it. I hope it will be useful. Toffanin th .pc file is installed just fine on my system, and i imagine more people would be complaining than just you if usbutils broke udev in this way $ qlop -l usbutils | tail -1 Sat Jun 19 18:58:16 2010 >>> sys-apps/usbutils-0.87 $ qlist -e usbutils | grep pc /usr/share/pkgconfig/usbutils.pc |