Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41161 - emerge portage-2.0.50-r1 fails "miserably"
Summary: emerge portage-2.0.50-r1 fails "miserably"
Status: RESOLVED WORKSFORME
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-10 14:03 UTC by Spider (RETIRED)
Modified: 2004-03-20 14:29 UTC (History)
1 user (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 Spider (RETIRED) gentoo-dev 2004-02-10 14:03:35 UTC
unable to emerge portage or pass system at all. (emerge -u system)

>>> emerge (20 of 49) sys-apps/portage-2.0.50-r1 to /
>>> md5 src_uri ;-) portage-2.0.50-r1.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.50-r1.tar.bz2 to /var/tmp/portage/portage-2.0.50-r1/work
>>> Source unpacked.
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c
gcc -march=i386 -O1 -pipe -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbox_futils.c
gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o libsandbox.so -nostdlib -lgcc
gcc -march=i386 -O1 -pipe -Wall -c sandbox.c
gcc sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox

>>> Install portage-2.0.50-r1 into /var/tmp/portage/portage-2.0.50-r1/image/ category sys-apps
running install
running build
running build_ext
building 'missingos' extension
creating build
creating build/temp.linux-i686-2.2
gcc -DNDEBUG -fPIC -I/usr/include/python2.2 -c missingos.c -o build/temp.linux-i686-2.2/missingos.o -O2 -march=i686 -fstack-protector -fomit-frame-pointer
creating build/lib.linux-i686-2.2
gcc -shared build/temp.linux-i686-2.2/missingos.o -o build/lib.linux-i686-2.2/missingos.so
running install_lib
creating /var/tmp/portage/portage-2.0.50-r1/image/usr
creating /var/tmp/portage/portage-2.0.50-r1/image/usr/lib
creating /var/tmp/portage/portage-2.0.50-r1/image/usr/lib/python2.2
creating /var/tmp/portage/portage-2.0.50-r1/image/usr/lib/python2.2/site-packages
copying build/lib.linux-i686-2.2/missingos.so -> /var/tmp/portage/portage-2.0.50-r1/image/usr/lib/python2.2/site-packages
warning: install: modules installed to '/var/tmp/portage/portage-2.0.50-r1/image/usr/lib/python2.2/site-packages/', which is not in Python's module search path (sys.path) -- you'll have to change the search path yourself
doexe: warning, skipping directory functions
rm -f libsandbox.so sandbox
rm -f *.o *~ core
rm -f localdecls.h
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... libc.so.6
Checking glibc subversion... 2.3

gcc  -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT libsandbox.c
gcc  -Wall -c -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT sandbox_futils.c
gcc libsandbox.o sandbox_futils.o -shared -fPIC -ldl -lc -o libsandbox.so -nostdlib -lgcc
gcc  -Wall -c sandbox.c
gcc sandbox.o sandbox_futils.o getcwd.c -ldl -lc -o sandbox
install -d -m 0755 /var/tmp/portage/portage-2.0.50-r1/image//lib
install -d -m 0755 /var/tmp/portage/portage-2.0.50-r1/image//usr/lib/portage/bin
install -d -m 0755 /var/tmp/portage/portage-2.0.50-r1/image//usr/lib/portage/lib
install -m 0755 libsandbox.so /var/tmp/portage/portage-2.0.50-r1/image//lib
install -m 0755 sandbox /var/tmp/portage/portage-2.0.50-r1/image//usr/lib/portage/bin
install -m 0644 sandbox.bashrc /var/tmp/portage/portage-2.0.50-r1/image//usr/lib/portage/lib
man:
prepallstrip:
strip: 
strip: 
   usr/lib/python2.2/site-packages/missingos.so
   usr/lib/portage/bin/tbz2tool
   usr/lib/portage/bin/sandbox
   lib/libsandbox.so
making executable: /lib/libsandbox.so
>>> Completed installing into /var/tmp/portage/portage-2.0.50-r1/image/
./
./etc/
./etc/make.globals
./etc/make.conf.example
./etc/etc-update.conf
./etc/dispatch-conf.conf
./usr/
./usr/lib/
./usr/lib/python2.2/
./usr/lib/python2.2/site-packages/
./usr/lib/python2.2/site-packages/missingos.so
./usr/lib/portage/
./usr/lib/portage/pym/
./usr/lib/portage/pym/cvstree.py
./usr/lib/portage/pym/dcdialog.py
./usr/lib/portage/pym/dispatch_conf.py
./usr/lib/portage/pym/getbinpkg.py
./usr/lib/portage/pym/output.py
./usr/lib/portage/pym/portage.py
./usr/lib/portage/pym/portage_db_anydbm.py
./usr/lib/portage/pym/portage_db_cpickle.py
./usr/lib/portage/pym/portage_db_flat.py
./usr/lib/portage/pym/portage_db_template.py
./usr/lib/portage/pym/portage_db_test.py
./usr/lib/portage/pym/xpak.py
./usr/lib/portage/pym/emergehelp.py
./usr/lib/portage/bin/
./usr/lib/portage/bin/archive-conf
./usr/lib/portage/bin/chkcontents
./usr/lib/portage/bin/db-update.py
./usr/lib/portage/bin/dispatch-conf
./usr/lib/portage/bin/dispatch-conf-dialog
./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/emerge-webrsync
./usr/lib/portage/bin/emergehelp.py
./usr/lib/portage/bin/env-update
./usr/lib/portage/bin/etc-update
./usr/lib/portage/bin/extra_functions.sh
./usr/lib/portage/bin/find-requires
./usr/lib/portage/bin/fix-db.py
./usr/lib/portage/bin/fixdbentries
./usr/lib/portage/bin/fixpackages
./usr/lib/portage/bin/fixvirtuals
./usr/lib/portage/bin/fowners
./usr/lib/portage/bin/fperms
./usr/lib/portage/bin/g-cpan.pl
./usr/lib/portage/bin/md5check.py
./usr/lib/portage/bin/md5check.sh

