Summary: | media-libs/libmtp-0.3.7 fails to compile with dev-libs/libusb-1.0.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Märt Bakhoff <mbakhoff> |
Component: | [OLD] Library | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | ken69267, robbat2 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 270039 | ||
Attachments: | /var/tmp/portage/media-libs/libmtp-0.3.7/work/libmtp-0.3.7/config.log |
Description
Märt Bakhoff
2009-05-15 11:54:56 UTC
The config.log please. Created attachment 191357 [details]
/var/tmp/portage/media-libs/libmtp-0.3.7/work/libmtp-0.3.7/config.log
I just noticed that libusb has slots. When I have libusb-0.1.12-r5 AND libusb-1.0.1 installed, libmtp builds fine. Without 0.1.12-r5, the build fails.
Please emerge libusb-compat, and then test your MTP hardware by actually using it. NO RECOMPILE IS NEEDED. If it works, we can change the dep from dev-libs/libusb to =virtual/libusb-0*. Bug 270039 tracks the virtual/libusb migration. libmtp does need to be actually tested with hardware. If I understood you right. Tested with rhythmbox, iRiver media player with mtp: Bus 004 Device 009: ID 4102:112a iRiver, Ltd. media-sound/rhythmbox-0.12.1-r1 Installed: dev-libs/libusb-0.1.12-r5 dev-libs/libusb-1.0.1 All working, no errors. Installed: dev-libs/libusb-compat-0.1.0 dev-libs/libusb-1.0.1 Working (can transfer/list files), but shows errors: libmtp error: PTP Layer error 02fe: Error getting friendlyname. libmtp error: (Look this up in ptp.h for an explanation.) Here's a fix, since I'm not sure how it got messed up in your system. I fixed the ebuild, so might want to wait for an hour. emerge --sync emerge gentoolkit qlist -CI libusb emerge -C `libusb` emerge -avDNut world Per comment #5, this needs to be fixed in libmtp itself: > Working (can transfer/list files), but shows errors: > libmtp error: PTP Layer error 02fe: Error getting friendlyname. > libmtp error: (Look this up in ptp.h for an explanation.) The PTP files have been synced with upstream at libmtp CVS, it would be a good idea to test current HEAD. Try libmtp-1.0.0... tested with =media-libs/libmtp-1.0.0, no changes really installed: dev-libs/libusb-1.0.1 dev-libs/libusb-0.1.12-r5 result: no errors installed: dev-libs/libusb-1.0.1 result: econf fails: can't find the libusb libraries installed: dev-libs/libusb-1.0.1 dev-libs/libusb-compat-0.1.0 result: libmtp error: PTP Layer error 02ff: get_handles_recursively(): could not get object handles. libmtp error: PTP Layer error 02fe: Error getting friendlyname. libmtp error: PTP Layer error 02fd: Error setting friendlyname. libmtp error: PTP Layer error 02fe: get_all_metadata_fast(): could not get proplist of all objects. libmtp error: (Look this up in ptp.h for an explanation.) |