Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 846320

Summary: sys-devel/distcc: needs upgrade to Python 3.10 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Sam James <sam>
Component: Current packagesAssignee: Gentoo Cluster Team <cluster>
Status: RESOLVED FIXED    
Severity: normal CC: cluster
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
See Also: https://github.com/distcc/distcc/issues/454
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 823185    

Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-18 19:07:01 UTC
This package does not support Python 3.10. Please test it with Python 3.10 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/13aa993921f19b6b095297721ffb0d0b. Ask in #gentoo-python on IRC if need any help.

$ pkgcheck scan -k PythonCompatUpdate sys-devel/distcc
sys-devel/distcc
  PythonCompatUpdate: version 3.3.3-r3: PYTHON_COMPAT updates available: python3_10, python3_11
  PythonCompatUpdate: version 3.4: PYTHON_COMPAT updates available: python3_10, python3_11
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-05-31 07:02:28 UTC
The major Python part of the package is the pump server and it's definitely broken on py3.10.  There's no fix upstream, the package is absolutely awful and dead, and even if you disable pump support the test suite tries to test it and fails.
Comment 2 Larry the Git Cow gentoo-dev 2022-06-07 04:56:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=960e52330ab1979cc35077fbcea1e3ea7c63415f

commit 960e52330ab1979cc35077fbcea1e3ea7c63415f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-07 04:53:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-07 04:56:11 +0000

    sys-devel/distcc: update EAPI 7 -> 8, Python 3.10
    
    Seems to mostly work with Python 3.10, although I get a test failure,
    it's better than it was pre-patch.
    
    Closes: https://bugs.gentoo.org/846320
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-devel/distcc/distcc-3.4-r1.ebuild              | 181 +++++++++++++++++++++
 sys-devel/distcc/files/distcc-3.4-pump-tests.patch | 153 +++++++++++++++++
 2 files changed, 334 insertions(+)