guix_mirror_bot pushed a commit to branch python-team
in repository guix.

commit ba549e727b81ebd0c43e69ca79ae97b909baa74c
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Tue Sep 23 09:11:34 2025 +0100

    gnu: breezy: Fix build with gcc-14.
    
    * gnu/packages/version-control.scm (breezy)[arguments] <phases>: Add
    'relax-gcc-14-strictness.
    [phases]{check}: Skip one more test.
    [native-inputs]: Remove python-cython; add python-cython-0.
    
    Change-Id: Ibdaf1851d49b01e1a7f7c168ca9962e92155cfe7
---
 gnu/packages/version-control.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 86cc099f70..f03994406e 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -228,6 +228,10 @@
                                    (find-files "breezy/tests"))
                 (("#!/bin/sh")
                  (format #f "#!~a" (which "sh"))))))
+          (add-after 'unpack 'relax-gcc-14-strictness
+            (lambda _
+              (setenv "CFLAGS"
+                      (string-append "-g -O2 
-Wno-error=implicit-function-declaration"))))
           (add-before 'build 'adjust-for-python-3.10
             (lambda _
               (substitute* '("breezy/doc_generate/__init__.py"
@@ -253,11 +257,13 @@
                         ;; Unknown Failure
                         "-x" 
"breezy.tests.test_plugins.TestLoadPluginAt.test_compiled_loaded"
                         "-x" 
"breezy.tests.test_plugins.TestPlugins.test_plugin_get_path_pyc_only"
-                        "-x" 
"breezy.tests.test_selftest.TestActuallyStartBzrSubprocess.test_start_and_stop_bzr_subprocess_send_signal")))))))
+                        "-x" 
"breezy.tests.test_selftest.TestActuallyStartBzrSubprocess.test_start_and_stop_bzr_subprocess_send_signal"
+                        ;; AttributeError: module 'paramiko' has no attribute 
'DSSKey'
+                        "-x" 
"breezy.tests.test_transport.TestSSHConnections.test_bzr_connect_to_bzr_ssh")))))))
     (native-inputs
      (append
       (list gettext-minimal
-            python-cython
+            python-cython-0
             python-setuptools
             python-setuptools-gettext
             python-setuptools-rust

Reply via email to