From 404ff118886f782b291bbe1909b2074766dd24c8 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Tue, 27 Aug 2024 12:47:04 +0100 Subject: gnu: go-github-com-prometheus-procfs: Disable tests on non x86_64 architecture. As seen in CI . * gnu/packages/prometheus.scm (go-github-com-prometheus-procfs): Disable tests on non x86_64 architecture. Change-Id: I5f8a4431110cd4b64a2310c2d0b8b0b789216e0d --- gnu/packages/prometheus.scm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/prometheus.scm b/gnu/packages/prometheus.scm index 64c956c0d4..b10bb44a5f 100644 --- a/gnu/packages/prometheus.scm +++ b/gnu/packages/prometheus.scm @@ -409,6 +409,11 @@ (define-public go-github-com-prometheus-procfs (build-system go-build-system) (arguments (list + ;; XXX: Check if the most of the tests may be enabled on non x86_64 + ;; architectures, disable for now: ./proc_stat_test.go:98:49: cannot use + ;; math.MinInt64 (untyped int constant -9223372036854775808) as int + ;; value in struct literal (overflows). + #:tests? (target-x86-64?) #:import-path "github.com/prometheus/procfs" #:phases #~(modify-phases %standard-phases -- cgit v1.2.3