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

Bug 438702

Summary: sys-auth/nss_ldap-265 encodes wrong libc version in library name if compiling for $ROOT
Product: Gentoo Linux Reporter: Dennis Schridde <dschridde+gentoobugs>
Component: [OLD] Core systemAssignee: Gentoo LDAP project <ldap-bugs>
Status: UNCONFIRMED ---    
Severity: normal CC: prometheanfire, robbat2
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Dennis Schridde 2012-10-17 13:10:19 UTC
sys-auth/nss_ldap-265's toplevel contains:
LIBC_VERS = $(shell ls /lib/$(MULTI_OS_DIRECTORY)/libc-*.so | tail -n 1 | sed -e 's|.*libc-\(.*\)\.so|\1|')

This will get the wrong LIBC_VERS if the libc in $ROOT and / have a different version. Since it is $ROOT related, which is Gentoo specific, I did not file a complaint upstream. However, maybe this can be fixed by adding a $(PREFIX) at the appropriate position in the, which would be a fix that is upstreamable.

Reproducible: Always