From 04f9f9158da348e8299e9ab90ec389ba81be46b0 Mon Sep 17 00:00:00 2001 From: Thiago Jung Bauermann Date: Fri, 2 Jul 2021 13:00:10 -0300 Subject: build-system/texlive: Change default format to pdftex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- guix/build-system/texlive.scm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'guix/build-system/texlive.scm') diff --git a/guix/build-system/texlive.scm b/guix/build-system/texlive.scm index 0efa139fc1..005aad819e 100644 --- a/guix/build-system/texlive.scm +++ b/guix/build-system/texlive.scm @@ -128,7 +128,14 @@ level package ID." (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 . + (tex-format "pdftex") + (phases '(@ (guix build texlive-build-system) %standard-phases)) (outputs '("out")) -- cgit v1.2.3