FS#78799 - texlive install errors from fmtutil with texlive-basic-2023.66594-9

Attached to Project: Community Packages
Opened by Gene (GeneC) - Thursday, 15 June 2023, 19:39 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 17 June 2023, 20:43 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Antonio Rojas (arojas)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Instaling succeeds but errors are generated - pacman shows the errors. After install, the errors can be produced using

fmtutil -sys --all

Multiple lines of output - the first few lines are:

fmtutil [ERROR]: running `pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `euptex -ini -jobname=euptex -progname=euptex *euptex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [WARNING]: inifile fmttriggers=cm,hyphen-base,knuth-lib,plain for aleph/aleph not found.
fmtutil [ERROR]: no (or empty) hitex.fmt made by: hitex -ini -jobname=hitex -progname=hitex -etex -ltx hitex.ini </dev/null



Additional info:
* package version(s)
texlive-basic 2023.66594-9 (texlive)
texlive-bibtexextra 2023.66594-9 (texlive)
texlive-bin 2023.66984-6
texlive-fontsextra 2023.66594-9 (texlive)
texlive-fontsrecommended 2023.66594-9 (texlive)
texlive-formatsextra 2023.66594-9 (texlive)
texlive-games 2023.66594-9 (texlive)
texlive-humanities 2023.66594-9 (texlive)
texlive-langchinese 2023.66594-9 (texlive-lang)
texlive-langcjk 2023.66594-9 (texlive-lang)
texlive-langcyrillic 2023.66594-9 (texlive-lang)
texlive-langgreek 2023.66594-9 (texlive-lang)
texlive-langjapanese 2023.66594-9 (texlive-lang)
texlive-langkorean 2023.66594-9 (texlive-lang)
texlive-langother 2023.66594-9 (texlive-lang)
texlive-latex 2023.66594-9 (texlive)
texlive-latexextra 2023.66594-9 (texlive)
texlive-latexrecommended 2023.66594-9 (texlive)
texlive-mathscience 2023.66594-9 (texlive)
texlive-music 2023.66594-9 (texlive)
texlive-pictures 2023.66594-9 (texlive)
texlive-plaingeneric 2023.66594-9 (texlive)
texlive-pstricks 2023.66594-9 (texlive)
texlive-publishers 2023.66594-9 (texlive)

Steps to reproduce:
Either :
pacman -Sy texlive-basic

or after the updated packages are installed:
fmtutil -sys --all

This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 17 June 2023, 20:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  texlive-texmf 2023.66594-11
Comment by e (cer0) - Friday, 16 June 2023, 15:17 GMT
I can confirm and reproduce the bug.

~ > fmtutil -sys --all
fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
fmtutil: /etc/texmf/web2c/fmtutil.cnf
fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
fmtutil: /etc/texmf/web2c/fmtutil.cnf
fmtutil [ERROR]: format directory not writable: /var/lib/texmf/web2c


The output of pacman -Sy texlive-basic:

(3/5) Updating TeXLive filename database...
(4/5) Updating TeXLive format files...
fmtutil [ERROR]: running `pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=latex-dev -progname=latex-dev -translate-file=cp227.tcx *latex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=pdflatex-dev -progname=pdflatex-dev -translate-file=cp227.tcx *pdflatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
error: command failed to execute correctly
(5/5) Updating TeXLive font maps...
Comment by Antonio Rojas (arojas) - Friday, 16 June 2023, 23:44 GMT
Should be fixed in 2023.66594-10, please test
Comment by e (cer0) - Saturday, 17 June 2023, 01:38 GMT
Is fixed now, thank you. (:
Comment by Christian Cornelssen (ccorn) - Saturday, 17 June 2023, 06:23 GMT
Not tried the -10 release yet, but looking at the new texlive-language.script,
it looks like no footer is being generated.

Cf. /usr/share/perl5/vendor_perl/TeXLive/TLUtils.pm:3470

According to that and the pre-generated sample, language.def should end in:

```
%%% No changes may be made beyond this point.

\uselanguage {USenglish} %%% This MUST be the last line of the file.
```

`tlmgr help` states (for the `generate` subcommand) that those files are made like you do
(if we disregard language-local.* tweaks), but for language.def, `tlmgr` indeed adds that footer.
Comment by Christian Cornelssen (ccorn) - Saturday, 17 June 2023, 08:32 GMT
Attaching a patch that adds the `\uselanguage` line.

Nice progress!

Now `texlive-fmtutil` leaves only one message:

```
fmtutil [ERROR]: not building aleph due to missing engine: aleph
```

EDIT: Nevermind, texlive-bin rev-7 seems to add aleph.
Comment by Viktor Garske (viktor) - Saturday, 17 June 2023, 09:33 GMT
I can also confirm the issue with 2023.66594-9 and the fix with 2023.66594-10. Thanks!

This package split-up needed some initial manual intervention on my machine though as I installed TeX Live via the texlive-most group and found myself without German language support (ngerman) after the upgrade. A notice via Arch News to install lang packages like texlive-langgerman might prevent confusion for other users.
Comment by Gene (GeneC) - Saturday, 17 June 2023, 09:49 GMT
Thank you - confirm the errors have gone.
Comment by Gene (GeneC) - Saturday, 17 June 2023, 10:13 GMT
Comment removed as referred to messages that are there with previous version.
Sorry for noise.
Comment by Antonio Rojas (arojas) - Saturday, 17 June 2023, 20:42 GMT
@ccorn thanks, fixed in -11

@viktor yes, a news post will be published once this moves to the stable repos

Loading...