Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 924136 - dev-python/regex-2023.12.25 fails to compile: _regex.c:9413:16: error: assignment to Py_UCS4 {aka unsigned int } from incompatible pointer type Py_UNICODE {aka long int } [-Wincompatible-pointer-types]
Summary: dev-python/regex-2023.12.25 fails to compile: _regex.c:9413:16: error: assign...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-02-09 08:44 UTC by Agostino Sarubbo
Modified: 2024-02-10 03:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,47.82 KB, text/plain)
2024-02-09 08:44 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-02-09 08:44:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/regex-2023.12.25 fails to compile.
Discovered on: x86 (internal ref: tinderbox_x86)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-02-09 08:44:33 UTC
Created attachment 884583 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2024-02-10 03:24:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c2cbe4c2526226f4f8a75f9587f1ee8078272e8

commit 7c2cbe4c2526226f4f8a75f9587f1ee8078272e8
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-10 02:47:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-10 03:16:22 +0000

    dev-python/regex: disable pypy3
    
    It's unsupported upstream and on x86 at least, it ends up showing up precisely
    because of the UTF8-vs-ASCII strings representation problem.
    
    (See also https://github.com/mrabarnett/mrab-regex/issues/404 where the
    test issues got fixed but upstream made clear that it's unsupported and
    also can't really work properly.)
    
    Bug: https://github.com/mrabarnett/mrab-regex/issues/404
    Bug: https://github.com/mrabarnett/mrab-regex/issues/521
    Closes: https://bugs.gentoo.org/924136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/regex/regex-2023.12.25.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Additionally, it has been referenced in the following commit(s):

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

commit a3acbd0ea10f94a48837663f6afb123044f6a989
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-10 03:16:14 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-10 03:23:44 +0000

    dev-python/tox: only depend on dev-python/regex for tests w/o pypy
    
    Skip tests importing re_assert for pypy.
    
    Bug: https://bugs.gentoo.org/924136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/tox/tox-4.12.1.ebuild | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=284e7fe37a8d18cc1f3e737a05a6d196dc7ae6c9

commit 284e7fe37a8d18cc1f3e737a05a6d196dc7ae6c9
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-10 03:13:52 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-10 03:23:44 +0000

    dev-python/aiohttp: only depend on dev-python/regex for tests w/o pypy
    
    Skip tests importing re_assert for pypy.
    
    Bug: https://bugs.gentoo.org/924136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/aiohttp/aiohttp-3.9.1.ebuild | 12 ++++++++++--
 dev-python/aiohttp/aiohttp-3.9.2.ebuild | 10 +++++++++-
 dev-python/aiohttp/aiohttp-3.9.3.ebuild | 10 +++++++++-
 3 files changed, 28 insertions(+), 4 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=636eb5bcb4560932c85b6c1645725187db067216

commit 636eb5bcb4560932c85b6c1645725187db067216
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-10 03:03:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-10 03:23:43 +0000

    dev-python/rfc3987: only depend on dev-python/regex w/o pypy
    
    Falls back to re with less functionality if unavailable.
    
    Bug: https://bugs.gentoo.org/924136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/rfc3987/rfc3987-1.3.8-r2.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b46caf5b42566a440c46c4127f0bfe2bd84a73

commit 71b46caf5b42566a440c46c4127f0bfe2bd84a73
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-10 03:01:59 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-10 03:16:33 +0000

    dev-python/astroid: only depend on dev-python/regex for tests w/o pypy
    
    The tests cleanly skip if dev-python/regex isn't available.
    
    Bug: https://bugs.gentoo.org/924136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/astroid/astroid-3.0.2.ebuild | 5 ++++-
 dev-python/astroid/astroid-3.0.3.ebuild | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)

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

commit e8b635c078926a82d2605da1bc09b9aa19570a2c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-10 02:54:24 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-10 03:16:31 +0000

    dev-python/lark: only depend on dev-python/regex for tests w/o pypy
    
    The tests cleanly skip if dev-python/regex isn't available. Also, while at it,
    clean up <py3.10-era skip.
    
    Bug: https://bugs.gentoo.org/924136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/lark/lark-1.1.9.ebuild | 12 ++++--------
 1 file changed, 4 insertions(+), 8 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad64fc704216f767502673d6c32b94a1940e1ac

commit 3ad64fc704216f767502673d6c32b94a1940e1ac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-02-10 02:50:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-02-10 03:16:29 +0000

    dev-python/re-assert: disable pypy3 b/c of dev-python/regex
    
    Bug: https://bugs.gentoo.org/924136
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/re-assert/re-assert-1.1.0-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)