Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 114452 - net-nds/openldap fails to compile
Summary: net-nds/openldap fails to compile
Status: RESOLVED DUPLICATE of bug 114371
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-04 09:03 UTC by Neil Stone
Modified: 2005-12-04 09:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neil Stone 2005-12-04 09:03:10 UTC
*** Warning: Linking the shared library back_perl.la against the
*** static library
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a is not portable!
cc -shared  .libs/init.o .libs/search.o .libs/close.o .libs/config.o
.libs/bind.o .libs/compare.o .libs/modify.o .libs/add.o .libs/modrdn.o
.libs/delete.o .libs/version.o  -Wl,--rpath
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/libldap_r/.libs
-Wl,--rpath
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs
-L/usr/lib64 -L/usr/lib/perl5/5.8.7/x86_64-linux/CORE
../../../libraries/libldap_r/.libs/libldap_r.so
-L/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs
../../../libraries/liblber/.libs/liblber.so
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a -lperl -lpthread
-lnsl -ldl -lm -lcrypt -lutil -lc  -march=k8 -Wl,-soname -Wl,back_perl-2.2.so.7
-o .libs/back_perl-2.2.so.7.0.21
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
relocation R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a: could not read
symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [back_perl.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd/back-perl'
make[2]: *** [back-perl] Error 2
make[2]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers'
make: *** [all-common] Error 1

!!! ERROR: net-nds/openldap-2.2.28-r2 failed.
!!! Function src_compile, Line 250, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge -uD world

This was part of a world update...
Actual Results:  

*** Warning: Linking the shared library back_perl.la against the
*** static library
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a is not portable!
cc -shared  .libs/init.o .libs/search.o .libs/close.o .libs/config.o
.libs/bind.o .libs/compare.o .libs/modify.o .libs/add.o .libs/modrdn.o
.libs/delete.o .libs/version.o  -Wl,--rpath
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/libldap_r/.libs
-Wl,--rpath
-Wl,/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs
-L/usr/lib64 -L/usr/lib/perl5/5.8.7/x86_64-linux/CORE
../../../libraries/libldap_r/.libs/libldap_r.so
-L/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/libraries/liblber/.libs
../../../libraries/liblber/.libs/liblber.so
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a -lperl -lpthread
-lnsl -ldl -lm -lcrypt -lutil -lc  -march=k8 -Wl,-soname -Wl,back_perl-2.2.so.7
-o .libs/back_perl-2.2.so.7.0.21
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a(DynaLoader.o):
relocation R_X86_64_32 against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/lib/perl5/5.8.7/x86_64-linux/auto/DynaLoader/DynaLoader.a: could not read
symbols: Bad value
collect2: ld returned 1 exit status
make[3]: *** [back_perl.la] Error 1
make[3]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd/back-perl'
make[2]: *** [back-perl] Error 2
make[2]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory
`/var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.2.28/servers'
make: *** [all-common] Error 1

!!! ERROR: net-nds/openldap-2.2.28-r2 failed.
!!! Function src_compile, Line 250, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.


Expected Results:  
Compiled.....

Portage 2.0.53 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r3,
2.6.14-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre11
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.16
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.20-r1
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk         
ftp://mirrors.blueyonder.co.uk/mirrors/gentoo          
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/                
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/ebuildexchange /usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="amd64 7zip X Xaw3d a52 aac acpi aim alsa apm arts audiofile avi
bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib calendar cdparanoia
cdr cpudetection crypt css cups curl dbus dga divx4linux dv dvb dvd dvdr dvdread
eds emboss encode esd ethereal exif expat fam fbcon ffmpeg flac flash foomaticdb
fortran ftp gd gdbm gif gimpprint glut gmp gnome gpm gps gstreamer gtk gtk2 hal
icq idn iee1394 ieee1394 imagemagick imlib ipv6 jabber java javascript joystick
jpeg kde kdeenablefinal lcms ldap lm_sensors logitech-mouse lzw lzw-tiff mad
mcve mgetty mikmod mime mng motif mozilla mozsvg mp3 mpeg mplayer msn nas
ncurses nls nptl nvidia offensive ogg oggvorbis openal opengl osc oscar oss pam
pcre pdflib perl plugin png ppds python qt quicktime rar rdesktop readline real
recode sasl scanner sdl snmp sox spell ssl subtitles svg symlink tcltk tcpd
theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb
userlocales v4l v4l2 vcd videos vorbis wmf wxwindows xine xinerama xml2 xmms
xosd xpm xprint xv xvid yahoo zlib video_cards_nvidia userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-04 09:05:59 UTC

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