Bug 2153742 - regression: cpupower: symbol lookup error: cpupower: undefined symbol: pci_filter_match, version LIBPCI_3.3
Summary: regression: cpupower: symbol lookup error: cpupower: undefined symbol: pci_fi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pciutils
Version: 36
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 2154241 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-15 10:35 UTC by Jan Kratochvil
Modified: 2022-12-20 02:24 UTC (History)
2 users (show)

Fixed In Version: pciutils-3.9.0-2.fc37 pciutils-3.9.0-2.fc36
Clone Of:
Environment:
Last Closed: 2022-12-19 01:15:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jan Kratochvil 2022-12-15 10:35:56 UTC
Description of problem:
/bin/cpupower has stopped working after the last pciutils update.

Version-Release number of selected component (if applicable):
PASS: pciutils-libs-3.7.0-5.fc36.x86_64
FAIL: pciutils-libs-3.9.0-1.fc36.x86_64
tested by: kernel-tools-6.0.5-200.fc36.x86_64

How reproducible:
Always.

Steps to Reproduce:
$ cpupower

Actual results:
cpupower: symbol lookup error: cpupower: undefined symbol: pci_filter_match, version LIBPCI_3.3

Expected results:
Usage:	cpupower [-d|--debug] [-c|--cpu cpulist ] <command> [<args>]
Supported commands are:
...

Additional info:
Why to do a rebase in a stable Fedora release? It destroys any Fedora release engineering effort.
When there was even no Fedora Bug filed against it (but then one should rather backport a fix anyway).

Comment 1 Michal Hlavinka 2022-12-15 17:22:00 UTC
Thanks for reporting this.

pciutils is mature software and as such does not go through big development, just hardware enablement and fixes for rare architectures. That's why (hardware enablement) we do rebases instead of backports for pciutils even for rhel/centos for years.

pciutils exports versioned symbols and keeps them around, so something like this should not have happened.
pciutils-3.9.0 still tries to export 3.3 version of pci_filter_match that cpupower complains about

lib/filter.c
#define SYMBOL_VERSION(_int, _ext) asm(".symver " #_int "," #_ext)

SYMBOL_VERSION(pci_filter_match_v30, pci_filter_match);
SYMBOL_VERSION(pci_filter_match_v33, pci_filter_match);
SYMBOL_VERSION(pci_filter_match_v38, pci_filter_match@@LIBPCI_3.8);

I'm not sure why it's gone from the latest rpm, will look into it now

Comment 2 Fedora Update System 2022-12-16 19:07:34 UTC
FEDORA-2022-c0fe31c23a has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2022-c0fe31c23a

Comment 3 Fedora Update System 2022-12-16 19:07:35 UTC
FEDORA-2022-a8e0c1d661 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-a8e0c1d661

Comment 4 Fedora Update System 2022-12-17 01:48:13 UTC
FEDORA-2022-a8e0c1d661 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-a8e0c1d661`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-a8e0c1d661

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2022-12-17 02:31:23 UTC
FEDORA-2022-c0fe31c23a has been pushed to the Fedora 36 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-c0fe31c23a`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-c0fe31c23a

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2022-12-19 01:15:27 UTC
FEDORA-2022-a8e0c1d661 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 7 Michal Hlavinka 2022-12-19 10:33:37 UTC
*** Bug 2154241 has been marked as a duplicate of this bug. ***

Comment 8 Fedora Update System 2022-12-20 02:24:08 UTC
FEDORA-2022-c0fe31c23a has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.