tl24 pretest

Bruno Voisin bvoisin at icloud.com
Tue Feb 13 00:49:04 CET 2024


> Stephan Lukasczyk wrote:
> 
> I've already found an issue with my first run of lualatex. I've
> installed the pretest from the cstug mirror with this morning's state.
> The machine is a MacBook Pro with Intel CPU running macOS Sonoma.
> 
> Trying to build a PDF from the following minimal example leads to
> failures in LuaLaTeX, the resulting PDF does not show anything except a
> blank page:
> 
> MWE (test.tex):
> >\documentclass{article}
> >\begin{document}
> >Hello World
> >\end{document}
> 
> Log output of `lualatex --interaction=nonstopmode test`:
> >This is LuaHBTeX, Version 1.18.0 (TeX Live 2024) 
> > restricted system commands enabled.
> >(./test.tex
> >LaTeX2e <2023-11-01> patch level 1
> >L3 programming layer <2024-01-22>
> >
> >
> >luaotfload | load : FATAL ERROR
> >luaotfload | load : × Failed to load "fontloader" module "basics-gen".
> >luaotfload | load : × Error message:
> >luaotfload | load : × "...024/texmf-dist/tex/luatex/luaotfload/luaotfload-init.lua:301: system : no writeable cache path, quiting".
> >
> [...]
> > (/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls
> >Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
> >(/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo
> >! Font \TU/lmr/m/n/10=[lmroman10-regular]:+tlig; at 10pt not loadable: metric d
> >ata not found or bad.
> ><to be read again> 
> >relax 
> >l.54 \normalsize
> > 
> >)) (/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-luatex.def
> >) (./test.aux) (/usr/local/texlive/2024/texmf-dist/tex/latex/base/ts1cmr.fd)
> >[1
> >Missing character: There is no H (U+0048) in font nullfont!
> >Missing character: There is no e (U+0065) in font nullfont!
> >Missing character: There is no l (U+006C) in font nullfont!
> >Missing character: There is no l (U+006C) in font nullfont!
> >Missing character: There is no o (U+006F) in font nullfont!
> >Missing character: There is no W (U+0057) in font nullfont!
> >Missing character: There is no o (U+006F) in font nullfont!
> >Missing character: There is no r (U+0072) in font nullfont!
> >Missing character: There is no l (U+006C) in font nullfont!
> >Missing character: There is no d (U+0064) in font nullfont!
> >Missing character: There is no 1 (U+0031) in font nullfont!
> >] (./test.aux))

Hi Stephan,

I installed tl2024 this afternoon (from the same mirror) on an Apple Silicon M1 Mac with Sonoma, using install-tl.

Your MWE works fine in my case, giving the first time

This is LuaHBTeX, Version 1.18.0 (TeX Live 2024) 
 restricted system commands enabled.
(./test.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-01-22>
 (/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo
luaotfload | db : Font names database not found, generating new one.
luaotfload | db : This can take several minutes; please be patient.
luaotfload | db : Reload initiated (formats: otf,ttf,ttc); reason: File not found: "lmroman10-regular".))
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-luatex.def)
No file test.aux.
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/ts1cmr.fd) [1{/usr/local/tex
live/2024/texmf-var/fonts/map/pdftex/updmap/pdftex.map}] (./test.aux))
 406 words of node memory still in use:
   3 hlist, 1 vlist, 1 rule, 2 glue, 3 kern, 1 glyph, 4 attribute, 48 glue_spec
, 4 attribute_list, 1 write nodes
   avail lists: 2:22,3:4,4:1,5:23,6:2,7:50,9:18
</usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.
otf>
Output written on test.pdf (1 page, 3284 bytes).
SyncTeX written on test.synctex.gz.
Transcript written on test.log.

and the second time

This is LuaHBTeX, Version 1.18.0 (TeX Live 2024) 
 restricted system commands enabled.
(./test.tex
LaTeX2e <2023-11-01> patch level 1
L3 programming layer <2024-01-22>
 (/usr/local/texlive/2024/texmf-dist/tex/latex/base/article.cls
Document Class: article 2023/05/17 v1.4n Standard LaTeX document class
(/usr/local/texlive/2024/texmf-dist/tex/latex/base/size10.clo))
(/usr/local/texlive/2024/texmf-dist/tex/latex/l3backend/l3backend-luatex.def)
(./test.aux) (/usr/local/texlive/2024/texmf-dist/tex/latex/base/ts1cmr.fd)
[1{/usr/local/texlive/2024/texmf-var/fonts/map/pdftex/updmap/pdftex.map}]
(./test.aux))
 406 words of node memory still in use:
   3 hlist, 1 vlist, 1 rule, 2 glue, 3 kern, 1 glyph, 4 attribute, 48 glue_spec
, 4 attribute_list, 1 write nodes
   avail lists: 2:22,3:4,4:1,5:23,6:2,7:50,9:18
</usr/local/texlive/2024/texmf-dist/fonts/opentype/public/lm/lmroman10-regular.
otf>
Output written on test.pdf (1 page, 3284 bytes).
SyncTeX written on test.synctex.gz.
Transcript written on test.log.

The PDF output is normal. I don't have access to an Intel Mac right now, will try tomorrow at work.

Your error message says the luaotfload cache path isn't writable. That's odd, it should be something like ~/Library/texlive/2024/texmf-var/luatex-cache which is writeable.

Did the installation create a /usr/local/texlive/2024/texmf.cnf, containing

TEXMFHOME = ~/Library/texmf
TEXMFVAR = ~/Library/texlive/2024/texmf-var
TEXMFCONFIG = ~/Library/texlive/2024/texmf-config

It should have, assuming you didn't change the defaults.

You can also check with "tlmgr conf texmf". Here:

% tlmgr conf texmf
texmf configuration values (from /usr/local/texlive/2024/texmf.cnf):
TEXMFCONFIG = ~/Library/texlive/2024/texmf-config
TEXMFVAR = ~/Library/texlive/2024/texmf-var
TEXMFHOME = ~/Library/texmf

Things may also depend on whether you've a previous version of TeX Live on your Mac, and how you installed it. If that was through MacTeX, it may be that some of the paths used by your setup belong to one of these previous versions. When installing tl the Unix way, with install-tl, you usually need to install afterwards the TeXDist package, or equivalently run the MacTeX postinstall script.

These are given at the page <https://tug.org/mactex/mactex-unix-download.html> for tl2023. The 2024 versions are not yet available, I'm attaching the 2024 (pretest) version of the postinstall script from Dick Koch, to be run as in

sudo sh postinstall2024.sh

Bruno Voisin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: postinstall2024.sh
Type: application/octet-stream
Size: 13783 bytes
Desc: not available
URL: <https://tug.org/pipermail/tex-live/attachments/20240213/f2d62e72/attachment-0001.obj>
-------------- next part --------------



More information about the tex-live mailing list.