Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148796 - emerge ldapdns fails in configure, OpenLDAP dependencies
Summary: emerge ldapdns fails in configure, OpenLDAP dependencies
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-23 09:25 UTC by Martin Köster
Modified: 2006-09-24 05:58 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 Martin Köster 2006-09-23 09:25:58 UTC
When emerging ldapdns emerge fails with:

Checking for POSIX threads: ok
Checking for non-portable pthreads extensions: none
Checking OpenLDAP dependencies: no idea
make: *** [Makefile.config] Error 1

!!! ERROR: net-dns/ldapdns-2.06 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ldapdns-2.06.ebuild, line 37:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

OpenLDAP 2.3.24-r1 is installed. Running ./configure gets the same error:
Checking OpenLDAP dependencies: no idea
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 11:05:37 UTC
!!! If you need support, post the topmost build error
Comment 2 Martin Köster 2006-09-23 12:02:49 UTC
x30 ldapdns # emerge ldapdns
Calculating dependencies... done!

>>> Emerging (1 of 1) net-dns/ldapdns-2.06 to /
 * ldapdns-2.06.tar.gz MD5 ;-) ...                                        [ ok ] * ldapdns-2.06.tar.gz size ;-) ...                                       [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking ldapdns-2.06.tar.gz ;-) ...                                   [ ok ]>>> Unpacking source...
>>> Unpacking ldapdns-2.06.tar.gz to /var/tmp/portage/ldapdns-2.06/work
 * Applying ldapdns-2.06-gentoo.patch ...                                 [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ldapdns-2.06/work/ldapdns-2.06 ...
Configuring LDAPDNS
Testing C compiler: gcc-pthread (cc)
Checking for syslog support: ok
Checking for memzero: bzero
Checking for memcpy: ok
Checking for IPV6 support: ok
Checking for setsid() support: ok
Checking for poll() support: ok
Checking for waitpid() support: ok
Checking for POSIX threads: ok
Checking for non-portable pthreads extensions: none
Checking OpenLDAP dependencies: no idea
make clean
make[1]: Entering directory `/var/tmp/portage/ldapdns-2.06/work/ldapdns-2.06'
rm -f *.o ldapdns ldapaxfr test_1.c test_1.o test_1
make[1]: Leaving directory `/var/tmp/portage/ldapdns-2.06/work/ldapdns-2.06'
./configure
Configuring LDAPDNS
Testing C compiler: gcc-pthread (cc)
Checking for syslog support: ok
Checking for memzero: bzero
Checking for memcpy: ok
Checking for IPV6 support: ok
Checking for setsid() support: ok
Checking for poll() support: ok
Checking for waitpid() support: ok
Checking for POSIX threads: ok
Checking for non-portable pthreads extensions: none
Checking OpenLDAP dependencies: no idea
make: *** [Makefile.config] Error 1

!!! ERROR: net-dns/ldapdns-2.06 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ldapdns-2.06.ebuild, line 37:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 3 Martin Köster 2006-09-23 12:11:54 UTC
My emerge --info output

Portage 2.1.1 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.4-r3, 
2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Mobile Intel(R) Pentium(R) III CPU - M  1200MHz
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 15:30:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.2.11-r1
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.utf8"
LINGUAS="da"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 asf berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cli crypt cups dbus dlloader dri eds elibc_glibc encode esd evo expat foomaticdb fortran gd gdbm gif gnome gpm gstreamer gtk gtk2 hal howl idn imap imlib input_devices_keyboard input_devices_mouse irmc isdnlog java jpeg kernel_linux ldap libg++ linguas_da mad mikmod mmx motif mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre perl png ppds pppd python quicktime readline reflection samba sdl session snmp spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_i810 vorbis win32codecs wma xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-09-23 12:24:37 UTC
Still no luck...

MAKEOPTS="-j1" emerge =net-dns/ldapdns-2.06 &> log

And attach the log here.
Comment 5 Martin Köster 2006-09-23 12:31:10 UTC
Calculating dependencies  >>> Unpacking source...
>>> Unpacking ldapdns-2.06.tar.gz to /var/tmp/portage/ldapdns-2.06/work
 * Applying ldapdns-2.06-gentoo.patch ...                                 [ ok ]>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ldapdns-2.06/work/ldapdns-2.06 ...
Configuring LDAPDNS
Testing C compiler: gcc-pthread (cc)
Checking for syslog support: ok
Checking for memzero: bzero
Checking for memcpy: ok
Checking for IPV6 support: ok
Checking for setsid() support: ok
Checking for poll() support: ok
Checking for waitpid() support: ok
Checking for POSIX threads: ok
Checking for non-portable pthreads extensions: none
Checking OpenLDAP dependencies: no idea
make clean
make[1]: Entering directory `/var/tmp/portage/ldapdns-2.06/work/ldapdns-2.06'
rm -f *.o ldapdns ldapaxfr test_1.c test_1.o test_1
make[1]: Leaving directory `/var/tmp/portage/ldapdns-2.06/work/ldapdns-2.06'
./configure
Configuring LDAPDNS
Testing C compiler: gcc-pthread (cc)
Checking for syslog support: ok
Checking for memzero: bzero
Checking for memcpy: ok
Checking for IPV6 support: ok
Checking for setsid() support: ok
Checking for poll() support: ok
Checking for waitpid() support: ok
Checking for POSIX threads: ok
Checking for non-portable pthreads extensions: none
Checking OpenLDAP dependencies: no idea
make: *** [Makefile.config] Error 1

!!! ERROR: net-dns/ldapdns-2.06 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  ldapdns-2.06.ebuild, line 37:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.

... done!

>>> Emerging (1 of 1) net-dns/ldapdns-2.06 to /
 * ldapdns-2.06.tar.gz MD5 ;-) ...                                        [ ok ] * ldapdns-2.06.tar.gz size ;-) ...                                       [ ok ] * checking ebuild checksums ;-) ...                                      [ ok ] * checking auxfile checksums ;-) ...                                     [ ok ] * checking miscfile checksums ;-) ...                                    [ ok ] * checking ldapdns-2.06.tar.gz ;-) ...                                   [ ok ]
