Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 619732 - glsa-check 0.3.3 traceback caused by portage.exception.InvalidAtom: <net-misc/smb4k-1.2.3-r1
Summary: glsa-check 0.3.3 traceback caused by portage.exception.InvalidAtom: <net-misc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: GLSA Errors (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Security
URL:
Whiteboard:
Keywords:
: 619740 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-26 10:52 UTC by Simon
Modified: 2017-05-26 12:51 UTC (History)
1 user (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 Simon 2017-05-26 10:52:39 UTC
glsa-check --list fails for me with the following error message.
I synced at 12:45 today.

+ glsa-check --list
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.4/glsa-check", line 186, in <module>
    if myglsa.isVulnerable():
  File "/usr/lib64/python3.4/site-packages/gentoolkit/glsa/__init__.py", line 683, in isVulnerable
    or (None != getMinUpgrade([v,], path["unaff_atoms"]))
  File "/usr/lib64/python3.4/site-packages/gentoolkit/glsa/__init__.py", line 410, in getMinUpgrade
    v_installed = reduce(operator.add, [match(v, "vartree") for v in vulnerableList], [])
  File "/usr/lib64/python3.4/site-packages/gentoolkit/glsa/__init__.py", line 410, in <listcomp>
    v_installed = reduce(operator.add, [match(v, "vartree") for v in vulnerableList], [])
  File "/usr/lib64/python3.4/site-packages/gentoolkit/glsa/__init__.py", line 347, in match
    return db.match(atom)
  File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 574, in match
    origdep, mydb=self, use_cache=use_cache, settings=self.settings)
  File "/usr/lib64/python3.4/site-packages/portage/dbapi/dep_expand.py", line 35, in dep_expand
    mydep = Atom(mydep, allow_repo=True)
  File "/usr/lib64/python3.4/site-packages/portage/dep/__init__.py", line 1270, in __init__
    raise InvalidAtom(self)
portage.exception.InvalidAtom: <net-misc/smb4k-1.2.3-r1

Reproducible: Always

Actual Results:  
glsa-check crashes

Expected Results:  
glsa-check works
Comment 1 Till Schäfer 2017-05-26 12:00:25 UTC
Maybe related to Bug 619740.
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-05-26 12:27:42 UTC
The GLSA XML document contained invalid data.
I fixed a new revision of this document, issue is now fixed.
Comment 3 Simon 2017-05-26 12:29:48 UTC
@Thomas Deutschmann Thanks for the quick fix!
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2017-05-26 12:51:06 UTC
*** Bug 619740 has been marked as a duplicate of this bug. ***