Bug 2264921 - pkg-config --modversion 'gnome-vfs-2.0 >= 2' stopped printing a module version
Summary: pkg-config --modversion 'gnome-vfs-2.0 >= 2' stopped printing a module version
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pkgconf
Version: 40
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ---
Assignee: Jens Petersen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2264846 2264848
TreeView+ depends on / blocked
 
Reported: 2024-02-19 16:46 UTC by Petr Pisar
Modified: 2024-07-02 20:14 UTC (History)
3 users (show)

Fixed In Version: pkgconf-2.1.1-1.fc41 pkgconf-2.1.1-1.fc40
Clone Of:
Environment:
Last Closed: 2024-07-02 20:14:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources pkgconf pull-request 9 0 None None None 2024-02-29 14:56:30 UTC
Github pkgconf pkgconf pull 336 0 None closed Fix `--modversion` output 2024-02-29 14:09:12 UTC

Description Petr Pisar 2024-02-19 16:46:14 UTC
There is a regression in handling --modversion if a minimal module version is requested

1.9.5 works:

$ rpm -q pkgconf
pkgconf-1.9.5-2.fc39.x86_64
$ pkg-config --modversion 'gnome-vfs-2.0 >= 2'
2.24.4

2.1.0 only prints an empty line:

$ rpm -q pkgconf
pkgconf-2.1.0-1.fc40.x86_64
$ pkg-config --modversion 'gnome-vfs-2.0 >= 2'
$

Comment 1 Petr Pisar 2024-02-29 14:09:13 UTC
According to NEWS, this was fixed in 2.1.1 version with <https://github.com/pkgconf/pkgconf/pull/336>.

Comment 2 Petr Pisar 2024-02-29 14:56:30 UTC
The upstream fix cleanly applies to Fedora's 2.1.0. A prepared a pull request <https://src.fedoraproject.org/rpms/pkgconf/pull-request/9>.

Comment 3 Jens Petersen 2024-05-14 10:21:24 UTC
I also opened https://src.fedoraproject.org/rpms/pkgconf/pull-request/10 to update to 2.1.1

Comment 4 Petr Pisar 2024-05-21 08:54:18 UTC
Fedora 40 (pkgconf-2.1.0-1.fc40) is also affected.

Comment 5 Fedora Update System 2024-05-21 09:44:25 UTC
FEDORA-2024-80e451e767 (pkgconf-2.1.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-80e451e767

Comment 6 Fedora Update System 2024-05-22 01:11:58 UTC
FEDORA-2024-80e451e767 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-2024-80e451e767`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-80e451e767

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

Comment 7 Fedora Update System 2024-06-16 10:26:03 UTC
FEDORA-2024-3f18243dbe (pkgconf-2.1.1-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-3f18243dbe

Comment 8 Fedora Update System 2024-06-18 01:36:10 UTC
FEDORA-2024-3f18243dbe 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-2024-3f18243dbe`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-3f18243dbe

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

Comment 9 Fedora Update System 2024-07-02 20:14:21 UTC
FEDORA-2024-3f18243dbe (build2-0.16.0-5.fc40, perl-Alien-pkgconf-0.20-2.fc40, and 2 more) 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.