janneke pushed a commit to branch core-packages-team-old in repository guix.
commit fcedc79d33e1c0add29ed87d4b835340d697ed9a Author: Janneke Nieuwenhuizen <[email protected]> AuthorDate: Sun Dec 8 10:44:34 2024 +0100 gnu: go-1.21.5: Skip test failing with gcc-14. * gnu/packages/golang.scm (go-1.21)[arguments]: Add "remove-failing-test" phase. Change-Id: Ie12c23c41f82e752cad8b4f7f2689628f05670af --- gnu/packages/golang.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 95aa1eb8de..773260ff51 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -47,6 +47,7 @@ ;;; Copyright © 2024 Greg Hogan <[email protected]> ;;; Copyright © 2024 Brennan Vincent <[email protected]> ;;; Copyright © 2024 André Batista <[email protected]> +;;; Copyright © 2024 Janneke Nieuwenhuizen <[email protected]> ;;; ;;; This file is part of GNU Guix. ;;; @@ -882,6 +883,13 @@ in the style of communicating sequential processes (@dfn{CSP}).") (substitute* "src/cmd/go/testdata/script/cgo_path_space.txt" (("/bin/sh") (which "sh"))))) + (add-after 'unpack 'remove-failing-test + (lambda _ + ;; This test fails with newer gcc's + ;; https://github.com/golang/go/issues/57691 + (substitute* "src/cmd/cgo/internal/testsanitizers/asan_test.go" + ((".*arena_fail.*") "")))) + (add-after 'enable-external-linking 'enable-external-linking-1.21 (lambda _ ;; Invoke GCC to link any archives created with GCC (that is,
