Description of problem: automatic format generation (mktexfmt, which is just a symlink to fmtutil these days) can easily get into in infinite loop and fork new and new processes. It should abort with an error. Version-Release number of selected component (if applicable): texlive-2007-16.fc9 To Reproduce: # mv /usr/share/texmf/tex/latex/latexconfig/latex.ini{,.hide} # rm /var/lib/texmf/web2c/pdftex/{xml,la}tex.fmt # fmtutil-sys --byfmt xmltex 2>&1|less The output looks like this: fmtutil: running `pdftex -ini -jobname=xmltex -progname=xmltex &latex xmltex.ini' ... This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (INITEX) %&-line parsing enabled. kpathsea: Running mktexfmt latex.fmt Sorry, I can't find the format `latex.fmt'; will try `xmltex.fmt'. kpathsea: Running mktexfmt xmltex.fmt fmtutil: running `pdftex -ini -jobname=xmltex -progname=xmltex &latex xmltex.ini' ... Observe that the last verse of the song is exactly the same as the first one: yes, we are there. Expected results: The script should display some politically ioncorrect sentences to express clearly that it does not feel happy ... and then _quit_.
Created attachment 297639 [details] proposed patch
Applied, thanks!
Putting this on the beta tracker, just for keeping people on the same page. Requesting it goes in the beta.
*** Bug 431516 has been marked as a duplicate of this bug. ***
... and I can proudly announce that Karl Berry accepted this fix for the upstream TeXlive. :-)