From ca6de276db0de1a4b7fdd29dbfea401937f50ff7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 2 Mar 2022 15:48:15 +0100 Subject: gnu: texlive-bin: Skip faulty tests on armhf-linux. Fixes . Reported by Christopher Baines . * gnu/packages/tex.scm (texlive-bin)[arguments]: When 'target-arm32?' is true, add 'skip-faulty-test' phase. --- gnu/packages/tex.scm | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gnu/packages/tex.scm') diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 531f866b58..90f3500f11 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -436,6 +436,18 @@ files from LOCATIONS with expected checksum HASH. CODE is not currently in use. (lambda _ (substitute* "texk/kpathsea/config.h" (("#define ST_NLINK_TRICK") "")))) + + ,@(if (target-arm32?) + `((add-after 'unpack 'skip-faulty-test + (lambda _ + ;; Skip this faulty test on armhf-linux: + ;; https://issues.guix.gnu.org/54055 + (substitute* '("texk/mendexk/tests/mendex.test" + "texk/upmendex/tests/upmendex.test") + (("^TEXMFCNF=" all) + (string-append "exit 77 # skip\n" all)))))) + '()) + (add-after 'check 'customize-texmf.cnf ;; The default texmf.cnf is provided by this package, texlive-bin. ;; Every variable of interest is set relatively to the GUIX_TEXMF -- cgit v1.2.3