Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32392 - openldap 2.1.23 build fails my_perl undeclared perl_back_xs_init
Summary: openldap 2.1.23 build fails my_perl undeclared perl_back_xs_init
Status: RESOLVED DUPLICATE of bug 31202
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-31 08:20 UTC by Hans-Christian Armingeon
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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 Hans-Christian Armingeon 2003-10-31 08:20:59 UTC
openldap 2.1.23 build fails
ACCEPT_KEYWORDS=
Comment 1 Hans-Christian Armingeon 2003-10-31 08:20:59 UTC
openldap 2.1.23 build fails
ACCEPT_KEYWORDS=¨x86
portage tree i in sync at the moment

Reproduceable: emerge -u openldap

There is a patch error.
patching file /var/tmp/portage/openldap-2.1.23/work/openldap-2.1.23/configure
Hunk #1 succeeded at 7808 with fuzz 2 (offset 7162 lines).
[configure]
[make]
[...]
gcc -O3 -march=athlon-xp -fomit-frame-pointer -pipe -I../../../include -I../../../include -I.. -I./.. -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.1/i686-linux-thread-multi/CORE -c init.c  -fPIC -DPIC -o .libs/init.lo
init.c: In function `perl_back_initialize':
init.c:74: warning: passing arg 2 of `perl_parse' from incompatible pointer type
init.c: In function `perl_back_db_open':
init.c:147: error: `my_perl' undeclared (first use in this function)
init.c:147: error: (Each undeclared identifier is reported only once
init.c:147: error: for each function it appears in.)
init.c: In function `perl_back_xs_init':
init.c:182: error: `my_perl' undeclared (first use in this function)
init.c:182: warning: passing arg 3 of `Perl_newXS' from incompatible pointer type
make[3]: *** [init.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/openldap-2.1.23/work/openldap-2.1.23/servers/slapd/back-perl'
make[2]: *** [.backend] Error 1
make[2]: Leaving directory `/var/tmp/portage/openldap-2.1.23/work/openldap-2.1.23/servers/slapd'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/var/tmp/portage/openldap-2.1.23/work/openldap-2.1.23/servers'
make: *** [all-common] Error 1

!!! ERROR: net-nds/openldap-2.1.23 failed.
!!! Function src_compile, Line 113, Exitcode 2
!!! make failed
Comment 2 Hans-Christian Armingeon 2003-10-31 08:30:24 UTC
Sorry, I forgot the emerge --info

!!! CANNOT IMPORT FTPLIB: libssl.so.0.9.6: cannot open shared object file:
No such file or directory
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.22)
=================================================================
System uname: 2.4.22 i686 mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
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="x86 apm aalib acl acpi afs alsa apache2 arts avi berkdb bonobo cdr crypt
cscope cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo fbcon
firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm gps
gstreamer gtk gtk2 gtkhtml guile imap imlib innodb informix ipv6 jack java
jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda
libwww lirc mad maildir mbox mcal mikmod memlimit mmx motif mozilla mpeg
mpi mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia
pda ppds pdflib perl plotutils png pnp postgres prelude python qt quicktime
readline ruby samba sasl scanner sdl slang slp snmp socks5 spell ssl svga
tcltk tcpd tetex tiff truetype usb wmf wxwindows X Xaw3d xface xinerama xosd
xml2 xmms xv zeo zlib threads"

Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-10-31 12:22:59 UTC
This is a duplicate of bug 31202.
Hans: please run revdep-rebuild as well, as your libraries are also out of
sync.
(This might resolve the problem as wel).

*** This bug has been marked as a duplicate of 31202 ***