Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944118 - dev-python/mypy-1.13.0 fails to compile: pythoncapi_compat.h:38:11: error: _Py_NULL redefined [-Werror]
Summary: dev-python/mypy-1.13.0 fails to compile: pythoncapi_compat.h:38:11: error: _P...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 946782 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-20 08:12 UTC by Agostino Sarubbo
Modified: 2024-12-22 00:34 UTC (History)
1 user (show)

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


Attachments
build.log.xz (build.log.xz,60.25 KB, application/x-xz)
2024-11-20 08:12 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-11-20 08:12:57 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/mypy-1.13.0 fails to compile.
Discovered on: arm64 (internal ref: tinderbox_arm64)
System: GCC-15-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#GCC-15)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-20 08:12:58 UTC
Created attachment 910479 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-20 08:12:59 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


{standard input}: Error: open CFI at the end of file; missing .cfi_endproc directive
/var/tmp/portage/dev-python/mypy-1.13.0/work/mypy-1.13.0/mypyc/lib-rt/pythoncapi_compat.h:38:11: error: ‘_Py_NULL’ redefined [-Werror]
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-12-22 00:32:40 UTC
*** Bug 946782 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2024-12-22 00:34:20 UTC
The bug has been closed via the following commit(s):

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

commit bd9fbe99c67b8b0399a8af212b36308d44b36d54
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-12-22 00:33:30 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-22 00:33:30 +0000

    dev-python/mypy: don't pass -Werror
    
    Closes: https://bugs.gentoo.org/916577
    Closes: https://bugs.gentoo.org/944118
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/mypy/files/mypy-1.14.0-no-werror.patch | 11 +++++++++++
 dev-python/mypy/mypy-1.14.0.ebuild                |  4 ++++
 2 files changed, 15 insertions(+)