Bug 26744 - lualatex wrong link to luatex instead of luahbtex
Summary: lualatex wrong link to luatex instead of luahbtex
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Marc Krämer
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-08 20:22 CEST by Javier GG
Modified: 2020-06-09 22:17 CEST (History)
0 users

See Also:
Source RPM: texlive-20200406-2.mga8.src.rpm
CVE:
Status comment:


Attachments

Description Javier GG 2020-06-08 20:22:41 CEST
Description of problem: lualatex doesn't work

If you run lualatex on a file you get:
This is LuaTeX, Version 1.12.0 (TeX Live 2020/Mageia) 
 restricted system commands enabled.

(Fatal format file error; I'm stymied)

The problem is that /usr/bin/lualatex is a link to /usr/bin/luatex instead of  /usr/bin/luahbtex (in this version of texlive lualatex uses luahbtex as engine).
Comment 1 Lewis Smith 2020-06-08 21:46:22 CEST
Thank you for this report, and your useful diagnostic.
Can you confirm that if you run /usr/bin/luahbtex directly, it works?

[As far as I can tell for Mageia 7, /usr/bin/luahbtex does not exist (lualatex & luatex do); perhaps it is new for M8.]

Assigning to MarcK as the active texlive maintainer.

Summary: lualatex wrong link => lualatex wrong link to luatex instead of luahbtex
Assignee: bugsquad => mageia

Comment 2 Javier GG 2020-06-08 22:30:23 CEST
(In reply to Lewis Smith from comment #1)
> Thank you for this report, and your useful diagnostic.
> Can you confirm that if you run /usr/bin/luahbtex directly, it works?
> 
Indeed it works.

> [As far as I can tell for Mageia 7, /usr/bin/luahbtex does not exist
> (lualatex & luatex do); perhaps it is new for M8.]

 It is new in texlive2020. Mageia 7 has texlive2018.
> 
> Assigning to MarcK as the active texlive maintainer.
Comment 3 Marc Krämer 2020-06-08 23:27:03 CEST
I never used lua(la)tex. lualatex. 
We always linked lualatex to luatex. As far as I can see, the only difference ist "The luahbtex variant can use the HarfBuzz engine for glyph shaping, instead of LuaTeX's built-in shaper."
So in most cases this should not be relevant what to use.

Since this adds a new feature and seems not to have side effects, I change the links.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 4 Javier GG 2020-06-09 16:29:29 CEST
(In reply to Marc Krämer from comment #3)
> I never used lua(la)tex. lualatex. 
> We always linked lualatex to luatex. As far as I can see, the only
> difference ist "The luahbtex variant can use the HarfBuzz engine for glyph
> shaping, instead of LuaTeX's built-in shaper."
> So in most cases this should not be relevant what to use.
> 
> Since this adds a new feature and seems not to have side effects, I change
> the links.
Thank you for your quick answer.

The problem with lualatex is solved but now there are two new regressions. Running a file with dvilulatex you get the error:
 '---! dviluatex.fmt was written by luatex
(Fatal format file error; I'm stymied)'
because now you have linked dvilualatex with luahbtex but, as the error message indicates, dviluatex.fmt was written by luatex (see /usr/share/texmf-dist/web2c/fmtutil.cnf) and therefore must be linked to luatex not to luahbtex. The same is true for dvilatex.
Comment 5 Marc Krämer 2020-06-09 22:17:02 CEST
ok, maybe I still do not understand why this "extension" does not work for them all. Unfortunately I didn't find any documentation about the real difference of 
lualatex and luatex :(

Note You need to log in before you can comment on or make changes to this bug.