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

Bug 93320

Summary: Openldap-2.2.26-r1 fails to build/install kerberos module
Product: Gentoo Linux Reporter: Seemant Kulleen (RETIRED) <seemant>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED DUPLICATE    
Severity: normal CC: christophe
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Other   
Whiteboard:
Package list:
Runtime testing required: ---

Description Seemant Kulleen (RETIRED) gentoo-dev 2005-05-20 04:23:39 UTC
The || die in src_install is in the output -- the module doesn't get build.  plxfixthx.
Comment 1 Christophe Saout 2005-05-22 15:34:17 UTC
One more build failure before this bug is closed:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld:
/var/tmp/portage/openldap-2.2.26-r2/temp/ccURmRgh.o: relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object; recompile
with -fPIC
/var/tmp/portage/openldap-2.2.26-r2/temp/ccURmRgh.o: could not read symbols: Bad
value
collect2: ld gab 1 als Ende-Status zur
Comment 2 Christophe Saout 2005-05-22 15:34:17 UTC
One more build failure before this bug is closed:

/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld:
/var/tmp/portage/openldap-2.2.26-r2/temp/ccURmRgh.o: relocation R_X86_64_32
against `a local symbol' can not be used when making a shared object; recompile
with -fPIC
/var/tmp/portage/openldap-2.2.26-r2/temp/ccURmRgh.o: could not read symbols: Bad
value
collect2: ld gab 1 als Ende-Status zurück

!!! ERROR: net-nds/openldap-2.2.26-r2 failed.
!!! Function src_compile, Line 220, Exitcode 1
!!! failed to compile kerberos module

The compile command for pw-kerberos.so needs an additional -fPIC after ${CFLAGS}
to correctly compile as shared library. (I assume i386 goes through but you end
up with a shared library containing TEXTRELs)
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-05-29 21:35:41 UTC

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