Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31005 - portage-2.0.49-r13 fails to emerge
Summary: portage-2.0.49-r13 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-12 19:07 UTC by Eric Harney
Modified: 2011-10-30 22:17 UTC (History)
2 users (show)

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


Attachments
strace (emerge.strace.gz,374.32 KB, application/x-gzip)
2003-10-13 05:23 UTC, Eric Harney
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Harney 2003-10-12 19:07:03 UTC
When trying to emerge this, it gets to the "Checking glibc subversion..." and
sits, seemingly doing nothing, until I kill it.

Reproducible: Always
Steps to Reproduce:
1. emerge -u portage
Actual Results:  
>>> emerge (1 of 1) sys-apps/portage-2.0.49-r13 to /
>>> md5 src_uri ;-) portage-2.0.49-r13.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.49-r13.tar.bz2 to /var/tmp/portage/portage-2.0.49-r13/work
>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion...


Portage 2.0.49-r3 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.4.20-gentoo-r7)=================================================================
System uname: 2.4.20-gentoo-r7 i686 AMD Athlon(tm) XP 2200+
distcc 2.9 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.2 [enabled]
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -pipe -funroll-loops -mmmx -msse -m3dnow "
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/texmf/tex/generic/config
/usr/share/texmf/tex/platex/config /usr/X11R6/lib/X11/xkb
/usr/kde/3.1/share/config /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe -funroll-loops -mmmx -msse -m3dnow "
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache -autoaddcvs"
GENTOO_MIRRORS="ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo
http://gentoo.oregonstate.edu/distfiles"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt encode foomaticdb gif jpeg libg++ mad mikmod mpeg
ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa
gdbm berkdb slang readline tetex aalib bonobo svga ggi tcltk java X sdl gpm tcpd
pam libwww ssl perl python esd imlib oggvorbis gnome gtk qt motif opengl mozilla
3dnow apache2 dedicated doc gstreamer gtk2 moznocompose moznomail mozp3p mozsvg
pda sse tiff X509 -arts -cups -kde -ruby"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-10-12 22:34:01 UTC
Hmmm... strace and post it here.
strace -f -o emerge.strace emerge portage

Try running ldconfig and/or env-update.
Comment 2 Eric Harney 2003-10-13 05:23:59 UTC
Created attachment 19173 [details]
strace

ldconfig/env-update didn't help anything... here's the strace of it.  (line
134241 is where it got Ctrl-C'd)
Comment 3 Eric Harney 2003-10-13 11:18:10 UTC
After looking deeper into this I'm starting to see the problem.  The script
src/sandbox-1.1/create-localdecls contains this:
        echo -n 'Checking glibc subversion... '
        tmp="`ldd /bin/sh | grep libc.so 2> /dev/null`"

On my system, tmp comes out as nothing, because "ldd /bin/sh" returns "not
a dynamic executable".  It does however return normal info on most other
executables.  (/bin/bash seems to return the same message)  I don't know
why this would happen myself, and I have a pretty standard setup as most
things go.  Any ideas?
Comment 4 Eric Harney 2003-10-13 11:26:19 UTC
Ok, I re-emerged bash and the problem went away.  Something must have gone
awry between when bash last got installed and now.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2003-10-23 15:05:57 UTC
Just encountered this with app-shells/bash-2.05b-r8. Remerging solved it,
but the question is how it came about in the first place, considering it
seems to be a statically built /bin/sh (ldd returned not dynamic executable)
but bash has no static USE flag.
Comment 6 Martin Holzer (RETIRED) gentoo-dev 2003-11-17 04:34:54 UTC
-r15 & -r16 fixes this