This is an automated email from the git hooks/post-receive script.

sharlatan pushed a commit to branch go-team
in repository guix.

The following commit(s) were added to refs/heads/go-team by this push:
     new c839cf2cc8 gnu: go-golang-org-x-net: Skip race tests on ARM.
c839cf2cc8 is described below

commit c839cf2cc8fc496ef14826a6c75a7037da566d4e
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Sun Mar 30 09:38:44 2025 +0100

    gnu: go-golang-org-x-net: Skip race tests on ARM.
    
    * gnu/packages/golang-build.scm (go-golang-org-x-net) [arguments]
    <test-flags>: Skip 2 tests on ARM systems.
    <phases>: Do not delete 'build, skip it.
    
    Change-Id: I4144ea302062914d07b82cf1557a417c1101b085
---
 gnu/packages/golang-build.scm | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/golang-build.scm b/gnu/packages/golang-build.scm
index e4a1e40112..010946b832 100644
--- a/gnu/packages/golang-build.scm
+++ b/gnu/packages/golang-build.scm
@@ -779,10 +779,12 @@ loading algorithms.")
     (build-system go-build-system)
     (arguments
      (list
+      #:skip-build? #t
       #:import-path "golang.org/x/net"
-      #:phases
-      #~(modify-phases %standard-phases
-          (delete 'build)))) ; no go files in project's root
+      #:test-flags
+      ;; Golang does not support "-race" on ARM, one test fails with error:
+      ;; ThreadSanitizer: unsupported VMA range.
+      #~(list #$@(if (target-arm?) '("-skip" "TestRace") '()))))
     (propagated-inputs
      (list go-golang-org-x-crypto
            go-golang-org-x-sys

Reply via email to