Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 658172 - sys-apps/portage: FEATURES='network-sandbox' (on client) prevents distcc compilation with python2.7 (FEATURES=network-sandbox-proxy socks5-server.py requires python3.4)
Summary: sys-apps/portage: FEATURES='network-sandbox' (on client) prevents distcc comp...
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 658182
  Show dependency tree
 
Reported: 2018-06-15 15:22 UTC by Daniel M. Weeks
Modified: 2020-04-01 23:31 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 Daniel M. Weeks 2018-06-15 15:22:51 UTC
/usr/lib/portage/python2.7/socks5-server.py /tmp/testing-socket
  File "/usr/lib/portage/python2.7/socks5-server.py", line 40
    data = yield from reader.readexactly(2)
                    ^
SyntaxError: invalid syntax

Reproducible: Always
Comment 1 Daniel M. Weeks 2018-06-15 15:23:29 UTC
Version 2.3.40-r1
Comment 2 Zac Medico gentoo-dev 2018-06-15 18:25:07 UTC
For now you have to use python3 if you want network-sandbox-proxy and distcc features to work with network-sandbox. You can use a setting like this in /etc/portage/package.use:

sys-apps/portage -python_targets_python2_7
Comment 3 Zac Medico gentoo-dev 2020-04-01 23:31:31 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a2c520e735f285a11e2486cb7b4fe1c8e4d0dac

commit 0a2c520e735f285a11e2486cb7b4fe1c8e4d0dac
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2020-03-19 09:52:09 +0100
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2020-03-19 10:41:00 +0100

    sys-apps/portage: Drop py2
    
    Signed-off-by: Michał Górny <mgorny@gentoo.org>