Comment 6 Martin Köster 2006-09-24 05:58:44 UTC
Reemerge openldap fix the problem. 

part of the problem could be (output from emerge openldap)

 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library liblber.so.2.0.130
 *
 * After doing that, you can safely remove /usr/lib/liblber.so.2.0.130
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library libldap.so.2.0.130
 *
 * After doing that, you can safely remove /usr/lib/libldap.so.2.0.130
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library libldap_r.so.2.0.130
 *
 * After doing that, you can safely remove /usr/lib/libldap_r.so.2.0.130
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library liblber-2.2.so.7
 *
 * After doing that, you can safely remove /usr/lib/liblber-2.2.so.7
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library liblber-2.2.so.7.0.21
 *
 * After doing that, you can safely remove /usr/lib/liblber-2.2.so.7.0.21
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library libldap-2.2.so.7
 *
 * After doing that, you can safely remove /usr/lib/libldap-2.2.so.7
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library libldap-2.2.so.7.0.21
 *
 * After doing that, you can safely remove /usr/lib/libldap-2.2.so.7.0.21
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library libldap_r-2.2.so.7
 *
 * After doing that, you can safely remove /usr/lib/libldap_r-2.2.so.7
 * Note: 'emerge gentoolkit' to get revdep-rebuild
 * An old version of an installed library was detected on your system.
 * In order to avoid breaking packages that link against it, this older version
 * is not being removed.  In order to make full use of this newer version,
 * you will need to execute the following command:
 *   revdep-rebuild --library libldap_r-2.2.so.7.0.21
 *
 * After doing that, you can safely remove /usr/lib/libldap_r-2.2.so.7.0.21
 * Note: 'emerge gentoolkit' to get revdep-rebuild