Transcript written on mf.log. fmtutil [INFO]: /var/tmp/portage/dev-texlive/texlive-basic-2019/work/texmf-var/web2c/metafont/mf.base installed. fmtutil [ERROR]: running `pdftex -ini -jobname=pdftex -progname=pdftex -translate-file=cp227.tcx *pdfetex.ini </dev/null' return status 1 fmtutil [ERROR]: return error due to options --strict fmtutil [ERROR]: running `pdftex -ini -jobname=etex -progname=etex -translate-file=cp227.tcx *etex.ini </dev/null' return status 1 fmtutil [ERROR]: return error due to options --strict ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1-developer_test_20190601-195952 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-8.3.1 [2] x86_64-pc-linux-gnu-9.1.0 * Available Python interpreters, in order of preference: [1] python3.6 [2] python2.7 (fallback) java-config: The following VMs are available for generation-2: *) IcedTea JDK 3.12.0 [icedtea-bin-8] Available Java Virtual Machines: [1] icedtea-bin-8 system-vm emerge -qpvO dev-texlive/texlive-basic [ebuild U ] dev-texlive/texlive-basic-2019 [2017-r1] USE="luajittex -doc -source"
Created attachment 578596 [details] emerge-info.txt
Created attachment 578598 [details] dev-texlive:texlive-basic-2019:20190603-190924.log
Created attachment 578600 [details] emerge-history.txt
Created attachment 578602 [details] environment
Created attachment 578604 [details] etc.portage.tbz2
Created attachment 578606 [details] logs.tbz2
does `texmf-update` ran manually fix the problem?
*** Bug 687310 has been marked as a duplicate of this bug. ***
(In reply to Mikle Kolyada from comment #7) > does `texmf-update` ran manually fix the problem? yes
(In reply to Mikle Kolyada from comment #7) > does `texmf-update` ran manually fix the problem? Not here. texmf-update purports to succeed, but I can't seem to emerge =texmf-basic-2019 no matter what. I think I broke something thrashing around hoping this would go away without mental effort :) any chance something like: rm -rvf /etc/texmf for atom in $(qlist -ISC texlive); do emerge -1 "${atom}" || break texmf-update done might make my situation less screwed up? :)
(In reply to Greg Turner from comment #10) > (In reply to Mikle Kolyada from comment #7) > > does `texmf-update` ran manually fix the problem? > > Not here. texmf-update purports to succeed, but I can't seem to emerge > =texmf-basic-2019 no matter what. I think I broke something thrashing > around hoping this would go away without mental effort :) > > any chance something like: > > rm -rvf /etc/texmf > for atom in $(qlist -ISC texlive); do > emerge -1 "${atom}" || break > texmf-update > done > > might make my situation less screwed up? :) to answer my own question, without blowing any files away manually, the functional equivalent of: atoms=( $( qlist -ISC texlive latex ) ) emerge -C "${atoms[@]}" for atom "${atoms[@]}"; do emerge -1 "${atom}" || break texmf-update done got me to a place where at least the ebuilds don't fail (but still I get the "could not run texmf-update, you should look into that" errors from most of the ebuilds, even after running the for loop once again).
Same here. Running 'texmf-update' didn't fix it. I couldn't even go back the old version. At the end, I had to uninstall 'texlive' completely.
(In reply to Mikle Kolyada from comment #7) > does `texmf-update` ran manually fix the problem? It fixed the issue for me as well.
this is package irrelevant at all, the texlive-common eclass has to be patched to have the proper ${ROOT} value in EAPI=7.
I managed to get the new livetex packages installed, but to do so I needed to rm /usr/bin/latexmk Of course latexmk was then quickly replaced.
*** Bug 687354 has been marked as a duplicate of this bug. ***
*** Bug 687350 has been marked as a duplicate of this bug. ***
*** Bug 687398 has been marked as a duplicate of this bug. ***
(In reply to Fred Krogh from comment #15) > I managed to get the new livetex packages installed, but to do so I needed > to > rm /usr/bin/latexmk > Of course latexmk was then quickly replaced. For me I chose "emerge -C dev-tex/latexmk". This solved the collision on my box while installing texlive.
(In reply to Mikle Kolyada from comment #7) > does `texmf-update` ran manually fix the problem? For me it does not. Same error when installing texlive. fmtutil [ERROR]: running `pdftex -ini -jobname=pdflatex -progname=pdflatex -translate-file=cp227.tcx *pdflatex.ini </dev/null' return status 1 fmtutil [ERROR]: return error due to options --strict fmtutil [ERROR]: running `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini </dev/null' return status 1 fmtutil [ERROR]: return error due to options --strict fmtutil [INFO]: Disabled formats: 1 fmtutil [INFO]: Successfully rebuilt formats: 3 fmtutil [INFO]: Failed to build: 2 (pdftex/pdflatex pdftex/latex) fmtutil [INFO]: Total formats: 6 fmtutil [INFO]: exiting with status 2
(In reply to Michael Stypa from comment #20) > (In reply to Mikle Kolyada from comment #7) > > does `texmf-update` ran manually fix the problem? > > For me it does not. Same error when installing texlive. > > fmtutil [ERROR]: running `pdftex -ini -jobname=pdflatex -progname=pdflatex > -translate-file=cp227.tcx *pdflatex.ini </dev/null' return status 1 > fmtutil [ERROR]: return error due to options --strict > fmtutil [ERROR]: running `pdftex -ini -jobname=latex -progname=latex > -translate-file=cp227.tcx *latex.ini </dev/null' return status 1 > fmtutil [ERROR]: return error due to options --strict > fmtutil [INFO]: Disabled formats: 1 > fmtutil [INFO]: Successfully rebuilt formats: 3 > fmtutil [INFO]: Failed to build: 2 (pdftex/pdflatex pdftex/latex) > fmtutil [INFO]: Total formats: 6 > fmtutil [INFO]: exiting with status 2 fmt-util call in your outpu != texmf-update call I proposed, they are kinda different, so `fmtutil-sys --all` should fix everything for you, these both are relevan to the eclass anyways.
to solve this issue I had to emerge texlive-langgerman independently as I have LINGUAS="de" set. See bug #687354, for some people this might be texlive-langenglish. In the end I did the following: 1. remove all texlive 2017 packages which was probably not neccessary emerge --unmerge --deselect=n $(equery list --format='$cp' -f dev-texlive/.+-2017) 2. install texlive-langgerman independently emerge -1 texlive-langgerman 3. emerge texlive
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4dd44867d1710a50b2d79ca095c935d283572555 commit 4dd44867d1710a50b2d79ca095c935d283572555 Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2019-06-04 18:54:55 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2019-06-05 09:39:59 +0000 eclass/texlive-common: call non-empty ${ROOT} EAPI=7 introduces empty ROOT variable if the actual root is defined as "/", this leads to the false-negative texmf-update and fmtutil calls. Closes: https://bugs.gentoo.org/687306 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> eclass/texlive-common.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
This isn't fixed. - if [ "$ROOT" = "/" ] && [ -x "${EPREFIX}"/usr/sbin/texmf-update ] ; then + if [ -n ${ROOT%/} ] && [ -x "${EPREFIX}"/usr/sbin/texmf-update ] ; then This reverses the condition from 'calling when ROOT is /' to 'calling when ROOT is NOT /'.
(In reply to Michał Górny from comment #25) > This isn't fixed. > > - if [ "$ROOT" = "/" ] && [ -x > "${EPREFIX}"/usr/sbin/texmf-update ] ; then > + if [ -n ${ROOT%/} ] && [ -x > "${EPREFIX}"/usr/sbin/texmf-update ] ; then > > This reverses the condition from 'calling when ROOT is /' to 'calling when > ROOT is NOT /'. you are half right, this handles postrm wrongly otherwise, updated.
This is not fixed. app-text/texlive-core-2019-r3 didn't build: Generating ls-R files Generating language.dat file Generating language.def file Generating language.dat.lua file Generating format files ... Skipping font maps, since they are unchanged Use 'texconfig font ro'(rw) to disable (enable) font generation for users * Regenerating TeX formats * ERROR: app-text/texlive-core-2019-r3::gentoo failed (postinst phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called pkg_postinst * environment, line 1686: Called die * The specific snippet of code: * fmtutil-sys --all &> /dev/null || die; * * If you need support, post the output of `emerge --info '=app-text/texlive-core-2019-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/texlive-core-2019-r3::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/texlive-core-2019-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/texlive-core-2019-r3/temp/environment'. * Working directory: '/var/tmp/portage/app-text/texlive-core-2019-r3/homedir' * S: '/var/tmp/portage/app-text/texlive-core-2019-r3/work/texlive-core-2019_build' * FAILED postinst: 1 >>> Regenerating /etc/ld.so.cache... >>> Failed to execute postinst for app-text/texlive-core-2019-r3
* Messages for package app-text/texlive-core-2019-r3: * FAILED postinst: 1 * ERROR: app-text/texlive-core-2019-r3::gentoo failed (postinst phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called pkg_postinst * environment, line 1686: Called die * The specific snippet of code: * fmtutil-sys --all &> /dev/null || die; *
When I ran "fmtutil-sys --all", I got this error message at the end: ..... Transcript written on latex.log. fmtutil [INFO]: /var/lib/texmf/web2c/pdftex/latex.fmt installed. fmtutil [WARNING]: inifile mltex.ini for mltex/pdftex not found. fmtutil [WARNING]: inifile eplain.ini for eplain/pdftex not found. fmtutil [WARNING]: inifile amstex.ini for amstex/pdftex not found. fmtutil [WARNING]: inifile pdfxmltex.ini for pdfxmltex/pdftex not found. fmtutil [WARNING]: inifile xmltex.ini for xmltex/pdftex not found. fmtutil [WARNING]: inifile texsis.ini for texsis/pdftex not found. fmtutil [WARNING]: inifile lambda.ini for lamed/aleph not found. fmtutil [WARNING]: inifile lollipop.ini for lollipop/tex not found. fmtutil [INFO]: Disabled formats: 1 fmtutil [INFO]: Successfully rebuilt formats: 17 fmtutil [INFO]: Failed to build: 8 (pdftex/mltex pdftex/eplain pdftex/amstex pdftex/pdfxmltex pdftex/xmltex pdftex/texsis aleph/lamed tex/lollipop) fmtutil [INFO]: Total formats: 26 fmtutil [INFO]: exiting with status 8
I removed everything and did a fresh install. It completed the install successfully. All good, please ignore the comments above.