diff options
author | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-23 09:11:34 +0100 |
---|---|---|
committer | Sharlatan Hellseher <sharlatanus@gmail.com> | 2025-09-23 09:11:40 +0100 |
commit | ba549e727b81ebd0c43e69ca79ae97b909baa74c (patch) | |
tree | 707446ed0cc45e506a4ac3ec6a0187b72cfbd243 /gnu | |
parent | 777bb5ad0593ddd00a9b288d17643a7a7d1a3237 (diff) |
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
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/version-control.scm | 10 |
1 files 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 |