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

lualatex.fmt is incorrectly created in the output directory #1598

Open
1 task done
PHPirates opened this issue Feb 26, 2025 · 1 comment
Open
1 task done

lualatex.fmt is incorrectly created in the output directory #1598

PHPirates opened this issue Feb 26, 2025 · 1 comment

Comments

@PHPirates
Copy link

After clicking 'check for updates' in the MiKTeX console, compilation fails on a missing lualatex.fmt file.

To reproduce:

  • Go to the MiKTeX console and click 'check for updates', then wait for the check to complete
  • Run lualatex -output-directory=out small2e

Expected result

Pdf file created in out directory

Actual result

The out directory only contains lualatex.log, texsys.aux and lualatex.fmt, and the compilation fails with

2025-02-26 10:36:20,030+0100 ERROR lualatex - output:
2025-02-26 10:36:20,030+0100 ERROR lualatex - Building format 'lualatex' with engine 'luahbtex'...

Sorry, but: Windows API error 2: The system cannot find the file specified.

2025-02-26 10:36:20,030+0100 FATAL lualatex.core - The memory dump file could not be found.
2025-02-26 10:36:20,030+0100 FATAL lualatex.core - Data: fileName="lualatex.fmt"
2025-02-26 10:36:20,030+0100 FATAL lualatex.core - Source: Programs\TeXAndFriends\luatex\miktex\miktex.cpp:74
2025-02-26 10:36:20,030+0100 FATAL lualatex - The memory dump file could not be found.
2025-02-26 10:36:20,031+0100 FATAL lualatex - Info: fileName="lualatex.fmt"
2025-02-26 10:36:20,031+0100 FATAL lualatex - Source: Programs\TeXAndFriends\luatex\miktex\miktex.cpp
2025-02-26 10:36:20,031+0100 FATAL lualatex - Line: 74

Background info

LuaHBTeX, Version 1.21.0 (MiKTeX 25.2)

The second compilation succeeds, but checking for updates will again reproduce it.
The issue is not present when using pdflatex, or when not using an output directory.

miktex-report.txt

miktex-logs.zip

edocevoli added a commit that referenced this issue Mar 1, 2025
@koobs
Copy link

koobs commented Mar 3, 2025

HI @edocevoli 👋🏽 I hit this issue after updating miktex yesterday and was thankful to have found it already reported and resolved.

Do you have a plan for the next point release date that includes this bugfix given the scope of the impact? Alternatively, is there a location (CI, or otherwise) where one can obtain an updated release or binary to test this fix for you in the meantime?

I'm currently blocked with a fresh (outdated, cannot update) miktex installation, and Eisvogel template (https://github.com/Wandmalfarbe/pandoc-latex-template) errors/wants ! Package pagecolor Error: Newer LaTeX format needed or older pagecolor package

Thank you for your ongoing effort with MiKtTeX ❤

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

No branches or pull requests

2 participants