Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79638 - Received "ERROR: sys-libs/glibc-2.3.4.20040808-r1 failed." When building stage1 from Universal CD
Summary: Received "ERROR: sys-libs/glibc-2.3.4.20040808-r1 failed." When building stag...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-26 13:44 UTC by todd
Modified: 2005-07-14 02:31 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description todd 2005-01-26 13:44:57 UTC
I followed the steps from the www.gentoo.org/doc/en/gentoo-x86-quickinstall.xml using the latest universal CD. When I got to the bootstrap step my machine, the script failed when trying to compile glibc.

My make.conf looks like:
CFLAGS="-march=pentium2 -O2 -fomit-frame-pointer -pipe"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-gnome -kde -gtk -qt alsa crypt cups opengl unicode foomaticdb"

Screen Dump:
p/argp-help.os
a - argp/argp-parse.os
a - argp/argp-pv.os
a - argp/argp-pvh.os
a - argp/argp-xinl.os
a - argp/argp-eexst.os
a - linuxthreads/forward.os
a - linuxthreads/alloca_cutoff.os
a - linuxthreads/libc-cancellation.os
a - linuxthreads/libc_pthread_init.os
a - linuxthreads/register-atfork.os
a - linuxthreads/unregister-atfork.os
a - resolv/herror.os
a - resolv/inet_addr.os
a - resolv/inet_ntop.os
a - resolv/inet_pton.os
a - resolv/nsap_addr.os
a - resolv/res_init.os
a - resolv/res_hconf.os
a - resolv/res_libc.os
a - resolv/res-state.os
a - resolv/gai_sigqueue.os
a - nss/nsswitch.os
a - nss/getnssent.os
a - nss/getnssent_r.os
a - nss/digits_dots.os
a - nss/proto-lookup.os
a - nss/service-lookup.os
a - nss/hosts-lookup.os
a - nss/network-lookup.os
a - nss/grp-lookup.os
a - nss/pwd-lookup.os
a - nss/rpc-lookup.os
a - nss/ethers-lookup.os
a - nss/spwd-lookup.os
a - nss/netgrp-lookup.os
a - nss/key-lookup.os
a - nss/alias-lookup.os
a - debug/backtrace.os
a - debug/backtracesyms.os
a - debug/backtracesymsfd.os
a - debug/noophooks.os
a - inet/htonl.os
a - inet/htons.os
a - inet/inet_lnaof.os
a - inet/inet_mkadr.os
a - inet/inet_netof.os
a - inet/inet_ntoa.os
a - inet/inet_net.os
a - inet/herrno.os
a - inet/herrno-loc.os
a - inet/gethstbyad.os
a - inet/gethstbyad_r.os
a - inet/gethstbynm.os
a - inet/gethstbynm2.os
a - inet/gethstbynm2_r.os
a - inet/gethstbynm_r.os
a - inet/gethstent.os
a - inet/gethstent_r.os
a - inet/getnetbyad.os
a - inet/getnetbyad_r.os
a - inet/getnetbynm.os
a - inet/getnetent.os
a - inet/getnetent_r.os
a - inet/getnetbynm_r.os
a - inet/getproto.os
a - inet/getproto_r.os
a - inet/getprtent.os
a - inet/getprtent_r.os
a - inet/getprtname.os
a - inet/getprtname_r.os
a - inet/getsrvbynm.os
a - inet/getsrvbynm_r.os
a - inet/getsrvbypt.os
a - inet/getsrvbypt_r.os
a - inet/getservent.os
a - inet/getservent_r.os
a - inet/getrpcent.os
a - inet/getrpcbyname.os
a - inet/getrpcbynumber.os
a - inet/getrpcent_r.os
a - inet/getrpcbyname_r.os
a - inet/getrpcbynumber_r.os
a - inet/ether_aton.os
a - inet/ether_aton_r.os
a - inet/ether_hton.os
a - inet/ether_line.os
a - inet/ether_ntoa.os
a - inet/ether_ntoa_r.os
a - inet/ether_ntoh.os
a - inet/rcmd.os
a - inet/rexec.os
a - inet/ruserpass.os
a - inet/getnetgrent_r.os
a - inet/getnetgrent.os
a - inet/getaliasent_r.os
a - inet/getaliasent.os
a - inet/getaliasname.os
a - inet/getaliasname_r.os
a - inet/in6_addr.os
a - inet/getnameinfo.os
a - inet/if_index.os
a - inet/ifaddrs.os
a - inet/inet6_option.os
a - inet/getipv4sourcefilter.os
a - inet/setipv4sourcefilter.os
a - inet/getsourcefilter.os
a - inet/setsourcefilter.os
a - inet/check_pf.os
a - inet/ifreq.os
a - sunrpc/auth_none.os
a - sunrpc/auth_unix.os
a - sunrpc/authuxprot.os
a - sunrpc/bindrsvprt.os
a - sunrpc/clnt_gen.os
a - sunrpc/clnt_perr.os
a - sunrpc/clnt_raw.os
a - sunrpc/clnt_simp.os
a - sunrpc/clnt_tcp.os
a - sunrpc/clnt_udp.os
a - sunrpc/rpc_dtable.os
a - sunrpc/get_myaddr.os
a - sunrpc/getrpcport.os
a - sunrpc/pmap_clnt.os
a - sunrpc/pm_getmaps.os
a - sunrpc/pm_getport.os
a - sunrpc/pmap_prot.os
a - sunrpc/pmap_prot2.os
a - sunrpc/pmap_rmt.os
a - sunrpc/rpc_prot.os
a - sunrpc/rpc_common.os
a - sunrpc/rpc_cmsg.os
a - sunrpc/rpc_thread.os
a - sunrpc/svc.os
a - sunrpc/svc_auth.os
a - sunrpc/svc_authux.os
a - sunrpc/svc_raw.os
a - sunrpc/svc_run.os
a - sunrpc/svc_simple.os
a - sunrpc/svc_tcp.os
a - sunrpc/svc_udp.os
a - sunrpc/xdr.os
a - sunrpc/xdr_array.os
a - sunrpc/xdr_float.os
a - sunrpc/xdr_mem.os
a - sunrpc/xdr_rec.os
a - sunrpc/xdr_ref.os
a - sunrpc/xdr_stdio.os
a - sunrpc/publickey.os
a - sunrpc/xdr_sizeof.os
a - sunrpc/auth_des.os
a - sunrpc/authdes_prot.os
a - sunrpc/des_crypt.os
a - sunrpc/des_impl.os
a - sunrpc/des_soft.os
a - sunrpc/key_call.os
a - sunrpc/key_prot.os
a - sunrpc/netname.os
a - sunrpc/openchild.os
a - sunrpc/rtime.os
a - sunrpc/svcauth_des.os
a - sunrpc/xcrypt.os
a - sunrpc/clnt_unix.os
a - sunrpc/svc_unix.os
a - sunrpc/create_xid.os
a - sunrpc/xdr_intXX_t.os
a - nscd/nscd_getpw_r.os
a - nscd/nscd_getgr_r.os
a - nscd/nscd_gethst_r.os
a - streams/isastream.os
a - streams/getmsg.os
a - streams/getpmsg.os
a - streams/putmsg.os
a - streams/putpmsg.os
a - streams/fattach.os
a - streams/fdetach.os
a - login/getutent.os
a - login/getutent_r.os
a - login/getutid.os
a - login/getutline.os
a - login/getutid_r.os
a - login/getutline_r.os
a - login/utmp_file.os
a - login/utmpname.os
a - login/updwtmp.os
a - login/getpt.os
a - login/grantpt.os
a - login/unlockpt.os
a - login/ptsname.os
a - login/setutxent.os
a - login/getutxent.os
a - login/endutxent.os
a - login/getutxid.os
a - login/getutxline.os
a - login/pututxline.os
a - login/utmpxname.os
a - login/updwtmpx.os
a - login/getutmpx.os
a - login/getutmp.os
a - elf/dl-open.os
a - elf/dl-close.os
a - elf/dl-iteratephdr.os
a - elf/dl-addr.os
a - elf/dl-profstub.os
a - elf/dl-libc.os
a - elf/dl-sym.os
a - elf/dl-tsd.os
a - elf/unwind-dw2-fde-glibc.os
a - elf/framestate.os
a - elf/unwind-pe.os
: /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libc_pic.a
gcc   -nostdlib -nostartfiles -r -o /var/tmp/portage/glibc-2.3.4.20040808-r1/wor
k/build/elf/librtld.map.o '-Wl,-(' /var/tmp/portage/glibc-2.3.4.20040808-r1/work
/build/elf/dl-allobjs.os /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/lib
c_pic.a -lgcc '-Wl,-)' -Wl,-Map,/var/tmp/portage/glibc-2.3.4.20040808-r1/work/bu
ild/elf/librtld.mapT
rm -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.map.o
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.mapT /var/
tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.map
LC_ALL=C \
sed -n 's@^/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/\([^(]*\)(\([^)]*
\.os\)) *.*$@\1 \2@p' \
    /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.map | \
while read lib file; do \
  case $lib in \
  libc_pic.a) \
    LC_ALL=C fgrep -l /$file \
          /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/stamp.os /var/tmp/
