Bug 2293437 - zlib-ng is not usable by CMake due to wrong file name
Summary: zlib-ng is not usable by CMake due to wrong file name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: zlib-ng
Version: 40
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Tulio Magno Quites Machado Filho
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-06-20 16:59 UTC by Matthew Woehlke
Modified: 2024-07-03 02:35 UTC (History)
4 users (show)

Fixed In Version: zlib-ng-2.1.7-1.fc41 zlib-ng-2.1.7-1.fc40
Clone Of:
Environment:
Last Closed: 2024-06-21 22:02:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Matthew Woehlke 2024-06-20 16:59:05 UTC
Description of problem:
zlib-ng ships a CMake package configuration file, but it is not usable due to having the wrong name (`zlib-ng.cmake` should be `zlib-ng-config.cmake`).

Version-Release number of selected component (if applicable):
zlib-ng-devel-2.1.6-5.fc40.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Call find_package(zlib-ng) from a CMake project

Actual results:
CMake can't find zlib-ng because no zlib-ng-config.cmake exists.

Expected results:
CMake finds zlib-ng with zlib-ng_DIR=/usr/lib64/cmake/zlib-ng.

Additional info:
Not sure if this is upstream or a packaging issue, but it can be easily fixed by either renaming `zlib-ng.cmake` or providing a symlink `zlib-ng-config.cmake -> zlib-ng.cmake`.

Comment 1 Tulio Magno Quites Machado Filho 2024-06-20 18:13:27 UTC
This as already been fixed upstream in zlib-ng 2.1.7: https://github.com/zlib-ng/zlib-ng/pull/1647

There is a PR created for Rawhide here: https://src.fedoraproject.org/rpms/zlib-ng/pull-request/20

My goal is to distribute this version in F40 after some testing in Rawhide.

Comment 2 Fedora Update System 2024-06-21 18:03:59 UTC
FEDORA-2024-c11bae3c39 (zlib-ng-2.1.7-1.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c11bae3c39

Comment 3 Fedora Update System 2024-06-21 22:02:29 UTC
FEDORA-2024-c11bae3c39 (zlib-ng-2.1.7-1.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 4 Fedora Update System 2024-07-01 20:29:47 UTC
FEDORA-2024-865a0061ad (zlib-ng-2.1.7-1.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-865a0061ad

Comment 5 Fedora Update System 2024-07-02 02:36:33 UTC
FEDORA-2024-865a0061ad 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-865a0061ad`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-865a0061ad

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

Comment 6 Fedora Update System 2024-07-03 02:35:26 UTC
FEDORA-2024-865a0061ad (zlib-ng-2.1.7-1.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.