[Bug 1176557] New: lualatex seem not to be configured correctly
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557 Bug ID: 1176557 Summary: lualatex seem not to be configured correctly Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: openSUSE Tumbleweed Status: NEW Severity: Normal Priority: P5 - None Component: Other Assignee: screening-team-bugs@suse.de Reporter: gm.venekamp@quicknet.nl QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Using TW 20200909 I am getting an error when using lualatex. The sample document is: ``` \documentclass[a4paper]{article} \begin{document} \end{document} ``` When trying to compile I get the following error: ```
lualatex s.tex This is LuaHBTeX, Version 1.12.0 (TeX Live 2020/TeX Live for SUSE Linux) restricted system commands enabled.
---! lualatex.fmt was written by luatex (Fatal format file error; I'm stymied) ``` After editing the file: ``` /etc/texmf/web2c/fmtutil.cnf ``` and taking a lucky guess at changing the config it now works for me. The three commented out lines below are the original lines in the config file and directly below are the lines that seem to fix my issue. However, I simply took an educated guess here. ``` # from latex-bin: latex pdftex language.dat -translate-file=cp227.tcx *latex.ini pdflatex pdftex language.dat -translate-file=cp227.tcx *pdflatex.ini #dvilualatex luatex language.dat,language.dat.lua dvilualatex.ini #lualatex luatex language.dat,language.dat.lua lualatex.ini #luajitlatex luajittex language.dat,language.dat.lua lualatex.ini dvilualatex lualatex language.dat,language.dat.lua dvilualatex.ini lualatex lualatex language.dat,language.dat.lua lualatex.ini luajitlatex luajitlatex language.dat,language.dat.lua lualatex.ini ``` Regards, Gerben -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c1
Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c2
--- Comment #2 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c3
--- Comment #3 from Dr. Werner Fink
Current link:
# ll /usr/bin/lualatex lrwxrwxrwx 1 root root 8 Aug 25 21:33 /usr/bin/lualatex -> luahbtex
After reverting the changes done in: /etc/texmf/web2c/fmtutil.cnf and running fmtutil --byfmt lualatex.fmt
About which changes you are talking about? ... Ohmm I'm not aware that there is set luahbtex as engine for lualatex. At least I do not see such a change in one of my patches
and finally running: ln -sf luatex /usr/bin/lualatex as root
# ll /usr/bin/lualatex lrwxrwxrwx 1 root root 6 Sep 19 07:47 /usr/bin/lualatex -> luatex
the LaTeX document compiles.
Thanks, Gerben
-- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c4
--- Comment #4 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c5
--- Comment #5 from G.M. Venekamp
Ohmm I'm not aware that there is set luahbtex as engine for lualatex. At least I do not see such a change in one of my patches
This was what I found, before I changed it. # ll /usr/bin/lualatex lrwxrwxrwx 1 root root 8 Aug 25 21:33 /usr/bin/lualatex -> luahbtex Well, this I never touched myself before. It is what the packages themselves have installed. As far as I know, this is 'original'. Regards, Gerben -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c6
--- Comment #6 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c7
--- Comment #7 from G.M. Venekamp
ll /usr/bin/lualatex lrwxrwxrwx 1 root root 8 Sep 23 21:19 /usr/bin/lualatex -> luahbtex
Applying your suggested fix: # ln -sf luatex /usr/bin/lualatex The LaTeX document compiles again. LuaHBTeX is apparently something new and improves hte shaping of various scripts. Some info can be found here: https://www.latex-project.org/news/latex2e-news/ltnews31.pdf Regards, Gerben -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c8
--- Comment #8 from Dr. Werner Fink
I just finished a zypper dup and I am now on:
# cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20200923"
Testing a LaTeX document fails with the same error again.
LC_ALL=C lualatex sram-for-u2connect.tex This is LuaHBTeX, Version 1.12.0 (TeX Live 2020/TeX Live for SUSE Linux) restricted system commands enabled.
---! lualatex.fmt was written by luatex (Fatal format file error; I'm stymied)
This is what I have after zypper dup:
ll /usr/bin/lualatex lrwxrwxrwx 1 root root 8 Sep 23 21:19 /usr/bin/lualatex -> luahbtex
Applying your suggested fix:
# ln -sf luatex /usr/bin/lualatex
The LaTeX document compiles again.
LuaHBTeX is apparently something new and improves hte shaping of various scripts. Some info can be found here: https://www.latex-project.org/news/latex2e-news/ltnews31.pdf
Regards, Gerben
Yes upstream has switched to luahbtex as engine in fmtutil.cnf ... please run as root fmtutil-sys --refresh then try again to see if this does help as this should refresh the format files which then should be luahbtex based. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c9
--- Comment #9 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c10
--- Comment #10 from Dr. Werner Fink
I am guessing you would like me to undo the:
ln -sf luatex /usr/bin/lualatex
fix and restore it with
ln -sf luahbtex /usr/bin/lualatex
Indeed this should be done also if fmtutil does not -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c11
--- Comment #11 from G.M. Venekamp
LC_ALL=C lualatex sram-for-u2connect.tex This is LuaHBTeX, Version 1.12.0 (TeX Live 2020/TeX Live for SUSE Linux) restricted system commands enabled.
---! lualatex.fmt was written by luatex (Fatal format file error; I'm stymied) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c12
--- Comment #12 from Dr. Werner Fink
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c13
--- Comment #13 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c14
--- Comment #14 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c15
--- Comment #15 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c16
--- Comment #16 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c17
--- Comment #17 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c18
--- Comment #18 from G.M. Venekamp
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557
http://bugzilla.opensuse.org/show_bug.cgi?id=1176557#c20
G.M. Venekamp
participants (1)
-
bugzilla_noreply@suse.com