Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69425 - emerge -u world returns a stack trace
Summary: emerge -u world returns a stack trace
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-29 10:16 UTC by Tyler Southwick
Modified: 2007-01-11 11:01 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 Tyler Southwick 2004-10-29 10:16:33 UTC
When i run emerge -u world, i get a stack dump form python that there is an "unsubscriptable object"


'emerge info' returns the following information:
Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.8 i686)
=================================================================
System uname: 2.6.8 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=i686 -pipe"
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/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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb bitmap-fonts cd cddb cdinstall cdparanoia cdr cdrom cdrw chroot crypt cups curl dga divx4linux dnd dvd dvdr dvdread encode esd esound f77 fbcon flash fluxbox foomaticdb gcj gdbm gif gpm gtk gtk2 imlib ipv6 java jpeg kde lirc mad mikmod mmx mmx2 motif mp3 mpeg mpeg4 mplayer mysql ncurses network nls nvidia oggvorbis opengl oss pam pdf pdflib php pic pie png python qt quicktime readline rtc samba sdl sharedmem slang sox spell sse sse2 ssl svga tcpd tetex tiff transcode truetype type1 unicode usb v4l v4l2 x86 xfs xine xinerama xml xml2 xmms xpm xv xvid zlib zvbi"


Reproducible: Always
Steps to Reproduce:
1. run the cmd 'emerge -u world'
2.
3.

Actual Results:  
Calculating world 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 983, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 1118, in select_dep
   
mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,myuse=myuse,use_binaries=("--usepkg"
in myopts))
  File "/usr/lib/portage/pym/portage.py", line 3574, in dep_check
    mysplit2=dep_wordreduce(mysplit2,mysettings,mydbapi,mode,use_cache=use_cache)
  File "/usr/lib/portage/pym/portage.py", line 3610, in dep_wordreduce
    if mysettings and mysettings.pprovideddict.has_key(mykey) and \
  File "/usr/lib/portage/pym/portage.py", line 3909, in match_from_list
    if xs[0:2] != mycpv_cps[0:2]:
TypeError: unsubscriptable object

Expected Results:  
should update the 'world' profile
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-10-29 17:37:07 UTC
There's something wrong with the package.provided file you created.
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-07-31 00:55:35 UTC
Need confirmation on this. 
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 11:01:17 UTC
Closing due to old age