From 3567b916d309e3ce3038c001707839094505a905 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 17 Aug 2021 09:43:32 +0300 Subject: gnu: texlive-bin: Fix building on powerpc-linux. * gnu/packages/tex.scm (texlive-bin)[arguments]: Add phase on powerpc-linux to adjust the test suite. --- gnu/packages/tex.scm | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 70166941d5..c00c2ae177 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -385,6 +385,15 @@ (define-public texlive-bin (("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck \\|\\| exit 1") "./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 77")) #t)) + ,@(if (target-ppc32?) + ;; Some mendex tests fail on some architectures. + `((add-after 'unpack 'skip-mendex-tests + (lambda _ + (substitute* '("texk/mendexk/tests/mendex.test" + "texk/upmendex/tests/upmendex.test") + (("srcdir/tests/pprecA-0.ind pprecA-0.ind1 \\|\\| exit 1") + "srcdir/tests/pprecA-0.ind pprecA-0.ind1 || exit 77"))))) + '()) (add-after 'unpack 'unpack-texlive-extra (lambda* (#:key inputs #:allow-other-keys) (mkdir "texlive-extra") -- cgit v1.2.3