Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41906 - portage 2.0.50-r1 fails on install
Summary: portage 2.0.50-r1 fails on install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 All
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 07:59 UTC by navidson
Modified: 2004-02-18 08:06 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 navidson 2004-02-17 07:59:37 UTC
when i update from 2.0.50 to 2.0.50-r1 it fails on install

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
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'install' (no module named 'distutils.command.install')

!!! ERROR: sys-apps/portage-2.0.50-r1 failed.
!!! Function src_install, Line 94, Exitcode 1
!!! Failed to install missingos module
Comment 1 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-18 04:03:01 UTC
Can you show me 'emerge info' and 'python -V'?
Comment 2 navidson 2004-02-18 04:57:43 UTC
Portage 2.0.50 (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) processor
Autoconf: sys-devel/autoconf-2.58
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mmmx -m3dnow  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mmmx -m3dnow  -march=athlon-tbird -O2 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://ftp.gentoo.skynet.be//gentoo/ http://www.ibiblio.org/pub/Linux/distributions/gentoo"
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="3dnow X Xaw3d aalib alsa apm arts avi berkdb bonobo cdr crypt cscope cups curl dga directfb dvd emacs encode esd ethereal evo fbcon foomaticdb gd gdbm ggi gif gnome gpm gstreamer gtk gtk2 gtkhtml guile imlib jack java jpeg kde kerberos ladcca lcms libg++ libwww mad maildir mbox mcal mikmod mmx motif mozilla mpeg mysql nas ncurses nls odbc oggvorbis opengl oss pam pdflib perl ploturils png ppds python qt qtmt quicktime readline ruby sdl slang spell ssl svga tcltk tcpd tiff truetype usb videos wmf wxwindows x86 xface xml xml2 xmms xosd xv zlib"
Comment 3 navidson 2004-02-18 04:58:13 UTC
Python 2.3.3
Comment 4 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-18 05:22:23 UTC
thanks

And show me
'ls -l /usr/bin/python2.2' and 'ls -l /usr/lib/python2.2/distutils/command/install.py*'

(I guess you unmerged python2.2 but some files remain..)
Comment 5 navidson 2004-02-18 06:39:43 UTC
/usr/bin/python2.2 exists but the second commands tell me "Aucun fichier ou r
Comment 6 navidson 2004-02-18 06:39:43 UTC
/usr/bin/python2.2 exists but the second commands tell me "Aucun fichier ou répertoire de ce type" ("no file or directory of this type")

Comment 7 Masatomo Nakano (RETIRED) gentoo-dev 2004-02-18 07:37:58 UTC
Do you have python-2.2 in your system?
If no, run 'rm /usr/bin/python2.2' then 'emerge portage' again.

Python team, what do you think?
Comment 8 navidson 2004-02-18 08:06:41 UTC
it works !!! Thanks !!!