stone-zeng / fduthesis

LaTeX thesis template for Fudan University
LaTeX Project Public License v1.3c
811 stars 205 forks source link

CI 对 `uptex` 引擎运行 `fmtutil` 时产生错误 #241

Closed atxy-blip closed 2 years ago

atxy-blip commented 2 years ago

事情的起因是 njuthesis 的构建测试暴毙了,本着严谨求实的原则 fock 了一份 fduthesis,发现也挂了。请看 https://github.com/glatavento/fduthesis/actions/runs/1882303764 (我仓库中的 fock 还提着 PR,这是拜托友人运行的)。

日志中错误点如下所示。一共三处,这是第一处。

dehyph-exptl: using pTeX engine. Loading patterns provided by package hyph-utf8
.
! I can't find file `hyph-de-1901.ec.tex'.
l.126   \input hyph-de-1901.ec.tex

(Press Enter to retry, or Control-D to exit)
Please type another input file name: 
! Emergency stop.
l.126   \input hyph-de-1901.ec.tex

No pages of output.
Transcript written on uplatex.log.
Error:  [ERROR]: running `euptex -ini   -jobname=euptex -progname=euptex *euptex.ini </dev/null' return status: 1
Error:  [ERROR]: returning error due to option --strict
Error:  [ERROR]: running `euptex -ini   -jobname=uplatex-dev -progname=uplatex-dev *uplatex.ini </dev/null' return status: 1
Error:  [ERROR]: returning error due to option --strict
Error:  [ERROR]: running `euptex -ini   -jobname=uplatex -progname=uplatex *uplatex.ini </dev/null' return status: 1
Error:  [ERROR]: returning error due to option --strict

涉及的文件近一年没做修改。我尝试过移除 uptex 以及只检查 xetex,无奈才疏学浅,并没有解决问题。

stone-zeng commented 2 years ago

看起来是某个包把 hyph-utf8 的依赖移除了,得手动加一下。

atxy-blip commented 2 years ago

得手动加一下

日志 280 行已经提示安装了 hyph-utf8 呢……

[57/164, 00:22/00:40] install: hyph-utf8 [16k]
stone-zeng commented 2 years ago

得手动加一下

日志 280 行已经提示安装了 hyph-utf8 呢……

[57/164, 00:22/00:40] install: hyph-utf8 [16k]

Emm……

我又装了一个纯净版的 texlive,只装 hyph-utf8 一个包,发现似乎并没有装全,包含 hyph-utf8 只有这些文件:

/tmp/texlive/texmf-dist/tex/luatex/hyph-utf8
/tmp/texlive/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua
/tmp/texlive/texmf-dist/tex/luatex/hyph-utf8/etex.src
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-qx.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-l7x.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t2a.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-lth.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-ec.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-lmc.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-il2.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-t8m.tex
/tmp/texlive/texmf-dist/tex/generic/hyph-utf8/conversions/conv-utf8-il3.tex
/tmp/texlive/tlpkg/tlpobj/hyph-utf8.tlpobj

等会去邮件列表问一下吧。

stone-zeng commented 2 years ago

看起来那边已经恢复了,虽然暂时我还没搞清楚是什么的问题……

atxy-blip commented 2 years ago

确实莫名其妙活了,辛苦半夜回复!