portage/glibc-2.3.4.20040808-r1/work/build/*/stamp.os | \
    LC_ALL=C \
    sed 's@^/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/\([^/]*\)/stamp\
.os$@rtld-\1'" +=$file@"\
    ;; \
  */*.a) \
    echo rtld-${lib%%/*} += $file ;; \
  *) echo "Wasn't expecting $lib($file)" >&2; exit 1 ;; \
  esac; \
done > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.mkT
echo rtld-subdirs = `LC_ALL=C sed 's/^rtld-\([^ ]*\).*$/\1/' /var/tmp/portage/gl
ibc-2.3.4.20040808-r1/work/build/elf/librtld.mkT \
                     | LC_ALL=C sort -u` >> /var/tmp/portage/glibc-2.3.4.2004080
8-r1/work/build/elf/librtld.mkT
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.mkT /var/t
mp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.mk
make -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/librtld.mk -f rt
ld-Rules
make[3]: Entering directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc
-2.3.3/elf'
make -C ../csu objdir=/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build -f Mak
efile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-check_fds.os rtld-errno.o
s rtld-errno-loc.os rtld-divdi3.os'
make -C ../dirent objdir=/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build -f 
Makefile -f ../elf/rtld-Rules rtld-all rtld-modules='rtld-opendir.os rtld-closed
ir.os rtld-readdir.os rtld-getdents.os'
make[4]: Entering directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc
-2.3.3/csu'
make[4]: Entering directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc
-2.3.3/dirent'
sed '/^[        ]*#/d;s/^[      ]*%/#/' ../csu/Versions ../assert/Versions ../ct
ype/Versions ../locale/Versions ../intl/Versions ../catgets/Versions ../math/Ver
sions ../setjmp/Versions ../signal/Versions ../stdlib/Versions ../stdio-common/V
ersions ../libio/Versions ../malloc/Versions ../string/Versions ../wcsmbs/Versio
ns ../time/Versions ../dirent/Versions ../grp/Versions ../pwd/Versions ../posix/
Versions ../io/Versions ../termios/Versions ../resource/Versions ../misc/Version
s ../socket/Versions ../sysvipc/Versions ../gmon/Versions ../iconv/Versions ../w
ctype/Versions ../shadow/Versions ../argp/Versions ../crypt/Versions ../linuxthr
eads/Versions ../nss/Versions ../rt/Versions ../debug/Versions ../linuxthreads_d
b/Versions ../inet/Versions ../resolv/Versions ../hesiod/Versions ../sunrpc/Vers
ions ../nis/Versions ../streams/Versions ../login/Versions ../dlfcn/Versions ../
elf/Versions ../sysdeps/i386/elf/Versions ../linuxthreads/sysdeps/unix/sysv/linu
x/Versions ../sysdeps/unix/sysv/linux/i386/Versions ../sysdeps/unix/sysv/linux/V
ersions ../sysdeps/unix/sysv/Versions ../sysdeps/i386/fpu/Versions ../sysdeps/i3
86/Versions ../sysdeps/wordsize-32/Versions \
| gcc -E -undef  -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20040808-r1/wor
k/build/csu -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/bui
ld -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../lin
uxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps
/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I..
/linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/s
ysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../
sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdep
s/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/fpu -I../sysd
eps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee
754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic
/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/i386-pc-linux-gnu/
3.3.5/include -isystem //usr/include -D_LIBC_REENTRANT -include ../include/libc-
symbols.h       -DHAVE_INITFINI  \
           -DASSEMBLER -x assembler-with-cpp - \
           > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Versions.v.iT
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Versions.v.iT /var/tmp
/portage/glibc-2.3.4.20040808-r1/work/build/Versions.v.i
sed '/^[        ]*#/d;/^[       ]*$/d' /var/tmp/portage/glibc-2.3.4.20040808-r1/
work/build/Versions.v.i > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Ve
rsions.vT
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Versions.vT /var/tmp/p
ortage/glibc-2.3.4.20040808-r1/work/build/Versions.v
( echo 'sysd-versions-subdirs = csu assert ctype locale intl catgets math setjmp
 signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix
 io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manu
al shadow po argp crypt linuxthreads nss localedata timezone rt conform debug li
nuxthreads_db inet resolv hesiod sunrpc nis nscd streams login dlfcn elf sysdeps
/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sy
sv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/
sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux
/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman 
sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sys
deps/unix sysdeps/posix sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdep
s/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 
sysdeps/generic/elf sysdeps/generic' ; \
  cat /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Versions.v \
  | LC_ALL=C gawk -v buildroot=/var/tmp/portage/glibc-2.3.4.20040808-r1/work/bui
ld/ -v defsfile=/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Versions.all
 \
                    -v move_if_change='/bin/sh ../scripts/move-if-change' \
                    -f ../scripts/versions.awk; \
) > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versionsT
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/ld.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libBrokenLocale.map is uncha
nged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libanl.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libc.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libcrypt.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libdl.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libm.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnsl.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_compat.map is unchang
ed
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_dns.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_files.map is unchange
d
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_hesiod.map is unchang
ed
( echo 'sysd-versions-subdirs = csu assert ctype locale intl catgets math setjmp
 signal stdlib stdio-common libio malloc string wcsmbs time dirent grp pwd posix
 io termios resource misc socket sysvipc gmon gnulib iconv iconvdata wctype manu
al shadow po argp crypt linuxthreads nss localedata timezone rt conform debug li
nuxthreads_db inet resolv hesiod sunrpc nis nscd streams login dlfcn elf sysdeps
/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sy
sv/linux linuxthreads/sysdeps/pthread sysdeps/pthread linuxthreads/sysdeps/unix/
sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386 sysdeps/unix/sysv/linux
/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman 
sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sys
deps/unix sysdeps/posix sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdep
s/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 
sysdeps/generic/elf sysdeps/generic' ; \
  cat /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Versions.v \
  | LC_ALL=C gawk -v buildroot=/var/tmp/portage/glibc-2.3.4.20040808-r1/work/bui
ld/ -v defsfile=/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/Versions.all
 \
                    -v move_if_change='/bin/sh ../scripts/move-if-change' \
                    -f ../scripts/versions.awk; \
) > /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versionsT
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_nis.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_nisplus.map is unchan
ged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libpthread.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libresolv.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/ld.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libBrokenLocale.map is uncha
nged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/librt.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libanl.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libc.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libthread_db.map is unchange
d
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libcrypt.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libdl.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libutil.map is unchanged
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versionsT /var/tm
p/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versions
make[4]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-
2.3.3/csu'
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libm.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnsl.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_compat.map is unchang
ed
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_dns.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_files.map is unchange
d
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_hesiod.map is unchang
ed
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_nis.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libnss_nisplus.map is unchan
ged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libpthread.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libresolv.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/librt.map is unchanged
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libthread_db.map is unchange
d
/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/libutil.map is unchanged
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versionsT /var/tm
p/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versions
mv: cannot stat `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versio
nsT': No such file or directory
make[4]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/sysd-versions]
 Error 1
make[4]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-
2.3.3/dirent'
make[3]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/dirent/rtld-op
endir.os] Error 2
make[3]: *** Waiting for unfinished jobs....
make[4]: Entering directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc
-2.3.3/csu'
gcc ../sysdeps/generic/check_fds.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-pro
totypes -Wwrite-strings -finline-limit=2000 -freorder-blocks -march=pentium2 -pi
pe -mpreferred-stack-boundary=4  -fPIC    -I../include -I. -I/var/tmp/portage/gl
ibc-2.3.4.20040808-r1/work/build/csu -I.. -I../libio  -I/var/tmp/portage/glibc-2
.3.4.20040808-r1/work/build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix
/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sys
deps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linux
threads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux
/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I.
./sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysd
eps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../s
ysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/
ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/iee
e754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/g
cc-lib/i386-pc-linux-gnu/3.3.5/include -isystem //usr/include -D_LIBC_REENTRANT 
-include ../include/libc-symbols.h  -DPIC -DSHARED     -DHAVE_INITFINI -DNOT_IN_
libc=1 -DIS_IN_rtld=1 -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu
/rtld-check_fds.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/bui
ld/csu/rtld-check_fds.os.dt -MT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/bu
ild/csu/rtld-check_fds.os
gcc ../sysdeps/generic/errno.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototy
pes -Wwrite-strings -finline-limit=2000 -freorder-blocks -march=pentium2 -pipe -
mpreferred-stack-boundary=4  -fPIC    -I../include -I. -I/var/tmp/portage/glibc-
2.3.4.20040808-r1/work/build/csu -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.4
.20040808-r1/work/build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sys
v/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps
/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthre
ads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i38
6 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sy
sdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/
unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysde
ps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl
-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754
 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-l
ib/i386-pc-linux-gnu/3.3.5/include -isystem //usr/include -D_LIBC_REENTRANT -inc
lude ../include/libc-symbols.h  -DPIC -DSHARED     -DHAVE_INITFINI -DNOT_IN_libc
=1 -DIS_IN_rtld=1 -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/rtl
d-errno.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/r
tld-errno.os.dt -MT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/rtld
-errno.os
gcc ../linuxthreads/sysdeps/pthread/errno-loc.c -c -std=gnu99 -O2 -Wall -Winline
 -Wstrict-prototypes -Wwrite-strings -finline-limit=2000 -freorder-blocks -march
=pentium2 -pipe -mpreferred-stack-boundary=4  -fPIC    -I../include -I. -I/var/t
mp/portage/glibc-2.3.4.20040808-r1/work/build/csu -I.. -I../libio  -I/var/tmp/po
rtage/glibc-2.3.4.20040808-r1/work/build -I../sysdeps/i386/elf -I../linuxthreads
/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../lin
uxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sy
sv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/un
ix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/un
ix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i
386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps
/posix -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sys
deps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I.
./sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isyst
em /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.5/include -isystem //usr/include -D_LI
BC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -DHAVE_INITF
INI -DNOT_IN_libc=1 -DIS_IN_rtld=1 -o /var/tmp/portage/glibc-2.3.4.20040808-r1/w
ork/build/csu/rtld-errno-loc.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.2004080
8-r1/work/build/csu/rtld-errno-loc.os.dt -MT /var/tmp/portage/glibc-2.3.4.200408
08-r1/work/build/csu/rtld-errno-loc.os
gcc ../sysdeps/wordsize-32/divdi3.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-pr
ototypes -Wwrite-strings -finline-limit=2000 -freorder-blocks -march=pentium2 -p
ipe -mpreferred-stack-boundary=4  -fPIC    -I../include -I. -I/var/tmp/portage/g
libc-2.3.4.20040808-r1/work/build/csu -I.. -I../libio  -I/var/tmp/portage/glibc-
2.3.4.20040808-r1/work/build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/uni
x/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sy
sdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linu
xthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linu
x/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I
../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sys
deps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../
sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754
/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ie
ee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/
gcc-lib/i386-pc-linux-gnu/3.3.5/include -isystem //usr/include -D_LIBC_REENTRANT
 -include ../include/libc-symbols.h  -DPIC -DSHARED     -DHAVE_INITFINI -DNOT_IN
_libc=1 -DIS_IN_rtld=1 -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/cs
u/rtld-divdi3.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build
/csu/rtld-divdi3.os.dt -MT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/c
su/rtld-divdi3.os
make[4]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-
2.3.3/csu'
make[3]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-
2.3.3/elf'
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/elf/rtld-libc.
a] Error 2
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-
2.3.3/elf'
make[1]: *** [elf/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-
2.3.3'
make: *** [all] Error 2

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




Emerging glibc worked fine from the command line. It just didn't work from the
bootstrap.sh script.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-01-27 21:04:47 UTC
please attach emerge info.
Comment 2 Joshua Hoblitt 2005-01-31 01:09:07 UTC
I had a similar failure with glibc-2.3.4.20040808-r1 on amd64.  I would attach my emerge info but the build failure left my system without a working libc, so emerge (and every other executable) just segfaults.

This package should be masked immediately on amd64.

--- /lib/
>>> /lib/libc-2.3.4.so
>>> /lib/ld-2.3.4.so
>>> /lib/libpcprofile.so
>>> /lib/libBrokenLocale-2.3.4.so
>>> /lib/libm-2.3.4.so
>>> /lib/libdl-2.3.4.so
>>> /lib/libmemusage.so
>>> /lib/libcrypt-2.3.4.so
>>> /lib/libpthread-2.3.4.so
>>> /lib/libresolv-2.3.4.so
>>> /lib/libnss_dns-2.3.4.so
>>> /lib/libanl-2.3.4.so
>>> /lib/libnss_files-2.3.4.so
>>> /lib/librt-2.3.4.so
>>> /lib/libpthread.so.0 -> libpthread-2.3.4.so
>>> /lib/libSegFault.so
>>> /lib/ld-linux-x86-64.so.2 -> ld-2.3.4.so
>>> /lib/libnss_hesiod-2.3.4.so
>>> /lib/libnsl-2.3.4.so
>>> /lib/libnss_nis-2.3.4.so
>>> /lib/libnss_nisplus-2.3.4.so
>>> /lib/libnss_compat-2.3.4.so
>>> /lib/libutil-2.3.4.so
>>> /lib/libc.so.6 -> libc-2.3.4.so
>>> /lib/libBrokenLocale.so.1 -> libBrokenLocale-2.3.4.so
>>> /lib/libm.so.6 -> libm-2.3.4.so
>>> /lib/libdl.so.2 -> libdl-2.3.4.so
>>> /lib/libcrypt.so.1 -> libcrypt-2.3.4.so
>>> /lib/libresolv.so.2 -> libresolv-2.3.4.so
>>> /lib/libnss_dns.so.2 -> libnss_dns-2.3.4.so
>>> /lib/libanl.so.1 -> libanl-2.3.4.so
>>> /lib/libnss_files.so.2 -> libnss_files-2.3.4.so
>>> /lib/librt.so.1 -> librt-2.3.4.so
>>> /lib/libthread_db-1.0.so
>>> /lib/libnss_hesiod.so.2 -> libnss_hesiod-2.3.4.so
>>> /lib/libnsl.so.1 -> libnsl-2.3.4.so
>>> /lib/libnss_nis.so.2 -> libnss_nis-2.3.4.so
>>> /lib/libnss_nisplus.so.2 -> libnss_nisplus-2.3.4.so
>>> /lib/libnss_compat.so.2 -> libnss_compat-2.3.4.so
>>> /lib/libutil.so.1 -> libutil-2.3.4.so
>>> /lib/libthread_db.so.1 -> libthread_db-1.0.so
--- /etc/
>>> /etc/rpc
>>> /etc/locales.build
>>> /etc/nscd.conf
--- /etc/init.d/
>>> /etc/init.d/nscd
--- /sbin/
>>> /sbin/ldconfig
>>> /sbin/sln
!!! FAILED postinst: 2816
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-31 08:54:29 UTC
Joshua, can you run:

$ sash -a 
$ ldd /bin/cat
$ ls -l /lib/libc*
Comment 4 Joshua Hoblitt 2005-01-31 10:25:21 UTC
# sash -a
Stand-alone shell (version 3.7)
Built-in commands are aliased to standard commands
$ ldd /bin/cat
pid 30330: killed by signal 11
$ ls -l /lib/libc*
-rwxr-xr-x  1 root     root      1243240  Jan 30 20:34 libc-2.3.4.so
lrwxrwxrwx  1 root     root           13  Jan 30 20:35 libc.so.6 -> libc-2.3.4.so
lrwxrwxrwx  1 root     root           11  Nov 10 00:48 libcap.so -> libcap.so.1
lrwxrwxrwx  1 root     root           14  Nov 10 00:48 libcap.so.1 -> libcap.so.1.10
-rwxr-xr-x  1 root     root        12824  Nov 10 00:48 libcap.so.1.10
-rwxr-xr-x  1 root     root       191576  Nov 10 00:04 libcidn-2.3.4.so
lrwxrwxrwx  1 root     root           16  Nov 10 00:04 libcidn.so.1 -> libcidn-2.3.4.so
lrwxrwxrwx  1 root     root           15  Nov  1 09:16 libcom_err.so -> libcom_err.so.2
lrwxrwxrwx  1 root     root           17  Nov  1 09:16 libcom_err.so.2 -> libcom_err.so.2.1
-rwxr-xr-x  1 root     root         8752  Nov  1 09:16 libcom_err.so.2.1
lrwxrwxrwx  1 root     root           15  Nov  3 23:25 libcrack.so -> libcrack.so.2.7
lrwxrwxrwx  1 root     root           15  Nov  3 23:25 libcrack.so.2 -> libcrack.so.2.7
-rwxr-xr-x  1 root     root        35568  Nov  3 23:25 libcrack.so.2.7
-rwxr-xr-x  1 root     root        23376  Jan 30 20:34 libcrypt-2.3.4.so
lrwxrwxrwx  1 root     root           17  Jan 30 20:35 libcrypt.so.1 -> libcrypt-2.3.4.so
lrwxrwxrwx  1 root     root           17  Nov  1 08:38 libcurses.so -> libncurses.so.5.4
$ /lib/libc-2.3.4.so
GNU C Library 20040808 release version 2.3.4, by Roland McGrath et al.
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 3.4.3 20041125 (Gentoo Linux 3.4.3-r1, ssp-3.4.3-0, pie-8.7.7).
Compiled on a Linux 2.6.8 system on 2005-01-30.
Available extensions:
        GNU libio by Per Bothner
        crypt add-on version 2.1 by Michael Glad and others
        Native POSIX Threads Library by Ulrich Drepper et al
        BIND-8.2.3-T5B
        NIS(YP)/NIS+ NSS modules 0.19 by Thorsten Kukuk
Thread-local storage support included.
For bug reporting instructions, please see:
<http://www.gnu.org/software/libc/bugs.html>.
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-31 13:15:58 UTC
What about:

$ ls -l /lib/ld-*
$ /lib/ld-linux.so.2
$ /lib/ld-linux-x86-64.so.2

# ldd /bin/cat
That died?  ldd is staticly linked... hmm...
Comment 6 Joshua Hoblitt 2005-01-31 21:15:14 UTC
Perhaps this should be in separate bug since this happened on an already installed and working system (I was in a hurry to file the bug case Firefox was running before the borked libc install and still working)

$ ls -l /lib/ld-*
-rwxr-xr-x  1 root     root        91896  Jan 30 20:34 ld-2.3.4.so
lrwxrwxrwx  1 root     root           11  Jan 30 20:35 ld-linux-x86-64.so.2 -> ld-2.3.4.so
lrwxrwxrwx  1 root     root           33  Nov  1 08:41 ld-linux.so.2 -> /emul/linux/x86/lib/ld-linux.so.2
$ /lib/ld-linux.so.2 -l
-l: error while loading shared libraries: -l: cannot open shared object file: No such file or directory
$ /lib/ld-linux-x86-64.so.2 -l
-l: error while loading shared libraries: -l: cannot open shared object file: No such file or directory
$ ldd
pid 544: killed by signal 11
Comment 7 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-31 22:49:14 UTC
There was no '-l' after the calls to /lib/ld-linux.so.2 and the other...

Can you pleasse run:

$ ls -ld /lib*
$ /lib/ld-2.3.4.so
$ /lib64/ld-2.3.4.so
Comment 8 Joshua Hoblitt 2005-01-31 23:11:01 UTC
Running them without any parameters seems kinda pointless but sure...

$  ls -ld /lib*
drwxr-xr-x  9 root     root         4096  Jan 30 20:35 lib
lrwxrwxrwx  1 root     root           19  Nov  1 08:41 lib32
lrwxrwxrwx  1 root     root            3  Jun 12 06:42 lib64
$ /lib/ld-2.3.4.so
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked `ld.so', the helper program for shared library executables.
This program usually lives in the file `/lib/ld.so', and special directives
in executable files using ELF shared libraries tell the system's program
loader to load the helper program from this file.  This helper program loads
the shared libraries needed by the program executable, prepares the program
to run, and runs it.  You may invoke this helper program directly from the
command line to load and run an ELF executable file; this is like executing
that file itself, but always uses this helper program from the file you
specified, instead of the helper program file specified in the executable
file you run.  This is mostly of use for maintainers to test new versions
of this helper program; chances are you did not intend to run this program.

  --list                list all dependencies and how they are resolved
  --verify              verify that given object really is a dynamically linked
                        object we can handle
  --library-path PATH   use given PATH instead of content of the environment
                        variable LD_LIBRARY_PATH
  --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object names
                        in LIST
$ /lib64/ld-2.3.4.so
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]
You have invoked `ld.so', the helper program for shared library executables.
This program usually lives in the file `/lib/ld.so', and special directives
in executable files using ELF shared libraries tell the system's program
loader to load the helper program from this file.  This helper program loads
the shared libraries needed by the program executable, prepares the program
to run, and runs it.  You may invoke this helper program directly from the
command line to load and run an ELF executable file; this is like executing
that file itself, but always uses this helper program from the file you
specified, instead of the helper program file specified in the executable
file you run.  This is mostly of use for maintainers to test new versions
of this helper program; chances are you did not intend to run this program.

  --list                list all dependencies and how they are resolved
  --verify              verify that given object really is a dynamically linked
                        object we can handle
  --library-path PATH   use given PATH instead of content of the environment
                        variable LD_LIBRARY_PATH
  --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object names
                        in LIST
$
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-01 01:53:27 UTC
why are /lib and /lib64 separate directories? Do you have /lib64/ld-linux-x86-64.so.2

If not, do:
ln -s ld-2.3.4.so /lib64/ld-linux-x86-64.so.2
Comment 10 Joshua Hoblitt 2005-02-01 10:51:17 UTC
/lib and /lib64 are not separate directories.

drwxr-xr-x  9 root     root         4096  Jan 30 20:35 lib
lrwxrwxrwx  1 root     root           19  Nov  1 08:41 lib32 -> /emul/linux/x86/lib
lrwxrwxrwx  1 root     root            3  Jun 12 06:42 lib64 -> lib

$ ls /lib64/*ld*
ld-2.3.4.so
ld-linux-x86-64.so.2
ld-linux.so.2

Comment 11 Simon Stelling (RETIRED) gentoo-dev 2005-05-04 02:06:42 UTC
is this still an issue with never versions?
Comment 12 Joshua Hoblitt 2005-05-04 03:14:11 UTC
The issue was having on amd64 has been resolved.  Jermey and I worked on it via IRC and the cause was a borked converstion from nptlonly to -nptlonly.  I've observered similar problems with new versions of glibc going through a similar change but that's really only a documentation bug (if any).

Was Todd's issue ever resolved?
Comment 13 Jeremy Huddleston (RETIRED) gentoo-dev 2005-07-14 02:31:55 UTC
closing...