Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69864 - emerge world fails with a traceback (dep_getkey) if USE=-pam due to something in shadow-4.0.5.ebuild
Summary: emerge world fails with a traceback (dep_getkey) if USE=-pam due to something...
Status: RESOLVED DUPLICATE of bug 32114
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
: 70071 (view as bug list)
Depends on:
Reported: 2004-11-02 11:37 UTC by Christer Ekholm
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Christer Ekholm 2004-11-02 11:37:09 UTC
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
  File "/usr/lib/portage/pym/", line 1270, in setinst
    virt = dep_getkey(virt)
  File "/usr/lib/portage/pym/", 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.


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.6.9
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-
Headers:  sys-kernel/linux26-headers-
Libtools: sys-devel/libtool-1.5.2-r5
CFLAGS="-O3 -march=athlon-mp -fomit-frame-pointer"
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"
FEATURES="distlocks sandbox"
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 
Comment 1 Matthias Muthmann 2004-11-02 12:09:32 UTC
I have the same problems with emerge -uvp (--deep) world/system
No combination works. This looks like bug #41869
Comment 2 Juha Nisso 2004-11-02 12:19:27 UTC
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.
Comment 3 SpanKY gentoo-dev 2004-11-02 15:50:40 UTC

*** This bug has been marked as a duplicate of 32114 ***
Comment 4 SpanKY gentoo-dev 2004-11-04 17:55:08 UTC
*** Bug 70071 has been marked as a duplicate of this bug. ***