gnu: libxcrypt: Skip tests on powerpc-linux.

* gnu/packages/crypto.scm (libxcrypt)[arguments]: When building for
powerpc-linux skip the tests.

Change-Id: Ib78d2f6ec36eb09721c41e0586f2c1e49d5500ff
This commit is contained in:
Efraim Flashner 2025-01-02 10:01:05 +02:00
parent 246ac968a2
commit 5d7455bb58
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -7,7 +7,7 @@
;;; Copyright © 2016, 2017 Nikita <nikita@n0.is>
;;; Copyright © 2016, 2017, 2019, 2020 Eric Bavier <bavier@posteo.net>
;;; Copyright © 2017 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2018, 2020, 2021, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018, 2020, 2021, 2023, 2025 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2018, 2020 Nicolò Balzarotti <nicolo@nixo.xyz>
@ -1663,8 +1663,9 @@ (define-public libxcrypt
(native-inputs
(list perl))
(arguments
(if (target-hurd64?)
(list
(cond
((target-hurd64?)
(list
#:phases
#~(modify-phases %standard-phases
(add-after 'unpack 'apply-hurd64-patch
@ -1672,8 +1673,10 @@ (define-public libxcrypt
(let ((patch
#$(local-file
(search-patch "libxcrypt-hurd64.patch"))))
(invoke "patch" "--force" "-p1" "-i" patch))))))
'()))
(invoke "patch" "--force" "-p1" "-i" patch)))))))
((target-ppc32?)
(list #:tests? #f)) ; TODO: Investigate test failures.
(else '())))
(synopsis
"Extended crypt library for descrypt, md5crypt, bcrypt, and others")
(description