Howdy, I can't emerge anything with portage-2.1.1_pre2. I get a traceback when portage is about to merge, eg. (emerge -a1vu pango): [...] removing executable bit: /usr/lib/libpango-1.0.la removing executable bit: /usr/lib/libpangocairo-1.0.la Traceback (most recent call last): File "/usr/bin/emerge", line 3858, in ? emerge_main() File "/usr/bin/emerge", line 3853, in emerge_main myopts, myaction, myfiles, spinner) File "/usr/bin/emerge", line 3410, in action_build mydepgraph.merge(pkglist, favorites, mtimedb) File "/usr/bin/emerge", line 1918, in merge prev_mtimes=ldpath_mtimes) File "/usr/lib/portage/pym/portage.py", line 2944, in doebuild vartree=vartree, prev_mtimes=prev_mtimes) File "/usr/lib/portage/pym/portage.py", line 3160, in merge mydbapi=mydbapi, prev_mtimes=prev_mtimes) File "/usr/lib/portage/pym/portage.py", line 6698, in merge cleanup=cleanup, mydbapi=mydbapi, prev_mtimes=prev_mtimes) File "/usr/lib/portage/pym/portage.py", line 6205, in treewalk mypkglist.append(dblink(self.cat,v,destroot,self.settings)) File "/usr/lib/portage/pym/portage.py", line 5818, in __init__ vartree = db[myroot]["vartree"] NameError: global name 'db' is not defined # emerge --info Portage 2.1.1_pre2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686) ================================================================= System uname: 2.6.17-gentoo i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo" CXXFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.easynet.nl/mirror/gentoo" LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 3dnow X a52 aac acpi alsa apache2 apm avi bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli crypt dbus dlloader dri dvd dvdr eds emboss encode esd firefox flac foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 hal imlib isdnlog jpeg lcms libg++ libwww mad mikmod mmx mono motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python quicktime readline reflection sdl session spell spl sse ssl startup-notification svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs xml xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Thanks...
The problem only happens when collision-protect is enabled. I'll have a patch in a moment.
Created attachment 90656 [details, diff] fix NameError for collision-protect If you save the patch as /tmp/NameError.patch, then you can apply it as follows: cd /usr/lib/portage patch -p1 < /tmp/NameError.patch
This is fixed in svn r3747 and released in 2.1.1_pre2-r1.
And as it's released I'll close it as FIXED. Thanks portage people :-)