gnu: texlive-bin: Fix FTBFS on i686-linux.

* gnu/packages/tex.scm (texlive-bin)[arguments]: Add phase 'disable-failing-test'.
This commit is contained in:
Marius Bakke 2018-10-19 18:51:46 +02:00
parent 1d7fb035fc
commit be200ef316
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -194,6 +194,14 @@ (define-public texlive-bin
(copy-file "texk/web2c/pdftexdir/pdftosrc-newpoppler.cc"
"texk/web2c/pdftexdir/pdftosrc.cc")
#t))
(add-after 'unpack 'disable-failing-test
(lambda _
;; FIXME: This test fails on 32-bit architectures since Glibc 2.28:
;; <https://bugzilla.redhat.com/show_bug.cgi?id=1631847>.
(substitute* "texk/web2c/omegafonts/check.test"
(("^\\./omfonts -ofm2opl \\$srcdir/tests/check tests/xcheck || exit 1")
"./omfonts -ofm2opl $srcdir/tests/check tests/xcheck || exit 77"))
#t))
(add-after 'install 'postint
(lambda* (#:key inputs outputs #:allow-other-keys #:rest args)
(let* ((out (assoc-ref outputs "out"))