When I attempt to emerge openeldap-2.1.30-r1, I get the following error: collect2: ld returned 1 exit status make[2]: *** [slapd] Error 1 make[2]: Leaving directory `/var/tmp/portage/openldap-2.1.30-r1/work/openldap-2.1.30/servers/slapd' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/var/tmp/portage/openldap-2.1.30-r1/work/openldap-2.1.30/servers' make: *** [all-common] Error 1 !!! ERROR: net-nds/openldap-2.1.30-r1 failed. !!! Function src_compile, Line 136, Exitcode 2 !!! make failed I will attach the complete output from the build process to this bug. Reproducible: Always Steps to Reproduce: 1. Attempt to emerge openldap. Actual Results: openldap fails to emerge with the error reported above. Expected Results: I expected openldap to emerge without a problem. Portage 2.0.50-r9 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11) ================================================================= System uname: 2.6.7-gentoo-r11 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz Gentoo Base System version 1.5.1 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /etc/tomcat5 /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -mcpu=pentium4 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache sandbox" GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-gnome-current /usr/local/bmg-main" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa apm arts avi berkdb bonobo cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml guile imlib java jpeg kerberos krb4 libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png python quicktime readline scanner sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"
Created attachment 36294 [details] Log file of emerge openldap containing error
The problems in the attached log file start on line 2638 and continue through to the end of the log.
your perl is borked. try 'emerge perl libperl', then openldap again. if that fails, please post a list of ALL packages installed on your system. (easist route is: "find /var/db/pkg -maxdepth 2 -mindepth 2").
Emerging perl and libperl and then re-emerging openldap worked. I hope I'm not overstepping my bounds by resolving this bug as fixed.