Bug 1737584 - zlib pkg-config file has incorrect version
Summary: zlib pkg-config file has incorrect version
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-zlib
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Richard W.M. Jones
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-05 17:45 UTC by Daniel Berrangé
Modified: 2019-08-05 23:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-05 23:52:19 UTC
Type: Bug


Attachments (Terms of Use)

Description Daniel Berrangé 2019-08-05 17:45:25 UTC
Description of problem:

The RPM installed is 1.2.8

$ rpm -q mingw32-zlib
mingw32-zlib-1.2.8-10.fc30.noarch

The pkg-config file says it is 1.2.5 though:

$ rpm -ql mingw32-zlib | grep pkgconfig
/usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/zlib.pc

$ cat /usr/i686-w64-mingw32/sys-root/mingw/lib/pkgconfig/zlib.pc
prefix=/usr/i686-w64-mingw32/sys-root/mingw
exec_prefix=/usr/i686-w64-mingw32/sys-root/mingw
libdir=/usr/i686-w64-mingw32/sys-root/mingw/lib
includedir=/usr/i686-w64-mingw32/sys-root/mingw/include

Name: zlib
Description: zlib compression library
Version: 1.2.5

Requires:
Libs: -L${libdir} -lz
Cflags: -I${includedir}


This means apps requiring zlib > 1.2.5 fail to build despite having new enough zlib.


Version-Release number of selected component (if applicable):
mingw32-zlib-1.2.8-10.fc30.noarch


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