janneke pushed a commit to branch core-packages-team
in repository guix.

commit b04448dba4b8d95313d242233448658b2ae8ece8
Author: Janneke Nieuwenhuizen <jann...@gnu.org>
AuthorDate: Sat Jan 4 19:37:11 2025 +0100

    gnu: python-cython-next: Build with gcc-13.
    
    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 a555de6404..68ac815f9e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9372,7 +9372,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 '())))

Reply via email to