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

commit 1dd90ea87011e845e28b91d838104bbbc0eb4451
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Sat Jul 27 09:31:08 2024 +0100

    gnu: go-github-com-vishvananda-netlink: Keep tests only on x86_64.
    
    * gnu/packages/linux.scm (go-github-com-vishvananda-netlink)
    [arguments]: <#:tests?>: Run tests only on x86_64 architecture.
    
    Change-Id: I15df89bd4d916e580fc82d650aefcb4cf050a20d
---
 gnu/packages/linux.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm
index 07f75acf15..ff1455fbfb 100644
--- a/gnu/packages/linux.scm
+++ b/gnu/packages/linux.scm
@@ -9305,6 +9305,10 @@ management tools in userspace.")
     (build-system go-build-system)
     (arguments
      (list
+      ;; The tests are unsupported on all architectures except x86_64-linux:
+      ;; cannot use 0xabcdef99 (untyped int constant 2882400153) as int value
+      ;; in struct literal (overflows)
+      #:tests? (and (not (%current-target-system)) (target-x86-64?))
       #:import-path "github.com/vishvananda/netlink"
       #:phases
       #~(modify-phases %standard-phases

Reply via email to