Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114346

Summary: emerge =net-nds/openldap-2.2.28-r2 fails with insecure RUNPATHs
Product: Gentoo Linux Reporter: David Watzke <david>
Component: [OLD] DevelopmentAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Watzke 2005-12-03 05:29:56 UTC
strip: x86_64-pc-linux-gnu-strip --strip-unneeded 
   usr/bin/ldappasswd 
   usr/bin/ldapdelete 
   usr/bin/ldapmodify 
   usr/bin/ldapadd 
   usr/bin/ldapcompare 
   usr/bin/ldapmodrdn 
   usr/bin/ldapsearch 
   usr/bin/ldapwhoami 
   usr/lib64/libldap.so.2.0.130 
   usr/lib64/liblber-2.2.so.7.0.21 
   usr/lib64/libslapi-2.2.so.7.0.21 
   usr/lib64/libldap-2.2.so.7.0.21 
   usr/lib64/libldap_r.so.2.0.130 
   usr/lib64/openldap/slurpd 
   usr/lib64/openldap/openldap/back_monitor-2.2.so.7.0.21 
   usr/lib64/openldap/openldap/back_passwd-2.2.so.7.0.21 
   usr/lib64/openldap/openldap/back_hdb-2.2.so.7.0.21 
   usr/lib64/openldap/openldap/back_meta-2.2.so.7.0.21 
   usr/lib64/openldap/openldap/back_null-2.2.so.7.0.21 
   usr/lib64/openldap/openldap/back_perl-2.2.so.7.0.21 
   usr/lib64/openldap/openldap/back_dnssrv-2.2.so.7.0.21 
   usr/lib64/openldap/openldap/back_shell-2.2.so.7.0.21 
   usr/lib64/openldap/slapd 
   usr/lib64/libldap_r-2.2.so.7.0.21 
   usr/lib64/liblber.so.2.0.130 
making executable: /usr/lib64/liblber.so.2.0.130 
making executable: /usr/lib64/liblber-2.2.so.7.0.21 
making executable: /usr/lib64/libldap_r.so.2.0.130 
making executable: /usr/lib64/libldap_r-2.2.so.7.0.21 
making executable: /usr/lib64/libldap.so.2.0.130 
making executable: /usr/lib64/libldap-2.2.so.7.0.21 
making executable: /usr/lib64/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-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 
 
 
!!! ERROR: net-nds/openldap-2.2.28-r2 failed. 
!!! Function dyn_install, Line 1057, Exitcode 0 
!!! Insecure binaries detected 
!!! If you need support, post the topmost build error, NOT this status 
message. 

Reproducible: Always
Steps to Reproduce:
1. emerge =net-nds/openldap-2.2.28-r2 
 
Actual Results:  
This error 

Expected Results:  
Successfully strip & emerge it 

Portage 2.0.53 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.6-r1, 
2.6.14-gentoo-r4-david x86_64) 
================================================================= 
System uname: 2.6.14-gentoo-r4-david x86_64 AMD Athlon(tm) 64 Processor 3000+ 
Gentoo Base System version 1.12.0_pre11 
dev-lang/python:     2.4.2 
sys-apps/sandbox:    1.2.16 
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="-O2 -march=athlon64 -fomit-frame-pointer -pipe" 
CHOST="x86_64-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub http://ftp.du.se/pub/os/gentoo 
http://gentoo.osuosl.org/" 
LANG="cs_CZ.UTF-8" 
LC_ALL="cs_CZ.UTF-8" 
LINGUAS="cs" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="amd64 X aac aalib acpi adns alsa apache2 apm audiofile avi 
bash-completion berkdb bitmap-fonts bonobo bzip2 caps cdparanoia cdr cups curl 
curlwrappers dbus dga dio directfb divx4linux dts dvd dvdr dvdread emboss 
emul-linux-86 encode exif fam fbcon ffmpeg flac flash foomaticdb fortran ftp 
gd gdbm ggi gif gpm gstreamer gtk gtk2 hal icq id3 id3v2 imagemagick imlib 
innodb ipv6 jabber javascript jpeg kde kdeenablefinal lcms ldap libcaca libwww 
lm_sensors lzw lzw-tiff mad matroska mbox mhash mikmod mime ming mng mp3 mpeg 
mplayer mysql mysqli ncurses nis nls nptl nptlonly nvidia ogg oggvorbis openal 
opengl osc oscar pam pcntl pcre pdflib perl php pic png posix ppds python qt 
quicktime readline real recode sdl session skey slang slp sockets socks5 sox 
speex sqlite ssl svg symlink tcpd theora threads tiff truetype truetype-fonts 
type1-fonts udev unicode usb userlocales utf8 v4l vcd vorbis wmf xine xml xml2 
xpm xv xvid zlib linguas_cs userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-03 05:35:31 UTC

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