Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100673 - failure during ./configure for net-nds/openldap-2.1.30-r5 - Berkeley DB version incompatible
Summary: failure during ./configure for net-nds/openldap-2.1.30-r5 - Berkeley DB versi...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-29 00:20 UTC by Jeff Hayes
Modified: 2005-08-03 12:58 UTC (History)
0 users

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


Attachments
ebuild log file for openldap - failed to find berkeley DB (openldap-build-bug.txt,62.33 KB, text/plain)
2005-07-29 00:21 UTC, Jeff Hayes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Hayes 2005-07-29 00:20:32 UTC
updating world. previous run stopped on alsa-drivers as i removed the sound
system from my kernel when i upgraded from 2.6.8 to 2.6.11. resumed the emerge
with this.

 emerge -uD --newuse --resume --skipfirst  world

build 8 of 15 was openLDAP, which failed with the message you will see below so
i am writing to tell you about this.



Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.

Actual Results:  
------- start of openldap build -------------------
>>> emerge (8 of 15) net-nds/openldap-2.1.30-r5 to /
>>> md5 files   ;-) openldap-2.1.30-r3.ebuild
>>> md5 files   ;-) openldap-2.2.27.ebuild
>>> md5 files   ;-) openldap-2.1.30-r5.ebuild
>>> md5 files   ;-) openldap-2.2.24.ebuild
>>> md5 files   ;-) openldap-2.1.27.ebuild
>>> md5 files   ;-) openldap-2.1.30-r2.ebuild
>>> md5 files   ;-) openldap-2.2.26-r2.ebuild
>>> md5 files   ;-) openldap-2.2.26.ebuild
>>> md5 files   ;-) openldap-2.1.30-r4.ebuild
>>> md5 files   ;-) openldap-2.2.27-r1.ebuild
>>> md5 files   ;-) openldap-2.2.23-r1.ebuild
>>> md5 files   ;-) openldap-2.2.23.ebuild
>>> md5 files   ;-) openldap-2.2.19.ebuild
>>> md5 files   ;-) openldap-2.2.14.ebuild
>>> md5 files   ;-) openldap-2.1.30.ebuild
>>> md5 files   ;-) openldap-2.1.26.ebuild
>>> md5 files   ;-) openldap-2.1.30-r1.ebuild
>>> md5 files   ;-) openldap-2.1.27-r1.ebuild
>>> md5 files   ;-) openldap-2.2.26-r1.ebuild
>>> md5 files   ;-) files/openldap-2.2.26-tls-fix-connection-test.patch
>>> md5 files   ;-) files/gencert.sh-2.2.27
>>> md5 files   ;-) files/gencert.sh
>>> md5 files   ;-) files/openldap-2.1.30-db40.patch
>>> md5 files   ;-) files/digest-openldap-2.1.27-r1
>>> md5 files   ;-) files/digest-openldap-2.1.30-r1
>>> md5 files   ;-) files/digest-openldap-2.1.30-r2
>>> md5 files   ;-) files/digest-openldap-2.1.30-r3
>>> md5 files   ;-) files/digest-openldap-2.1.30-r4
>>> md5 files   ;-) files/digest-openldap-2.1.30-r5
>>> md5 files   ;-) files/openldap-2.1.30-tls-activedirectory-hang-fix.patch
>>> md5 files   ;-) files/openldap-2.2.14-db40.patch
>>> md5 files   ;-) files/digest-openldap-2.2.23-r1
>>> md5 files   ;-) files/digest-openldap-2.2.26-r1
>>> md5 files   ;-) files/digest-openldap-2.2.26-r2
>>> md5 files   ;-) files/digest-openldap-2.2.27-r1
>>> md5 files   ;-) files/openldap-2.2.14-perlthreadsfix.patch
>>> md5 files   ;-) files/openldap-2.1.27-perlthreadsfix.patch
>>> md5 files   ;-) files/digest-openldap-2.1.26
>>> md5 files   ;-) files/digest-openldap-2.1.27
>>> md5 files   ;-) files/digest-openldap-2.1.30
>>> md5 files   ;-) files/digest-openldap-2.2.14
>>> md5 files   ;-) files/digest-openldap-2.2.19
>>> md5 files   ;-) files/digest-openldap-2.2.23
>>> md5 files   ;-) files/digest-openldap-2.2.24
>>> md5 files   ;-) files/digest-openldap-2.2.26
>>> md5 files   ;-) files/digest-openldap-2.2.27
>>> md5 files   ;-) files/openldap-2.1.27-db40.patch
>>> md5 files   ;-) files/openldap-2.1.30-ximian_connector.patch
>>> md5 files   ;-) files/2.0/slapd
>>> md5 files   ;-) files/2.0/slapd.conf
>>> md5 files   ;-) files/2.0/slurpd
>>> md5 src_uri ;-) openldap-2.1.30.tgz
>>> Unpacking source...
>>> Unpacking openldap-2.1.30.tgz to /var/tmp/portage/openldap-2.1.30-r5/work
 * Applying openldap-2.1.30-db40.patch ...                                     
        [ ok ]
 * Applying openldap-2.1.30-tls-activedirectory-hang-fix.patch ...             
        [ ok ]
 * Applying openldap-2.2.26-tls-fix-connection-test.patch ...                  
        [ ok ]
 * Applying openldap-2.1.27-perlthreadsfix.patch ...                           
        [ ok ]
 * Applying openldap-2.1.30-ximian_connector.patch ...                         
        [ ok ]
