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

Bug 58617

Summary: openldap: emerge of openldap-2.1.30-r1 fails
Product: Gentoo Linux Reporter: Derek Berube <derek.berube>
Component: New packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Log file of emerge openldap containing error

Description Derek Berube 2004-07-27 20:23:15 UTC
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"
Comment 1 Derek Berube 2004-07-27 20:48:34 UTC
Created attachment 36294 [details]
Log file of emerge openldap containing error
Comment 2 Derek Berube 2004-07-27 20:57:36 UTC
The problems in the attached log file start on line 2638 and continue through to the end of the log.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-07-28 00:19:40 UTC
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").
Comment 4 Derek Berube 2004-07-28 09:56:05 UTC
Emerging perl and libperl and then re-emerging openldap worked.  I hope I'm not overstepping my bounds by resolving this bug as fixed.