During compilation of gnome-boxes, it will fail if USE=usbredir is not set on spice-gtk: libtool: link: x86_64-pc-linux-gnu-gcc -pthread -I/usr/include/gobject-introspection-1.0 -I/usr/lib64/libffi-3.2.1/include -I/usr/include/gtk-vnc-2.0 -I/usr/include/gvnc-1.0 -I/usr/include/libvirt-gobject-1.0 -I/usr/include/libvirt-gconfig-1.0 -I/usr/include/libusb-1.0 -I/usr/include/spice-client-gtk-3.0 -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/spice-client-glib-2.0 -I/usr/include/pixman-1 -I/usr/include/gudev-1.0 -I/usr/include/libosinfo-1.0 -I/usr/include/uuid -I/usr/include/libsoup-2.4 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/spice-1 -pthread -I/usr/include/tracker-1.0 -I/usr/include/tracker-1.0/libtracker-sparql -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -pipe -w -Wl,-O1 -o gnome-boxes gnome_boxes-resources.o gnome_boxes-app.o gnome_boxes-app-window.o gnome_boxes-actions-popover.o gnome_boxes-archive-reader.o gnome_boxes-archive-writer.o gnome_boxes-auth-notification.o gnome_boxes-collection.o gnome_boxes-collection-filter-switcher.o gnome_boxes-collection-toolbar.o gnome_boxes-display-page.o gnome_boxes-display-toolbar.o gnome_boxes-display.o gnome_boxes-editable-entry.o gnome_boxes-i-properties-provider.o gnome_boxes-i-collection-view.o gnome_boxes-icon-view.o gnome_boxes-installer-media.o gnome_boxes-installed-media.o gnome_boxes-keys-input-popover.o gnome_boxes-libvirt-system-media.o gnome_boxes-iso-extractor.o gnome_boxes-libvirt-broker.o gnome_boxes-libvirt-machine.o gnome_boxes-libvirt-machine-properties.o gnome_boxes-list-view.o gnome_boxes-list-view-row.o gnome_boxes-machine.o gnome_boxes-machine-thumbnailer.o gnome_boxes-main.o gnome_boxes-media-manager.o gnome_boxes-resource-graph.o gnome_boxes-notification.o gnome_boxes-notificationbar.o gnome_boxes-os-database.o gnome_boxes-properties.o gnome_boxes-properties-window.o gnome_boxes-properties-page-widget.o gnome_boxes-properties-toolbar.o gnome_boxes-remote-machine.o gnome_boxes-searchbar.o gnome_boxes-selectionbar.o gnome_boxes-selection-toolbar.o gnome_boxes-spice-display.o gnome_boxes-topbar.o gnome_boxes-ui.o gnome_boxes-unattended-installer.o gnome_boxes-unattended-file.o gnome_boxes-unattended-setup-box.o gnome_boxes-util-app.o gnome_boxes-vm-configurator.o gnome_boxes-vm-creator.o gnome_boxes-vm-importer.o gnome_boxes-libvirt-system-importer.o gnome_boxes-libvirt-system-vm-importer.o gnome_boxes-vnc-display.o gnome_boxes-wizard-window.o gnome_boxes-wizard-source.o gnome_boxes-wizard-toolbar.o gnome_boxes-wizard.o gnome_boxes-downloader.o gnome_boxes-empty-boxes.o gnome_boxes-tracker-iso-query.o gnome_boxes-troubleshoot-log.o gnome_boxes-snapshot-list-row.o gnome_boxes-snapshots-property.o -Wl,--export-dynamic -pthread -Wl,--as-needed -lgirepository-1.0 -lgtk-vnc-2.0 -lgvnc-1.0 -lvirt-gobject-1.0 -lvirt -lvirt-gconfig-1.0 -lxml2 -lusb-1.0 -lspice-client-gtk-3.0 -lspice-client-glib-2.0 -lgudev-1.0 -losinfo-1.0 -luuid -lsoup-2.4 -larchive -ltracker-sparql-1.0 -lgmodule-2.0 ../libgd/.libs/libgd.a -lgtk-3 -lgdk-3 -lpangocairo-1.0 -lpango-1.0 -latk-1.0 -lcairo-gobject -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 -lm libcommon.a -pthread gnome_boxes-spice-display.o: In function `boxes_spice_display_get_usb_devices': spice-display.c:(.text+0x500e): undefined reference to `spice_usb_device_get_libusb_device' collect2: error: ld returned 1 exit status Reproducible: Always Steps to Reproduce: 1. USE=-usbredir emerge net-misc/spice-gtk 2. emerge gnome-boxes
Created attachment 418712 [details] failed build.log from gnome-boxes
Created attachment 418714 [details] emerge --info
I think this shouldn't occur as we are building gnome-boxes with --disable-usbredir... would you mind on reporting this to upstream? -> bugzilla.gnome.org In summary, building gnome-boxes with --disable-usbredir shouldn't require spice-gtk to have that support Thanks a lot
this also looks solved in 3.20.2