[lltx] Fwd: tl24 pretest

Marcel Fabian Krüger tex at 2krueger.de
Thu Feb 29 08:40:23 CET 2024


Hi,

On Thu, Feb 29, 2024 at 03:37:08AM +0100, Reinhard Kotucha via lualatex-dev wrote:
> When I run
> 
>   luaotfload-tool -u -f --cache=show
> 
> on Linux I get in LeX Live 2023
> 
> [...]
> 
> and luatex-cache/generic/fonts/otl/ contains 26 files
> 
> In LeX Live 2024 I get
> 
> [...]
> 
> and the directory luatex-cache/generic/fonts/ is empty.
> 

luaotfload uses different caches. The one `luaotfload-tool -u -f`
regenerates is the name caches containing all fonts on the system
(usually found under
$TEXMFVAR/luatex-cache/generic/names/luaotfload-names.*)
while `luatex-cache/generic/fonts/otl` is a separate cache used during
font loading. It does not get regenerated by `luaotfload-tool -u -f` and
it's expected to be empty if you haven't compiled documents in LuaLaTeX
with TL 2024 yet.

Can you test if fonts are found if you compile a simple document with
LuaLaTeX?
> 
> According to
> 
>   strace -eopen -u -f luaotfload-tool --cache=show
> 
> luaotfload-tool searches for fonts in several directories but in
> TL-2024 no one is cached.

The arguments here don't seem very useful. Did you mean

> strace -eopen luaotfload-tool -u -f

In any case I would expect most systems today to use openat over open,
so can you try running

> strace -e openat luaotfload-tool -u

and see if that accesses more font directories?

> [...]
> 
> >From 'svn log':
> 
>   r69916 | karl | 2024-02-16 22:10:33 +0100 (Fri, 16 Feb 2024) | 1 line
> 
> This change appeared one day later on CTAN and then people reported
> problems.  Thus I suppose that something went wrong with this update
> (all files are marked as modified in the repository but the version
> number was't bumped).  Looks like an accident.
> 
> If the problem can't be solved in due time it's probably best to
> revert the change in the TeX Live repository.

Not sure why you say that the version number wasn't bumped, but that
commit is the luaotfload v3.27 release. I did cause some issues on
Windows, but they should be resolved by luaotfload v3.28.

In any case it can't be reverted since without it luaotfload does not
find any fonts on Linux unless you have a single user install of TeX
Live.

Best,
Marcel


More information about the tex-live mailing list.