Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32374 - python-updater buggered
Summary: python-updater buggered
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 33147 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-31 03:08 UTC by James Cloos
Modified: 2011-10-30 22:22 UTC (History)
2 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 James Cloos 2003-10-31 03:08:21 UTC
Python-updater will only run if /usr/bin/python points to python2.2, but that
results in the packages just being re-installed into /usr/lib/python2.2.

If /usr/bin/python points to python2.3, python-updater complains that it cannot
load the portage .pyc file(s), and after listing the packages that need to be
remerged it fails with:

/usr/bin/python2.2: can't open file '/dev-lang/python/files/depreorder.py'

(I did have to change the #! line in emerge to point at python2.2 for it to run
at all if python -> python2.3.)

Reproducible: Always
Steps to Reproduce:
1. emerge python 2.3 
2. run python-updater as specified by step 1
3.

Actual Results:  
all installed python packages were remerged into 2.2, rather than into 2.3


Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.6.0-test6-jhc1)
=================================================================
System uname: 2.6.0-test6-jhc1 i686 Intel(R) Pentium(R) III Mobile CPU      1000MHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -mmmx -msse -O2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /var/bind /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="-march=pentium3 -mmmx -msse -O2 -pipe"
DISTDIR="/home/portage/distfiles"
FEATURES="autoaddcvs sandbox buildpkg ccache keeptemp"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/"
MAKEOPTS=""
PKGDIR="/media/1394/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 apm foomaticdb mad gtkhtml arts ggi esd ldap aalib acl acpi alsa
apache2 avi berkdb bonobo cdr cjk crypt cups dv dvd encode ethereal evo flash gb
gd gdbm gif gnome gphoto2 gpm gtk gtk2 guile imap imlib innodb ipv6 java jbig
jikes jpeg junit kde ksi lcms leim libg++ libgda libwww mbox mikmod mmx motif
mozilla mozsvg mpeg mule nas ncurses nls nptl objc oci8 oggvorbis opengl oss pam
pcmcia pda pdflib perl pic plotutils png pnp postgres python qt quicktime radeon
readline ruby sasl scanner sdl slang slp snmp spell sse ssl tcltk tcpd tetex
tiff truetype unicode usb wmf X xml xml2 xmms xv zlib -mysql -svga"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-10-31 08:02:23 UTC
That's the one I wanted to re-assign.
Comment 2 Alastair Tse (RETIRED) gentoo-dev 2003-10-31 14:39:51 UTC
what does 'portageq portdir' return?

if you are trying python2.3, it is recommended that you unmask portage-2.0.49-r16
Comment 3 James Cloos 2003-10-31 16:20:12 UTC
ARGH!  

I looked in sys-apps/portage to see whether anything newer was available
before
posting that report....  5s and 6s must start to look alike :(

will try again after upgrading to -r16.

Comment 4 Alastair Tse (RETIRED) gentoo-dev 2003-11-10 07:19:24 UTC
*** Bug 33147 has been marked as a duplicate of this bug. ***
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2003-11-23 03:59:40 UTC
i've added a check before merging to make sure you have the right portage version.

this shouldn't happen anymore, hopefully.