Created attachment 1081383 [details] Patch for 1.0.20 Chromium needs libusb_interrupt_handle_event exposed. Otherwise, Chromium will need to bundle libusbx.
Created attachment 1081384 [details] 1/0.19 version of the patch Since this issue applies to all versions of libusbx (and I'd imagine people will want Chromium in all branches), this is a patch for 1.0.19 (the only difference is that 1.0.19 uses ctx->ctrl_pipe).
Hi, Sorry this one somehow did not show up on my radar when initially filed. In a way this is good though, as in the mean time this has been discussed upstream, leading to this commit: https://github.com/libusb/libusb/commit/a6db382ad11f7662b550338e0570d5a2dfd8ce5a I believe that the best way forward with this would be to upgrade the libusb Fedora pkg to a snapshot with this commit, and then patch chromium to use the new API (use is similar, only you do not need to check for an error return). Would that work for you, and if so in which Fedora versions do you want the snapshot ? Regards, Hans
Note you can even make the chromium patch for this upstreamable by making the new code using the official api conditional like this: #ifdef LIBUSB_API_VERSION >= 0x01000105 ...new-code #else ...old-code #endif
Could you add the new function to F22+ ?
Hi, (In reply to Tom "spot" Callaway from comment #4) > Could you add the new function to F22+ ? Done, currently building, I'll create updates in bodhi for this soon. Regards, Hans
libusbx-1.0.21-0.1.git448584a.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-ebace1242a
libusbx-1.0.21-0.1.git448584a.fc22 has been submitted as an update to Fedora 22. https://bodhi.fedoraproject.org/updates/FEDORA-2016-687b4b59d0
libusbx-1.0.21-0.1.git448584a.fc22 has been pushed to the Fedora 22 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-687b4b59d0
This bug appears to have been reported against 'rawhide' during the Fedora 24 development cycle. Changing version to '24'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora24#Rawhide_Rebase
libusbx-1.0.21-0.1.git448584a.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-ebace1242a
With the latest libusbx, chromium still yields a symbol lookup error on F23 : # dnf list installed | egrep "chromium.x86_64|libusbx.x86_64" chromium.x86_64 48.0.2564.103-2.fc23 @spot-chromium libusbx.x86_64 1.0.21-0.1.git448584a.fc23 @spot-chromium $ chromium-browser /usr/bin/chromium-browser: symbol lookup error: /usr/bin/chromium-browser: undefined symbol: libusb_interrupt_handle_event
Chromium works with the (downgraded) libusbx version from Tom's COPR : # dnf list installed | egrep "chromium.x86_64|libusbx.x86_64" chromium.x86_64 48.0.2564.103-2.fc23 @spot-chromium libusbx.x86_64 1.0.20-101.fc23 @spot-chromium
Hi, (In reply to Didier from comment #11) > With the latest libusbx, chromium still yields a symbol lookup error on F23 : > > # dnf list installed | egrep "chromium.x86_64|libusbx.x86_64" > chromium.x86_64 48.0.2564.103-2.fc23 > @spot-chromium > libusbx.x86_64 1.0.21-0.1.git448584a.fc23 > @spot-chromium > > $ chromium-browser > /usr/bin/chromium-browser: symbol lookup error: /usr/bin/chromium-browser: > undefined symbol: libusb_interrupt_handle_event That is sort-of expected, the function as merged upstream is called: libusb_interrupt_event_handler so Tom will need to update (patch) his chromium packages to use the function name as merged upstream. Once that is done Tom can stop providing a custom libusbx in his COPR :) Regards, Hans
Yes, a fixed chromium is building right now. This should be a non-issue RSN. :)
chromium.x86_64 48.0.2564.116-2.fc23 libusbx.x86_64 1.0.21-0.1.git448584a.fc23 fix this issue. Thanks Tom!
libusbx-1.0.21-0.1.git448584a.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.
Still doesn't work here. The package is installed: $ rpm -qa | grep libusbx libusbx-devel-1.0.21-0.1.git448584a.fc23.x86_64 libusbx-1.0.21-0.1.git448584a.fc23.x86_64 But Chromium still won't run: $ chromium-browser /usr/bin/chromium-browser: symbol lookup error: /usr/bin/chromium-browser: undefined symbol: libusb_interrupt_handle_event
Today I found chromium and chromium-libs got updated to version 48.0.2564.116-2.fc23, and now everything works fine.
libusbx-1.0.21-0.1.git448584a.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report.