gnu: netpbm: Fix build on powerpc-linux.

* gnu/packages/netpbm.scm (netpbm)[arguments]: Adjust the 'setup-check
phase to skip 2 tests when building for powerpc-linux.

Change-Id: Ie8f23bed0f5d442df3a19e227bbdc3a17fa77511
This commit is contained in:
Efraim Flashner 2024-04-09 12:03:34 +03:00
parent 9a4c57f55f
commit 9a1abc1352
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -2,6 +2,7 @@
;;; Copyright © 2013, 2015 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2015, 2016, 2021 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2019, 2020 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2024 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@ -32,7 +33,8 @@ (define-module (gnu packages netpbm)
#:use-module (guix build-system gnu)
#:use-module ((guix licenses) #:select (gpl2))
#:use-module (guix packages)
#:use-module (guix svn-download))
#:use-module (guix svn-download)
#:use-module (guix utils))
(define-public netpbm
(package
@ -158,6 +160,12 @@ (define-syntax drop
(("pnmremap1.test") "")
(("gif-roundtrip.test") "")
;; These two tests fail on powerpc-linux.
,@(if (target-ppc32?)
`((("pbmtog3\\.test") "")
(("g3-roundtrip\\.test") ""))
'())
;; These two tests started failing in netpbm-10.78.3.
(("jpeg-roundtrip.test") "")
(("pbmtext.test") "")