dev-tex/xmltex-1.9-r2 fails to build. The entire build.log is short (will be included) and says fmtutil: format directory `/var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base/texmf-var/web2c' does not exist. /var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base/ has no subdirectories. I don't know if this is related but I hit Bug 466912 - dev-texlive/texlive-basic-2012 does not compile and as suggested in the bug I executed emerge -1 luatex and removed /etc/texmf Together these permitted me to emerge several of the prerequsites for texlive, but I have now failed with xmltex
Created attachment 370098 [details] emerge --info
Please attach full build.log.
(In reply to Alex Xu (Hello71) from comment #2) > Please attach full build.log. Sorry I though I did, but must have erred. Here it is * Package: dev-tex/xmltex-1.9-r2 * Repository: gentoo * Maintainer: tex@gentoo.org * USE: amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> [1m[37mcfg-update-1.8.2-r1[0m[0m: Creating checksum index... >>> Unpacking source... >>> Unpacking xmltex-1.9.tar.gz to /var/tmp/portage/dev-tex/xmltex-1.9-r2/work >>> Source unpacked in /var/tmp/portage/dev-tex/xmltex-1.9-r2/work >>> Preparing source in /var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base ... fmtutil: format directory `/var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base/texmf-var/web2c' does not exist. * ERROR: dev-tex/xmltex-1.9-r2::gentoo failed (compile phase): * failed to build format xmltex * * Call stack: * ebuild.sh, line 93: Called src_compile * environment, line 2090: Called die * The specific snippet of code: * TEXMFHOME="${S}" fmtutil --cnffile "${FILESDIR}/format.${PN}.cnf" --fmtdir "${S}/texmf-var/web2c" --all || die "failed to build format ${PN}" * * If you need support, post the output of `emerge --info '=dev-tex/xmltex-1.9-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-tex/xmltex-1.9-r2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-tex/xmltex-1.9-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-tex/xmltex-1.9-r2/temp/environment'. * Working directory: '/var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base' * S: '/var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base'
Ah. Tach.
(In reply to Alex Xu (Hello71) from comment #4) > Ah. Tach. I am sorry. I don't understand.
when you nuked /etc/texmf you destroyed a symlink needed to build xmltex... re-merge kpathsea after you can emerge texlive-base and it should work. (worked for me anyway)
* QA Notice: Symbolic link /usr/share/texmf/web2c/texmf.cnf points to /etc/texmf/web2c/texmf.cnf which does not exist.
(In reply to Gabriel Homeier from comment #6) > when you nuked /etc/texmf you destroyed a symlink needed to build xmltex... > re-merge kpathsea after you can emerge texlive-base and it should work. > (worked for me anyway) I remerged kpathsea, but xmltex still failed just as above. However your diagnosis is correct. I did equery b /etc/texmf and found all the packages supplying /etc/texmf. Remerging texlive-core did the trick. Thanks for the tip.
Masked for removal.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f009c9687f6c38da46d934e41a7aa7d169c2ea commit f0f009c9687f6c38da46d934e41a7aa7d169c2ea Author: Mikle Kolyada <zlogene@gentoo.org> AuthorDate: 2020-08-11 13:57:54 +0000 Commit: Mikle Kolyada <zlogene@gentoo.org> CommitDate: 2020-08-11 13:57:54 +0000 dev-tex/xmltex: remove last-rited pkg Closes: https://bugs.gentoo.org/500934 Closes: https://bugs.gentoo.org/551690 Closes: https://bugs.gentoo.org/698622 Signed-off-by: Mikle Kolyada <zlogene@gentoo.org> dev-tex/xmltex/Manifest | 1 - dev-tex/xmltex/files/format.xmltex.cnf | 2 -- dev-tex/xmltex/metadata.xml | 8 ----- dev-tex/xmltex/xmltex-1.9-r3.ebuild | 53 ---------------------------------- 4 files changed, 64 deletions(-)