Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 629700 - app-portage/portpeek should use python-3.6 too
Summary: app-portage/portpeek should use python-3.6 too
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Mike Pagano
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-02 20:46 UTC by Petross404(Petros S)
Modified: 2018-01-16 17:52 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 Petross404(Petros S) 2017-09-02 20:46:08 UTC
portpeek-2.1.24 terminates abnormally with this error. Python 3.6 is the default on my Gentoo, but the python scripts are looking for a previous version.


net-analyzer/wireshark:  Not Installed

Package: kde-apps/libkonq not found. Please check /etc/portage/package.use/libkonq to validate entry

net-misc/owncloud-client:  Not Installed
Traceback (most recent call last):
  File "/usr/lib/python-exec/python3.5/portpeek", line 1555, in <module>
    get_recursive_info(USER_CONFIG_PATH + "/package.use")
  File "/usr/lib/python-exec/python3.5/portpeek", line 431, in get_recursive_info
    get_recursive_info(filename+os.path.sep+file_name)
  File "/usr/lib/python-exec/python3.5/portpeek", line 433, in get_recursive_info
    get_info(filename)
  File "/usr/lib/python-exec/python3.5/portpeek", line 459, in get_info
    diffs_found = parse_package_use(line,filename)
  File "/usr/lib/python-exec/python3.5/portpeek", line 579, in parse_package_use
    package_exists = portage.portdb.xmatch("match-all", check_pkg)
  File "/usr/lib64/python3.5/site-packages/portage/dbapi/porttree.py", line 835, in xmatch
    mydep = dep_expand(origdep, mydb=self, settings=self.settings)
  File "/usr/lib64/python3.5/site-packages/portage/dbapi/dep_expand.py", line 35, in dep_expand
    mydep = Atom(mydep, allow_repo=True)
  File "/usr/lib64/python3.5/site-packages/portage/dep/__init__.py", line 1270, in __init__
    raise InvalidAtom(self)
portage.exception.InvalidAtom: dev-python/setuptools-18.4:

Reproducible: Always
Comment 1 Mike Pagano gentoo-dev 2017-09-21 16:51:31 UTC
It's not python, in fact, that part of the gentoo python system is working as shown in the stacktrace.


Can you fix this line:

dev-python/setuptools-18.4

with 

=dev-python/setuptools-18.4

and run again, please.

If this does not work, please attach the package.accept_keyword files to this bug.


BTW, portpeek 2.1.25 support python 3.6