Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266688 - openrc-0.4.3-r2 installs lib64/{librc.a,libeinfo.a}
Summary: openrc-0.4.3-r2 installs lib64/{librc.a,libeinfo.a}
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-18 20:02 UTC by renato gallo
Modified: 2009-05-10 20:54 UTC (History)
1 user (show)

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


Attachments
openrc build.log (build.log,53.60 KB, text/plain)
2009-04-18 20:04 UTC, renato gallo
Details
locate *.a|grep lib64>>files.a.txt (files.a.txt,167.91 KB, text/plain)
2009-05-09 05:27 UTC, renato gallo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description renato gallo 2009-04-18 20:02:58 UTC
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../librc:../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc         
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../librc:../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc         
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1         
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1         
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1         
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1         
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../librc:../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc       
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc                
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../librc:../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc     
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../libeinfo:/lib64' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/sbin/rc              
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1     
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1              
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1   
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../librc:../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1
scanelf: rpath_security_checks(): Security problem with relative DT_RUNPATH '../libeinfo' in /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.so.1
making executable: lib64/libeinfo.so.1
making executable: lib64/librc.so.1
Comment 1 renato gallo 2009-04-18 20:04:19 UTC
Created attachment 188824 [details]
openrc build.log

emerge --info                                                                                           
Portage 2.2_rc30 (default/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.29.1 x86_64)                         
=================================================================                                                         
System uname: Linux-2.6.29.1-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q6600_@_2.40GHz-with-gentoo-2.0.0                         
Timestamp of tree: Sat, 18 Apr 2009 18:45:01 +0000                                                                        
distcc 3.1 x86_64-pc-linux-gnu [enabled]                                                                                  
ccache version 2.4 [enabled]                                                                                              
app-shells/bash:     4.0_p17-r1                                                                                           
dev-java/java-config: 1.3.7-r1, 2.1.7                                                                                     
dev-lang/python:     2.5.4-r2, 2.6.1-r1                                                                                   
dev-python/pycrypto: 2.0.1-r8                                                                                             
dev-util/ccache:     2.4-r8                                                                                               
dev-util/cmake:      2.6.3-r1                                                                                             
sys-apps/baselayout: 2.0.0                                                                                                
sys-apps/openrc:     0.4.3-r1                                                                                             
sys-apps/sandbox:    1.9                                                                                                  
sys-devel/autoconf:  2.13, 2.63-r1                                                                                        
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                            
sys-devel/binutils:  2.19.1-r1                                                                                            
sys-devel/gcc-config: 1.4.1                                                                                               
sys-devel/libtool:   2.2.6a                                                                                               
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache distcc distlocks fixpackages parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="it en"
MAKEOPTS="-j10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/wschlich-testing /usr/local/portage/layman/sunrise /usr/local/portage/layman/mozilla /usr/local/portage/layman/kde-testing"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="2dnow 3dnowext 7zip X Xaw3d a52 aac aalib accessibility acl acpi ada addbookmarks akode akonadi alias alsa amd64 amr amrb apache2 applet aqua_theme archive ares artworkextra athena autoipd automount autoreplace avahi bash-completion beagle belagle berkdb bidi bittorrent bl bluetooth bonjour bookmarks branding bzip2 cairo calendar caps captury carbone_theme cdda cddb cdio cdparanoia cdr chm cisco clamavfontconfig cli compiz connectionstatus consolekit contactnotes cpudetection cracklib crypt cscope ctype cups cupsddk curl dbus debug designer-plugin device-mapper dga digitalradio directfb disk-partition diskio djvu dmx dnd doc dri dts dv dvb dvd dvdr dvi editor eds elf emacs emacx enca encode eolconv epiphany esd exif expat extensible fam fasttrack fax fbcon fbcondecor festival ffmpeg filepicker filter firefox flac fltk fontforge foomaticdb fortran freetts freewnn ftp fuse gadu galago gcj gd gdbm gedit ggi gif gimp glib glitz gnokii gnome gnome-keyring gnomecd gnutella gnutls google-gadgets gpg gphoto2 gpm gps graphwiz groupwise grub gsf gsm gstreamer gtk gtkhtml guile gz gzip-el hal hdf hdri hesiod hfs highlight history hotplug howl-compat httpd hybrid-auth iceweasel iconv idn ieee1394 imagemagick imap imlib innodb inotify inquisitio ipod iproute2 ipv6 irc irda irmc isdnlog jack jadetex jai java java5 javamail javascript jbig jce jingle jmf jms jmx joystick jpeg jpeg2k kde4 kdrive kerberos kipi kolab ladspa lamelapack laptop latex lcms ldap legacyssl libcaca libffi libnotify libsamplerate libssh2 lirc live lm_sensors logitech-mouse lua lzma lzo mad mbrola md5sum mdnsresponder-compat meanwhile mfd-rewrites midi mjpeg mmap mmx mng mono motif mozdevelop mp2 mp3 mpeg msn mudflap mule multilib musepack mysql mysqli mythtv nas nat nautilus ncurses neXt nemesi netmeetingnetwork networking networkmanager new-login nls nntp nowlistening npp nptl nptlonly nsplugin nss odbc odk offensive ogg old-daemons openal openexr openft opengl openmp openntpd opensslcrypt openstreetmap oracle oscar otr pam parse-clocks passwordsave pch pcre pda pdf perl phonon php pink pkcs11 plasma plotutils plugins png pnm pop portage postgres povray ppds pppd pulseaudio python python-bindings q32 q8 qa qt3 qt3support qt4 quicktime radio rar raster rdesktop readline redeyes redland reflection remote resolvconf rpm rrdcgi rss rtc ruby ruby-bindings samba sametime sasl savedconfig scanner schedule script scripting sdl seamonkey semantic-desktop sendmail sesame2 session skey slang slp smartcard smp sms smux snmp sockets socks5 solver sound soundex speechd speex spell spl sql sqlite srt sse sse2 ssl ssse3 startup-notification statistics stemmer suid svg swat swig sysfs syslog szip t1libtcl tcltk tcpd teletext test test-programs tetex texteffect tga theora threads thumbnail tidy tiff tk toolkit-scroll-bars tools tracker translator truetype tseng tunepimp unicode usb utils v4l v4l2 vcd vim-pager vim-syntax vim-with-x visibility vnc vorbis wavpack wddx webinterface webkit webpresence wifi winpopup wireless wlm wmf x264 xanim xattr xcb xcomposite xemacs xext xface xforms xft xim xine xinerama xinetd xml xml2 xmp xorg xpm xscreensaver xulrunner xv xvid xvmc yahoo zeroconf zlib zoran zsh-completion zvbi" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="event" CAMERAS="adc65 agfa_cl20 aox barbie canon casio_qv clicksmart310 digigr8 digita dimagevdimera3500 directory enigma13 fuji gsmart300 hp215 iclick jamcam jd11 kodak_dc120 kodak_dc210 kodak_dc240 kodak_dc3200 kodak_ez200 konica konica_qm150 largan lg_gsm mars mustek panasonic_coolshot panasonic_dc1000 panasonic_dc1580 panasonic_l859 pccam300 pccam600 polaroid_pdc320 polaroid_pdc640 polaroid_pdc700 ptp2 ricoh ricoh_g3 samsung sierra sipix_blink sipix_blink2 sipix_web2 smal sonix sony_dscf1 sony_dscf55 soundvision spca50x sq905 stv0674 stv0680 sx330z template toshiba_pdrm11" DVB_CARDS="tda1004x" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse acecad aiptek digitaledge elographics fpit hyperpen jamstudio joystick magellan mutouch palmax spaceorb summa synaptics tek4957 ur98 vmmouse void wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" LIRC_DEVICES="pctv" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 renato gallo 2009-04-19 16:02:11 UTC
using paludis it builds so it has to have something with portage
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-25 13:41:02 UTC
Please disable ccache and try to emerge this package again. Please report any failure/success back here.
Comment 4 renato gallo 2009-04-26 09:19:54 UTC
fails

