Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121955 - sys-libs/glibc-2.3.6-r2 installs shared libs into /usr/lib instead of /lib
Summary: sys-libs/glibc-2.3.6-r2 installs shared libs into /usr/lib instead of /lib
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-07 03:05 UTC by Michael Bock
Modified: 2006-04-15 23:38 UTC (History)
1 user (show)

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


Attachments
output of `tree /var/tmp/portage/glibc-2.3.6-r2/image/ (tree_work.txt,39.81 KB, text/plain)
2006-02-07 09:45 UTC, Michael Bock
Details
output from `emerge glibc >& log` (log.tar.bz2,281.50 KB, application/octet-stream)
2006-02-12 08:05 UTC, Michael Bock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Bock 2006-02-07 03:05:10 UTC
* Installing man pages...
/usr/portage/sys-libs/glibc/glibc-2.3.6-r2.ebuild: line 528: /var/tmp/portage/gl
ibc-2.3.6-r2/image//lib/ld-*.so: Datei oder Verzeichnis nicht gefunden

!!! ERROR: sys-libs/glibc-2.3.6-r2 failed.
!!! Function toolchain-glibc_src_install, Line 530, Exitcode 127
!!! simple run test (/bin/date) failed
!!! If you need support, post the topmost build error, NOT this status message.


Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/var/cache/portage"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE"
LC_ALL="de_DE"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bootsplash bzip2 cdb crypt cups curl directfb eds efox emboss encode esd exif expat fam fbcon ffmpeg fir flac foomaticdb fortran gcj gdbm gif gpm gstreamer gtk gtk2 gtkhtml guile icq idn imagemagick imap imlib ipv6 jpeg lcms ldap libg++ libwww mad maildir mikmod mmx mng motif mozilla mp3 mpeg ncurses nls no-old-linuxv nptl objc obje ogg pam pcmcia pcre pdflib perl png python quicktime readline samba sdl slang spell sqlite sse ssl svg svga sysfs tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode userlocales vorbis win32codecs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 SpanKY gentoo-dev 2006-02-07 06:21:26 UTC
post the output of `tree /var/tmp/portage/glibc-2.3.6-r2/image/` as an attachment

you arent by chance setting MAKEFLAGS instead of MAKEOPTS are you ?
Comment 2 Michael Bock 2006-02-07 09:45:42 UTC
Created attachment 79135 [details]
output of `tree /var/tmp/portage/glibc-2.3.6-r2/image/
Comment 3 Michael Bock 2006-02-07 11:24:17 UTC
I tried a lot of things. I changed my cflags to "-02" and "-03 -pipe -fromit-pointer", I tried it with all of the cflags (-03 -pipe -fromit-pointer), and I tried it with less of them. 
I changed my MAKEOPT to -1 and -2 with no success. I emerged the stable and testing version of the glibc ebuild. Now i dont know what i can do anymore.

here the output of the stable ebuild:

 * Installing man pages...
/usr/portage/sys-libs/glibc/glibc-2.3.5-r2.ebuild: line 476: /var/tmp/portage/gl
nis nicht gefunden

!!! ERROR: sys-libs/glibc-2.3.5-r2 failed.
!!! Function toolchain-glibc_src_install, Line 478, Exitcode 127
!!! simple run test (/bin/date) failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 4 SpanKY gentoo-dev 2006-02-07 17:00:13 UTC
looks like something in your env is screwing up the build

run `emerge -v info` and post the output
Comment 5 Michael Bock 2006-02-08 03:26:23 UTC
emerge -v info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r0, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
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.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE=""
ARCH="x86"
AUTOCLEAN="yes"
BASH_ENV="/etc/spork/is/not/valid/profile.env"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
DISPLAY=":0.0"
DISTDIR="/var/cache/portage"
ELIBC="glibc"
EMERGE_WARNING_DELAY="10"
FEATURES="autoconfig distlocks sandbox sfperms strict"
FETCHCOMMAND="/usr/bin/wget -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
GDM_LANG="de_DE"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
HOME="/root"
KERNEL="linux"
LANG="de_DE"
LANGUAGE="de_DE"
LC_ALL="de_DE"
LOGNAME="michi"
OLDPWD="/home/michi"
PATH="/sbin:/bin:/usr/sbin:/usr/bin"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 ppc-macos s390 sh sparc x86"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_CALLER="emerge"
PORTAGE_GID="250"
PORTAGE_MASTER_PID="10678"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PRELINK_PATH=""
PRELINK_PATH_MASK=""
PROMPT="%n@%d#"
PS1="%n@%m [%d] # "
PWD="/home/michi"
RESUMECOMMAND="/usr/bin/wget -c -t 5 --passive-ftp -P ${DISTDIR} ${URI}"
RPMDIR="/usr/portage/rpm"
RSYNC_RETRIES="3"
RSYNC_TIMEOUT="180"
SHLVL="5"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
TERM="xterm"
USE="x86 X acpi alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts bonobo bootsplash bzip2 cdb crypt cups curl directfb eds efox emboss encode esd exif expat fam fbcon ffmpeg fir flac foomaticdb fortran gcj gdbm gif gpm gstreamer gtk gtk2 gtkhtml guile icq idn imagemagick imap imlib ipv6 jpeg lcms ldap libg++ libwww mad maildir mikmod mmx mng motif mozilla mp3 mpeg ncurses nls no-old-linuxv nptl objc obje ogg pam pcmcia pcre pdflib perl png python quicktime readline samba sdl slang spell sqlite sse ssl svg svga sysfs tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode userlocales vorbis win32codecs xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc"
USER="michi"
USERLAND="GNU"
USE_EXPAND="FRITZCAPI_CARDS FCDSL_CARDS VIDEO_CARDS DVB_CARDS INPUT_DEVICES LINGUAS USERLAND KERNEL ELIBC"
WINDOWID="23068686"
XARGS="xargs -r"
XAUTHORITY="/root/.xauthRgwCjh"
XTERM_SHELL="/bin/zsh"
XTERM_VERSION="XTerm(207)"
_="/usr/bin/emerge"

Comment 6 SpanKY gentoo-dev 2006-02-10 22:10:33 UTC
only thing i can think of is your LANG ...

try running `emerge glibc >& log` and post the log as an attachment
Comment 7 Michael Bock 2006-02-12 08:05:27 UTC
Created attachment 79569 [details]
output from `emerge glibc >& log`
Comment 8 SpanKY gentoo-dev 2006-03-11 01:46:34 UTC
for some reason, all your stuff is installed into /usr/lib instead of /lib
Comment 9 SpanKY gentoo-dev 2006-04-15 23:38:21 UTC
post the config.make files as attachments:
/var/tmp/portage/glibc-2.3.5-r2/work/build*/config.make