Bug 2154241

Summary: fwupd incompatible with the new pciutils update
Product: [Fedora] Fedora Reporter: vainlystrain
Component: pciutilsAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 36CC: mhlavink, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-12-19 10:33:37 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 vainlystrain 2022-12-16 10:40:15 UTC
Description of problem:
Since applying the latest pciutils update (pciutils-3.9.0-1.fc36.x86_64), I receive the following warning when running fwupdmgr:

WARNING: Plugin dependencies missing
  See https://github.com/fwupd/fwupd/wiki/PluginFlag:failed-open for more information.


Version-Release number of selected component (if applicable):

fwupd-efi-1.3-1.fc36.x86_64
fwupd-plugin-flashrom-1.8.6-1.fc36.x86_64
fwupd-plugin-modem-manager-1.8.6-1.fc36.x86_64
fwupd-plugin-uefi-capsule-data-1.8.6-1.fc36.x86_64
fwupd-1.8.6-1.fc36.x86_64

How reproducible: Always


Steps to Reproduce:
1. install the following update: https://bodhi.fedoraproject.org/updates/FEDORA-2022-8a83a0e569
2. run fwupdmgr to check for updates: sudo fwupdmgr get-updates
3. see output

Actual results:
The fwupd daemon seems to perform its work, but outputs a component warning.

Expected results:
The fwupd daemon doesn't throw warnings when started.

Additional info:
The following message appears when running # /usr/libexec/fwupd/fwupd --verbose:

10:35:48:0272 FuEngine             cannot load: failed to open plugin /usr/lib64/fwupd-1.8.6/libfu_plugin_flashrom.so: /lib64/libflashrom.so.1: undefined symbol: pci_filter_parse_slot, version LIBPCI_3.3

Comment 1 Richard Hughes 2022-12-19 08:43:25 UTC
It looks like pciutils broke ABI. This kind of change should certainly have never been pushed to Fedora 36...

Comment 2 Michal Hlavinka 2022-12-19 10:33:37 UTC
Fix should be already available in updates-testing ATM
https://bodhi.fedoraproject.org/updates/FEDORA-2022-c0fe31c23a

As noted in https://bugzilla.redhat.com/show_bug.cgi?id=2153742#c1 pciutils keeps old symbols around, but this time it got lost during rpm build (-flto related, we hit gcc bz #48200)

*** This bug has been marked as a duplicate of bug 2153742 ***