As the title states, openldap fails to emerge with portage-2.0.52-r1, dying with the following error message; making executable: /usr/lib/liblber-2.2.so.7.0.21 making executable: /usr/lib/liblber.so.2.0.130 making executable: /usr/lib/libldap-2.2.so.7.0.21 making executable: /usr/lib/libldap.so.2.0.130 making executable: /usr/lib/libldap_r-2.2.so.7.0.21 making executable: /usr/lib/libldap_r.so.2.0.130 making executable: /usr/lib/libslapi-2.2.so.7.0.21 QA Notice: the following files contain insecure RUNPATH's Please file a bug about this at http://bugs.gentoo.org/ For more information on this issue, kindly review: http://bugs.gentoo.org/81745 /var/tmp/portage/openldap-2.2.28-r1/work/openldap-2.1.30/libraries/liblber/.libs usr/lib/libldap.so.2.0.130 /var/tmp/portage/openldap-2.2.28-r1/work/openldap-2.1.30/libraries/liblber/.libs usr/lib/libldap_r.so.2.0.130 !!! ERROR: net-nds/openldap-2.2.28-r1 failed. !!! Function dyn_install, Line 1044, Exitcode 0 !!! Insecure binaries detected !!! If you need support, post the topmost build error, NOT this status message.
Please attach a patch.
Downgrading severity of those since portage group is kinda restricted... Tavis, could you help with the patch ?
Reporter : could you please check that it still happens after the latest Perl upgrade...
This problem still persists even after the upgrade to dev-lang/perl-5.8.7-r1.
same problem with several package : openldap libpreludedb ... my update is blocked since 3 weeks [ebuild U ] net-nds/openldap-2.2.28-r1 [2.2.28] +berkdb +crypt -debug +gdbm -ipv6 -kerberos -minimal -odbc +perl +readline +samba -sasl -slp +ssl +tcpd 0 kB [ebuild U ] dev-libs/libprelude-0.9.0 [0.9.0_rc14] +perl +python 0 kB [ebuild U ] dev-libs/libpreludedb-0.9.0 [0.9.0_rc13] -debug -doc +mysql +perl -postgres +python 544 kB Portage 2.0.52-r1 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r1, 2.6.13-hardened-kakou i686) ================================================================= System uname: 2.6.13-hardened-kakou i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.12.0_pre8 dev-lang/python: 2.2.3-r6, 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.13 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 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" DISTDIR="/mnt/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.gentoo.skynet.be/pub/gentoo/" LANG="fr_FR@euro" LC_ALL="fr_FR@euro" LINGUAS="fr" MAKEOPTS="-j2" PKGDIR="/mnt/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex 3dnowext X Xaw3d acl acpi acpi4linux alsa amd antlr apache2 arts bash-completion bcel berkdb bsh bzip2 bzlib cdr chroot crypt cscope cups curl devmap dga dlloader dvd dvdr emacs encode esd extensions faad fam fbcon flac freetype fs gd gdbm gif gmp gnutls gpm gstreamer gtk hardened imagemagick imap imlib java javamail javascript jdepend joystick jpeg junit ldap libwww live lm_sensors log4j logitech-mouse mad mcal md5sum memlimit mikmod mldonkeypango mmx motif mozilla mysql nagios-dns nagios-ssh nas native ncurses net nfsv4 nls nptl nvidia ogg opengl optional-tasks oro pam pdflib perl pic pie png prelude python qmail qt readline ruby samba sdl slang snmp snortsam softquota spamassassin sse ssl svga tcltk tcpd tetex theora threads tiff transcode truetype truetype-fonts usb userlocales virus-scan vorbis vpopmail xerces xine xml xml2 xmms xvidinfo zlib linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LDFLAGS
tigger/taviso/vapier/solar can you cook up a patch?
probably a libtool issue then glancing at src_unpack it looks like it forces old autotool versions ...
Could anyone check that it comes from the old autotool forcing (and/or provide a patch) ? It's a minor security issue but it borks people compiling...
Any news on this one?
For sure, the ebuild contains : export WANT_AUTOMAKE="1.4" export WANT_AUTOCONF="2.1" vapier/robbat2: any reason why it cannot use more recent versions ?
vapier says ask Robin, sent mail to Robin asking for comments.
What versions of autoconf/automake do you want? automake isn't currently called as it isn't needed. openldap doesn't build with autoconf2.5: * Running libtoolize You should update your `aclocal.m4' by running aclocal. Putting files in AC_CONFIG_AUX_DIR, `build'. * Running autoconf aclocal.m4:3934: error: m4_defn: undefined macro: _m4_divert_diversion autoconf/types.m4:296: AM_TYPE_PTRDIFF_T is expanded from... aclocal.m4:3934: the top level autom4te-2.59: /usr/bin/m4 failed with exit status: 1 !!! ERROR: net-nds/openldap-2.2.28-r1 failed. !!! Function src_unpack, Line 176, Exitcode 1 !!! autoconf failed !!! If you need support, post the topmost build error, NOT this status message.
security: *bump*
(In reply to comment #12) > What versions of autoconf/automake do you want? I don't have a clue. These autotools/rpath things are quite obscure to me. I've asked vapier to comment on this as he's probably the one with the right skillset to help you solve this.
*** Bug 114320 has been marked as a duplicate of this bug. ***
Ok, I was emailed a patch by Markus Ullmann, that has everything to fix it, and seems to work for me. Security: Could you please test 2.2.28-r2 and confirm that the RPATH issue is solved?
Thanks Robin. Reopening the bug since we still have to make a GLSA about it. Jason, kakou, security: please confirm that it's solved for you, before we call for stable.
net-nds/openldap-2.2.28-r2 still has that issue here.
*** Bug 114346 has been marked as a duplicate of this bug. ***
Created attachment 73986 [details, diff] diff-against-2.2.28-r2 ebuild get the compat libs to new autoconf
I tried the patch and it didn't work. Perhaps I didn't quite understand what "get the compat libs to new autoconf" meant. Can someone elaborate? Thanks.
Same here.
With regards to comment #17, I'm still seeing the same error on SPARC
Created attachment 74024 [details, diff] diff-from-2.2.28-r2-ebuild reworked it, should work now
Created attachment 74025 [details, diff] openldap-2.1.30-autoconf25.patch
Created attachment 74026 [details, diff] openldap-2.1.30-rpath.patch
Can someone tell the people that have never done a patch, what you are all talking about? I see that you may have fixed this? Is that correct? I alsognome that open-ldap-2.2.28-r2 does not work on my machine. Are we just waiting for this to be included into portage?
*** Bug 114413 has been marked as a duplicate of this bug. ***
Worked for me, thanks!
Current openldap-2.2.28-r2 Dos not work on two different boxes Markus Ullmann's patches work for me
To JRS: Store the patch: diff-from-2.2.28-r2-ebuild somewhere and call it patchfile, for instance. Run the command: patch /usr/portage/net-nds/openldap/openldap-2.2.28-r2.ebuild patchfile copy the other two patch files: openldap-2.1.30-autoconf25.patch and openldap-2.1.30-rpath.patch to /usr/portage/net-nds/openldap/file ebuild /usr/portage/net-nds/openldap/openldap-2.2.28-r2.ebuild digest You are now ready to emerge openldap!
Thank you for the info!
*** Bug 114505 has been marked as a duplicate of this bug. ***
open-ldap-2.2.28-r2 currently does not compile on ~AMD64 (2005.1) due to perl bug #114371. Using the workaround for the perl ebuild described under that bug (reenabling the fpicdl patch), it still fails with this bug: QA Notice: the following files contain insecure RUNPATH's Please file a bug about this at http://bugs.gentoo.org/ For more information on this issue, kindly review: http://bugs.gentoo.org/81745 /var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.1.30/libraries/liblber/.libs:/usr/lib64 usr/lib64/libldap.so.2.0.130 /var/tmp/portage/openldap-2.2.28-r2/work/openldap-2.1.30/libraries/liblber/.libs:/usr/lib64 usr/lib64/libldap_r.so.2.0.130 Applying the patches from Markus (as in Comment #31) fixes this! Thanks alot.
*** Bug 114531 has been marked as a duplicate of this bug. ***
*** Bug 114557 has been marked as a duplicate of this bug. ***
Works for me too, thanks alot, guys.
Is there some reason that this fix isn't in the tree yet?
*** Bug 114618 has been marked as a duplicate of this bug. ***
ok, -r3 in the tree now with the newer patches.
I've backported the fixes to the 2.1 series as well, for 2.1.30-r6. Both 2.1.30-r6 and 2.2.28-r3 should be stabilized - esp as mips/amd64 are a long way behind (2.1.30-r2 and 2.1.30-r5 respectively).
Arches please test and mark stable.
both versions run fine -> stable on ppc64 :-) (including sys-libs/db-4.2.52_p2-r1)
Stable on ppc, hppa.
=net-nds/openldap-2.2.28-r3 merges fine here now, TESTED on amd64. darktama@araqiel ~ $ emerge info Portage 2.0.53 (default-linux/amd64/2005.1, gcc-4.0.2, glibc-2.3.6-r1, 2.6.14-ck5 x86_64) ================================================================= System uname: 2.6.14-ck5 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System version 1.12.0_pre11 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.20-r1 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache distlocks multilib-strict nostrip sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.iinet.net.au/pub/Gentoo/ http://mirror.pacific.net.au/linux/Gentoo/" LINGUAS="en de" MAKEOPTS="-j2" PKGDIR="/home/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/scratch" SYNC="rsync://rsync.au.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib acl acpi alsa audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cdb cdr crypt cups curl dbus dri dvd dvdr dvdread eds emboss encode esd ethereal exif expat fam ffmpeg firefox flac foomaticdb fortran gd gif glitz glut gmp gnome gpm gstreamer gtk gtk2 guile hal hardened idn imagemagick imlib ipv6 jack java jpeg lcms ldap libwww lua lzw lzw-tiff mad mhash mmap mng mono motif mp3 mpeg ncurses nls nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl pam pcre pdflib perl png postgres python quicktime readline samba sdl speex spell sqlite ssl svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vorbis xine xinerama xml2 xpm xv xvid zlib video_cards_radeon video_cards_nv linguas_en linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS
2.2.28-r3 stable on amd64. Do you really want us to mark the old one too? It's not slotted...
It's not slotted as openldap conflicts badly with itself - the upgrade is non-trivial for any openldap server boxes (that actually have data files). I'd like both the 2.1 and 2.2 series to have up-to-date stable versions, for those sysadmins that don't want to upgrade yet (since stable amd64 was on 2.1 only before).
=net-nds/openldap-2.2.28-r3 merges fine here now, TESTED on x86.
*** Bug 114740 has been marked as a duplicate of this bug. ***
stable on x86
Are the tests on net-nds/openldap-2.1.30-r6 meant to work ? I'm getting: ---8<--- >>> Test phase [enabled]: net-nds/openldap-2.1.30-r6 * Doing tests 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: (31816) - No such process /var/tmp/portage/openldap-2.1.30-r6/work/openldap-2.1.30/clients/tools/.libs/lt-ldapsearch: error while loading shared libraries: libldap.so.2: cannot open shared object file: No such file or directory >>>>> Test failed >>>>> ./scripts/test000-rootdse failed (exit 127) make: *** [test-bdb] Error 127 !!! ERROR: net-nds/openldap-2.1.30-r6 failed. !!! Function src_test, Line 174, Exitcode 2 !!! make tests failed !!! If you need support, post the topmost build error, NOT this status message ---8<--- The error doesn't really look alpha-specific. Cheers, Ferdy
ferdy: I can't reproduce here, but I suspect that it's related to the fact that libldap.so.2 can't be found unless LD_LIBRARY_PATH is added (since the RPATH was changed).
Might that be because I had no openldap version installed before ? Cheers, Ferdy
i was experiencing the same issue as fernando, merging with FEATURES=-test and re-merging with FEATURES=test however did solve the problem, so i marked 2.1.30-r6 stable on amd64
Stable on SPARCenstein
I have tested both versions for alpha, and I think they can go to stable. However I don't think the tests should fail on a clean system. I ain't going to hold a security bug for that... so I'll mark them in a couple of hours. Cheers, Ferdy
I need to get to modifying the tests to work with the RPATH change. I'll get to it eventully, just not very soon.
Ok, so I alpha'lized both of them. Sorry for the delay here. Cheers, Ferdy
Will do a common GLSA with bug 112577
GLSA 200512-07 arm,ia64 mips and s390 should mark 2.1.30-r6 stable to benefit from GLSA
This patch doesn't apply for me on one of our servers (i.e. I see 'Failed Patch: openldap-2.1.30-rpath.patch' when emerging openldap-2.1.30-r6), although it worked fine on our workstations. USE flags presumably... I can't find any trace of the .rej files? # emerge info Portage 2.0.51.22-r3 (default-linux/x86/2005.0, gcc-3.3.5, glibc-2.3.4.20040808-r1, 2.6.12.5smp i686) ================================================================= System uname: 2.6.12.5smp i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 dev-lang/python: 2.3.5-r2 sys-apps/sandbox: 1.2.12 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.4 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer" CHOST="i686-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=i686 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.ac.uk/mirror/distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acpi apache2 apm bash-completion berkdb bitmap-fonts bzip2 crypt curl eds emacs emboss encode expat fam foomaticdb fortran gd gdbm gif gmp gpm guile imagemagick imap imlib innodb ipv6 java jikes jpeg junit ldap leim libg++ libwww live maildir mbox mmx mp3 mysql ncurses network nls pam pcre pdflib perl plotutils png pnp python readline rtc ruby samba sasl slang spell sse ssl svga tcpd tetex tiff truetype truetype-fonts trusted type1-fonts udev usb wmf x86 xml xml2 zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY # cat /var/tmp/portage/openldap-2.1.30-r6/temp/openldap-2.1.30-rpath.patch-10900.out ***** openldap-2.1.30-rpath.patch ***** ======================================= PATCH COMMAND: patch -p0 -p0 -d /var/tmp/portage/openldap-2.1.30-r6/work/openldap-2.1.30 < /usr/portage/net-nds/openldap/files/openldap-2.1.30-rpath.patch ======================================= patching file ./aclocal.m4 Hunk #1 succeeded at 2785 (offset -99 lines). Hunk #2 succeeded at 3209 (offset -102 lines). Hunk #3 succeeded at 3232 (offset -102 lines). Hunk #4 succeeded at 3256 (offset -106 lines). Hunk #5 FAILED at 3265. Hunk #6 succeeded at 3266 (offset -115 lines). Hunk #7 succeeded at 3320 (offset -115 lines). Hunk #8 succeeded at 3338 (offset -115 lines). Hunk #9 succeeded at 3355 with fuzz 2 (offset -115 lines). Hunk #10 succeeded at 3373 with fuzz 2 (offset -115 lines). Hunk #11 succeeded at 3398 (offset -115 lines). Hunk #12 succeeded at 3418 with fuzz 1 (offset -115 lines). Hunk #13 succeeded at 3436 with fuzz 2 (offset -115 lines). Hunk #14 FAILED at 5270. Hunk #15 succeeded at 5684 (offset -200 lines). Hunk #16 succeeded at 5705 (offset -200 lines). Hunk #17 succeeded at 5716 (offset -200 lines). Hunk #18 succeeded at 5726 (offset -200 lines). Hunk #19 succeeded at 5748 (offset -200 lines). Hunk #20 succeeded at 5756 (offset -200 lines). Hunk #21 succeeded at 5764 with fuzz 1 (offset -200 lines). 2 out of 21 hunks FAILED -- saving rejects to file ./aclocal.m4.rej patching file ./libraries/liblunicode/Makefile.in Hunk #1 succeeded at 22 (offset -9 lines). ======================================= PATCH COMMAND: patch -p1 -p0 -d /var/tmp/portage/openldap-2.1.30-r6/work/openldap-2.1.30 < /usr/portage/net-nds/openldap/files/openldap-2.1.30-rpath.patch ======================================= patching file ./aclocal.m4 Hunk #1 succeeded at 2785 (offset -99 lines). Hunk #2 succeeded at 3209 (offset -102 lines). Hunk #3 succeeded at 3232 (offset -102 lines). Hunk #4 succeeded at 3256 (offset -106 lines). Hunk #5 FAILED at 3265. Hunk #6 succeeded at 3266 (offset -115 lines). Hunk #7 succeeded at 3320 (offset -115 lines). Hunk #8 succeeded at 3338 (offset -115 lines). Hunk #9 succeeded at 3355 with fuzz 2 (offset -115 lines). Hunk #10 succeeded at 3373 with fuzz 2 (offset -115 lines). Hunk #11 succeeded at 3398 (offset -115 lines). Hunk #12 succeeded at 3418 with fuzz 1 (offset -115 lines). Hunk #13 succeeded at 3436 with fuzz 2 (offset -115 lines). Hunk #14 FAILED at 5270. Hunk #15 succeeded at 5684 (offset -200 lines). Hunk #16 succeeded at 5705 (offset -200 lines). Hunk #17 succeeded at 5716 (offset -200 lines). Hunk #18 succeeded at 5726 (offset -200 lines). Hunk #19 succeeded at 5748 (offset -200 lines). Hunk #20 succeeded at 5756 (offset -200 lines). Hunk #21 succeeded at 5764 with fuzz 1 (offset -200 lines). 2 out of 21 hunks FAILED -- saving rejects to file ./aclocal.m4.rej patching file ./libraries/liblunicode/Makefile.in Hunk #1 succeeded at 22 (offset -9 lines). ======================================= PATCH COMMAND: patch -p2 -p0 -d /var/tmp/portage/openldap-2.1.30-r6/work/openldap-2.1.30 < /usr/portage/net-nds/openldap/files/openldap-2.1.30-rpath.patch ======================================= patching file ./aclocal.m4 Hunk #1 succeeded at 2785 (offset -99 lines). Hunk #2 succeeded at 3209 (offset -102 lines). Hunk #3 succeeded at 3232 (offset -102 lines). Hunk #4 succeeded at 3256 (offset -106 lines). Hunk #5 FAILED at 3265. Hunk #6 succeeded at 3266 (offset -115 lines). Hunk #7 succeeded at 3320 (offset -115 lines). Hunk #8 succeeded at 3338 (offset -115 lines). Hunk #9 succeeded at 3355 with fuzz 2 (offset -115 lines). Hunk #10 succeeded at 3373 with fuzz 2 (offset -115 lines). Hunk #11 succeeded at 3398 (offset -115 lines). Hunk #12 succeeded at 3418 with fuzz 1 (offset -115 lines). Hunk #13 succeeded at 3436 with fuzz 2 (offset -115 lines). Hunk #14 FAILED at 5270. Hunk #15 succeeded at 5684 (offset -200 lines). Hunk #16 succeeded at 5705 (offset -200 lines). Hunk #17 succeeded at 5716 (offset -200 lines). Hunk #18 succeeded at 5726 (offset -200 lines). Hunk #19 succeeded at 5748 (offset -200 lines). Hunk #20 succeeded at 5756 (offset -200 lines). Hunk #21 succeeded at 5764 with fuzz 1 (offset -200 lines). 2 out of 21 hunks FAILED -- saving rejects to file ./aclocal.m4.rej patching file ./libraries/liblunicode/Makefile.in Hunk #1 succeeded at 22 (offset -9 lines). ======================================= PATCH COMMAND: patch -p3 -p0 -d /var/tmp/portage/openldap-2.1.30-r6/work/openldap-2.1.30 < /usr/portage/net-nds/openldap/files/openldap-2.1.30-rpath.patch ======================================= patching file ./aclocal.m4 Hunk #1 succeeded at 2785 (offset -99 lines). Hunk #2 succeeded at 3209 (offset -102 lines). Hunk #3 succeeded at 3232 (offset -102 lines). Hunk #4 succeeded at 3256 (offset -106 lines). Hunk #5 FAILED at 3265. Hunk #6 succeeded at 3266 (offset -115 lines). Hunk #7 succeeded at 3320 (offset -115 lines). Hunk #8 succeeded at 3338 (offset -115 lines). Hunk #9 succeeded at 3355 with fuzz 2 (offset -115 lines). Hunk #10 succeeded at 3373 with fuzz 2 (offset -115 lines). Hunk #11 succeeded at 3398 (offset -115 lines). Hunk #12 succeeded at 3418 with fuzz 1 (offset -115 lines). Hunk #13 succeeded at 3436 with fuzz 2 (offset -115 lines). Hunk #14 FAILED at 5270. Hunk #15 succeeded at 5684 (offset -200 lines). Hunk #16 succeeded at 5705 (offset -200 lines). Hunk #17 succeeded at 5716 (offset -200 lines). Hunk #18 succeeded at 5726 (offset -200 lines). Hunk #19 succeeded at 5748 (offset -200 lines). Hunk #20 succeeded at 5756 (offset -200 lines). Hunk #21 succeeded at 5764 with fuzz 1 (offset -200 lines). 2 out of 21 hunks FAILED -- saving rejects to file ./aclocal.m4.rej patching file ./libraries/liblunicode/Makefile.in Hunk #1 succeeded at 22 (offset -9 lines). ======================================= PATCH COMMAND: patch -p4 -p0 -d /var/tmp/portage/openldap-2.1.30-r6/work/openldap-2.1.30 < /usr/portage/net-nds/openldap/files/openldap-2.1.30-rpath.patch ======================================= patching file ./aclocal.m4 Hunk #1 succeeded at 2785 (offset -99 lines). Hunk #2 succeeded at 3209 (offset -102 lines). Hunk #3 succeeded at 3232 (offset -102 lines). Hunk #4 succeeded at 3256 (offset -106 lines). Hunk #5 FAILED at 3265. Hunk #6 succeeded at 3266 (offset -115 lines). Hunk #7 succeeded at 3320 (offset -115 lines). Hunk #8 succeeded at 3338 (offset -115 lines). Hunk #9 succeeded at 3355 with fuzz 2 (offset -115 lines). Hunk #10 succeeded at 3373 with fuzz 2 (offset -115 lines). Hunk #11 succeeded at 3398 (offset -115 lines). Hunk #12 succeeded at 3418 with fuzz 1 (offset -115 lines). Hunk #13 succeeded at 3436 with fuzz 2 (offset -115 lines). Hunk #14 FAILED at 5270. Hunk #15 succeeded at 5684 (offset -200 lines). Hunk #16 succeeded at 5705 (offset -200 lines). Hunk #17 succeeded at 5716 (offset -200 lines). Hunk #18 succeeded at 5726 (offset -200 lines). Hunk #19 succeeded at 5748 (offset -200 lines). Hunk #20 succeeded at 5756 (offset -200 lines). Hunk #21 succeeded at 5764 with fuzz 1 (offset -200 lines). 2 out of 21 hunks FAILED -- saving rejects to file ./aclocal.m4.rej patching file ./libraries/liblunicode/Makefile.in Hunk #1 succeeded at 22 (offset -9 lines).
Please take a look at other emerge info outputs and compare the installed version numbers of sys-devel/autoconf sys-devel/automake sys-devel/libtool Are they the same on workstation and that particular server?