configure.in:2337: warning: AC_TRY_RUN called without default to allow cross
compiling
>>> Source unpacked.
 * Using Berkeley DB for local backend
 * econf: updating openldap-2.1.30/contrib/ldapc++/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating openldap-2.1.30/contrib/ldapc++/config.sub with
/usr/share/gnuconfig/config.sub
 * econf: updating openldap-2.1.30/build/config.guess with
/usr/share/gnuconfig/config.guess
 * econf: updating openldap-2.1.30/build/config.sub with
/usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=i586-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i586-pc-linux-gnu --enable-static
--enable-shared --libexecdir=/usr/lib/openldap --enable-syslog --enable-ldap
--enable-slapd --enable-slurpd --enable-crypt --enable-ipv6 --without-cyrus-sasl
--disable-spasswd --with-readline --with-tls --with-lmpasswd --enable-wrappers
--disable-sql --enable-perl --disable-slp --enable-ldbm --enable-bdb
--with-ldbm-api=berkeley --enable-dynamic --enable-modules --enable-rewrite
--enable-rlookups --enable-passwd --enable-phonetic --enable-dnssrv
--enable-ldap --enable-meta --enable-monitor --enable-null --enable-shell
--enable-local --enable-proctitle
Copyright 1998-2004 The OpenLDAP Foundation,  All Rights Reserved.
        Restrictions apply, see COPYRIGHT and LICENSE files.
Configuring OpenLDAP 2.1.30-Release ...
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-pc-linux-gnu
---------------------------------------------

   SNIP

the end of the config looked like this
---------------------------------------------
checking for db.h... yes
checking for Berkeley DB link (default)... no
checking for Berkeley DB link (-ldb42)... no
checking for Berkeley DB link (-ldb-42)... no
checking for Berkeley DB link (-ldb-4.2)... no
checking for Berkeley DB link (-ldb-4-2)... no
checking for Berkeley DB link (-ldb41)... no
checking for Berkeley DB link (-ldb-41)... no
checking for Berkeley DB link (-ldb-4.1)... no
checking for Berkeley DB link (-ldb-4-1)... no
checking for Berkeley DB link (-ldb40)... no
checking for Berkeley DB link (-ldb-40)... no
checking for Berkeley DB link (-ldb-4.0)... yes
checking for Berkeley DB thread support... yes
checking Berkeley DB version for BDB backend... no
configure: error: BDB: BerkeleyDB version incompatible

!!! Please attach the config.log to your bug report:
!!! /var/tmp/portage/openldap-2.1.30-r5/work/openldap-2.1.30/config.log

!!! ERROR: net-nds/openldap-2.1.30-r5 failed.
!!! Function econf, Line 485, Exitcode 0
----------------------------------------------------

other info

satchmo linux # emerge -s berkeley
*  dev-perl/BerkeleyDB
      Latest version available: 0.26
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 126 kB
      Homepage:    http://search.cpan.org/~pmqs/BerkeleyDB-0.26
      Description: This module provides Berkeley DB interface for Perl.
      License:     GPL-2


satchmo ~ #  emerge -s openldap
Searching...
[ Results for search key : openldap ]
[ Applications found : 2 ]

*  net-nds/openldap
      Latest version available: 2.1.30-r5
      Latest version installed: 2.1.30-r4
      Size of downloaded files: 1,996 kB
      Homepage:    http://www.OpenLDAP.org/
      Description: LDAP suite of application and development tools
      License:     OPENLDAP

*  sec-policy/selinux-openldap [ Masked ]
      Latest version available: 20050626
      Latest version installed: [ Not Installed ]


Expected Results:  
it should have had Berkeley DB as a pre-requisite and installed it first.

satchmo ~ # emerge --info
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.11-gentoo-r11 i586)
=================================================================
System uname: 2.6.11-gentoo-r11 i586 Pentium MMX
Gentoo Base System version 1.6.13
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-mmx -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-mmx -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.gentoo.skynet.be/pub/gentoo/
ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.be.gentoo.org/gentoo-portage"
USE="x86 aalib aavm acl acpi alsa apache1 berkdb bzip2 bzlib cddb crypt cscope
curl doc emboss encode enscript expat fam firebird fortran gd gdbm gif gpm guile
imagemagick imlib innodb ipv6 java javascript justify libg++ libwww logrotate
lzw lzw-tiff mikmod mpm-leader mpm-metux mysql mysqli native ncurses nls noaudio
nocardbus novideo nptl nptlonly openssh pam pam_chroot pam_console parse-clock
pcre perl pg-hier php png posix postgres python readline samba slang spell ssl
tcpd tetex tidy tiff tokenizer truetype-fonts type1-fonts unicode usagi usb
vhosts winbind wmf xml xml2 zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Jeff Hayes 2005-07-29 00:21:57 UTC
Created attachment 64594 [details]
ebuild log file for openldap - failed to find berkeley DB
Comment 2 Chris White (RETIRED) gentoo-dev 2005-07-29 00:25:06 UTC
Please remember version numbers in the summary, it makes it easier for other  
users to find.  See here for more details:  
  
http://www.gentoo.org/doc/en/bugzilla-howto.xml  
  
Assigned to maintainer.  
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-08-03 12:58:37 UTC
emerge all sys-libs/db slots again, and then try openldap.
there was a bad db in the tree for a bit.