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=permissions fails because it looks for luaotfload-names.luc in uncompressed format #282

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)

luaotfload | diagnose : =============== file permissions ==============
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/.
luaotfload | diagnose : Owner: 1000, group 1000, permissions rwxr-xr-x.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/names.
luaotfload | diagnose : Owner: 1000, group 1000, permissions rwxr-xr-x.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/names/luaotfload-names.lua.gz.
luaotfload | diagnose : Owner: 1000, group 1000, permissions rw-r--r--.
luaotfload | diagnose : Readable: ok.
luaotfload | diagnose : Writable: ok.
luaotfload | diagnose : Checking permissions of /home/username/.texlive2024/texmf-var/luatex-cache/generic/names/luaotfload-names.luc.

attr    /home/username/.texlive2024/texmf-var/luatex-cache/generic/names/luaotfload-names.luc   nil

This fails because the file doesn't exist. luaotfload-names.luc is present, but only in compressed format as luaotfload-names.luc.gz. This is apparently fine when using LuaTeX but not fine with luaotfload-tool.

Comparison/Related

I'm reporting separately from #281 as the cause seems different and, unlike that bug, this one doesn't appear to have existed in 2020. #168 says that 'all other self-tests' --- presumably including the permissions check --- were fine.

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 dc14435

@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