Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16580 - PORTAGE_OVERLAY b0rkness
Summary: PORTAGE_OVERLAY b0rkness
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Nicholas Jones (RETIRED)
URL:
Whiteboard:
Keywords:
: 16578 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-28 14:36 UTC by Chuck Brewer
Modified: 2011-10-30 22:17 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 Chuck Brewer 2003-02-28 14:36:00 UTC
If the name check fails for an ebuild in the overlay..it doesnt get skipped or
dismissed and will mess up emerge -u world. (I made this happen by accidentally
naming of of my ebuilds with the _r1 instead of -r1) Output of error:

 Calculating world dependencies /Traceback (most recent call last):
  File "/usr/bin/emerge", line 1798, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 815, in xcreate
    myeb=portage.portdb.xmatch("bestmatch-visible",mydep)
  File "/usr/lib/python2.2/site-packages/portage.py", line 3297, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 3308, in xmatch
    myval=self.match2(mydep,mykey,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/python2.2/site-packages/portage.py", line 3294, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/python2.2/site-packages/portage.py", line 3376, in gvisible
    myaux=db["/"]["porttree"].dbapi.aux_get(mycpv, ["KEYWORDS"])
  File "/usr/lib/python2.2/site-packages/portage.py", line 3007, in aux_get
    myebuild=self.findname(mycpv)
  File "/usr/lib/python2.2/site-packages/portage.py", line 2987, in findname
    myloc=self.oroot+"/"+mysplit[0]+"/"+psplit[0]+"/"+mysplit[1]+".ebuild"
TypeError: unsubscriptable object
Comment 1 Chuck Brewer 2003-02-28 14:47:02 UTC
*** Bug 16578 has been marked as a duplicate of this bug. ***
Comment 2 Chuck Brewer 2003-02-28 14:49:01 UTC
I apologize for 16578, dropped can on the kb and thought I got it stopped in time:(
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-02-28 15:14:42 UTC
you can use anything, but _r
_pre any _p are used in portage tree
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2003-02-28 19:14:14 UTC
the feeling of the reporter is that portdir overlay should not break an emerge -u world
Comment 5 Nicholas Jones (RETIRED) gentoo-dev 2003-03-02 10:23:46 UTC
fixed in cvs for 2.0.47-r8