[tex-live] Error with LuaLaTeX after last update

Karl Berry karl at freefriends.org
Sun Apr 15 00:36:55 CEST 2012


Hi Enrico,

        Could not undump 27303 1-byte item(s): <fd:3>: unexpected end of file.

The MacOSX binaries have not changed since the 2011 release, as usual.
All that changed was a small fix to the fmtutil script (ironically for
the sake of MacOSX; diff below).  So I suspect the problem would have
happened at any time formats were rebuilt.

It's not clear to me why the script update should have caused any
formats to be rebuilt.  I wasn't expecting that.

What the problem actually is, I don't know.  Maybe the hardware or OS
version changed between the time you installed TL and now?  Anyway,
if you run (from the shell)
fmtutil-sys --byfmt lualatex
it should hopefully tell you about log files to look in.

karl

--- fmtutil	(revision 25899)
+++ fmtutil	(working copy)
@@ -59,7 +59,7 @@
 
 progname=fmtutil
 argv0=$0
-version='$Id: fmtutil 23149 2011-06-27 21:32:19Z karl $'
+version='$Id: fmtutil 25899 2012-04-09 23:09:26Z karl $'
 
 cnf=fmtutil.cnf   # name of the config file
 export PATH
@@ -419,9 +419,10 @@
   need_find_hyphenfile=false
   cfgparam=
   cfgmaint=
-  tmpdir=${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$
   verboseFlag=true
   noAbortFlag=false
+  # eradicate double slashes to avoid kpathsea expansion.
+  tmpdir=`echo ${TMPDIR-${TEMP-${TMP-/tmp}}}/$progname.$$ | sed s,//,/,g`
 
   # mktexfmtMode: if called as mktexfmt, set to true. Will echo the
   # first generated filename after successful generation to stdout then


More information about the tex-live mailing list