If I have USE=-pam (which i have) i no longer can emerge world (or system). Reproducible: Always Steps to Reproduce: Actual Results: 20:19:17 poke:~ $sudo emerge -pv system These are the packages that I would merge, in order: Calculating system dependencies \Traceback (most recent call last): File "/usr/bin/emerge", line 2903, in ? if not mydepgraph.xcreate(myaction): File "/usr/bin/emerge", line 1351, in xcreate if not self.create(myk,myuse=binpkguseflags): File "/usr/bin/emerge", line 939, in create self.pkgsettings.setinst(mykey,portage.db[myroot]["porttree"].dbapi) File "/usr/lib/portage/pym/portage.py", line 1270, in setinst virt = dep_getkey(virt) File "/usr/lib/portage/pym/portage.py", line 3362, in dep_getkey elif mydep[:1] in "=<>~": TypeError: 'in <string>' requires string as left operand with USE=pam emerge is ok, but I have pam masked (I don't like pam for several reasons i don't want to discuss). 20:25:28 poke:~ $USE=pam sudo emerge -pv system These are the packages that I would merge, in order: Calculating system dependencies \ !!! All ebuilds that could satisfy ">=sys-libs/pam-0.75-r4" have been masked. !!! One of the following masked packages is required to complete your request: - sys-libs/pam-0.77 (masked by: package.mask) - sys-libs/pam-0.77-r2 (masked by: package.mask) - sys-libs/pam-0.75-r9 (masked by: package.mask) - sys-libs/pam-0.75-r8 (masked by: profile, package.mask) - sys-libs/pam-0.75-r11 (masked by: package.mask) - sys-libs/pam-0.75-r10 (masked by: package.mask) which is expected. I have traced the problem to sys-apps/shadow/shadow-4.0.5.ebuild by removing ebuilds one at a time until emerge works properly again. result: 20:28:10 poke:~ $sudo rm /usr/portage/sys-apps/shadow/shadow-4.0.5.ebuild 20:30:42 poke:~ $sudo emerge -pv system These are the packages that I would merge, in order: Calculating system dependencies ...done! Total size of downloads: 0 kB I can't tell exactpy what is the problem with shadow-4.0.5.ebuild I don't understand the syntax enough for that. 20:22:48 poke:/usr/portage $emerge info Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.4.2, glibc-2.3.4.20041021-r0, 2.6.9 i686) ================================================================= System uname: 2.6.9 i686 AMD Athlon(tm) MP 2000+ Gentoo Base System version 1.6.5 Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=athlon-mp -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O3 -march=athlon-mp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks sandbox" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X Xaw3d alsa apache2 apm audiofile avi berkdb bitmap-fonts bonobo bzlib cdr crypt emacs encode esd f77 flac fluidsynth ftp gd gdbm gif gnome gphoto2 gtk gtk2 gtkhtml iconv imagemagick imap imlib innodb jack java jikes jpeg kde libg++ libwww mad mbox mikmod mime mmx mng motif mozilla mpeg mysql mysqli ncurses nls oggvorbis opengl pcre pda pdflib perl plotutils png python qt quicktime radeon readline recode sdl slang sndfile spell ssl svg svga tcltk tcpd tetex threads tiff timidity truetype usb x86 xine xinerama xml2 xmms xpm xv zlib linguas_sv" 20:34:45 poke:~ $cat /etc/portage/package.mask >sys-libs/pam >sys-apps/pam-login >net-print/cups
I have the same problems with emerge -uvp (--deep) world/system No combination works. This looks like bug #41869
I have the same problem as Christer. If I have USE="-pam" emerge -u world fails with the same traceback. USE="pam" emerge -u world seems to fix the problem for me also.
*** This bug has been marked as a duplicate of 32114 ***
*** Bug 70071 has been marked as a duplicate of this bug. ***