Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24839 - emerge fails with uncaught exception
Summary: emerge fails with uncaught exception
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-19 17:07 UTC by Adam Hixson
Modified: 2003-07-21 23:22 UTC (History)
0 users

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 Adam Hixson 2003-07-19 17:07:47 UTC
Any attemps to emerge sync or update on my system results as follows:

chixson@nice chixson $ sudo emerge sync


Performing Global Updates: /usr/portage/profiles/updates/1Q-2003
(Could take a couple minutes if you have a lot of binary packages.)
  .='update pass'  *='binary update'  @='/var/db move'
.Traceback (most recent call last):
  File "/usr/bin/emerge", line 13, in ?
    import portage
  File "/usr/lib/python2.2/site-packages/portage.py", line 5032, in ?
    do_upgrade(mykey)
  File "/usr/lib/python2.2/site-packages/portage.py", line 4966, in do_upgrade
    db["/"]["bintree"].move_ent(mysplit)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3814, in move_ent
    self.populate()
  File "/usr/lib/python2.2/site-packages/portage.py", line 3893, in populate
    if (not os.path.isdir(self.pkgdir+"/All") and not getbinpkg):
NameError: global name 'getbinpkg' is not defined



Reproducible: Always
Steps to Reproduce:
1.sudo emerge sync
2. or sudo emerge --update --deep world
3.

Actual Results:  
See above.

Expected Results:  
It should have performed the indicated emerge function.

Portage 2.0.48-r4 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21-openmosix i686 Pentium II (Deschutes)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/texmf/tex/ge
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss avi crypt cups foomaticdb gif jpeg kde libg++ mad mikmod ncurses nl
s pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml gdbm berkdb slan
g readline arts tetex bonobo svga java guile ruby gpm tcpd pam libwww perl pytho
n esd oggvorbis gtk qt motif opengl mozilla X gtk2 gnome -alsa mbox -maildir mmx
 ssl -3dnow -apm tcltk encode imap imlib mpeg sdl"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe"
CXXFLAGS="-march=pentium2 -mcpu=pentium2 -O3 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j3"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache fixpackages"
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-07-21 23:22:30 UTC
Fixed in -r5