Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39932 - emerge of openldap-2.1.26 fails - bad pathname?
Summary: emerge of openldap-2.1.26 fails - bad pathname?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on: 40045
Blocks:
  Show dependency tree
 
Reported: 2004-01-30 21:12 UTC by dswhite42
Modified: 2004-02-01 13:27 UTC (History)
1 user (show)

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


Attachments
config.log for openldap-2.1.26 (config.log,85.81 KB, text/plain)
2004-01-30 21:21 UTC, dswhite42
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dswhite42 2004-01-30 21:12:18 UTC
I am having trouble getting openldap-2.1.26 to compile on my system.  Here are the details:

> emerge info

Portage 2.0.50_pre21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0, 2.4.23_pre8-gss)
=================================================================
System uname: 2.4.23_pre8-gss i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.3.12
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://www.gtlib.cc.gatech.edu/pub/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa apache2 apm arts avi berkdb cdr crypt cups curl dga directfb dvd dvdr encode esd fbcon flash foomaticdb gd gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 imap imlib java jpeg kde ldap libg++ libwww mad maildir matrox mbox mcal mikmod mmx motif mozilla mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl scanner sdl slang snmp spell sse ssl svga tcltk tcpd tiff truetype usb x86 xml xml2 xmms xv zlib"



> emerge -pvu openldap

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild     U ] net-nds/openldap-2.1.26 [2.1.23] +berkdb +crypt -debug +gdbm -ipv6 -kerberos +odbc +perl +readline +samba +sasl -slp +ssl +tcpd  1,994 kB 

Total size of downloads: 1,994 kB



> emerge -u openldap

(after downloading and a lot of compiling...)

/bin/sh /var/tmp/portage/openldap-2.1.26/work/openldap-2.1.26/libtool --mode=link gcc  -O3 -mcpu=pentium4 -march=pentium4 -pipe -fomit-frame-pointer   -dlopen self  -o slapd main.o daemon.o connection.o search.o filter.o add.o cr.o attr.o entry.o config.o backend.o result.o operation.o dn.o compare.o modify.o delete.o modrdn.o ch_malloc.o value.o ava.o bind.o unbind.o abandon.o filterentry.o phonetic.o acl.o str2filter.o aclparse.o init.o user.o repl.o lock.o controls.o extended.o kerberos.o passwd.o schema.o schema_check.o schema_init.o schema_prep.o schemaparse.o ad.o at.o mr.o syntax.o oc.o saslauthz.o oidm.o starttls.o index.o sets.o referral.o root_dse.o sasl.o module.o mra.o mods.o limits.o backglue.o operational.o matchedValues.o cancel.o  version.o libbackends.a ../../libraries/libavl/libavl.a ../../libraries/libldbm/libldbm.a ../../libraries/liblunicode/liblunicode.a ../../libraries/librewrite/librewrite.a ../../libraries/libldif/libldif.a ../../libraries/liblutil/liblutil.a ../../libraries/libldap_r/libldap_r.la ../../libraries/liblber/liblber.la -ldb-4.1 -rdynamic  -L/usr/local/lib /usr/lib/perl5/5.8.3/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.3/i686-linux/CORE -lperl -lpthread -lnsl -ldl -lm -lcrypt -lutil  -liodbc  -lcrypt -lsasl2  -lssl -lcrypto   -lresolv -ldl  -pthread -lltdl -lwrap
mkdir .libs
libtool: link: warning: library `/usr/local/lib/libiodbc.la' was moved.
libtool: link: warning: library `/usr/local/lib/libiodbc.la' was moved.
libtool: link: cannot find the library `/var/tmp/portage/libiodbc-3.51.1/image//usr/local/lib/libiodbcinst.la'
make[2]: *** [slapd] Error 1
make[2]: Leaving directory `/var/tmp/portage/openldap-2.1.26/work/openldap-2.1.26/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/openldap-2.1.26/work/openldap-2.1.26/servers'
make: *** [all-common] Error 1

!!! ERROR: net-nds/openldap-2.1.26 failed.
!!! Function src_compile, Line 115, Exitcode 2
!!! make failed

##############################################################

It appears that a work directory is being accidentally prepended to the correct directory, forming the invalid path "/var/tmp/portage/libiodbc-3.51.1/image//usr/local/lib/libiodbcinst.la"
Comment 1 dswhite42 2004-01-30 21:21:27 UTC
Created attachment 24670 [details]
config.log for openldap-2.1.26

This config.log comes from
/var/tmp/portage/openldap-2.1.26/work/openldap-2.1.26
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-02-01 00:55:13 UTC
libiodbc package appears to be badly broken, reported to it's maintainer.
problem should go away when it's fixed.
Comment 3 Michael Imhof (RETIRED) gentoo-dev 2004-02-01 04:31:03 UTC
libiodbc should be fixed now.
Comment 4 dswhite42 2004-02-01 13:27:52 UTC
Thank you - emerging libiodbc 3.51.1-r1 followed by openldap 2.1.26 works perfectly now.