./usr/lib/portage/bin/mirror.py
./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/pkgmerge
./usr/lib/portage/bin/pkgmerge.new
./usr/lib/portage/bin/pkgname
./usr/lib/portage/bin/portageq
./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/regenworld
./usr/lib/portage/bin/repoman
./usr/lib/portage/bin/tbz2tool
./usr/lib/portage/bin/xpak
./usr/lib/portage/bin/pmake
./usr/lib/portage/bin/sandbox
./usr/lib/portage/bin/donewins
./usr/lib/portage/lib/
./usr/lib/portage/lib/sandbox.bashrc
./usr/bin/
./usr/bin/emerge
./usr/bin/xpak
./usr/bin/repoman
./usr/bin/tbz2tool
./usr/bin/portageq
./usr/bin/g-cpan.pl
./usr/bin/quickpkg
./usr/sbin/
./usr/sbin/pkgmerge
./usr/sbin/ebuild
./usr/sbin/ebuild.sh
./usr/sbin/etc-update
./usr/sbin/dispatch-conf
./usr/sbin/archive-conf
./usr/sbin/fixpackages
./usr/sbin/env-update
./usr/sbin/regenworld
./usr/sbin/emerge-webrsync
./usr/share/
./usr/share/man/
./usr/share/man/man5/
./usr/share/man/man5/cvs.eclass.5.gz
./usr/share/man/man5/ebuild.5.gz
./usr/share/man/man5/distutils.eclass.5.gz
./usr/share/man/man5/gcc.eclass.5.gz
./usr/share/man/man5/eutils.eclass.5.gz
./usr/share/man/man5/games.eclass.5.gz
./usr/share/man/man5/flag-o-matic.eclass.5.gz
./usr/share/man/man5/make.conf.5.gz
./usr/share/man/man5/portage.5.gz
./usr/share/man/man5/perl-module.eclass.5.gz
./usr/share/man/man5/rpm.eclass.5.gz
./usr/share/man/man5/vim.eclass.5.gz
./usr/share/man/man5/ssl-cert.eclass.5.gz
./usr/share/man/man5/stardict.eclass.5.gz
./usr/share/man/man1/
./usr/share/man/man1/ebuild.1.gz
./usr/share/man/man1/emerge.1.gz
./usr/share/man/man1/env-update.1.gz
./usr/share/man/man1/etc-update.1.gz
./usr/share/man/man1/quickpkg.1.gz
./usr/share/man/man1/repoman.1.gz
./usr/share/doc/
./usr/share/doc/portage-2.0.50-r1/
./usr/share/doc/portage-2.0.50-r1/ChangeLog.gz
./lib/
./lib/libsandbox.so
./var/
./var/tmp/
./var/tmp/.keep
Traceback (most recent call last):
  File "/usr/lib/portage/bin/xpak", line 6, in ?
    import xpak
ImportError: No module named xpak
tbz2tool: inf.xpak doesn't exist
mv: cannot stat `portage-2.0.50-r1.tbz2': No such file or directory

!!! ERROR: sys-apps/portage-2.0.50-r1 failed.
!!! Function dyn_package, Line 753, Exitcode 1
!!! Failed to move tbz2 to /usr/portage/packages/All
bash-2.05b# emerge portage
Traceback (most recent call last):
  File "/usr/bin/emerge", line 10, in ?
    import emergehelp,xpak,string,re,commands,time,shutil,traceback,atexit,signal
  File "/usr/lib/portage/bin/emergehelp.py", line 7, in ?
    from output import *
ImportError: No module named output


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-02-10 23:34:23 UTC
Python-2.3 modified the path... Nothing I can do about that with the older
portage version. Update portage before updating python.
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2004-02-18 17:50:33 UTC
how about changing rdepend in portage-2.0.50 ?


>=dev-lang/python-2.2.1
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-03-13 13:45:51 UTC
Is this still a problem?

And how would changing the REDEPEND in portage fix this?
Portage needs to be updated first.
Comment 4 Spider (RETIRED) gentoo-dev 2004-03-14 04:23:52 UTC
it will always be an issue when doing a multi-step portage upgrade from 2.0.49-old to 2.0.50,  when at the same time going from python 2.2 to 2.3.   Can't be avoided it seems :-/

However,  It also doesn't seem theres anything you can do about it
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2004-03-20 14:29:58 UTC
Ok. I'd suggest doing what portage says after an rsync though. :-p

That'd solve the problem unless you were using spython or python2.1.