![](https://secure.gravatar.com/avatar/da275274bab3cdbc839a9d0e8f2c2299.jpg?s=120&d=mm&r=g)
What I mean is this: in the full path "/usr/texbin/luatex", "texbin" can be a symlink to a different directory and that will be followed, but if "luatex" itself is a symlink to a file in a different directory, that will not be noticed.
I think this should be just fine for the moment ...
Extended report ... in short, format compilation fails because of file location problems. Apparently generating the LuaTeX cache succeeds though. See below. --- bash# luatools --generate --verbose LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | following symlink /usr/texbin to /usr/local/context/ 2008-05-24-beta/texmf-osx-intel/bin LuaTools | variable SELFAUTOLOC set to /usr/local/context/2008-05-24- beta/texmf-osx-intel/bin LuaTools | variable SELFAUTODIR set to /usr/local/context/2008-05-24- beta/texmf-osx-intel/bin/.. LuaTools | variable SELFAUTOPARENT set to /usr/local/context/ 2008-05-24-beta/texmf-osx-intel/bin/../.. LuaTools | variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/ share,}/texmf{-local,.local,}/web2c} LuaTools | loading configuration file /usr/local/context/2008-05-24- beta/texmf/web2c/texmfcnf.lua LuaTools | loading /usr/local/context/2008-05-24-beta/texmf/web2c/ texmf.cnf LuaTools | preparing configuration for /usr/local/context/2008-05-24- beta/texmf/web2c LuaTools | saving configuration in /usr/local/context/2008-05-24-beta/ texmf-cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/ trees/01087b0ca69d21f3ef3ffa1e45445465.tma LuaTools | compiling configuration to /usr/local/context/2008-05-24- beta/texmf-cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/ trees/01087b0ca69d21f3ef3ffa1e45445465.tmc LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- project LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- fonts LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- local LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- context LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- extra LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf LuaTools | scanning path /usr/local/context/2008-05-24-beta/texmf-local LuaTools | 0 files found on 0 directories with 0 uppercase remappings LuaTools | scanning path /usr/local/context/2008-05-24-beta/texmf- context LuaTools | 1349 files found on 125 directories with 0 uppercase remappings LuaTools | scanning path /usr/local/context/2008-05-24-beta/texmf LuaTools | 1550 files found on 82 directories with 60 uppercase remappings LuaTools | preparing files for /usr/local/context/2008-05-24-beta/texmf LuaTools | saving files in /usr/local/context/2008-05-24-beta/texmf- cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 058e57e5173e90883a3ba926c33fe22d.tma LuaTools | compiling files to /usr/local/context/2008-05-24-beta/texmf- cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 058e57e5173e90883a3ba926c33fe22d.tmc LuaTools | preparing files for /usr/local/context/2008-05-24-beta/ texmf-context LuaTools | saving files in /usr/local/context/2008-05-24-beta/texmf- cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 3c541a92ee2a3a79f77458e195b0a0f8.tma LuaTools | compiling files to /usr/local/context/2008-05-24-beta/texmf- cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 3c541a92ee2a3a79f77458e195b0a0f8.tmc LuaTools | preparing files for /usr/local/context/2008-05-24-beta/ texmf-local LuaTools | saving files in /usr/local/context/2008-05-24-beta/texmf- cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 678bda37a3a32e3b1917a023bf896e91.tma LuaTools | compiling files to /usr/local/context/2008-05-24-beta/texmf- cache/luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 678bda37a3a32e3b1917a023bf896e91.tmc LuaTools | LuaTools | runtime: 0.255 seconds --- So far, so good. Now creating the format fails although the file texmf- context/tex/context/base/context.tex is present and perfectly readable :-( --- bash# luatools --ini --compile --verbose cont-en LuaTools | version 1.2.0 - 2006+ - PRAGMA ADE / CONTEXT LuaTools | following symlink /usr/texbin to /usr/local/context/ 2008-05-24-beta/texmf-osx-intel/bin LuaTools | variable SELFAUTOLOC set to /usr/local/context/2008-05-24- beta/texmf-osx-intel/bin LuaTools | variable SELFAUTODIR set to /usr/local/context/2008-05-24- beta/texmf-osx-intel/bin/.. LuaTools | variable SELFAUTOPARENT set to /usr/local/context/ 2008-05-24-beta/texmf-osx-intel/bin/../.. LuaTools | variable TEXMFCNF set to {$SELFAUTODIR,$SELFAUTOPARENT}{,{/ share,}/texmf{-local,.local,}/web2c} LuaTools | loading configuration file /usr/local/context/2008-05-24- beta/texmf/web2c/texmfcnf.lua LuaTools | loading configuration for /usr/local/context/2008-05-24- beta/texmf/web2c from /usr/local/context/2008-05-24-beta/texmf-cache/ luatex-cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 01087b0ca69d21f3ef3ffa1e45445465 LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- project LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- fonts LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- local LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- context LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf- extra LuaTools | locating list of /usr/local/context/2008-05-24-beta/texmf LuaTools | loading files for /usr/local/context/2008-05-24-beta/texmf- local from /usr/local/context/2008-05-24-beta/texmf-cache/luatex-cache/ context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 678bda37a3a32e3b1917a023bf896e91 LuaTools | loading files for /usr/local/context/2008-05-24-beta/texmf- context from /usr/local/context/2008-05-24-beta/texmf-cache/luatex- cache/context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 3c541a92ee2a3a79f77458e195b0a0f8 LuaTools | loading files for /usr/local/context/2008-05-24-beta/texmf from /usr/local/context/2008-05-24-beta/texmf-cache/luatex-cache/ context/e09ab1c5fd12ff1663572f339200d7b9/trees/ 058e57e5173e90883a3ba926c33fe22d LuaTools | creating initialization file cont-en LuaTools | using library path : /usr/local/context/2008-05-24-beta/ texmf-context/tex/context/base LuaTools | using lua libraries: l-string.lua l-lpeg.lua l-table.lua l- boolean.lua l-number.lua l-set.lua l-unicode.lua l-md5.lua l-os.lua l- io.lua l-file.lua l-url.lua l-dir.lua l-utils.lua l-tex.lua luat- env.lua luat-lib.lua luat-inp.lua luat-tmp.lua luat-zip.lua luat-tex.lua LuaTools | using compiled initialization file cont-en.luc LuaTools | using lua initialization file cont-en.luc LuaTools | running command: luatex --ini --lua="cont-en.luc" "/usr/ local/context/2008-05-24-beta/texmf-context/tex/context/base/cont- en.tex" \\dump (/usr/local/context/2008-05-24-beta/texmf-context/tex/context/base/ cont-en.tex ! I can't find file `context.tex'. l.16 \input context.tex Please type another input file name: ^C bash# ! Emergency stop. l.16 \input context.tex mkiv lua stats : used config path - /usr/local/context/2008-05-24- beta/texmf/web2c/texmf.cnf mkiv lua stats : used cache path - /Users/oliver mkiv lua stats : input load time - 0.005 seconds mkiv lua stats : current memory usage - 612076 bytes mkiv lua stats : node memory usage - 1 dir --- Strangely LuaTeX seems to use yet another cache path during format generation. I'm puzzled. Oliver