From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: 64772@debbugs.gnu.org
Cc: koszko@koszko.org
Subject: bug#64772: TeXlive (specifically LuaLaTeX) has become terribly slow
Date: Fri, 28 Jul 2023 14:21:30 +0200 [thread overview]
Message-ID: <87ila41b1x.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <20230727220712.41f5e278.koszko@koszko.org> (Wojtek Kosior via Bug reports for's message of "Thu, 27 Jul 2023 22:07:12 +0200")
Hello,
Wojtek Kosior via Bug reports for GNU Guix <bug-guix@gnu.org> writes:
> I ran lualatex under strace, additionally prepending the time to each
> line of output. The new (i.e. after tex-team-next merge this July)
> lualatex has *a lot* of lines like this in the output
>
> --8<---------------cut here---------------start------------->8---
> Thu Jul 27 09:31:56 PM CEST 2023: access("/home/urz/.guix-home/profile/share/texmf-dist/scripts/context/lua/lualatexquotejobname/lua.lua", R_OK) = -1 ENOENT (No such file or directory)
> Thu Jul 27 09:31:56 PM CEST 2023: access("/home/urz/.guix-home/profile/share/texmf-dist/scripts/context/lua/lualatexquotejobname/lua.luatex", R_OK) = -1 ENOENT (No such file or directory)
> Thu Jul 27 09:31:56 PM CEST 2023: access("/home/urz/.guix-home/profile/share/texmf-dist/scripts/context/lua/lualatexquotejobname/lua.luc", R_OK) = -1 ENOENT (No such file or directory)
> Thu Jul 27 09:31:56 PM CEST 2023: access("/home/urz/.guix-home/profile/share/texmf-dist/scripts/context/lua/lualatexquotejobname/lua.luctex", R_OK) = -1 ENOENT (No such file or directory)
> Thu Jul 27 09:31:56 PM CEST 2023: access("/home/urz/.guix-home/profile/share/texmf-dist/scripts/context/lua/lualatexquotejobname/lua.texlua", R_OK) = -1 ENOENT (No such file or directory)
> Thu Jul 27 09:31:56 PM CEST 2023: access("/home/urz/.guix-home/profile/share/texmf-dist/scripts/context/lua/lualatexquotejobname/lua.texluc", R_OK) = -1 ENOENT (No such file or directory)
> Thu Jul 27 09:31:56 PM CEST 2023: access("/home/urz/.guix-home/profile/share/texmf-dist/scripts/context/lua/lualatexquotejobname/lua.tlu", R_OK) = -1 ENOENT (No such file or directory)
> --8<---------------cut here---------------end--------------->8---
>
> The "old" lualetex (i.e. one from before the merge) does not produce
> these under strace.
Could you try adding a phase doing the following to texlive-luatex?
--8<---------------cut here---------------start------------->8---
(substitute* (string-append #$output "/share/texmf-dist/web2c/texmfcnf.lua")
(("selfautodir:") #$output)
(("selfautoparent:") (string-append #$output "/share/")))
--8<---------------cut here---------------end--------------->8---
The files above are probably generated, and I don't know when.
> This test has been done (in case anyone's wondering) *after*
> bind-mounting the texmf.cnf of texlive-kpathsea as explained in my
> previous message.
I suggest to drop this "fix" for now.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2023-07-28 13:14 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-21 15:54 bug#64772: TeXlive (specifically LuaLaTeX) has become terribly slow Malte Frank Gerdes
2023-07-26 22:21 ` Wojtek Kosior via Bug reports for GNU Guix
2023-07-27 20:07 ` Wojtek Kosior via Bug reports for GNU Guix
2023-07-28 12:21 ` Nicolas Goaziou [this message]
2023-07-28 20:33 ` Wojtek Kosior via Bug reports for GNU Guix
2023-07-28 21:25 ` Wojtek Kosior via Bug reports for GNU Guix
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ila41b1x.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=64772@debbugs.gnu.org \
--cc=koszko@koszko.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).