Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 361531

Summary: sys-libs/zlib-1.2.5-r2: problem with cmake builds
Product: Gentoo Linux Reporter: Rafał Mużyło <galtgendo>
Component: [OLD] LibraryAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Rafał Mużyło 2011-03-31 22:00:02 UTC
Technically, this might be invalid, it's still a regression to 1.2.3-r1, though.

When I was building a package, that uses cmake, that built fine with 1.2.3-r1,
I was surprised by an error:
No rules to make `/lib/libz.so', needed by '...'

1.2.3-r1 was doing
dosym libz.so.${PV} /$(get_libdir)/libz.so
dosym libz.so.${PV} /$(get_libdir)/libz.so.1
1.2.5-r2 does not and that's probably the reason for this regression.

The package in question uses standard
find_package(ZLIB REQUIRED)
macro, that correctly finds zlib, but the linking fails.
Comment 1 SpanKY gentoo-dev 2011-03-31 22:02:51 UTC
not a bug in zlib
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2011-03-31 22:22:53 UTC
Known problem, no fix so far

*** This bug has been marked as a duplicate of bug 311147 ***