janneke pushed a commit to branch core-packages-team
in repository guix.
commit 049da854c8b24b0d557a119e628a03aeadc49155
Author: Janneke Nieuwenhuizen <[email protected]>
AuthorDate: Thu Dec 5 08:14:37 2024 +0100
gnu: gettext: Fix build with gcc-14.
* gnu/packages/gettext.scm (gettext-minimal) [arguments]: In phase
"patch-tests", skip failing "xgettext-javascript-6" test.
Change-Id: Ibac01c139e135c3a9c13f9077b4fbc6a7db93207
---
gnu/packages/gettext.scm | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm
index 7862c296bd..1e501ee517 100644
--- a/gnu/packages/gettext.scm
+++ b/gnu/packages/gettext.scm
@@ -93,6 +93,9 @@
#t))
(add-before 'check 'patch-tests
(lambda* (#:key inputs #:allow-other-keys)
+ ;; This test fails
+ (substitute* "gettext-tools/tests/xgettext-javascript-6"
+ (("^#!.*" all) (string-append all "exit 77;\n")))
(let* ((bash (which "sh")))
;; Some of the files we're patching are
;; ISO-8859-1-encoded, so choose it as the default