Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 4851 - 'emerge -u system' crashed on portage-2.0.12
Summary: 'emerge -u system' crashed on portage-2.0.12
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: Highest blocker (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
: 4855 4857 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-07-11 05:01 UTC by Erwann CORVELLEC
Modified: 2011-10-30 22:19 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 Erwann CORVELLEC 2002-07-11 05:01:43 UTC
Here's the output of the 'emerge -u system' that crashed :
-----------------------------------------------------------------------------
>>> Merging sys-apps/portage-2.0.12 to /
--- /etc/
>>> /etc/._cfg0000_make.globals
--- /etc/make.conf
--- /usr/
--- /usr/lib/
--- /usr/lib/python2.2/
--- /usr/lib/python2.2/site-packages/
>>> /usr/lib/python2.2/site-packages/missingos.so
>>> /usr/lib/python2.2/site-packages/xpak.py
>>> /usr/lib/python2.2/site-packages/portage.py
>>> /usr/lib/python2.2/site-packages/output.py
--- /usr/lib/portage/
--- /usr/lib/portage/bin/
>>> /usr/lib/portage/bin/chkcontents
>>> /usr/lib/portage/bin/db-update.py
>>> /usr/lib/portage/bin/dobin
>>> /usr/lib/portage/bin/dodir
>>> /usr/lib/portage/bin/dodoc
>>> /usr/lib/portage/bin/doexe
>>> /usr/lib/portage/bin/dohard
>>> /usr/lib/portage/bin/dohtml
>>> /usr/lib/portage/bin/doinfo
>>> /usr/lib/portage/bin/doins
>>> /usr/lib/portage/bin/dojar
>>> /usr/lib/portage/bin/dolib
>>> /usr/lib/portage/bin/dolib.a
>>> /usr/lib/portage/bin/dolib.so
>>> /usr/lib/portage/bin/doman
>>> /usr/lib/portage/bin/domo
>>> /usr/lib/portage/bin/dopython
>>> /usr/lib/portage/bin/dosbin
>>> /usr/lib/portage/bin/dosed
>>> /usr/lib/portage/bin/dosym
>>> /usr/lib/portage/bin/ebuild
>>> /usr/lib/portage/bin/ebuild.sh
>>> /usr/lib/portage/bin/emake
>>> /usr/lib/portage/bin/emerge
>>> /usr/lib/portage/bin/env-update
>>> /usr/lib/portage/bin/find-packages
>>> /usr/lib/portage/bin/find-requires
>>> /usr/lib/portage/bin/fowners
>>> /usr/lib/portage/bin/fperms
>>> /usr/lib/portage/bin/newbin
>>> /usr/lib/portage/bin/newdoc
>>> /usr/lib/portage/bin/newexe
>>> /usr/lib/portage/bin/newins
>>> /usr/lib/portage/bin/newlib.a
>>> /usr/lib/portage/bin/newlib.so
>>> /usr/lib/portage/bin/newman
>>> /usr/lib/portage/bin/newsbin
>>> /usr/lib/portage/bin/pdb
>>> /usr/lib/portage/bin/pdb.cgi
>>> /usr/lib/portage/bin/pkglist
>>> /usr/lib/portage/bin/pkgmerge
>>> /usr/lib/portage/bin/pkgmerge.new
>>> /usr/lib/portage/bin/pkgname
>>> /usr/lib/portage/bin/prepall
>>> /usr/lib/portage/bin/prepalldocs
>>> /usr/lib/portage/bin/prepallinfo
>>> /usr/lib/portage/bin/prepallman
>>> /usr/lib/portage/bin/prepallstrip
>>> /usr/lib/portage/bin/prepinfo
>>> /usr/lib/portage/bin/preplib
>>> /usr/lib/portage/bin/preplib.so
>>> /usr/lib/portage/bin/prepman
>>> /usr/lib/portage/bin/prepstrip
>>> /usr/lib/portage/bin/queryhost.sh
>>> /usr/lib/portage/bin/quickpkg
>>> /usr/lib/portage/bin/repoman
>>> /usr/lib/portage/bin/tbz2tool
>>> /usr/lib/portage/bin/testsandbox.sh
>>> /usr/lib/portage/bin/xpak
>>> /usr/lib/portage/bin/sandbox
--- /usr/lib/portage/lib/
>>> /usr/lib/portage/lib/sandbox.bashrc
--- /usr/bin/
--- /usr/sbin/
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/chkcontents.1.gz
>>> /usr/share/man/man1/ebuild.1.gz
>>> /usr/share/man/man1/emerge.1.gz
>>> /usr/share/man/man1/pkglist.1.gz
>>> /usr/share/man/man1/pkgsearch.1.gz
--- /usr/share/man/man5/
>>> /usr/share/man/man5/ebuild.5.gz
>>> /usr/share/man/man5/make.conf.5.gz
>>> /usr/share/man/man5/make.defaults.5.gz
--- /usr/share/doc/
>>> /usr/share/doc/portage-2.0.12/
>>> /usr/share/doc/portage-2.0.12/ChangeLog.gz
--- /lib/
>>> /lib/libsandbox.so
--- /var/
--- /var/tmp/
>>> /var/tmp/.keep
>>> /usr/lib/portage/bin/pmake -> emake
>>> /usr/lib/portage/bin/donewins -> newins
>>> /usr/bin/emerge -> ../lib/portage/bin/emerge
>>> /usr/bin/xpak -> ../lib/portage/bin/xpak
>>> /usr/bin/repoman -> ../lib/portage/bin/repoman
>>> /usr/bin/tbz2tool -> ../lib/portage/bin/tbz2tool
>>> /usr/sbin/pkgmerge -> ../lib/portage/bin/pkgmerge
>>> /usr/sbin/ebuild -> ../lib/portage/bin/ebuild
>>> /usr/sbin/ebuild.sh -> ../lib/portage/bin/ebuild.sh
>>> /usr/sbin/env-update -> ../lib/portage/bin/env-update

>>> Database upgrade...
>>> Database upgrade complete.
>>> Regenerating /etc/ld.so.cache...
>>> sys-apps/portage-2.0.12 merged.
/bin/bash: error while loading shared libraries: libgcc_s.so.1: cannot open
shared object file: No such file or directory
!!! emerge aborting on  /usr/portage/sys-apps/portage/portage-2.0.12.ebuild .
-----------------------------------------------------------------------------

  Now, even trying to coming back to portage 2.0.11 crashes. 'ebuild
portage-2.0.11.ebuild install' output :
/bin/bash: error while loading shared libraries: libgcc_s.so.1: cannot open
shared object file: No such file or directory
Comment 1 Thomas Bullinger 2002-07-11 05:26:22 UTC
I concur - it looks like someone assumed that the compiler is gcc 3.0, which has
a ligcc_s.so file - but the "official" 2.95.3 does not.  Please fix that ASAP! 
I now have several systems (private and commercial) that can not be updated
anymore!!!
Comment 2 Thomas Bullinger 2002-07-11 05:35:39 UTC
Upon further investigation the culprit is: /lib/libsandbox.so
Comment 3 Thomas Bullinger 2002-07-11 05:46:32 UTC
There is a workaround for now:

cd /tmp
tar xvjf /usr/portage/sys-apps/portage/files/portage-2.0.11.tar.bz2
cd portage-2.0.11/src/sandbox
make
cat libsandbox.so > /lib/libsandbox.so

Comment 4 foser 2002-07-11 05:54:24 UTC
Or just disable sandbox for a while in /etc/make.globals .
Comment 5 Chris Russell 2002-07-11 06:38:07 UTC
Thomas's libsandbox fix worked for me after upgrading from 2.0.11 to 2.0.12
thanks.
Comment 6 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-11 06:40:42 UTC
*** Bug 4857 has been marked as a duplicate of this bug. ***
Comment 7 Seemant Kulleen (RETIRED) gentoo-dev 2002-07-11 06:40:57 UTC
*** Bug 4855 has been marked as a duplicate of this bug. ***
Comment 8 Daniel Robbins (RETIRED) gentoo-dev 2002-07-11 11:57:34 UTC
fixed in 2.0.13