Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 342553 - sys-apps/usbutils-0.91 fails configure, needs virtual/libusb:1
Summary: sys-apps/usbutils-0.91 fails configure, needs virtual/libusb:1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo's Team for Core System packages
URL: http://article.gmane.org/gmane.linux....
Whiteboard:
Keywords:
: 342605 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-10-25 01:28 UTC by Chris Coleman
Modified: 2010-11-19 09:58 UTC (History)
9 users (show)

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


Attachments
build.log (build.log,8.58 KB, text/plain)
2010-10-25 01:29 UTC, Chris Coleman
Details
emerge --info (emerge--info.txt,4.18 KB, text/plain)
2010-10-25 01:29 UTC, Chris Coleman
Details
config.log (config.log,18.91 KB, text/plain)
2010-10-25 01:32 UTC, Chris Coleman
Details
usbhid-dump config.log (config.log,29.19 KB, text/plain)
2010-10-25 05:24 UTC, Chris Coleman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Coleman 2010-10-25 01:28:13 UTC
The ebuild already rdepends on virtual/libusb:0, but it also needs virtual/libusb:1. The main configure script checks for libusb-0.1 whereas the one in usbhid-dump/ checks for libusb-1.0. So both slots will need to be pulled in.
Comment 1 Chris Coleman 2010-10-25 01:29:08 UTC
Created attachment 251875 [details]
build.log
Comment 2 Chris Coleman 2010-10-25 01:29:23 UTC
Created attachment 251877 [details]
emerge --info
Comment 3 Chris Coleman 2010-10-25 01:32:08 UTC
Created attachment 251881 [details]
config.log
Comment 4 SpanKY gentoo-dev 2010-10-25 05:21:29 UTC
Comment on attachment 251881 [details]
config.log

this config.log doesnt show the error as it isnt the one from the failing dir
Comment 5 Chris Coleman 2010-10-25 05:24:59 UTC
Created attachment 251891 [details]
usbhid-dump config.log
Comment 6 SpanKY gentoo-dev 2010-10-25 06:02:59 UTC
i'd rather just update the code to all use libusb-1
Comment 7 Chris Coleman 2010-10-25 06:30:06 UTC
(In reply to comment #6)
> i'd rather just update the code to all use libusb-1
> 

Just? That would be quite a lot of work compared to just adding virtual/libusb:1 to RDEPEND.

But if you're seriously willing to do it, then that really would be damn good of you.
Comment 8 SpanKY gentoo-dev 2010-10-25 07:11:32 UTC
not that hard.  but maybe that's because ive done this before.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-10-25 10:09:28 UTC
*** Bug 342605 has been marked as a duplicate of this bug. ***
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-10-25 22:17:01 UTC
In the mean time I have applied the double dependency since otherwise it fails to build.
Comment 11 Boney McCracker 2010-11-08 19:07:31 UTC
Is this double dependency still required?
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2010-11-08 19:12:51 UTC
(In reply to comment #11)
> Is this double dependency still required?
> 

Yes.
Nothing has changed since in Portage, but libusb-1 patch was sent to upstream.
Comment 13 SpanKY gentoo-dev 2010-11-19 09:58:34 UTC
upstream took my patch, so ive merged it into usbutils-0.91-r1