From b57e655bbc89daad59d3fb481f90ce5561c3df37 Mon Sep 17 00:00:00 2001 From: Janneke Nieuwenhuizen Date: Sat, 4 Jan 2025 19:37:11 +0100 Subject: [PATCH] gnu: python-cython-next: Build with gcc-13. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Using gcc-14 produces Compiler output for module e_switch_transform: e_switch_transform.c: In function ‘__pyx_pf_18e_switch_transform_is_not_one’: e_switch_transform.c:2283:5: error: duplicate case value 2283 | case 1+0: | ^~~~ e_switch_transform.c:2282:5: note: previously used here 2282 | case 1: | ^~~~ * gnu/packages/python-xyz.scm (python-cython-3)[native-inputs]: Add gcc-13. Change-Id: Iaed502e4c105bb1229345288ec2f203453f65acc --- gnu/packages/python-xyz.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index 8abaf7ecd6b12de6add52bb47c4ba222368d8386..cca15c5097a4c3dbbcbc311632b78d9a29585dd6 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -10043,7 +10043,8 @@ writing C extensions for Python as easy as Python itself.") (when tests? (apply invoke "python" "runtests.py" test-flags))))))) (native-inputs - (list libxcrypt + (list gcc-13 ;does not compile with gcc-14 + libxcrypt python-setuptools python-wheel)) (properties '())))