GNU bug report logs - #71997
[PATCH core-updates] gnu: gd: Skip failing test on i686-linux.

Previous Next

Package: guix-patches;

Reported by: Ludovic Courtès <ludo <at> gnu.org>

Date: Mon, 8 Jul 2024 13:23:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

To reply to this bug, email your comments to 71997 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#71997; Package guix-patches. (Mon, 08 Jul 2024 13:23:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Courtès <ludo <at> gnu.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 08 Jul 2024 13:23:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: guix-patches <at> gnu.org
Cc: Ludovic Courtès <ludo <at> gnu.org>
Subject: [PATCH core-updates] gnu: gd: Skip failing test on i686-linux.
Date: Mon,  8 Jul 2024 15:21:49 +0200
* gnu/packages/gd.scm (gd)[arguments]: Add “XFAIL_TESTS” to #:make-flags
on i686-linux.

Change-Id: I52a9cfeb352b0ec3fce4ff1f82f43c5f7bef6ef0
---
 gnu/packages/gd.scm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/gd.scm b/gnu/packages/gd.scm
index 2c5ba599154..98d34cfa71e 100644
--- a/gnu/packages/gd.scm
+++ b/gnu/packages/gd.scm
@@ -1,5 +1,5 @@
 ;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2013, 2016, 2023 Ludovic Courtès <ludo <at> gnu.org>
+;;; Copyright © 2013, 2016, 2023-2024 Ludovic Courtès <ludo <at> gnu.org>
 ;;; Copyright © 2015, 2016 Mark H Weaver <mhw <at> netris.org>
 ;;; Copyright © 2015 Eric Bavier <bavier <at> member.fsf.org>
 ;;; Copyright © 2016, 2017 Leo Famulari <leo <at> famulari.name>
@@ -61,7 +61,15 @@ (define-public gd
     (arguments
      ;; As recommended by github.com/libgd/libgd/issues/278 to fix rounding
      ;; issues on aarch64 and other architectures.
-     (list #:make-flags #~(list "CFLAGS=-ffp-contract=off")
+     (list #:make-flags #~(list "CFLAGS=-ffp-contract=off"
+
+                                ;; XXX: This test fails on i686-linux.
+                                ;; See <https://issues.guix.gnu.org/71996>.
+                                #$@(if (and (not (%current-target-system))
+                                            (string-prefix? "i686"
+                                                            (%current-system)))
+                                       #~("XFAIL_TESTS=gdimagegrayscale/basic")
+                                       #~()))
            #:configure-flags #~(list "--disable-static")
            #:phases
            #~(modify-phases %standard-phases

base-commit: e4da066f0029ef38f6a791f6f9d4cfdb8b39b6a3
-- 
2.45.2





bug closed, send any further explanations to 71997 <at> debbugs.gnu.org and Ludovic Courtès <ludo <at> gnu.org> Request was from Ludovic Courtès <ludo <at> gnu.org> to control <at> debbugs.gnu.org. (Wed, 21 Aug 2024 15:41:02 GMT) Full text and rfc822 format available.

This bug report was last modified 17 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.