Bug#419016: texlive-base-bin: fmtutil does not keep log file after build failure
Package: texlive-base-bin
Version: 2007-2
Severity: normal
Hi,
there are two ways a format generation can fail: Either the tex command
exits nonzero, or there is an error sign in the logfile. fmtutil keeps
the logfile only in the second case:
mkdir -p $fulldestdir
if test -f $fmtfile; then
grep '^! ' $format.log >/dev/null 2>&1 &&
log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' possibly failed."
rm -f "$fulldestdir/$format.log"
# We don't want user-interaction for the following "mv" commands:
mv "$format.log" "$fulldestdir/$format.log" </dev/null
if mv "$fmtfile" "$fulldestdir/$fmtfile" </dev/null; then
verboseMsg "$progname: $fulldestdir/$fmtfile installed."
#
$mktexfmtMode && $mktexfmtFirst \
&& echo "$fulldestdir/$fmtfile" && mktexfmtFirst=false
#
mktexupd "$fulldestdir" "$fmtfile"
fi
else
log_failure "\`$engine -ini $tcxflag $jobswitch $prgswitch $texargs' failed"
fi
Which is annyoing in particular for debugging the failure of jadetex
when tl-lang-cyrillic is installed.
Regards, Frank
--
Dr. Frank Küster
Single Molecule Spectroscopy, Protein Folding @ Inst. f. Biochemie, Univ. Zürich
Debian Developer (teTeX/TeXLive)
Reply to: