Bug 2065895 - Please add a pkg-config file for libdeflate
Summary: Please add a pkg-config file for libdeflate
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libdeflate
Version: 34
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Nick Black
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-19 06:15 UTC by Andrey Bienkowski
Modified: 2022-03-19 23:24 UTC (History)
1 user (show)

Fixed In Version: libdeflate-1.9-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-03-19 23:24:01 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github ebiggers libdeflate issues 140 0 None closed pkgconfig support 2022-03-19 06:15:04 UTC

Description Andrey Bienkowski 2022-03-19 06:15:05 UTC
Description of problem:

libdeflate-devel is missing a pkg-config file.

Version-Release number of selected component (if applicable):

libdeflate-devel-0:1.8-1.fc34.x86_64

How reproducible:
100%

Steps to Reproduce:

1. sudo dnf install -y libdeflate-devel
2. pkg-config --libs libdeflate

Actual results:

$ pkg-config --libs libdeflate-devel
Package libdeflate-devel was not found in the pkg-config search path.
Perhaps you should add the directory containing `libdeflate-devel.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libdeflate-devel', required by 'virtual:world', not found

Expected results:

I expected to get the linker flags required to use libdeflate

Additional info:

$ rpm -q --list libdeflate-devel
/usr/include/libdeflate.h
/usr/lib64/libdeflate.so

libdeflate has a pkg-config support file, but it looks like it is only added in libdeflate-1.9: https://github.com/ebiggers/libdeflate/commit/0a2b40203db489551bcbd0fe914092c51da08986

Comment 1 Nick Black 2022-03-19 09:05:19 UTC
yep, i was the one who wrote and contributed that pkg-config file =]. have i never pushed up 1.9? let me go ahead and do that; thanks for the heads-up.

Comment 2 Andrey Bienkowski 2022-03-19 10:55:24 UTC
1.9 is in fedora 35, but not in fedora 34

Comment 3 Fedora Update System 2022-03-19 11:28:12 UTC
FEDORA-2022-57dc8352d4 has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2022-57dc8352d4

Comment 4 Nick Black 2022-03-19 11:29:06 UTC
https://bodhi.fedoraproject.org/updates/FEDORA-2022-57dc8352d4

if you test the package out and can verify that it works, go vote for it, and the upgrade will proceed more quickly.

Comment 5 Fedora Update System 2022-03-19 23:24:01 UTC
FEDORA-2022-57dc8352d4 has been pushed to the Fedora 34 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.