Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 36859 - Repoman dies on '!foo-bar/baz-1337*' in [R]DEPEND
Summary: Repoman dies on '!foo-bar/baz-1337*' in [R]DEPEND
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Repoman (show other bugs)
Hardware: All All
: High minor (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2003-12-30 18:10 UTC by Sven Blumenstein (RETIRED)
Modified: 2004-02-08 17:55 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 Sven Blumenstein (RETIRED) gentoo-dev 2003-12-30 18:10:43 UTC
Repoman dies if the wrong syntax !foo-bar/baz-1337* is used. Correct would be !=foo-bar/baz-1337*. Its just the combination of '!' and the '*' which kills it.

Traceback:

checking package media-tv/nvrec
Traceback (most recent call last):
  File "/usr/bin/repoman", line 720, in ?
    mydep=portage.dep_check(myvalue,portage.db["/"]["porttree"].dbapi,repoman_settings,use="all",mode=matchmode)
  File "/usr/lib/portage/pym/portage.py", line 3015, in dep_check
    mysplit2=dep_wordreduce(mysplit2,mydbapi,mode)
  File "/usr/lib/portage/pym/portage.py", line 3041, in dep_wordreduce
    mydep=mydbapi.xmatch(mode,deplist[mypos])
  File "/usr/lib/portage/pym/portage.py", line 4506, in xmatch
    myval=match_from_list(mydep,self.cp_list(mykey))
  File "/usr/lib/portage/pym/portage.py", line 3183, in match_from_list
    operator = get_operator(mydep)
  File "/usr/lib/portage/pym/portage.py", line 3164, in get_operator
    return operator
UnboundLocalError: local variable 'operator' referenced before assignment


See CVS diff of media-tv/nvrec for example of the wrong syntax. I already fixed it in CVS.
Comment 1 SpanKY gentoo-dev 2003-12-30 20:07:13 UTC
it shouldnt traceback but the syntax is incorrect
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-02-08 17:55:13 UTC
supposed to be fixed in 2.0.50 which is stable now. If this bug is not fixed please reopen.