Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
Control: block -1 by 922500
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
Control: 922500 blocks -1 Control: severity -1 minor Control: tags -1 + wontfix On 27.02.2023 13:29, Gard Spreemann wrote: Hilmar Preuße writes: Hi, The issue is reported against texlive-binaries: #922500 . Fair enough - feel free to close #1031949 then. Thanks, and sorry for the noise :-) I add a statement, that the other bug blocks this here to make it more visible on both packages. H.
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
Hilmar Preuße writes: > The issue is reported against texlive-binaries: > #922500 . Fair enough - feel free to close #1031949 then. Thanks, and sorry for the noise :-) -- Gard signature.asc Description: PGP signature
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
The issue is reported against texlive-binaries: #922500 . Hilmar 26.02.2023 10:24:20 Gard Spreemann : > > Norbert Preining writes: > >>> that my user had set. But it still seems like a bug that postinst fails >>> if the system doesn't have a certain locale. Or maybe I'm viewing this >>> incorrectly? >> >> Yes, you do ;-) >> >> Certain programs, in this case luatex, require correct locale setup to >> work. It would be nice if we could detect these problems beforehand and >> warn the user with a clear message, but also this is non-trivial. >> >> If the locale are incorrectly setup, there is not much to do but fail. >> >> Think about: You could configure to set your shell to >> /bin/IamNotThereBash >> and it would of course create a lot of problems. Maintainer scripts >> cannot work around all possible misconfiguration of a system. > > Fair enough - you've convinved me :-) > > But should this bug remain open, with lowered severity and a better > title and description, to document this fact for users? Unless there's > already a bug covering this matter. > > Thanks for the help. > > Best, > Gard
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
Norbert Preining writes: >> that my user had set. But it still seems like a bug that postinst fails >> if the system doesn't have a certain locale. Or maybe I'm viewing this >> incorrectly? > > Yes, you do ;-) > > Certain programs, in this case luatex, require correct locale setup to > work. It would be nice if we could detect these problems beforehand and > warn the user with a clear message, but also this is non-trivial. > > If the locale are incorrectly setup, there is not much to do but fail. > > Think about: You could configure to set your shell to > /bin/IamNotThereBash > and it would of course create a lot of problems. Maintainer scripts > cannot work around all possible misconfiguration of a system. Fair enough - you've convinved me :-) But should this bug remain open, with lowered severity and a better title and description, to document this fact for users? Unless there's already a bug covering this matter. Thanks for the help. Best, Gard signature.asc Description: PGP signature
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
> that my user had set. But it still seems like a bug that postinst fails > if the system doesn't have a certain locale. Or maybe I'm viewing this > incorrectly? Yes, you do ;-) Certain programs, in this case luatex, require correct locale setup to work. It would be nice if we could detect these problems beforehand and warn the user with a clear message, but also this is non-trivial. If the locale are incorrectly setup, there is not much to do but fail. Think about: You could configure to set your shell to /bin/IamNotThereBash and it would of course create a lot of problems. Maintainer scripts cannot work around all possible misconfiguration of a system. Best Norbert -- PREINING Norbert https://www.preining.info Mercari Inc. + IFMGA Guide + TU Wien + TeX Live GPG: 0x860CDC13 fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
Hilmar Preusse writes: > On 25.02.23 Gard Spreemann (g...@nonempty.org) wrote: > > Hi Gard, > >> Installing a combination like >> >> texlive-latex-base texlive-latex-recommended texlive-latex-extra >> texlive-pictures texlive-luatex texlive-pictures-doc >> >> on a fresh Bullseye system with no TeX packages present fails with >> >> Building format(s) --all. >> This may take some time... >> fmtutil failed. Output has been stored in >> /tmp/fmtutil.LCLt5oyh >> Please include this file if you report a bug. >> > > Does [1] describe and (eventually) solve your issue? > Hi Hilmar, It seems to describe it, yes. And I solved it by generating the locales that my user had set. But it still seems like a bug that postinst fails if the system doesn't have a certain locale. Or maybe I'm viewing this incorrectly? Best, Gard signature.asc Description: PGP signature
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
On 25.02.23 Gard Spreemann (g...@nonempty.org) wrote: Hi Gard, > Installing a combination like > > texlive-latex-base texlive-latex-recommended texlive-latex-extra > texlive-pictures texlive-luatex texlive-pictures-doc > > on a fresh Bullseye system with no TeX packages present fails with > > Building format(s) --all. > This may take some time... > fmtutil failed. Output has been stored in > /tmp/fmtutil.LCLt5oyh > Please include this file if you report a bug. > Does [1] describe and (eventually) solve your issue? Hilmar [1] https://tex.stackexchange.com/questions/542145/installation-error-on-ubuntu -- sigmentation fault signature.asc Description: PGP signature
Bug#1031949: tex-common: fmtutil fails to copy logs, installation fails
Package: tex-common Version: 6.16 Severity: normal Dear Maintainer, Installing a combination like texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-pictures texlive-luatex texlive-pictures-doc on a fresh Bullseye system with no TeX packages present fails with Building format(s) --all. This may take some time... fmtutil failed. Output has been stored in /tmp/fmtutil.LCLt5oyh Please include this file if you report a bug. dpkg: error processing package tex-common (--configure): installed tex-common package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: tex-common E: Sub-process /usr/bin/dpkg returned an error code (1) Bug #1016055 seems related, but was closed as caused by a full filesystem. On my system, the partition in question has hundreds of GB free. The log file mentioned above contains: fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order): fmtutil: /usr/share/texmf/web2c/fmtutil.cnf fmtutil: /usr/share/texlive/texmf-dist/web2c/fmtutil.cnf fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes: fmtutil: /etc/texmf/web2c/fmtutil.cnf fmtutil [INFO]: writing formats under /var/lib/texmf/web2c fmtutil [INFO]: --- remaking luatex with luatex fmtutil: running `luatex -ini -jobname=luatex -progname=luatex luatex.ini' ... Unable to read environment locale: exit now. fmtutil [INFO]: --- remaking tex with tex fmtutil: running `tex -ini -jobname=tex -progname=tex tex.ini' ... This is TeX, Version 3.14159265 (TeX Live 2020/Debian) (INITEX) (/usr/share/texlive/texmf-dist/tex/plain/config/tex.ini (/usr/share/texlive/texmf-dist/tex/plain/base/plain.tex Preloading the plain format: codes, registers, parameters, fonts, more fonts, macros, math definitions, output routines, hyphenation (/usr/share/texlive/texmf-dist/tex/generic/hyphen/hyphen.tex)) ) Beginning to dump on file tex.fmt (preloaded format=tex 2023.2.25) 2027 strings of total length 29296 4990 memory locations dumped; current usage is 110&4877 926 multiletter control sequences \font\nullfont=nullfont \font\tenrm=cmr10 \font\preloaded=cmr9 \font\preloaded=cmr8 \font\sevenrm=cmr7 \font\preloaded=cmr6 \font\fiverm=cmr5 \font\teni=cmmi10 \font\preloaded=cmmi9 \font\preloaded=cmmi8 \font\seveni=cmmi7 \font\preloaded=cmmi6 \font\fivei=cmmi5 \font\tensy=cmsy10 \font\preloaded=cmsy9 \font\preloaded=cmsy8 \font\sevensy=cmsy7 \font\preloaded=cmsy6 \font\fivesy=cmsy5 \font\tenex=cmex10 \font\preloaded=cmss10 \font\preloaded=cmssq8 \font\preloaded=cmssi10 \font\preloaded=cmssqi8 \font\tenbf=cmbx10 \font\preloaded=cmbx9 \font\preloaded=cmbx8 \font\sevenbf=cmbx7 \font\preloaded=cmbx6 \font\fivebf=cmbx5 \font\tentt=cmtt10 \font\preloaded=cmtt9 \font\preloaded=cmtt8 \font\preloaded=cmsltt10 \font\tensl=cmsl10 \font\preloaded=cmsl9 \font\preloaded=cmsl8 \font\tenit=cmti10 \font\preloaded=cmti9 \font\preloaded=cmti8 \font\preloaded=cmti7 \font\preloaded=cmu10 \font\preloaded=cmmib10 \font\preloaded=cmbsy10 \font\preloaded=cmcsc10 \font\preloaded=cmssbx10 \font\preloaded=cmdunh10 \font\preloaded=cmr7 at 14.51799pt \font\preloaded=cmtt10 at 14.4pt \font\preloaded=cmssbx10 at 14.4pt \font\preloaded=manfnt 14787 words of font info for 50 preloaded fonts 14 hyphenation exceptions Hyphenation trie of length 6075 has 181 ops out of 35111 181 for language 0 No pages of output. Transcript written on tex.log. fmtutil [INFO]: log file copied to: /var/lib/texmf/web2c/tex/tex.log fmtutil [INFO]: /var/lib/texmf/web2c/tex/tex.fmt installed. fmtutil [INFO]: --- remaking pdftex with pdftex fmtutil: running `pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini' ... This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (INITEX) restricted \write18 enabled. (/usr/share/texlive/texmf-dist/web2c/cp227.tcx) entering extended mode (/usr/share/texlive/texmf-dist/tex/plain/config/pdfetex.ini (/var/lib/texmf/tex/generic/tex-ini-files/pdftexconfig.tex) (/usr/share/texlive/texmf-dist/tex/plain/etex/etex.src (/usr/share/texlive/texmf-dist/tex/plain/base/plain.tex Preloading the plain format: codes, registers, parameters, fonts, more fonts, macros, math definitions, output routines, hyphenation (/usr/share/texlive/texmf-dist/tex/generic/hyphen/hyphen.tex [skipping from \patterns to end-of-file...])) (/usr/share/texlive/texmf-dist/tex/plain/etex/etexdefs.lib Skipping module "grouptypes"; Loading module "interactionmodes"; Skipping module "nodetypes"; Skipping module "iftypes";) (/var/lib/texmf/tex/generic/config/language.def (/usr/share/texlive/texmf-dist/tex/generic/hyphen/hyphen.tex)) Augmenting the Plain TeX definitions: \tracingall; Adding new e-TeX definitions: \eTeX, \loggingall, \tracingnone, register allocation; extended register allocation; Recycling: \addlanguage, \@nswer (not defined), \@sk, \b@dresponsetrue, \b@dresponsefalse, \ch@ckforyn, \mayber@cycle, \et@xabort,