Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 260131 - sys-apps/openrc-0.4.3-r1 installs libs in wrong directories (maybe no-multilib issue).
Summary: sys-apps/openrc-0.4.3-r1 installs libs in wrong directories (maybe no-multili...
Status: RESOLVED DUPLICATE of bug 264940
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: AMD64 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-24 14:17 UTC by Christian Samsel
Modified: 2009-04-14 02:01 UTC (History)
0 users

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


Attachments
emerge log of sys-apps/openrc-0.4.3-r1 showing the bug (emergelog-sys-apps-openrc-0.4.3-r1.log,36.82 KB, text/plain)
2009-02-25 17:47 UTC, Christian Samsel
Details
Build.log of the bug (build.log,39.77 KB, text/plain)
2009-04-10 21:46 UTC, Oleg Terenchuk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Samsel 2009-02-24 14:17:29 UTC
See:

emerge -1 openrc;
...
>>> Completed installing openrc-0.4.3-r1 into /var/tmp/portage/sys-apps/openrc-0.4.3-r1/image/

strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment
   sbin/rc
   libeinfo.so.1
   librc.so.1
   usr/libeinfo.a
   usr/librc.a
ecompressdir: bzip2 -9 /usr/share/man
...

libeinfo.so*, librc.so* are installed in / instead of /lib64 and because of that not found anymore. Similar for *.a.

Reproducible: Always




 # emerge --info 
Portage 2.2_rc23 (default/linux/amd64/2008.0/no-multilib, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r2 x86_64)
=================================================================                                                    
System uname: Linux-2.6.28-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P8400_@_2.26GHz-with-glibc2.2.5               
Timestamp of tree: Tue, 24 Feb 2009 13:00:15 +0000                                                                   
distcc 3.1 x86_64-pc-linux-gnu [disabled]                                                                            
ccache version 2.4 [enabled]                                                                                         
app-shells/bash:     4.0                                                                                             
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                                             
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.2-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.3-r1
sys-apps/sandbox:    1.3.8
sys-devel/autoconf:  2.13, 2.63
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.51.0.2
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache digest distlocks fixpackages parallel-fetch prelink preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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/kde /usr/local/portage/layman/kde-testing /usr/local/portage/layman/nx"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit 7zip R X a52 aac aalib acl acpi addressbook adns aim aio akode akonadi alsa amarok amazon amd amd64 amr amrnb amrr animgif api archive ares artworkextra async audioscrobbler auto-completion automount avahi bash-completion battery bcmath berkdb binary-drivers bittorrent bluetooth bonjour bookmarks branding bugzilla bzip2 c++ cairo calendar caps cardbus ccache cdda cddb cdinstall cdio cdr cdrom cg chm chroot cisco cli cmake colordiff context cracklib crypt cscope css csv ctype cuda cups curl cvs cxx daap dbus dbx dell dhcp dhcpcd dialup disk-partition divx dlopen dnotify dri dts dv dvb dvd dvdr dvdread dvi ecc embedded encode enscript exif exiv2 expat extensions extras fam fastbuild fat ffmpeg file firefox firefox3 flac flash fontconfig foomaticdb fortran ftp gd gd-external gdbm geoip geolocation gif gimp git glib glitz glut gmail gmp gnokii gnuplot gnutls google google-gadgets gpg gpgme gphoto2 gpm gps grammar grub gs gsm gzip hal hash hbci hddtemp hdri howl-compat htmlhandbook ical iconv icq id3 id3tag ident ieee1394 imagemagick imap imlib inotify insecure-patches ipod iproute2 ipsec iptv ipv6 irc irda irmc isdnlog jabber java java-external java6 javascript jfs jingle jpeg kde kde4 kdeenablefinal kdehiddenvisibility kdepim kdeprefix kdm kontact lame laptop latex latin1 libnotify libssh2 libwww ljlm_sensors logitech-mouse logrotate logwatch lua lzma lzo mad magic maildir matroska md5sum mdnsresponder-compat metric midi mime mmap mmx mmxext mozdevelop mp3 mp4 mpeg mplayer mschap msn mtp multiuser mysql ncurses nepomuk net netbeans network network-cron networkmanager nfs nls nntp nocd nptl nptlonly nsplugin nss ntfs ntp nvidia nxclient obex odk ogg openal openct opengl openmp oscar otr pam patch pch pcntl pcre pda pdf perl perlsuid phonon plasma plotutils pmu png posix ppds pppd prediction print ps python qt3support qt4 quicktime quotas rar rdesktop readline recode reflection reiserfs remote rss rtsp samba sasl scanner screen sdl search semantic-desktop server session sftp simplexml skins slang slp smp sms snmp sound spell spl sql sqlite sqlite3 sse sse2 sse3 sse4.1 sse4.2 ssl ssse3 stats stream subversion suid svg svk symlink sysfs syslog sysvipc t1lib taglib tcpd templates tex theora thesaurus threads threadsafe tiff truetype tunepimp type1 uml unicode unzip upnp usb v4l v4l2 vcd vim vim-pager vim-syntax vim-with-x visualization vnc vorbis webdav webkit wifi wireshark wma wordperfect wxwindows x264 x86emu xattr xcb xcompositexen xext xfs xft xhtml xine xinerama xml xmlrpc xmp xorg xpm xrandr xscreensaver xslt xulrunner xv xvid yahoo zeroconf zip zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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" CAMERAS="all" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Matthias Schwarzott gentoo-dev 2009-02-25 13:23:52 UTC
Please attach a complete log of the emerge process.
Depending on your portage configuration you can find it in /var/log/portage/
 (most likely controllable via PORT_LOGDIR=/var/log/portage).
Comment 2 Christian Samsel 2009-02-25 17:47:24 UTC
Created attachment 183160 [details]
emerge log of sys-apps/openrc-0.4.3-r1 showing the bug
Comment 3 Matthias Schwarzott gentoo-dev 2009-02-26 22:43:38 UTC
This is the relevant part of file used by make ($S/mk/sys.mk):
_LIBNAME_SH=            case `readlink /lib` in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
_LIBNAME!=              ${_LIBNAME_SH}
LIBNAME?=               ${_LIBNAME}$(shell ${_LIBNAME_SH})

So maybe you should first check if this command executed in /bin/sh works:
case `readlink /lib` in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
Comment 4 Christian Samsel 2009-03-02 10:41:59 UTC
(In reply to comment #3)

> So maybe you should first check if this command executed in /bin/sh works:
> case `readlink /lib` in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
> 

Sorry for the late answer, was on vacation. Here the result:

christian@oxygen-mobile ~ $ /bin/sh
sh-3.2$ case `readlink /lib` in /lib64|lib64) echo "lib64";; *) echo "lib";; esac
lib64
sh-3.2$ ls -l /bin/sh
lrwxrwxrwx 1 root root 4 24. Feb 22:21 /bin/sh -> bash

That works.
Comment 5 Oleg Terenchuk 2009-04-10 21:46:46 UTC
Created attachment 187921 [details]
Build.log of the bug

attaching my failed build log, hoping it will offer some useful info.
Thanks.
Comment 6 Oleg Terenchuk 2009-04-10 22:27:02 UTC
(In reply to comment #5)
> Created an attachment (id=187921) [edit]
> Build.log of the bug
> 
> attaching my failed build log, hoping it will offer some useful info.
> Thanks.
> 

This could be relevant: https://bugs.gentoo.org/264940
Then i ran : emerge --sync && emerge -DuNtva -j 8 world 

after that openrc installed witohut problem.
Comment 7 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-04-14 02:01:41 UTC
(In reply to comment #6)
> (In reply to comment #5)
> > Created an attachment (id=187921) [edit]
> > Build.log of the bug
> > 
> > attaching my failed build log, hoping it will offer some useful info.
> > Thanks.
> > 
> 
> This could be relevant: https://bugs.gentoo.org/264940
> Then i ran : emerge --sync && emerge -DuNtva -j 8 world 
> 
> after that openrc installed witohut problem.
> 

Ok, if it is non-reproducible now then I guess we will mark it as a dupe.

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