(In reply to comment #3)
> Please disable ccache and try to emerge this package again. Please report any
> failure/success back here.
> 

Comment 5 Sebastian Luther (few) 2009-04-27 11:07:35 UTC
and with ccache and distcc disabled?
Comment 6 renato gallo 2009-04-27 13:46:31 UTC
same
(In reply to comment #5)
> and with ccache and distcc disabled?
> 

Comment 7 renato gallo 2009-04-27 13:47:10 UTC
with paludis it compiles with portage it does not
(In reply to comment #5)
> and with ccache and distcc disabled?
> 

Comment 8 Sebastian Luther (few) 2009-05-02 06:24:58 UTC
Please try to disable the debug useflag.
Comment 9 Zac Medico gentoo-dev 2009-05-08 22:14:09 UTC
It seems to be and interaction between tar and symlinks. As a workaround, you can disable FEATURES=buildpkg. Here's the result that I got with tar-1.22 :

./usr/share/man/man3/rc_service_schedule_clear.3.bz2       
./usr/share/man/man3/rc_stringlist_add.3.bz2
tar: ./usr/share/man/man3/rc_stringlist_add.3.bz2: file changed as we read it

 *
 * ERROR: sys-apps/openrc-0.4.3-r2 failed.
 * Call stack:
 *       misc-functions.sh, line 729:  Called dyn_package
 *       misc-functions.sh, line 654:  Called die
 * The specific snippet of code:
 *      assert "failed to pack binary package: '$PORTAGE_BINPKG_TMPFILE'"
 *  The die message:
 *   failed to pack binary package: '/home/zmedico/pkgdir/sys-apps/openrc-0.4.3-r2.tbz2.6163'
Comment 10 Zac Medico gentoo-dev 2009-05-08 22:23:18 UTC
The symlink target exists, as it should. Here's what it symlink looks like:

ls -l /var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/usr/share/man/man3/rc_stringlist_add.3.bz2
lrwxrwxrwx 1 zmedico zmedico 19 2009-05-08 15:06 /tmp/portage/sys-apps/openrc-0.4.3-r2/image/usr/share/man/man3/rc_stringlist_add.3.bz2 -> rc_stringlist.3.bz2

Reassigning to base-system since it appears to be a bug in tar.
Comment 11 Zac Medico gentoo-dev 2009-05-09 01:57:28 UTC
Actually, the tar 'file changed as we read it' thing is unrelated to this bug. I assumed that it was the same issue since that's why it died on my system (seems to be triggered by fakeroot).

So, the real die message for this bug is this:

QA Notice: Excessive files found in the / partition
/var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/libeinfo.a
/var/tmp/portage/sys-apps/openrc-0.4.3-r2/image/lib64/librc.a

 * 
 *  ERROR: sys-apps/openrc-0.4.3-r2 failed.
 *  Call stack:
 *        misc-functions.sh, line 729:  Called install_qa_check
 *        misc-functions.sh, line 345:  Called die
 *  The specific snippet of code:
 *    		die "static archives (*.a) and libtool library files (*.la) do not belong in /"
 *   The die message:
 *    static archives (*.a) and libtool library files (*.la) do not belong in /

I'm not able to reproduce the above issue. The *a files are installed in /usr/lib64/ when I build it.
Comment 12 Zac Medico gentoo-dev 2009-05-09 02:05:41 UTC
(In reply to comment #7)
> with paludis it compiles with portage it does not

Maybe paludis doesn't have the same check as portage. Where are the *.a files installed, in /lib64 or /usr/lib64?
Comment 13 renato gallo 2009-05-09 05:27:54 UTC
Created attachment 190726 [details]
locate *.a|grep lib64>>files.a.txt

files .a location
Comment 14 renato gallo 2009-05-09 05:28:44 UTC
locate librc.a
/usr/lib64/librc.a


(In reply to comment #12)
> (In reply to comment #7)
> > with paludis it compiles with portage it does not
> 
> Maybe paludis doesn't have the same check as portage. Where are the *.a files
> installed, in /lib64 or /usr/lib64?
> 

Comment 15 SpanKY gentoo-dev 2009-05-09 20:27:13 UTC
you probably have LIBDIR wrongly exported in your environment
Comment 16 renato gallo 2009-05-10 09:09:10 UTC
haven't touched libdir ...
it should be in my emerge --info 
can somebody help me check ?

(In reply to comment #15)
> you probably have LIBDIR wrongly exported in your environment
> 

Comment 17 SpanKY gentoo-dev 2009-05-10 20:04:48 UTC
why dont you try the updated ebuild already in portage first
Comment 18 renato gallo 2009-05-10 20:54:40 UTC
resolved confirmed on my quad
(In reply to comment #17)
> why dont you try the updated ebuild already in portage first
>