From 749ca7124e5858e8910aac6638b9318cf567ecd3 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 10 Nov 2025 10:59:55 +0200 Subject: [PATCH] gnu: go-1.24: Skip a test when building for armhf-linux. * gnu/packages/golang.scm (go-1.24)[arguments]: Adjust the 'disable-more-tests phase to skip a test on armhf-linux. Change-Id: If05e4b80669a0f4faf79c7c589d6c99b297c7d92 --- gnu/packages/golang.scm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 327bb4a0a42b1419f54de07c5fab185ffe9ae949..14c31fde2939b633685e1f7562dccf2b8ddc3aeb 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1057,6 +1057,15 @@ in the style of communicating sequential processes (@dfn{CSP}).") (("package plugin_test") (string-append "// +build !linux linux,!arm64\n\n" "package plugin_test"))))) + ((target-arm32?) + ;; This test fails when run on aarch64-linux. + #~((substitute* "src/cmd/link/internal/ld/elf_test.go" + (("TestElfBindNow.*" all) + (string-append + all + " if runtime.GOARCH == \"arm\" {\n" + " t.Skipf(\"skipping; flaky on armhf\")\n" + " }\n"))))) (else (list #t))))))))) (native-inputs ;; Go 1.24 and later requires Go 1.22+ as the bootstrap toolchain.