Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luaotfload-tool --diagnose=files fails due to missing mktests mkcharacters mkglyphlist mkimport mkstatus #281

Open
cfr42 opened this issue Apr 14, 2024 · 2 comments
Labels
fixed in dev already fixed

Comments

@cfr42
Copy link

cfr42 commented Apr 14, 2024

Ref.: https://tex.stackexchange.com/q/715533/ (but the question describes multiple luaotfload-tool bugs) and Max Chernoff's comment.

$ luaotfload-tool --diagnose=files
luaotfload | diagnose : ================ verify files =================
luaotfload | diagnose : Luaotfload revision 73dac18445938c6c54118045944817c4e8c59a1c.
luaotfload | diagnose : Committed by Marcel Fabian Krüger <[email protected]>.
luaotfload | diagnose : Timestamp 2024-02-28 06:18:10 +0100.
luaotfload | diagnose : Testing 88 files for integrity.
<successful lines omitted>
luaotfload | diagnose : FAILED: file mktests missing.
luaotfload | diagnose : FAILED: file mkstatus missing.
luaotfload | diagnose : FAILED: file mkcharacters missing.
luaotfload | diagnose : FAILED: file mkglyphlist missing.
luaotfload | diagnose : FAILED: file mkimport missing.
<successful lines omitted>
luaotfload | diagnose : ===============================================
WARNING
===============================================

The diagnostic detected 5 errors.

This version of luaotfload may have been
tampered with. Modified versions of the
luaotfload source are unsupported. Read the log
carefully and get a clean version from CTAN or
github:

× http://www.ctan.org/pkg/luaotfload
× https://github.com/latex3/luaotfload/releases

If you are uncertain as to how to proceed, then
ask on the lualatex mailing list:

http://www.tug.org/mailman/listinfo/lualatex-dev

===============================================

2020 history

This was reported in #168 and was supposed to be fixed by 6d74670, so I'm not sure if this is a regression or if that commit only ever fixed the other bug, since the original report described two.

Version details

$ luaotfload-tool --version

luaotfload-tool:
Luaotfload font management and diagnostic utility.
License: GNU GPL v2.0.
Report problems to <https://github.com/latex3/luaotfload/issues>

luaotfload-tool version: "3.28"
Revision: nil
Lua interpreter: stock; version "Lua 5.3"
Luatex version: 1.18
Platform: type=unix name=linux
+  machine: x86_64
+ nodename: MyComputer
+  release: 6.8.2-arch2-1
+  sysname: Linux
+  version: #1 SMP PREEMPT_DYNAMIC Thu, 28 Mar 2024 17:06:35 +0000
Index: version=6 created="2024-03-26 19:18:36" modified="2024-04-05 01:10:24"

and

$ tlmgr info luaotfload
package:     luaotfload
category:    Package
shortdesc:   OpenType 'loader' for Plain TeX and LaTeX
longdesc:    The package adopts the TrueType/OpenType Font loader code provided in ConTeXt, and adapts it to use in Plain TeX and LaTeX. It works under LuaLaTeX only.
installed:   Yes
revision:    70232
sizes:       src: 25k, doc: 1105k, run: 7665k, bin: 5k
relocatable: No
cat-version: 3.28
cat-license: gpl2
cat-topics:  font-use luatex
cat-contact-support: https://github.com/latex3/luaotfload/issues
cat-contact-repository: https://github.com/latex3/luaotfload
collection:  collection-luatex
@zauguin
Copy link
Member

zauguin commented Apr 27, 2024

Resolved in dev by excluding these files from the tests.

This leaved the question if --diagnose=files is useful at all. There are some edge cases where it might help identifying issues, but modified files don't seem that common to require special tooling support.

@zauguin zauguin added the fixed in dev already fixed label Apr 27, 2024
@wilx
Copy link

wilx commented Oct 19, 2024

It looks to me that I am hitting this as well. Is there a plan to do a release that can be downloaded with TeX Live update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in dev already fixed
Projects
None yet
Development

No branches or pull requests

3 participants