Bug 2345743 - Broken pkg-config file [regression]
Summary: Broken pkg-config file [regression]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: c-ares
Version: 41
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2025-02-14 14:19 UTC by Remi Collet
Modified: 2025-02-26 01:42 UTC (History)
1 user (show)

Fixed In Version: c-ares-1.34.4-3.fc41 c-ares-1.34.4-3.fc40
Clone Of:
Environment:
Last Closed: 2025-02-16 01:20:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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