[opensuse-support] LaTeX compilation fails with 'mktexfmt [ERROR]: -user mode but path setup is -sys type, bailing out.' - Possible bug?
Dear reader, I want to clarify whether this is a bug I should report or just some minor issue I could not resolve on my own. I decided to do this according to [0]. The system I'm using is an installation of openSUSE Tumbleweed with the transactional-update role/pattern from the Kubic project. It is rather fresh - installation medium was the Tumbleweed NET variant 20201024 snapshot. > cat /etc/os-release NAME="openSUSE Tumbleweed" # VERSION="20201107" ID="opensuse-tumbleweed" ID_LIKE="opensuse suse" VERSION_ID="20201107" PRETTY_NAME="openSUSE Tumbleweed" ANSI_COLOR="0;32" CPE_NAME="cpe:/o:opensuse:tumbleweed:20201107" BUG_REPORT_URL="https://bugs.opensuse.org" HOME_URL="https://www.opensuse.org/" DOCUMENTATION_URL="https://en.opensuse.org/Portal:Tumbleweed" LOGO="distributor-logo" I intended to use lualatex(1) from the TeXLive distribution. > latexmk --version Latexmk, John Collins, 17 Apr. 2020. Version 4.69a > lualatex --version This is LuaHBTeX, Version 1.12.0 (TeX Live 2020/TeX Live for SUSE Linux) Execute 'luahbtex --credits' for credits and version details. [snip] Though when I try to compile my document via latexmk(1) I recieve the following error message: mktexfmt [ERROR]: -user mode but path setup is -sys type, bailing out. and latexmk(1) aborts. The compilation fails. Then I did some research which returned [1-2]. Digging deeper I checked the output of the commands suggested in [2]#c4 (i.e. comment 4 of [2]): > kpsewhich language.dat /etc/texmf/tex/generic/config/language.dat > kpsewhich language.dat.lua /etc/texmf/tex/generic/config/language.dat.lua > kpsewhich language.def /etc/texmf/tex/generic/config/language.def > LANG=C sh -c 'find /usr/share/texmf/ -name language.dat.lua \ -or -name language.def \ -or -name language.dat | xargs ls -gl' lrwxrwxrwx 1 root 59 Aug 25 20:05 /usr/share/texmf/tex/generic/config/language.dat -> ../../../../../../etc/texmf/tex/generic/config/language.dat lrwxrwxrwx 1 root 63 Aug 25 20:05 /usr/share/texmf/tex/generic/config/language.dat.lua -> ../../../../../../etc/texmf/tex/generic/config/language.dat.lua lrwxrwxrwx 1 root 59 Aug 25 20:05 /usr/share/texmf/tex/generic/config/language.def -> ../../../../../../etc/texmf/tex/generic/config/language.def > LANG=C ls -l /run/texlive/ ls: cannot access '/run/texlive/': No such file or directory The symptoms look all the same. Then I followed [2]c#13 and ran: > sudo -i # umask 0022 # mkdir /run/texlive # touch /run/texlive/run-{hypen,fmtutil.{language,refresh}} # /usr/share/texmf/texconfig/update I do not have the output of that anymore but it told me that my TeXLive installation was broken and I should try reinstalling certain texlive packages. I figured this might be due to the transactional role (Kubic) and did the same as above but now inside a shell on a rw snapshot via: # transactional-update -d shell This finished successfully. Bug after a reboot the symptoms were still the same. So this workaround did not fix it for me. Can anyone help me trying to fix it or give any suggestions? Is this a bug I should report? This would be my first. Any particular suggestions for reporting it? Thanks in advance and kind regards, Johannes References: [0] - https://en.opensuse.org/index.php?title=openSUSE:Submitting_bug_reports&oldid=147481#Reporting_a_bug [1] - https://forums.opensuse.org/showthread.php/528778 [2] - https://bugzilla.opensuse.org/show_bug.cgi?id=1074128 -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (1)
-
Johannes Foerster