Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500934 - dev-tex/xmltex-1.9-r2 - fmtutil: format directory `.../work/xmltex/base/texmf-var/web2c' does not exist.
Summary: dev-tex/xmltex-1.9-r2 - fmtutil: format directory `.../work/xmltex/base/texmf...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-10 21:48 UTC by Allan Gottlieb
Modified: 2014-05-01 00:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (info,16.35 KB, text/plain)
2014-02-10 21:56 UTC, Allan Gottlieb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Allan Gottlieb 2014-02-10 21:48:52 UTC
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
Comment 1 Allan Gottlieb 2014-02-10 21:56:45 UTC
Created attachment 370098 [details]
emerge --info
Comment 2 Alex Xu (Hello71) 2014-02-10 23:19:38 UTC
Please attach full build.log.
Comment 3 Allan Gottlieb 2014-02-11 15:39:58 UTC
(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'
Comment 4 Alex Xu (Hello71) 2014-02-11 16:02:12 UTC
Ah. Tach.
Comment 5 Allan Gottlieb 2014-02-20 16:59:42 UTC
(In reply to Alex Xu (Hello71) from comment #4)
> Ah. Tach.

I am sorry.  I don't understand.
Comment 6 Gabriel Homeier 2014-04-08 17:30:10 UTC
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)
Comment 7 Gabriel Homeier 2014-04-08 17:31:19 UTC
* QA Notice: Symbolic link /usr/share/texmf/web2c/texmf.cnf points to /etc/texmf/web2c/texmf.cnf which does not exist.
Comment 8 Allan Gottlieb 2014-05-01 00:46:35 UTC
(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.