GNU bug report logs - #64772
TeXlive (specifically LuaLaTeX) has become terribly slow

Previous Next

Package: guix;

Reported by: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>

Date: Fri, 21 Jul 2023 16:11:01 UTC

Severity: normal

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

Full log


Message #26 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Wojtek Kosior <koszko <at> koszko.org>
To: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
Cc: Wojtek Kosior via Bug reports for GNU Guix <bug-guix <at> gnu.org>,
 64772 <at> debbugs.gnu.org
Subject: Re: bug#64772: TeXlive (specifically LuaLaTeX) has become terribly
 slow
Date: Fri, 28 Jul 2023 23:25:11 +0200
[Message part 1 (text/plain, inline)]
> Back to your snippet — if you still think it's worth trying (to see if
> it gets rid of the ENOENTs), I'll try it and report later.

Starting from guix 3bb3fddb5c6e79056172e5858cdc0ee0b6b8cfaa, I tried
adding this

--8<---------------cut here---------------start------------->8---
#:phases
#~(modify-phases %standard-phases
    (add-after 'install 'customize-texmfcnf.lua
      (lambda _
        (substitute* (string-append #$output "/share/texmf-dist/web2c/texmfcnf.lua")
          (("selfautodir:") #$output)
          (("selfautoparent:") (string-append #$output "/share/"))))))))
--8<---------------cut here---------------end--------------->8---

to `texlive-luatex` as suggested. I verified manually that the file in
the resulting package actually got the paths substituted. I then ran

--8<---------------cut here---------------start------------->8---
guix shell -D guix -- path/to/pre-inst-env guix shell texlive-collection-latex less coreutils grep findutils which strace -C
strace lualatex minimal.tex > strace.txt 2>&1
grep -E 'lualatexquotejobname.*ENOENT' strace.txt | wc -l
--8<---------------cut here---------------end--------------->8---

and got 9138
[Message part 2 (application/pgp-signature, inline)]

This bug report was last modified 320 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.