Bug 261489 - print/miktex: miktex-pdftex fails to run: Unfortunately, the package knuth-lib could not be installed.
Summary: print/miktex: miktex-pdftex fails to run: Unfortunately, the package knuth-li...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2022-01-26 07:57 UTC by Zsolt Udvari
Modified: 2022-01-27 12:07 UTC (History)
1 user (show)

See Also:
koobs: merge-quarterly?


Attachments
miktex-pdftex.log (9.08 KB, text/plain)
2022-01-26 07:57 UTC, Zsolt Udvari
no flags Details
initexmf.log (referenced by miktex-pdftex.log) (16.77 KB, text/plain)
2022-01-26 07:58 UTC, Zsolt Udvari
no flags Details
miktex-makefmt_2022-01-26-085649.out (referenced by initexmf.log) (1.02 KB, text/plain)
2022-01-26 08:00 UTC, Zsolt Udvari
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zsolt Udvari freebsd_committer freebsd_triage 2022-01-26 07:57:48 UTC
Created attachment 231345 [details]
miktex-pdftex.log

I've upgraded miktex with "pkg upgrade". When I try compile with pdflatex a very simple file:
\documentclass{article}
\begin{document}
Hello, World!
\end{document}

Won't build:
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8)
entering extended mode
(x.tex
! Undefined control sequence.
l.1 \documentclass
                  {article}
?

I deleted "old" packages, ~/.miktex, and links from ~/bin and re-run miktex-console ("Finish private setup", and upgrade to a standard TeX installation), same error (the size of ~/.miktex is 223M).
During running of miktex-console, needs restart. After restart drop an error message dialog: "A MikTeX setup issue detected. So far, you have not checked for MikTeX updates. Remedy: Check for MikTeX updates."
Search for updates: "The executed process did not succeed."
Details: "fileName="/usr/local/bin/mkfntmap", exitCode="1""

After it:
This is pdfTeX, Version 3.141592653-2.6-1.40.23 (MiKTeX 21.8)

Sorry, but pdflatex did not succeed.

The log file hopefully contains the information to get MiKTeX going again:

  /home/zsolt/.miktex/texmfs/data/miktex/log/miktex-pdftex.log
Comment 1 Zsolt Udvari freebsd_committer freebsd_triage 2022-01-26 07:58:48 UTC
Created attachment 231346 [details]
initexmf.log (referenced by miktex-pdftex.log)
Comment 2 Zsolt Udvari freebsd_committer freebsd_triage 2022-01-26 08:00:43 UTC
Created attachment 231347 [details]
miktex-makefmt_2022-01-26-085649.out (referenced by initexmf.log)
Comment 3 Zsolt Udvari freebsd_committer freebsd_triage 2022-01-26 09:42:29 UTC
I see the following errors many times:

log4cxx: No appender could be found for logger (mpmcli).
log4cxx: Please initialize the log4cxx system properly.
Comment 4 Zsolt Udvari freebsd_committer freebsd_triage 2022-01-26 09:56:02 UTC
I'm trying https://miktex.org/howto/build-unx "First Steps":

"initexmf --admin --mkmaps":

2022-01-26 10:52:53,845+0100 INFO  mkfntmap - this process (28922) started by 'initexmf' with command line: mkfntmap --admin --enable-installer --miktex-disable-maintenance --miktex-disable-diagnose
2022-01-26 10:52:53,845+0100 INFO  mkfntmap - Entering administrator mode...
2022-01-26 10:52:53,845+0100 INFO  mkfntmap - Parsing config file /usr/local/share/miktex-texmf/miktex/config/updmap.cfg...
2022-01-26 10:52:53,846+0100 FATAL mkfntmap - invalid configuration setting
2022-01-26 10:52:53,846+0100 FATAL mkfntmap - cfg file: /usr/local/share/miktex-texmf/miktex/config/updmap.cfg
2022-01-26 10:52:53,846+0100 FATAL mkfntmap - line: 87
2022-01-26 10:54:10,131+0100 INFO  mkfntmap - this process (29283) started by 'initexmf' with command line: mkfntmap --admin --enable-installer --miktex-disable-maintenance --miktex-disable-diagnose
2022-01-26 10:54:10,131+0100 INFO  mkfntmap - Entering administrator mode...
2022-01-26 10:54:10,131+0100 INFO  mkfntmap - Parsing config file /usr/local/share/miktex-texmf/miktex/config/updmap.cfg...
2022-01-26 10:54:10,132+0100 FATAL mkfntmap - invalid configuration setting
2022-01-26 10:54:10,132+0100 FATAL mkfntmap - cfg file: /usr/local/share/miktex-texmf/miktex/config/updmap.cfg
2022-01-26 10:54:10,132+0100 FATAL mkfntmap - line: 87
2022-01-26 10:55:04,078+0100 INFO  mkfntmap - this process (29607) started by 'initexmf' with command line: mkfntmap --admin --enable-installer --miktex-disable-maintenance --miktex-disable-diagnose
2022-01-26 10:55:04,078+0100 INFO  mkfntmap - Entering administrator mode...
2022-01-26 10:55:04,078+0100 INFO  mkfntmap - Parsing config file /usr/local/share/miktex-texmf/miktex/config/updmap.cfg...
2022-01-26 10:55:04,079+0100 FATAL mkfntmap - invalid configuration setting
2022-01-26 10:55:04,079+0100 FATAL mkfntmap - cfg file: /usr/local/share/miktex-texmf/miktex/config/updmap.cfg
2022-01-26 10:55:04,079+0100 FATAL mkfntmap - line: 87
Comment 5 Kubilay Kocak freebsd_committer freebsd_triage 2022-01-26 22:15:25 UTC
@Reporter What is the installed port/package versions, and what was the last port/package version that worked correctly?
Comment 6 Zsolt Udvari freebsd_committer freebsd_triage 2022-01-27 12:07:37 UTC
The current version is 21.8.
The last version is worked: 21.2_2