build-system/texlive: Change default format to pdftex

LuaTeX has a bug where sometimes it corrupts the heap and aborts. This
causes the build of texlive packages to fail at random. The problem is
being tracked at https://issues.guix.gnu.org/48064.

While a fix isn't found, switch the default TeX format (and consequently
also the engine) to pdftex to avoid the issue.

* guix/build-system/texlive.scm (texlive-build): Change default value of
the ‘tex-format’ key parameter to “pdftex”.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Thiago Jung Bauermann 2021-07-02 13:00:10 -03:00 committed by Ludovic Courtès
parent 949ed7aae1
commit 04f9f9158d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -128,7 +128,14 @@ (define* (texlive-build name inputs
(tests? #f)
tex-directory
(build-targets #f)
(tex-format "luatex")
;; FIXME: This would normally default to "luatex" but
;; LuaTeX has a bug where sometimes it corrupts the
;; heap and aborts. This causes the build of texlive
;; packages to fail at random. The problem is being
;; tracked at <https://issues.guix.gnu.org/48064>.
(tex-format "pdftex")
(phases '(@ (guix build texlive-build-system)
%standard-phases))
(outputs '("out"))