~ruther/guix-local

fd76ee028a8f4d6091b39af611a641eb8bad1d80 — Efraim Flashner 6 months ago 72fbf4c
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
1 files changed, 11 insertions(+), 0 deletions(-)

M gnu/packages/linux.scm
M gnu/packages/linux.scm => gnu/packages/linux.scm +11 -0
@@ 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)