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

Bug 49384

Summary: LDAP build fails test-bdb test000-rootdse slapd
Product: Gentoo Linux Reporter: agapo <agapo>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description agapo 2004-04-29 08:20:40 UTC
When I try to emerge LDAP I get an error about test-bdb

Reproducible: Always
Steps to Reproduce:
emerge openldap

Actual Results:  
make[3]: Leaving directory
`/var/tmp/portage/openldap-2.1.30/work/openldap-2.1.30/doc/man/man8'

make[2]: Leaving directory
`/var/tmp/portage/openldap-2.1.30/work/openldap-2.1.30/doc/man'

make[1]: Leaving directory
`/var/tmp/portage/openldap-2.1.30/work/openldap-2.1.30/doc'

ln: `./data': cannot overwrite directory
make: [test-bdb] Error 1 (ignored)
Initiating LDAP tests for BDB...
>>>>> Executing all LDAP tests...
>>>>> Test Directory: .
>>>>> Backend: bdb
>>>>> Starting test000-rootdse ...
running defines.sh
Datadir is ./data
Cleaning up in ./test-db...
Starting slapd on TCP/IP port 9009...
Using ldapsearch to retrieve the root DSE...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
Waiting 5 seconds for slapd to start...
./scripts/test000-rootdse: line 57: kill: (17156) - No such process
ldap_bind: Can't contact LDAP server (81)
>>>>> Test failed
>>>>> ./scripts/test000-rootdse failed (exit 1)
make: *** [test-bdb] Error 1

!!! ERROR: net-nds/openldap-2.1.30 failed.
!!! Function src_compile, Line 137, Exitcode 2
!!! make tests failed


Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0,
2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=athlon -march=athlon -O3 -pipe -fomit-frame-pointer -mmmx -m3dnow"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X acpi alsa apache2 apm arts avi berkdb crypt cups encode foomaticdb
gd gdbm gif gnome gpm gtk gtk2 imlib innodb ipv6 java jpeg kde ldap libg++
libwww mad maildir mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss
pam pdflib perl png ppds python qt quicktime readline samba sdl slang snmp
socks5 spell sse ssl svga tcltk tcpd tiff truetype unicode usb vhosts x86 xml
xml2 xmms xv zlib"
Comment 1 agapo 2004-04-29 09:06:28 UTC
Sorry. It was a DNS error. The machine didn't know who localhost was. Sorry again. Bye !
Comment 2 Pol 2004-05-01 09:08:25 UTC
what did u do to get it working ? It still do not work for me !