Bug 274055 - print/miktex: unable to run lualatex
Summary: print/miktex: unable to run lualatex
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-23 19:41 UTC by Gerard Seibert
Modified: 2023-09-28 20:26 UTC (History)
2 users (show)

See Also:


Attachments
luatex log file (6.33 KB, text/plain)
2023-09-23 19:41 UTC, Gerard Seibert
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerard Seibert 2023-09-23 19:41:00 UTC
Created attachment 245172 [details]
luatex log file

FreeBSD 13.2-RELEASE-p3 amd 64

While attempting to run texstudio with miktex, the following errors are shown:

Sorry, but /home/gerard/bin/lualatex did not succeed.
The log file hopefully contains the information to get MiKTeX going again: /home/gerard/.miktex/texmfs/data/miktex/log/miktex-luahbtex.log
__cxa_thread_call_dtors: dtr 0x7003b0 from unloaded dso, skipping __cxa_thread_call_dtors: dtr 0x7003b0 from unloaded dso, skipping __cxa_thread_call_dtors: dtr 0x830586350 from unloaded dso, skipping
Process exited with error(s)

Could not start Build & View:LuaLaTeX:
lualatex -synctex=1 -interaction=nonstopmode "texstudio_nYobUo".tex.

I have attached the log file.
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-09-23 19:45:45 UTC
Are you building from ports or installing from pkg?
Comment 2 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-09-23 19:46:39 UTC
Tomorrow morning I will commit an update to miktex. Install it and let us know.
Comment 3 Gerard Seibert 2023-09-24 10:43:10 UTC
(In reply to Muhammad Moinur Rahman from comment #1)
I am building it from ports using poudriere.
Comment 4 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-09-24 10:46:13 UTC
(In reply to Gerard Seibert from comment #3)
I have just committed a new version of Miktex. Make sure you have a freshly checked out branch.

Unfortunately I cannot do any runtime checking at my end but I can ensure that it build fine.
Comment 5 Gerard Seibert 2023-09-24 15:45:54 UTC
(In reply to Muhammad Moinur Rahman from comment #4)
I am unable to fetch the file. I have been trying all morning. This is the error message:

make fetch
===>   NOTICE:

The miktex port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MULTIPLE accepted by the user
===>   miktex-23.9 depends on file: /usr/local/sbin/pkg - found
=> miktex-zzdb1-2.9.tar.lzma doesn't seem to exist in /usr/ports/distfiles/miktex.
=> Attempting to fetch https://ctan.org/tex-archive/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma
fetch: https://ctan.org/tex-archive/systems/win32/miktex/tm/packages/miktex-zzdb1-2.9.tar.lzma: size mismatch: expected 333309, actual 333464
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/miktex/miktex-zzdb1-2.9.tar.lzma
fetch: http://distcache.FreeBSD.org/ports-distfiles/miktex/miktex-zzdb1-2.9.tar.lzma: size mismatch: expected 333309, actual 204473
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/miktex and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/print/miktex
Comment 6 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2023-09-24 16:37:41 UTC
(In reply to Gerard Seibert from comment #5)
Ah damn. It looks like cache poisining happened at my end as I built using the previous distfiles. I will fix it in tomorrow's build. For now you can fix it with a quick:

> cd <PORTSDIR>/print/miktex
> make distclean && make makesum
Comment 7 commit-hook freebsd_committer freebsd_triage 2023-09-25 07:00:27 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5286c5fc66e1a2715ea8939a750b272203945e43

commit 5286c5fc66e1a2715ea8939a750b272203945e43
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-09-24 17:18:59 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-09-25 06:59:27 +0000

    print/miktex: Update distinfo

    Due to a local cache posining I committed and tested based on the old
    distfiles so update the distinfo.

    PR:             274055
    Reported by:    gerard_seibert@outlook.com

 print/miktex/distinfo | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)