gnu: util-linux: Fix build on powerpc-linux.

* gnu/packages/linux.scm (util-linux)[arguments]: When building for
powerpc-linux add a phase to skip a test.

Change-Id: I2e4c89841dbafb49f6b01d7b7444808ea5afdc2a
This commit is contained in:
Efraim Flashner 2025-09-08 09:10:02 +03:00
parent 72fbf4c8db
commit fd76ee028a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -3469,6 +3469,17 @@ deviation, and minimum and maximum values. It can show a nice histogram too.")
;; on i686 even if the same test passes on x86_64 on the
;; same machine. See <https://issues.guix.gnu.org/49933>.
(delete-file "tests/ts/lsns/ioctl_ns")))
#$@(if (target-ppc32?)
#~((add-before 'check 'disable-enosys-ioctl
;; It is unclear why this test specifically
;; fails in Guix's port of powerpc-linux.
(lambda _
(substitute* "tests/ts/misc/enosys"
(("ts_init_subtest ioctl")
(string-append
"ts_init_subtest ioctl\n\n"
"ts_skip \"unexplained failure on powerpc\"\n"))))))
#~())
(add-after 'install 'move-static-libraries
(lambda _
(let ((lib #$output:lib)