tueda / makefile4latex

A GNU Makefile for typesetting LaTeX documents.
MIT License
26 stars 3 forks source link

make dist fails with (u)platex_dvipdfmx (l3backend-dvipdfmx.def) #45

Closed tueda closed 5 months ago

tueda commented 6 months ago
\documentclass[dvipdfmx]{article}
\begin{document}
~
\end{document}
make dist TOOLCHAIN=platex_dvipdfmx
/usr/bin/platex -interaction=nonstopmode -halt-on-error -recorder test.tex
This is e-pTeX, Version 3.141592653-p3.9.1-210218-2.6 (utf8.euc) (TeX Live 2022/dev/Debian) (preloaded format=platex)
 restricted \write18 enabled.
entering extended mode
(./test.tex
pLaTeX2e <2021-11-15> (based on LaTeX2e <2021-11-15> patch level 1)
L3 programming layer <2022-01-21>
(/usr/share/texlive/texmf-dist/tex/latex/base/article.cls
Document Class: article 2021/10/04 v1.4n Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo))
(/usr/share/texlive/texmf-dist/tex/latex/l3backend/l3backend-dvipdfmx.def
(|extractbb --version))
No file test.aux.
[1] (./test.aux) )
Output written on test.dvi (1 page, 256 bytes).
Transcript written on test.log.
/usr/bin/dvipdfmx  test.dvi
test.dvi -> test.pdf
[1]
1696 bytes written
cp: cannot stat 'extractbb': No such file or directory
make: *** [Makefile:2121: test.tar.gz] Error 1

The .fls file contains

INPUT extractbb --version

and make dist tries to copy it and fails.

tueda commented 5 months ago

It seems that the code with extractbb --version was introduced in https://github.com/latex3/latex3/commit/7889284008987e7197c11abc3eba47e9d6f5c510, and removed in https://github.com/latex3/latex3/commit/20d5956661b6f3ee00ddbb4f61ab549c0489a24f. Affected L3 layer versions are 2021-01-09..2022-02-24.

Ubuntu TeXLive versions: Ubuntu texlive-latex-base
20.04 2019.20200218
22.04 2021.20220204
24.04 2023.20231207

latest development version at the time of writing

tueda commented 5 months ago

AppVeyor failed:

not ok 11 lualatex in 983ms
# (from function `test_dir' in file check.bats, line 7,
#  in test file check.bats, line 132)
#   `test_dir lualatex 1' failed with status 2
# /usr/bin/lualatex -interaction=nonstopmode -halt-on-error -recorder doc.tex
# PANIC: unprotected error in call to Lua API (zlib library version does not match - header: 1.3, library: 1.3.1)
# grep: doc.log: No such file or directory
# grep: doc.log: No such file or directory
# grep: doc.log: No such file or directory
# make[2]: *** [Makefile:1988: doc.pdf] Error 1
ok 12 platex_dvips in 3888ms
ok 13 platex_dvipdfmx in 1540ms

but it looks like an upstream issue of LuaTeX on Cygwin.

tueda commented 5 months ago

Close this issue.