Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 6803 - [portage 2.0.28 -> 2.0.30]: emerge -S broken
Summary: [portage 2.0.28 -> 2.0.30]: emerge -S broken
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Daniel Robbins (RETIRED)
URL:
Whiteboard:
Keywords:
: 7010 (view as bug list)
Depends on:
Blocks:
 
Reported: 2002-08-20 18:24 UTC by Rigo
Modified: 2011-10-30 22:19 UTC (History)
4 users (show)

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 Rigo 2002-08-20 18:24:05 UTC
*  sys-apps/portage
      Latest version Available: 2.0.29
      Latest version Installed: 2.0.29
      Homepage: http://www.gentoo.org
      Description: Portage ports system

lappy portage # emerge -S perl 
Searching...  /Traceback (most recent call last):
  File "/usr/bin/emerge", line 1284, in ?
    searchinstance.execute(mysearch)
  File "/usr/bin/emerge", line 403, in execute
    full_package = portage.portdb.xmatch("bestmatch-visible",package)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2967, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2978, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2964, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/python2.2/site-packages/portage.py", line 3003, in visible
    mycp=cpv[0]+"/"+cpv[1]
TypeError: unsubscriptable object
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2002-08-21 05:12:13 UTC
i got the same error

portage 2.0.28
Comment 2 SpanKY gentoo-dev 2002-08-25 15:30:46 UTC
*** Bug 7010 has been marked as a duplicate of this bug. ***
Comment 3 SpanKY gentoo-dev 2002-08-25 16:16:11 UTC
hmm, do you utilize PORTDIR_OVERLAY ?
i get that exact error when i made an ebuild that has errors in it ...

root@rux0r uglygs # grep PORTDIR_OVERLAY /etc/make.globals
PORTDIR_OVERLAY=/usr/local/portage
root@rux0r uglygs # pwd
/usr/local/portage/app-games/uglygs
root@rux0r uglygs # ls
uglygs-rc2.ebuild
root@rux0r uglygs # emerge -S ugly
Searching...
[ Results for search key : ugly ]
[ Applications found : 1 ]

Traceback (most recent call last):
  File "/usr/bin/emerge", line 1296, in ?
    searchinstance.output()
  File "/usr/bin/emerge", line 423, in output
    full_package = portage.portdb.xmatch("bestmatch-visible",match)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2955, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2966, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2952, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2991, in visible
    mycp=cpv[0]+"/"+cpv[1]
TypeError: unsubscriptable object
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2002-08-26 03:21:18 UTC
gentoo usr # grep PORTDIR_OVERLAY /etc/make.globals
gentoo usr # 
gentoo usr # pwd
/usr
gentoo usr # emerge -S qpopper
Searching...  -portage: aux_get(): (1) couldn't open cache entry for app-
cdr/disc-cover-1.1.1
(likely caused by syntax error or corruption in the app-cdr/disc-cover-1.1.1 
ebuild.)
-Traceback (most recent call last):
  File "/usr/bin/emerge", line 1292, in ?
    searchinstance.execute(mysearch)
  File "/usr/bin/emerge", line 402, in execute
    full_package = portage.portdb.xmatch("bestmatch-visible",package)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2955, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2966, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2952, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2991, in visible
    mycp=cpv[0]+"/"+cpv[1]
TypeError: unsubscriptable object
gentoo usr # 


can't be the PORTDIR_OVERLAY

there are many other open bugs about emerge!! i think they are all depeding on 
each other
Comment 5 Martin Holzer (RETIRED) gentoo-dev 2002-08-26 03:27:56 UTC
SpanKY: look at bug #6307 'PORTDIR_OVERLAY', could be the same problem you've 
got
Comment 6 Daniel Robbins (RETIRED) gentoo-dev 2002-08-27 11:19:55 UTC
This bug was likely caused by invalid stuff in /usr/portage that was causing
Portage to choke. I've improved Portage's internal error handlind and this
specific issue should be resolved in 2.0.30. You should now get clear error
messages instead and emerge should behave politely.
Comment 7 Rigo 2002-08-27 11:29:23 UTC
Are you sure Daniel ? It sure isn't in alpha2 yet ! 

Regards, Rigo

*  sys-apps/portage
      Latest version Available: 2.0.30_alpha2
      Latest version Installed: 2.0.30_alpha2
      Homepage: http://www.gentoo.org
      Description: Portage ports system
 
media-libs # emerge -S bookmark
Searching...  |Traceback (most recent call last):
  File "/usr/bin/emerge", line 1284, in ?
    searchinstance.execute(mysearch)
  File "/usr/bin/emerge", line 403, in execute
    full_package = portage.portdb.xmatch("bestmatch-visible",package)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2967, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2978, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 2964, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/python2.2/site-packages/portage.py", line 3003, in visible
    mycp=cpv[0]+"/"+cpv[1]
TypeError: unsubscriptable object
media-libs # 
Comment 8 SpanKY gentoo-dev 2002-08-27 11:50:26 UTC
he fixed it but may not be released yet ... wait for 2.0.30 final
Comment 9 Rigo 2002-08-27 11:57:35 UTC
Ah, ok...Sorry 4 reopening bug...