Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 63481 - Adding in BOINC ebuild causes python.py problems and stops emerge from working on anything else
Summary: Adding in BOINC ebuild causes python.py problems and stops emerge from workin...
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-09 15:40 UTC by taiheng
Modified: 2004-09-09 18:56 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 taiheng 2004-09-09 15:40:06 UTC
After unzipping the boinc ebuild found here: http://bugs.gentoo.org/show_bug.cgi?id=54962 into /usr/portage/app-sci to create a boinc subdirectory and then trying to emerge boinc with "emerge boinc-20040902" emerge will fail with the following error message:

Calculating world dependencies
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2522, in ?
    if not mydepgraph.xcreate(myaction):
  File "/usr/bin/emerge", line 1114, in xcreate
    myeb=portage.portdb.xmatch("bestmatch-visible",mydep)
  File "/usr/lib/portage/pym/portage.py", line 4700, in xmatch
    myval=best(self.xmatch("match-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4711, in xmatch
    myval=match_from_list(mydep,self.xmatch("list-visible",None,mydep,mykey))
  File "/usr/lib/portage/pym/portage.py", line 4697, in xmatch
    myval=self.gvisible(self.visible(self.cp_list(mykey)))
  File "/usr/lib/portage/pym/portage.py", line 4807, in gvisible
    if db["/"]["porttree"].dbapi.xmatch("bestmatch-list", mykey, None, None, [mycpv]):
  File "/usr/lib/portage/pym/portage.py", line 4704, in xmatch
    myval=best(match_from_list(mydep,mylist))
  File "/usr/lib/portage/pym/portage.py", line 3536, in match_from_list
    raise KeyError, "Specific key requires an operator (%s) (try adding an '=')" % (mydep)
KeyError: "Specific key requires an operator (app-sci/boinc-3.20) (try adding an '=')"

After this, trying to use emerge for anything else will cause this message to appear. This is similar to the problem found in http://bugs.gentoo.org/show_bug.cgi?id=40831 but after trying those solutions this problem still occurs.

Tried solutions:
removing the entire portage tree and resyncing.
trying solutions in similar bug.


Reproducible: Always
Steps to Reproduce:
1.Using emerge in any way. Emerge sync still works though.
2.
3.

Actual Results:  
Same error message keeps appearing.

Expected Results:  
Normal emerge fuctionality
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2004-09-09 17:12:55 UTC
There is a depend that doesn't have an equal sign. I imagine it's probably in the ebuild you unpacked. Fix it, and the problem will go away.
Comment 2 taiheng 2004-09-09 18:56:17 UTC
I'm a retarded monkey, I've tracked down the problem.
Instead of putting:

app-sci/boinc  ~x86 

in /etc/portage/packages.keywords I had:

app-sci/boinc-3.2.0  ~x86
app-sci/boinc-20040902   ~x86

The problem is gone now.