View previous topic :: View next topic |
Author |
Message |
mao n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Mar 2017 Posts: 45 Location: Poland
|
Posted: Sat Jun 29, 2024 11:48 am Post subject: Unable to emerge dev-texlive/texlive-basic-2023 - fmtutil |
|
|
Hello there,
I admit I have wandered astray; I have failed to follow the news and haven't updating my system for ~2-3 months. As of now I am still using profile 17.1 version.
I know I deserve the fate that descended upon me.
...
That's why I need thine help, o ye great community.
The problem occurs when I try to update dev-texlive/texlive-basic-2021 -> 2023 and its components. In a surge of anger I have unmerged dev-texlive/texlive-basic-2021,
in the hope it would remove fmt files that are causing the crash, but it didn't help one bit.
The output is the same, regardless of running 'fmtutil --sys --all' or 'fmtutil --user --all' or trying to install dev-texlive/texlive-basic-2023; it's the following:
Code: |
>>> Emerging (1 of 10) dev-texlive/texlive-basic-2023_p59159-r4::gentoo
>>> Failed to emerge dev-texlive/texlive-basic-2023_p59159-r4, Log file:
>>> '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/build.log'
>>> Jobs: 0 of 10 complete, 1 failed Load avg: 0.42, 0.91, 1.25
* Package: dev-texlive/texlive-basic-2023_p59159-r4:0
* Repository: gentoo
* Maintainer: aballier@gentoo.org tex@gentoo.org
* USE: abi_x86_64 amd64 elibc_glibc kernel_linux luajittex
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
* Appending to format.texlive-basic.cnf for name=luahbtex engine=luahbtex patterns=language.def,language.dat.lua options="luatex.ini" fmttriggers=cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,unicode-data,hyph-utf8,luatex
* Appending to format.texlive-basic.cnf for name=luajithbtex engine=luajithbtex options="luatex.ini" patterns=language.def,language.dat.lua fmttriggers=cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,unicode-data,hyph-utf8,luatex
* Appending to format.texlive-basic.cnf for name=luajittex engine=luajittex options="luatex.ini" patterns=language.def,language.dat.lua fmttriggers=cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,unicode-data,hyph-utf8,luatex
* Appending to format.texlive-basic.cnf for name=dviluatex engine=luatex options="dviluatex.ini" patterns=language.def,language.dat.lua fmttriggers=cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,unicode-data,hyph-utf8
* Appending to format.texlive-basic.cnf for name=luatex engine=luatex options="luatex.ini" patterns=language.def,language.dat.lua fmttriggers=cm,etex,hyphen-base,knuth-lib,plain,tex-ini-files,unicode-data,hyph-utf8
* Appending to format.texlive-basic.cnf for name=mf engine=mf-nowin options="-translate-file=cp227.tcx mf.ini" fmttriggers=modes
* Appending to format.texlive-basic.cnf for name=etex engine=pdftex patterns=language.def options="-translate-file=cp227.tcx *etex.ini" fmttriggers=cm,dehyph,etex,hyph-utf8,hyphen-base,knuth-lib,plain
* Appending to format.texlive-basic.cnf for name=pdfetex engine=pdftex patterns=language.def options="-translate-file=cp227.tcx *pdfetex.ini" fmttriggers=cm,dehyph,etex,hyph-utf8,hyphen-base,knuth-lib,plain,tex-ini-files
* Appending to format.texlive-basic.cnf for name=pdftex engine=pdftex patterns=language.def options="-translate-file=cp227.tcx *pdfetex.ini" fmttriggers=cm,dehyph,etex,hyph-utf8,hyphen-base,knuth-lib,plain,tex-ini-files
* Appending to format.texlive-basic.cnf for name=tex engine=tex options="tex.ini" fmttriggers=cm,hyphen-base,knuth-lib,plain
* Building format texmf-dist/fmtutil/format.texlive-basic.cnf
fmtutil: fmtutil is using the following fmtutil.cnf files (in precedence order):
fmtutil: texmf-dist/fmtutil/format.texlive-basic.cnf
fmtutil: fmtutil is using the following fmtutil.cnf file for writing changes:
fmtutil: texmf-dist/fmtutil/format.texlive-basic.cnf
fmtutil [INFO]: writing formats under /var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-var/web2c
fmtutil [INFO]: --- remaking tex with tex
fmtutil: running `tex -ini -jobname=tex -progname=tex tex.ini' ...
This is TeX, Version 3.141592653 (TeX Live 2023 Gentoo Linux) (INITEX)
[...]
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
generic/tex-ini-files/dviluatex.ini
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
generic/tex-ini-files/luatex.ini
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
generic/tex-ini-files/luatexconfig.tex
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
generic/tex-ini-files/pdftexconfig.tex))
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
generic/tex-ini-files/luatexiniconfig.tex)
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
generic/unicode-data/load-unicode-data.tex
load-unicode-data.tex v1.17 (2023-09-18)
Reading Unicode data
# UnicodeData-15.1.0.txt
# Modified 2023-09-18 08:45:00 GMT [JAW]
)
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
luatex/hyph-utf8/etex.src
(/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-dist/tex/
plain/base/plain.tex Preloading the plain format: codes, registers,
parameters, fonts, more fonts, macros, math definitions, output routines,
hyphenation
! I can't find file `hyphen'.
l.1222 \input hyphen
(Press Enter to retry, or Control-D to exit)
Please type another input file name:
! Emergency stop.
l.1222
! ==> Fatal error occurred, bad output DVI file produced!
No pages of output.
Transcript written on dviluatex.log.
fmtutil [INFO]: log file copied to: /var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work/texmf-var/web2c/luatex/dviluatex.log
fmtutil [ERROR]: running `tex -ini -jobname=tex -progname=tex tex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luahbtex -ini -jobname=luahbtex -progname=luahbtex luatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luajithbtex -ini -jobname=luajithbtex -progname=luajithbtex luatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=luatex -progname=luatex luatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luajittex -ini -jobname=luajittex -progname=luajittex luatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `pdftex -ini -jobname=pdfetex -progname=pdfetex -translate-file=cp227.tcx *pdfetex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [ERROR]: running `luatex -ini -jobname=dviluatex -progname=dviluatex dviluatex.ini </dev/null' return status: 1
fmtutil [ERROR]: returning error due to option --strict
fmtutil [INFO]: successfully rebuilt formats: 1
fmtutil [INFO]: failed to build: 9 (tex/tex luahbtex/luahbtex pdftex/pdftex luajithbtex/luajithbtex luatex/luatex luajittex/luajittex pdftex/etex pdftex/pdfetex luatex/dviluatex)
fmtutil [INFO]: total formats: 10
fmtutil [INFO]:
*************************************************************
* *
* WARNING: you are switching to fmtutil's per-user formats. *
* Please read the following warnings! *
* *
*************************************************************
You have run fmtutil-user (as opposed to fmtutil-sys) for the first time;
this has created format files which are local to your personal account.
From now on, any changes in system formats will *not* be automatically
reflected in your files; furthermore, running fmtutil-sys will no longer
have any effect for you.
As a consequence, you yourself have to rerun fmtutil-user after any
change in the system directories. For example, when one of the LaTeX or
other format source files changes, which happens frequently.
See https://tug.org/texlive/scripts-sys-user.html for details.
If you want to undo this, remove the files mentioned above.
Run fmtutil --help for full documentation of fmtutil.
fmtutil [INFO]: exiting with status 9
* ERROR: dev-texlive/texlive-basic-2023_p59159-r4::gentoo failed (compile phase):
* failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 622: Called texlive-module_src_compile
* environment, line 912: Called die
* The specific snippet of code:
* VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS "${fmt_call}" --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
*
* If you need support, post the output of `emerge --info '=dev-texlive/texlive-basic-2023_p59159-r4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-texlive/texlive-basic-2023_p59159-r4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/environment'.
* Working directory: '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work'
* S: '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work'
* Messages for package dev-texlive/texlive-basic-2023_p59159-r4:
* ERROR: dev-texlive/texlive-basic-2023_p59159-r4::gentoo failed (compile phase):
* failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 622: Called texlive-module_src_compile
* environment, line 912: Called die
* The specific snippet of code:
* VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS "${fmt_call}" --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
*
* If you need support, post the output of `emerge --info '=dev-texlive/texlive-basic-2023_p59159-r4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-texlive/texlive-basic-2023_p59159-r4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/environment'.
* Working directory: '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work'
* S: '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work'
|
I pasted the full log here:
https://pastebin.com/p0qCMqrC (expiration time - 1 month)
My 'emerge --info':
https://pastebin.com/NfLBvdS5
The error message says that I have run fmtutil-user for the first time and that I will have to run it till the end of time any update comes, unless
Quote: | If you want to undo this, remove the files mentioned above. |
I can't however see, which files should I remove. I have tried to remove some format files (probably immersing myself in hell even deeper), but it did not help.
I also have no recollection of ever running fmtutil, but I guess that's a unit test included with the ebuild.
Kinly please - help
Best regards,
mao |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mao n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Mar 2017 Posts: 45 Location: Poland
|
Posted: Mon Jul 01, 2024 2:23 pm Post subject: |
|
|
I tried to fix it myself, without success so far.
For now, I have:
- removed 'latex' flag from USE flags (make.conf)
- unmerged all texlive related packages (including app-text/texlive-core)
Hoping this would potentially remove misconfiguration on my machine.
I've run
Code: | emerge -aqv --update --newuse --deep --with-bdeps=y @world --keep-going |
Which this time gave me a different (but similar) result:
Code: |
>>> Failed to emerge dev-texlive/texlive-basic-2023_p59159-r4, Log file:
>>> '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/build.log'
>>> Jobs: 1 of 8 complete, 1 failed Load avg: 2.23, 1.89, 1.03
*** Resuming merge...
* emerge --keep-going: dev-texlive/texlive-latex-2023_p69131-r1 dropped
* because it requires >=dev-texlive/texlive-basic-2023
* emerge --keep-going: dev-texlive/texlive-publishers-2023_p69759-r1 dropped
* because it requires >=dev-texlive/texlive-latex-2023
* emerge --keep-going: dev-texlive/texlive-latexrecommended-2023_p69131
* dropped because it requires >=dev-tex/latex-beamer-3.71, >=dev-
* texlive/texlive-latex-2023
* emerge --keep-going: dev-tex/latex-beamer-3.71 dropped because it requires
* dev-texlive/texlive-latex, dev-texlive/texlive-latexrecommended
* emerge --keep-going: dev-texlive/texlive-fontutils-2023_p61207-r3 dropped
* because it requires >=dev-texlive/texlive-basic-2023
* emerge --keep-going: dev-texlive/texlive-fontsrecommended-2023_p54074-r1
* dropped because it requires >=dev-texlive/texlive-basic-2023
* Messages for package dev-texlive/texlive-basic-2023_p59159-r4:
* ERROR: dev-texlive/texlive-basic-2023_p59159-r4::gentoo failed (compile phase):
* failed to build format texmf-dist/fmtutil/format.texlive-basic.cnf
*
* Call stack:
* ebuild.sh, line 136: Called src_compile
* environment, line 623: Called texlive-module_src_compile
* environment, line 913: Called die
* The specific snippet of code:
* VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS "${fmt_call}" --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${i}";
*
* If you need support, post the output of `emerge --info '=dev-texlive/texlive-basic-2023_p59159-r4::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-texlive/texlive-basic-2023_p59159-r4::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/temp/environment'.
* Working directory: '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work'
* S: '/var/tmp/portage/dev-texlive/texlive-basic-2023_p59159-r4/work'
|
I do not see VARTEXFONTS, TEXMFHOME and TEXINPUTS set anywhere in my env.
But at least right now I'm not having the previous message about having previously run 'fmtutil-user' anymore, but it still does not build.
Any suggestions?
I see resemblance to https://bugs.gentoo.org/797736 right now, I'm going to look into it deeper. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|