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

Bug 652830

Summary: net-misc/spice-gtk-0.34-r3 USE="introspection usbredir" - .../work/spice-gtk-0.34/src/tmp-introspectd2im9fgi/.libs/SpiceClientGLib-2.0: symbol lookup error: /usr/lib64/libusbredirhost.so.1: undefined symbol: libusb_transfer_set_stream_id
Product: Gentoo Linux Reporter: Niklas Haas <gentoo>
Component: Current packagesAssignee: Virtualization Team <virtualization>
Status: RESOLVED NEEDINFO    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info spice-gtk

Description Niklas Haas 2018-04-09 05:12:14 UTC
Created attachment 526890 [details]
build.log

This package, which is a dependency of `USE="gtk" app-emulation/virt-manager`, fails building for me. See the attached log and `emerge --info` output.

Disabling either USE="usbredir" or USE="introspection" avoids the issue, but does not allow me to use virt-manager.
Comment 1 Niklas Haas 2018-04-09 05:12:41 UTC
Created attachment 526892 [details]
emerge --info spice-gtk
Comment 2 Niklas Haas 2018-04-09 05:16:29 UTC
In case it helps:

$ for so in /{usr/,}lib/libusb*.so*; do echo $so; nm -D $so | grep libusb_transfer_set_stream_id; done 
/usr/lib/libusb-1.0.so
nm: /usr/lib/libusb-1.0.so: File format not recognized
/usr/lib/libusb-1.0.so.0
/usr/lib/libusb-1.0.so.0.1.0
/usr/lib/libusbredirhost.so
                 U libusb_transfer_set_stream_id
/usr/lib/libusbredirhost.so.1
                 U libusb_transfer_set_stream_id
/usr/lib/libusbredirhost.so.1.0.0
                 U libusb_transfer_set_stream_id
/usr/lib/libusbredirparser.so
/usr/lib/libusbredirparser.so.1
/usr/lib/libusbredirparser.so.1.0.0
/usr/lib/libusb.so
nm: /usr/lib/libusb.so: File format not recognized
/lib/libusb-0.1.so.4
/lib/libusb-0.1.so.4.4.4
/lib/libusb-1.0.so.0
000000000000b250 T libusb_transfer_set_stream_id
/lib/libusb-1.0.so.0.1.0
000000000000b250 T libusb_transfer_set_stream_id
Comment 3 Francesco 2019-02-07 15:21:48 UTC
Same here:

libtool: warning: library '/usr/lib64/libusb-1.0.la' was moved.
libtool: warning: library '/usr/lib64/libusb-1.0.la' was moved.
libtool: link: x86_64-pc-linux-gnu-gcc -o /tmp/portage/net-misc/spice-gtk-9999/work/spice-gtk-9999/src/tmp-introspectiy3e6lwu/.libs/SpiceClientGLib-2.0 -O2 -march=native -pipe -Wl,-O1 -Wl,-z -Wl,relro -Wl,-z -Wl,now /tmp/portage/net-misc/spice-gtk-9999/work/spice-gtk-9999/src/tmp-introspectiy3e6lwu/SpiceClientGLib-2.0.o -Wl,--export-dynamic -pthread -Wl,-O1 -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--export-dynamic  -L. ./.libs/libspice-client-glib-2.0.so -lgthread-2.0 -lopus -lm -ljpeg -ljson-glib-1.0 -lz -llz4 -lpixman-1 -lssl -lcrypto -lpulse-mainloop-glib -lpulse -lgstaudio-1.0 -lgstapp-1.0 -lgstvideo-1.0 -lgstbase-1.0 -lgstreamer-1.0 /usr/lib64/libusb-1.0.so -lrt -lusbredirhost -lusbredirparser -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -Wl,--as-needed -pthread
/tmp/portage/net-misc/spice-gtk-9999/work/spice-gtk-9999/src/tmp-introspectiy3e6lwu/.libs/SpiceClientGLib-2.0: symbol lookup error: /usr/lib64/libusbredirhost.so.1: undefined symbol: libusb_transfer_set_stream_id
Comment 4 Matthias Maier gentoo-dev 2020-03-14 21:03:10 UTC
Please test with the newest version and reopen if problem persists