Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36418 - Strange portage error: NameError: global name 'ret' is not defined
Summary: Strange portage error: NameError: global name 'ret' is not defined
Status: RESOLVED DUPLICATE of bug 34666
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: PPC All
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-24 03:30 UTC by David Holm (RETIRED)
Modified: 2005-07-17 13:06 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 David Holm (RETIRED) gentoo-dev 2003-12-24 03:30:45 UTC
After having rsynced today portage stopped working. An 'emerge -DU world -vp' simply returns:

>>> --upgradeonly implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies -Traceback (most recent call last):
  File "/usr/bin/emerge", line 2170, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1011, in xcreate
    myeb=portage.portdb.xmatch("bestmatch-visible",mydep)
  File "/usr/lib/portage/pym/portage.py", line 4065, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4076, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4062, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/portage/pym/portage.py", line 4145, in gvisible
    myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
  File "/usr/lib/portage/pym/portage.py", line 3822, in aux_get
    writemsg(str(red("\naux_get():")+" (0) Error in "+mycpv+" ebuild. ("+str(ret)+")\n"
NameError: global name 'ret' is not defined


emerge info still works:
Portage 2.0.49-r18 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-ppc-dev)
=================================================================
System uname: 2.4.22-ppc-dev ppc 745/755
Gentoo Base System version 1.4.3.12
distcc 2.11.2 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-mcpu=750 -O3 -pipe -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-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/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/jboss /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=750 -O3 -pipe -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg ccache cvs distcc sandbox userpriv usersandbox"
GENTOO_MIRRORS="http://212.219.247.10/sites/www.ibiblio.org/gentoo/ http://212.219.247.11/sites/www.ibiblio.org/gentoo/ ftp://gentoo.linux.no/pub/gentoo/ http://212.219.247.13/sites/www.ibiblio.org/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3ds X Xaw3d aalib acl alsa arts berkdb bindist bonobo cdr composite crypt cscope cups curl dga directfb doc dv dvd encode esd expat faad fbcon fbdev ffmpeg fluidsynth foomaticdb gdbm gif glut gnome gnome-libs gnomedb gpm gstreamer gtk gtk2 gtkhtml guile imagemagick imlib imlib2 java javascript jikes joystick jpeg junit ladcca lcms libg libwww mad matroska mcal md5sum mikmod mitshm mng motif mozaccess mozcalendar mozilla moznoirc moznomail mozsvg mpeg mpi ncurses nptl objc odbc offensive oggvorbis openal opengl openssh oss pam pdflib perl pic plotutils png ppc python qt quicktime radeon readline ruby samba sdk sdl slang socks5 sox spell sqlite ssl stencil-buffer tcltk tcpd tetex tiff transcode truetype type1 usb wmf wxwin wxwindows xfs xinerama xml xml2 xmms xosd xv xvid zlib"
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2003-12-24 03:32:47 UTC

*** This bug has been marked as a duplicate of 34666 ***