Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 841767 - sys-apps/fwupd-1.8.0: plugins/modem-manager/fu-sahara-loader.c:221: undefined reference to `g_usb_device_bulk_transfer'
Summary: sys-apps/fwupd-1.8.0: plugins/modem-manager/fu-sahara-loader.c:221: undefined...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marek Szuba
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-29 21:07 UTC by Kobboi
Modified: 2022-07-27 13:10 UTC (History)
2 users (show)

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


Attachments
build.log.gz (build.log.gz,22.22 KB, application/gzip)
2022-04-29 21:08 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,7.82 KB, text/plain)
2022-04-29 21:08 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-04-29 21:07:59 UTC
[339/367] x86_64-pc-linux-gnu-gcc  -o plugins/modem-manager/libfu_plugin_modem_manager.so plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-plugin-modem-manager.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-mm-device.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-qmi-pdc-updater.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-mbim-qdu-updater.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-firehose-updater.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-sahara-loader.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-mm-utils.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,-z,relro -Wl,-z,defs -Wl,-z,now -Wl,-z,ibt,-z,shstk -O2 -march=znver3 -pipe -g -ggdb3 -Wl,-O1 -Wl,--as-needed '-Wl,-rpath,$ORIGIN/../../libfwupd:$ORIGIN/../../libfwupdplugin' -Wl,-rpath-link,/var/tmp/portage/sys-apps/fwupd-1.8.0/work/fwupd-1.8.0-build/libfwupd -Wl,-rpath-link,/var/tmp/portage/sys-apps/fwupd-1.8.0/work/fwupd-1.8.0-build/libfwupdplugin -Wl,--start-group libfwupd/libfwupd.so.2.0.0 libfwupdplugin/libfwupdplugin.so.6.0.0 /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libgnutls.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/libgudev-1.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libxmlb.so /usr/lib64/libmm-glib.so /usr/lib64/libqmi-glib.so /usr/lib64/libmbim-glib.so -Wl,--end-group
FAILED: plugins/modem-manager/libfu_plugin_modem_manager.so 
x86_64-pc-linux-gnu-gcc  -o plugins/modem-manager/libfu_plugin_modem_manager.so plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-plugin-modem-manager.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-mm-device.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-qmi-pdc-updater.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-mbim-qdu-updater.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-firehose-updater.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-sahara-loader.c.o plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-mm-utils.c.o -Wl,--as-needed -Wl,--allow-shlib-undefined -shared -fPIC -Wl,-z,relro -Wl,-z,defs -Wl,-z,now -Wl,-z,ibt,-z,shstk -O2 -march=znver3 -pipe -g -ggdb3 -Wl,-O1 -Wl,--as-needed '-Wl,-rpath,$ORIGIN/../../libfwupd:$ORIGIN/../../libfwupdplugin' -Wl,-rpath-link,/var/tmp/portage/sys-apps/fwupd-1.8.0/work/fwupd-1.8.0-build/libfwupd -Wl,-rpath-link,/var/tmp/portage/sys-apps/fwupd-1.8.0/work/fwupd-1.8.0-build/libfwupdplugin -Wl,--start-group libfwupd/libfwupd.so.2.0.0 libfwupdplugin/libfwupdplugin.so.6.0.0 /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so /usr/lib64/libgnutls.so -Wl,--export-dynamic /usr/lib64/libgmodule-2.0.so -pthread /usr/lib64/libgudev-1.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libxmlb.so /usr/lib64/libmm-glib.so /usr/lib64/libqmi-glib.so /usr/lib64/libmbim-glib.so -Wl,--end-group
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-sahara-loader.c.o: in function `fu_sahara_loader_qdl_read':
/var/tmp/portage/sys-apps/fwupd-1.8.0/work/fwupd-1.8.0-build/../fwupd-1.8.0/plugins/modem-manager/fu-sahara-loader.c:221: undefined reference to `g_usb_device_bulk_transfer'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: plugins/modem-manager/libfu_plugin_modem_manager.so.p/fu-sahara-loader.c.o: in function `fu_sahara_loader_qdl_write':
/var/tmp/portage/sys-apps/fwupd-1.8.0/work/fwupd-1.8.0-build/../fwupd-1.8.0/plugins/modem-manager/fu-sahara-loader.c:255: undefined reference to `g_usb_device_bulk_transfer'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/sys-apps/fwupd-1.8.0/work/fwupd-1.8.0-build/../fwupd-1.8.0/plugins/modem-manager/fu-sahara-loader.c:277: undefined reference to `g_usb_device_bulk_transfer'
collect2: error: ld returned 1 exit status


Reproducible: Always
Comment 1 Kobboi 2022-04-29 21:08:16 UTC
Created attachment 775542 [details]
build.log.gz
Comment 2 Kobboi 2022-04-29 21:08:19 UTC
Created attachment 775545 [details]
emerge-info.txt
Comment 3 Kobboi 2022-04-30 12:07:38 UTC
The above report is with USE="modemmanager -gusb"

The package compiles fine with either

* USE="-modemmanager -gusb"
* USE=" modemmanager  gusb"
Comment 4 Larry the Git Cow gentoo-dev 2022-07-27 13:10:55 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4fabe3321f48b90f0e4700284af92b857425456

commit b4fabe3321f48b90f0e4700284af92b857425456
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2022-07-27 13:07:14 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2022-07-27 13:10:48 +0000

    sys-apps/fwupd: add 1.8.3
    
    Closes: https://bugs.gentoo.org/841767
    Closes: https://bugs.gentoo.org/859331
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 sys-apps/fwupd/Manifest                            |   1 +
 .../fwupd/files/fwupd-1.8.3-docgen_deps_test.patch |  16 ++
 sys-apps/fwupd/fwupd-1.8.3.ebuild                  | 198 +++++++++++++++++++++
 3 files changed, 215 insertions(+)