Bug 2086539
| Summary: | avrdude crashes due to missing libhidapi-libusb.so.0 after upgrade from f35 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | nilskemail |
| Component: | avrdude | Assignee: | Hans Ulrich Niedermann <rhbugs> |
| Status: | CLOSED COMPLETED | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 36 | CC: | giallu, jaromir.capik, rhbugs |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-25 19:31:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
nilskemail
2022-05-16 11:51:10 UTC
So... the F36 avrdude package depends on libhidapi-libusb.so.0:
$ rpm -q avrdude
avrdude-6.4-3.fc36.x86_64
$ rpm -q --requires avrdude
[…]
libhidapi-libusb.so.0()(64bit)
[…]
$ ldd /usr/bin/avrdude | grep hidapi
libhidapi-libusb.so.0 => /lib64/libhidapi-libusb.so.0 (0x00007f50f914b000)
$ _
How did you upgrade from F35 to F36?
It appears that this upgrade method has ignored that avrdude-6.4-3.fc36 depends on libhidapi-libusb.so.0.
I upgraded using the dnf-plugin-system-upgrade as explained in the fedora docs: https://docs.fedoraproject.org/en-US/quick-docs/dnf-system-upgrade/ The above rpm commands also correctly show the dependency however somehow this dependency is ignored by dnf. Even after reinstalling either of avrdude and hidapi they are still unconnected. Removing e.g. libftdi correctly prompts that avrdude would be removed too but hidapi does not do that. Weird.
I cannot reproduce this on my F36 fresh install:
$ rpm -q avrdude hidapi
avrdude-6.4-3.fc36.x86_64
hidapi-0.11.2-2.fc36.x86_64
$ sudo dnf remove hidapi
Dependencies resolved.
==============================================================================================
Package Architecture Version Repository Size
==============================================================================================
Removing:
hidapi x86_64 0.11.2-2.fc36 @fedora 115 k
Removing dependent packages:
avrdude x86_64 6.4-3.fc36 @updates 2.4 M
hidapi-devel x86_64 0.11.2-2.fc36 @fedora 19 k
[…]
I will try and find a F35-to-F36 with "dnf system-upgrade" to reproduce.
A similar problem occurred to me for qBittorent which seems to be missing 'libQt6Widgets.so.6' after the upgrade. This message is a reminder that Fedora Linux 36 is nearing its end of life. Fedora will stop maintaining and issuing updates for Fedora Linux 36 on 2023-05-16. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a 'version' of '36'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, change the 'version' to a later Fedora Linux version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see it. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora Linux 36 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora Linux, you are encouraged to change the 'version' to a later version prior to this bug being closed. Fedora Linux 36 entered end-of-life (EOL) status on 2023-05-16. Fedora Linux 36 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed. I took a bit of time to see if I could reproduce it again and finally found the fault. For both dependencies ('libhidapi-libusb.so.0()(64bit)' and 'libQt6Widgets.so.6()(64bit)') I had another 3rd party package providing them. I guess the maintainer of that package fixed the building process in the meanwhile as after upgrading that package everything else now sees to be detected properly🎉. I changed the status from EOL to COMPLETED as well.
|