FS#21193 - [texlive-bin] luatex broken on x86_64 when lua is installed

Attached to Project: Arch Linux
Opened by Christian Neukirchen (chneukirchen) - Monday, 11 October 2010, 16:43 GMT
Last edited by Rémy Oudompheng (remyoudompheng) - Saturday, 16 October 2010, 10:50 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Rémy Oudompheng (remyoudompheng)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

luatex apparently uses the system luac when found. This generates
invalid/luatex-unloadable .luc files on x64.

Additional info:
* lua 5.1.4-6
* texlive-bin 2010.1-2

(I think this bug existed in TeXLive 2009 too.)

Steps to reproduce:

% sudo pacman -S texlive-core lua
% luatools --generate
% context null
...
LuaTools | saving merge from cont-en.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/share/texmf-dist/tex/context/base/cont-en.tex" \dump

cont-en.luc: bad header in precompiled chunk

Expected output:
% context null
...
Beginning to dump on file cont-en.fmt
...
*
This task depends upon

Closed by  Rémy Oudompheng (remyoudompheng)
Saturday, 16 October 2010, 10:50 GMT
Reason for closing:  Fixed
Comment by Rémy Oudompheng (remyoudompheng) - Monday, 11 October 2010, 16:57 GMT
I cannot reproduce this issue.
Comment by Christian Neukirchen (chneukirchen) - Monday, 11 October 2010, 17:23 GMT
You need to clear ~/.texlive first, sorry, to force a format rebuild.

Renaming /usr/bin/luac also "fixes" the issue.
Comment by Rémy Oudompheng (remyoudompheng) - Monday, 11 October 2010, 17:47 GMT
Sorry, I did not notice that i686 is not affected.
Comment by Rémy Oudompheng (remyoudompheng) - Monday, 11 October 2010, 19:59 GMT
This due to a missing symlink texluac -> luatex, I will upload a package shipping it.
Comment by Rémy Oudompheng (remyoudompheng) - Wednesday, 13 October 2010, 14:39 GMT
Please try with 2010.1-4, which is available in the [extra] repository.
Comment by Christian Neukirchen (chneukirchen) - Saturday, 16 October 2010, 10:40 GMT
Works now as expected, thanks for the fix.

Loading...