Summary: | dev-tex/xmltex-1.9-r2 : fails ebuild :fmtutil: format directory `/var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base/texmf-var/web2c' does not exist. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jason Mours <jason.mours> |
Component: | Current packages | Assignee: | TeX project <tex> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | creideiki+gentoo-bugzilla, jstein |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2020-08-10 | ||
Attachments: |
build.log
emerge-info |
Description
Jason Mours
2015-06-10 16:31:18 UTC
Created attachment 404904 [details]
build.log
Created attachment 404906 [details]
emerge-info
fmtutil is supposed to create that directory by itself, by calling mktexdir, and give that error message if it wasn't created (/usr/share/texmf-dist/scripts/texlive/fmtutil.sh line 590): test -d "$destdir" || mktexdir "$destdir" >/dev/null 2>&1 test -d "$destdir" || abort "format directory \`$destdir' does not exist" Where do you get these utilities from? # equery belongs `which fmtutil` * Searching for /usr/bin/fmtutil ... app-text/texlive-core-2014-r4 (/usr/share/texmf-dist/scripts/texlive/fmtutil.sh) app-text/texlive-core-2014-r4 (/usr/bin/fmtutil -> ../share/texmf-dist/scripts/texlive/fmtutil.sh) # locate mktexdir /usr/share/texmf-dist/web2c/mktexdir /usr/share/texmf-dist/web2c/mktexdir.opt # equery belongs /usr/share/texmf-dist/web2c/mktexdir * Searching for /usr/share/texmf-dist/web2c/mktexdir ... dev-libs/kpathsea-6.2.0_p20140525 (/usr/share/texmf-dist/web2c/mktexdir) Do you get any error messages if you delete the ">/dev/null 2>&1" from the call to mktexdir at /usr/share/texmf-dist/scripts/texlive/fmtutil.sh:590? (In reply to Karl-Johan Karlsson from comment #3) > fmtutil is supposed to create that directory by itself, by calling mktexdir, > and give that error message if it wasn't created > (/usr/share/texmf-dist/scripts/texlive/fmtutil.sh line 590): > > test -d "$destdir" || mktexdir "$destdir" >/dev/null 2>&1 > test -d "$destdir" || abort "format directory \`$destdir' does not exist" > > Where do you get these utilities from? > > # equery belongs `which fmtutil` > * Searching for /usr/bin/fmtutil ... > app-text/texlive-core-2014-r4 > (/usr/share/texmf-dist/scripts/texlive/fmtutil.sh) > app-text/texlive-core-2014-r4 (/usr/bin/fmtutil -> > ../share/texmf-dist/scripts/texlive/fmtutil.sh) > > # locate mktexdir > /usr/share/texmf-dist/web2c/mktexdir > /usr/share/texmf-dist/web2c/mktexdir.opt > > # equery belongs /usr/share/texmf-dist/web2c/mktexdir > * Searching for /usr/share/texmf-dist/web2c/mktexdir ... > dev-libs/kpathsea-6.2.0_p20140525 (/usr/share/texmf-dist/web2c/mktexdir) > # equery belongs `which fmtutil` * Searching for /usr/bin/fmtutil ... app-text/texlive-core-2014-r4 (/usr/share/texmf-dist/scripts/texlive/fmtutil.sh) app-text/texlive-core-2014-r4 (/usr/bin/fmtutil -> ../share/texmfm-dist/scripts/texlive/fmtutil.sh) # find /| grep mktexdir /usr/share/texmf-dist/web2c/mktexdir.opt /usr/share/texmf-dist/web2c/mktexdir /var/tmp/portage/app-text/texlive-core-2014-r4/work/texlive-20140525-source/texk/kpathsea/mktexdir.opt /var/tmp/portage/app-text/texlive-core-2014-r4/work/texlive-20140525-source/texk/kpathsea/mktexdir # equery belongs /usr/share/texmf-dist/web2c/mktexdir * Searching for /usr/share/texmf-dist/web2c/mktexdir ... dev-libs/kpathsea-6.2.0_p20140525 (/usr/share/texmf-dist/web2c/mktexdir) > Do you get any error messages if you delete the ">/dev/null 2>&1" from the > call to mktexdir at /usr/share/texmf-dist/scripts/texlive/fmtutil.sh:590? And yes, stripping ">/dev/null 2>&1" from /usr/share/texmf-dist/scripts/texlive/fmtutil.sh:590 allows dev-tex/xmltex-1.9-r2.ebuild to emerge. This seems to correct my issue... But it doesn't seem like a fix, It looks like this is underlining another issue in dev-libs/kpathsea-6.2.0_p20140525 or app-text/texlive-core-2014-r4? Let me know if you would like a finished build.log of the dev-tex/xmltex-1.9-r2. (In reply to Jason Mours from comment #4) > And yes, stripping ">/dev/null 2>&1" from > /usr/share/texmf-dist/scripts/texlive/fmtutil.sh:590 allows > dev-tex/xmltex-1.9-r2.ebuild to emerge. This seems to correct my issue... That's weird. That shouldn't make any difference to the result, just let you see any error messages. Looking at my own system, it seems that mktexdir writes a bunch of stuff to /tmp first. Did that filesystem happen to be full or otherwise unavailable when it failed? > Let me know if you would like a finished build.log of the dev-tex/xmltex-1.9-r2. Did mktexdir write anything interesting? It would be any lines between: >>> Compiling source in /var/tmp/portage/dev-tex/xmltex-1.9-r2/work/xmltex/base ... and fmtutil: running `pdftex -ini -jobname=xmltex -progname=xmltex &latex xmltex.ini' ... This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (INITEX) (In reply to Karl-Johan Karlsson from comment #5) > Looking at my own system, it seems that mktexdir writes a bunch of stuff to > /tmp first. Did that filesystem happen to be full or otherwise unavailable > when it failed? Sorry, that's of course not true when it is run by Portage under Sandbox. Temporary files get put in /var/tmp/portage/dev-tex/xmltex-1.9-r2/temp/. 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(-) |