Bug 2345743

Summary: Broken pkg-config file [regression]
Product: [Fedora] Fedora Reporter: Remi Collet <fedora>
Component: c-aresAssignee: Tom "spot" Callaway <spotrh>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 41CC: spotrh
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: c-ares-1.34.4-3.fc41 c-ares-1.34.4-3.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-02-16 01:20:19 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 Remi Collet 2025-02-14 14:19:45 UTC
IIRC version 1.33.0 was OK

With c-ares-devel-1.34.4-1.fc41.x86_64

We have:

  $ pkg-config libcares --libs
  -L/usr/usr/lib64 -lcares

Which is wrong and generates bad things when build with this library relying on pkg-config

Ex (building a PHP extension)

ERROR   0002: file '/usr/lib64/php/modules/swoole.so' contains an invalid runpath '/usr/usr/lib64' in [/usr/usr/lib64]
erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.IlYrBl (%install)


Notice: standard path (/usr/lib64) is removed, so by default no rpath in php module

Comment 1 Tom "spot" Callaway 2025-02-14 18:33:54 UTC
Confirmed. Fix is coming now.

Comment 2 Fedora Update System 2025-02-14 20:13:57 UTC
FEDORA-2025-b153b07454 (c-ares-1.34.4-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-b153b07454

Comment 3 Fedora Update System 2025-02-14 20:13:58 UTC
FEDORA-2025-2bdbcdbfb6 (c-ares-1.34.4-3.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-2bdbcdbfb6

Comment 4 Fedora Update System 2025-02-15 02:19:30 UTC
FEDORA-2025-b153b07454 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-b153b07454`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-b153b07454

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

Comment 5 Fedora Update System 2025-02-15 04:15:30 UTC
FEDORA-2025-2bdbcdbfb6 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-2bdbcdbfb6`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-2bdbcdbfb6

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

Comment 6 Remi Collet 2025-02-15 06:01:49 UTC
Thanks for the quick fix

Comment 7 Fedora Update System 2025-02-16 01:20:19 UTC
FEDORA-2025-b153b07454 (c-ares-1.34.4-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 8 Fedora Update System 2025-02-26 01:42:18 UTC
FEDORA-2025-2bdbcdbfb6 (c-ares-1.34.4-3.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.