Summary: | dev-python/uvloop-0.15.3-r1 rekeywording (was: 'OverflowError: Python int too large to convert to C long' on sparc) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sam James <sam> | ||||||
Component: | Keywording | Assignee: | Python Gentoo Team <python> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | normal | CC: | mgorny, sam | ||||||
Priority: | Normal | Keywords: | CC-ARCHES | ||||||
Version: | unspecified | Flags: | nattka:
sanity-check+
|
||||||
Hardware: | Sparc | ||||||||
OS: | Linux | ||||||||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=796800 https://github.com/MagicStack/uvloop/issues/427 |
||||||||
Whiteboard: | |||||||||
Package list: |
dev-python/uvloop
|
Runtime testing required: | --- | ||||||
Bug Depends on: | 806412 | ||||||||
Bug Blocks: | 796254 | ||||||||
Attachments: |
|
Description
Sam James
2021-06-20 01:49:44 UTC
*** Bug 796800 has been marked as a duplicate of this bug. *** Created attachment 727482 [details, diff]
uvloop-uint64.patch
Here's a simple patch that resolves the issue for me. However, it basically reverts a past upstream hack that apparently was added for 32-bit platforms. Maybe I'll just add it as revbump, drop keywords and request arch testing.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ff590874366fb7e656a88293e19fa4bacd2e489 commit 2ff590874366fb7e656a88293e19fa4bacd2e489 Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2021-07-28 07:27:18 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2021-07-28 09:19:04 +0000 dev-python/uvloop: Attempt fixing 64-bit thread id problems The upstream hack for 32-bit platforms seems to cause OverflowErrors on 64-bit platforms with large Python thread identifiers (e.g. sparc). Let's attempt reverting the patch and see how uvloop fares without it on Gentoo-supported platforms. Bug: https://bugs.gentoo.org/796803 Signed-off-by: Michał Górny <mgorny@gentoo.org> .../files/uvloop-0.15.3-uint64-thread-id.patch | 43 +++++++++++++++ dev-python/uvloop/uvloop-0.15.3-r1.ebuild | 63 ++++++++++++++++++++++ 2 files changed, 106 insertions(+) Arch teams, please test the newly added revision. alpha done arm64 done Looking good on ppc. # cat uvloop-796803.report USE tests started on Mo 2. Aug 19:38:41 CEST 2021 FEATURES=' test' USE='' succeeded for =dev-python/uvloop-0.15.3-r1 Looking good on ppc64. # cat uvloop-796803.report USE tests started on Mo 2. Aug 20:39:20 CEST 2021 FEATURES=' test' USE='' succeeded for =dev-python/uvloop-0.15.3-r1 ppc done ppc64 done (In reply to ernsteiswuerfel from comment #8) > Looking good on ppc64. > > # cat uvloop-796803.report > USE tests started on Mo 2. Aug 20:39:20 CEST 2021 > > FEATURES=' test' USE='' succeeded for =dev-python/uvloop-0.15.3-r1 Thank you for both ppc + ppc64! riscv "done" in that it will not be keyworded, see Bug #806412 for details. Unable to check for sanity:
> package masked: dev-python/uvloop-0.15.3-r1, by keywords: -riscv
All sanity-check issues have been resolved sparc done arm done x86, ping. x86 done all arches done |