Summary: | dev-textlive/texlive-basic-2010 - fmtutil: format directory `/var/tmp/portage/dev-texlive/texlive-basic-2010/work/texmf-var/web2c' does not exist. | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | M. Prášek <ntpt> |
Component: | Current packages | Assignee: | Alexis Ballier <aballier> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | kamil.kwiek, ntpt, tex |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | emerge --info |
Please post your 'emerge --info'. Thanks. Created attachment 257239 [details]
emerge --info
here is
please post the output of "texconfig conf" (In reply to comment #3) > please post the output of "texconfig conf" > ^^ =========================== version information ========================== ==================== binaries found by searching $PATH =================== PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5 kpsewhich: /usr/bin/kpsewhich updmap: /usr/bin/updmap fmtutil: /usr/bin/fmtutil texconfig: /usr/bin/texconfig tex: /usr/bin/tex pdftex: /usr/bin/pdftex mktexpk: /usr/bin/mktexpk dvips: /usr/bin/dvips dvipdfm: not found =========================== active config files ========================== /usr/bin/texconfig: řádek 257: /var/lib/texmf/texconfig/tcfmgr: Adresář nebo soubor neexistuje /usr/bin/texconfig: řádek 257: /var/lib/texmf/texconfig/tcfmgr: Adresář nebo soubor neexistuje /usr/bin/texconfig: řádek 257: /var/lib/texmf/texconfig/tcfmgr: Adresář nebo soubor neexistuje /usr/bin/texconfig: řádek 257: /var/lib/texmf/texconfig/tcfmgr: Adresář nebo soubor neexistuje /usr/bin/texconfig: řádek 257: /var/lib/texmf/texconfig/tcfmgr: Adresář nebo soubor neexistuje /usr/bin/texconfig: řádek 257: /var/lib/texmf/texconfig/tcfmgr: Adresář nebo soubor neexistuje /usr/bin/texconfig: řádek 257: /var/lib/texmf/texconfig/tcfmgr: Adresář nebo soubor neexistuje /usr/share/texmf-local/web2c/texmf.cnf config: not found config.ps: not found fmtutil.cnf: not found mktex.cnf: not found pdftexconfig.tex: not found updmap.cfg: not found XDvi: not found ============================= font map files ============================= psfonts.map: /usr/share/texmf/fonts/map/dvips/updmap/psfonts.map pdftex.map: /usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map ps2pk.map: /usr/share/texmf/fonts/map/dvips/updmap/ps2pk.map dvipdfm.map: =========================== kpathsea variables =========================== TEXMFMAIN=/var/lib/texmf TEXMFDIST=/usr/share/texmf TEXMFLOCAL=/usr/local/share/texmf TEXMFSYSVAR=/var/lib/texmf TEXMFSYSCONFIG=/var/lib/texmf TEXMFVAR=/root/.texmf-var TEXMFCONFIG=/root/.texmf-config TEXMFHOME=/root/texmf VARTEXFONTS=/var/cache/fonts TEXMF={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf} SYSTEXMF=/usr/local/share/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-site TEXMFDBS={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}:/var/cache/fonts WEB2C={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/web2c TEXPSHEADERS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/{dvips,fonts/{enc,type1,type3}}// TEXCONFIG={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/dvips// ENCFONTS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/fonts/enc// TEXFONTMAPS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/fonts/map// ==== kpathsea variables from environment only (ok if no output here) ==== I add required info . sorry for delay (In reply to comment #5) > /usr/share/texmf-local/web2c/texmf.cnf that file isnt installed by our ebuild, please remove it > TEXMFMAIN=/var/lib/texmf this isnt the right value PS: please use LC_ALL=C when getting some output so that it's in english. (In reply to comment #7) > (In reply to comment #5) > > > /usr/share/texmf-local/web2c/texmf.cnf > > that file isnt installed by our ebuild, please remove it OK. But still no success > > > TEXMFMAIN=/var/lib/texmf > > this isnt the right value > so what is right value ? > PS: please use LC_ALL=C when getting some output so that it's in english. > sorry. =========================== version information ========================== ==================== binaries found by searching $PATH =================== PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5 kpsewhich: /usr/bin/kpsewhich updmap: /usr/bin/updmap fmtutil: /usr/bin/fmtutil texconfig: /usr/bin/texconfig tex: /usr/bin/tex pdftex: /usr/bin/pdftex mktexpk: /usr/bin/mktexpk dvips: /usr/bin/dvips dvipdfm: not found =========================== active config files ========================== XDvi: not found config.ps: not found config: not found fmtutil.cnf: not found mktex.cnf: not found pdftexconfig.tex: not found texmf.cnf: not found updmap.cfg: not found ============================= font map files ============================= psfonts.map: pdftex.map: ps2pk.map: dvipdfm.map: =========================== kpathsea variables =========================== TEXMFMAIN= TEXMFDIST= TEXMFLOCAL= TEXMFSYSVAR= TEXMFSYSCONFIG= TEXMFVAR= TEXMFCONFIG= TEXMFHOME= VARTEXFONTS= TEXMF= SYSTEXMF= TEXMFDBS= WEB2C= TEXPSHEADERS= TEXCONFIG= ENCFONTS= TEXFONTMAPS= ==== kpathsea variables from environment only (ok if no output here) ==== (In reply to comment #8) > > PS: please use LC_ALL=C when getting some output so that it's in english. > > > > sorry. > =========================== version information ========================== > > ==================== binaries found by searching $PATH =================== > PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5 > kpsewhich: /usr/bin/kpsewhich > updmap: /usr/bin/updmap > fmtutil: /usr/bin/fmtutil > texconfig: /usr/bin/texconfig > tex: /usr/bin/tex > pdftex: /usr/bin/pdftex > mktexpk: /usr/bin/mktexpk > dvips: /usr/bin/dvips > dvipdfm: not found > > =========================== active config files ========================== > XDvi: not found > config.ps: not found > config: not found > fmtutil.cnf: not found > mktex.cnf: not found > pdftexconfig.tex: not found > texmf.cnf: not found > updmap.cfg: not found > > ============================= font map files ============================= > psfonts.map: > pdftex.map: > ps2pk.map: > dvipdfm.map: > > =========================== kpathsea variables =========================== > TEXMFMAIN= > TEXMFDIST= > TEXMFLOCAL= > TEXMFSYSVAR= > TEXMFSYSCONFIG= > TEXMFVAR= > TEXMFCONFIG= > TEXMFHOME= > VARTEXFONTS= > TEXMF= > SYSTEXMF= > TEXMFDBS= > WEB2C= > TEXPSHEADERS= > TEXCONFIG= > ENCFONTS= > TEXFONTMAPS= > > ==== kpathsea variables from environment only (ok if no output here) ==== > now you seem to not have any texmf.cnf... please reinstall dev-libs/kpathsea it should install a /etc/texmf/texmf.d directory, populated by files then generate /etc/texmf/web2c/texmf.cnf from it, and 'kpsewhich texmf.cnf' should return /usr/share/texmf/web2c/texmf.cnf which is a symlink to that file. That file from kpathsea contains the right values. still no luck : I reemerge dev-libs/kpathsea it create directories.. texmf-update but kpsewhich texmf.cnf returns /usr/share/texmf-local/web2c/texmf.cnf and the results are the same: for texlive-basic and for texlive-latex [[32;01m*[[0m Building format texmf/fmtutil/format.texlive-latex.cnf fmtutil: format directory `/var/tmp/portage/dev-texlive/texlive-latex-2010/work/texmf-var/web2c' does not exist. [[31;01m*[[0m ERROR: dev-texlive/texlive-latex-2010 failed: [[31;01m*[[0m failed to build format texmf/fmtutil/format.texlive-latex.cnf fmtutil: format directory `/var/tmp/portage/dev-texlive/texlive-latex-2010/work/texmf-var/web2c' does not exist. [[31;01m*[[0m ERROR: dev-texlive/texlive-latex-2010 failed: I remove /usr/share/texmf-local , rememerged kpathsea, make texmf-update. The kpsewhich texmf.cnf returns correctly /usr/share/texmf/web2c/texmf.cnf. But STILL NO LUCK (In reply to comment #10) > I remove /usr/share/texmf-local , rememerged kpathsea, make texmf-update. The > kpsewhich texmf.cnf returns correctly /usr/share/texmf/web2c/texmf.cnf. > > But STILL NO LUCK now the outpout of 'texconfig conf' should give relevant information, please post it here
> now the outpout of 'texconfig conf' should give relevant information, please
> post it here
>
=========================== version information ==========================
==================== binaries found by searching $PATH ===================
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.4.5
kpsewhich: /usr/bin/kpsewhich
updmap: /usr/bin/updmap
fmtutil: /usr/bin/fmtutil
texconfig: /usr/bin/texconfig
tex: /usr/bin/tex
pdftex: /usr/bin/pdftex
mktexpk: /usr/bin/mktexpk
dvips: /usr/bin/dvips
dvipdfm: not found
=========================== active config files ==========================
/usr/bin/texconfig: line 257: /var/lib/texmf/texconfig/tcfmgr: No such file or directory
/usr/bin/texconfig: line 257: /var/lib/texmf/texconfig/tcfmgr: No such file or directory
/usr/bin/texconfig: line 257: /var/lib/texmf/texconfig/tcfmgr: No such file or directory
/usr/bin/texconfig: line 257: /var/lib/texmf/texconfig/tcfmgr: No such file or directory
/usr/bin/texconfig: line 257: /var/lib/texmf/texconfig/tcfmgr: No such file or directory
/usr/bin/texconfig: line 257: /var/lib/texmf/texconfig/tcfmgr: No such file or directory
/usr/bin/texconfig: line 257: /var/lib/texmf/texconfig/tcfmgr: No such file or directory
/usr/share/texmf/web2c/texmf.cnf
XDvi: not found
config.ps: not found
config: not found
fmtutil.cnf: not found
mktex.cnf: not found
pdftexconfig.tex: not found
updmap.cfg: not found
============================= font map files =============================
psfonts.map: /usr/share/texmf/fonts/map/dvips/updmap/psfonts.map
pdftex.map: /usr/share/texmf/fonts/map/pdftex/updmap/pdftex.map
ps2pk.map: /usr/share/texmf/fonts/map/dvips/updmap/ps2pk.map
dvipdfm.map:
=========================== kpathsea variables ===========================
TEXMFMAIN=/var/lib/texmf
TEXMFDIST=/usr/share/texmf
TEXMFLOCAL=/usr/local/share/texmf
TEXMFSYSVAR=/var/lib/texmf
TEXMFSYSCONFIG=/var/lib/texmf
TEXMFVAR=/root/.texmf-var
TEXMFCONFIG=/root/.texmf-config
TEXMFHOME=/root/texmf
VARTEXFONTS=/var/cache/fonts
TEXMF={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}
SYSTEXMF=/usr/local/share/texmf:/var/lib/texmf:/usr/share/texmf:/usr/share/texmf-site
TEXMFDBS={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}:/var/cache/fonts
WEB2C={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/web2c
TEXPSHEADERS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/{dvips,fonts/{enc,type1,type3}}//
TEXCONFIG={!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/dvips//
ENCFONTS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/fonts/enc//
TEXFONTMAPS=.:{!!/root/.texmf-config,!!/root/.texmf-var,/root/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/var/lib/texmf,!!/usr/local/share/texmf,!!/usr/share/texmf-site,!!/usr/share/texmf}/fonts/map//
==== kpathsea variables from environment only (ok if no output here) ====
(In reply to comment #12) [...] > =========================== kpathsea variables =========================== > TEXMFMAIN=/var/lib/texmf [...] Again, this is the root cause of your problem: it _must_ be /usr/share/texmf and your value does not come from our ebuilds. As you can see from your issues and the errors you get in the 'texconfig conf' output, nothing will work if it's wrongly set. Please find where this bad value comes from. I had the same problem. I fixed it by reemerging luatex before emerging texlive-basic! I got the idea from here: http://forums.gentoo.org/viewtopic-t-812893-start-0.html Best regards |
Failed to emerge texlive-basic. This is the build log: >>> Unpacking texlive-module-misc-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Unpacking texlive-module-pdftex-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Unpacking texlive-module-plain-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Unpacking texlive-module-tcdialog-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Unpacking texlive-module-tex-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Unpacking texlive-module-texlive-msg-translations-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Unpacking texlive-module-texlive-scripts-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Unpacking texlive-module-collection-basic-2010.tar.xz to /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Source unpacked in /var/tmp/portage/dev-texlive/texlive-basic-2010/work >>> Preparing source in /var/tmp/portage/dev-texlive/texlive-basic-2010/work ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-texlive/texlive-basic-2010/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-texlive/texlive-basic-2010/work ... [[32;01m*[[0m Appending to format.texlive-basic.cnf for name=dviluatex engine=luatex patterns=language.def,language.dat.lua options="dviluate [[32;01m*[[0m Appending to format.texlive-basic.cnf for name=luatex engine=luatex patterns=language.def,language.dat.lua options="luatex.i [[32;01m*[[0m Appending to format.texlive-basic.cnf for name=mf engine=mf-nowin options="-translate-file=cp227.tcx mf.ini" [[32;01m*[[0m Appending to format.texlive-basic.cnf for name=etex engine=pdftex patterns=language.def options="-translate- [[32;01m*[[0m Appending to format.texlive-basic.cnf for name=pdfetex engine=pdftex patterns=language.def options="-translate- [[32;01m*[[0m Appending to format.texlive-basic.cnf for name=pdftex engine=pdftex patterns=language.def options="-translate- [[32;01m*[[0m Appending to format.texlive-basic.cnf for name=tex engine=tex options="tex.ini" [[32;01m*[[0m Building format texmf/fmtutil/format.texlive-basic.cnf fmtutil: format directory `/var/tmp/portage/dev-texlive/texlive-basic-2010/work/texmf-var/web2c' does not exist. [[31;01m*[[0m ERROR: dev-texlive/texlive-basic-2010 failed: [[31;01m*[[0m failed to build format texmf/fmtutil/format.texlive-basic.cnf [[31;01m*[[0m [[31;01m*[[0m Call stack: [[31;01m*[[0m ebuild.sh, line 56: Called src_compile [[31;01m*[[0m environment, line 221: Called texlive-module_src_compile [[31;01m*[[0m environment, line 406: Called die [[31;01m*[[0m The specific snippet of code: [[31;01m*[[0m VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS fmtutil --cnffile "${ [[31;01m*[[0m [[31;01m*[[0m If you need support, post the output of 'emerge --info =dev-texlive/texlive-basic-2010', [[31;01m*[[0m the complete build log and the output of 'emerge -pqv =dev-texlive/texlive-basic-2010'. [[31;01m*[[0m The complete build log is located at '/var/tmp/portage/dev-texlive/texlive-basic-2010/temp/build.log'. [[31;01m*[[0m The ebuild environment file is located at '/var/tmp/portage/dev-texlive/texlive-basic-2010/temp/environment'. [[31;01m*[[0m S: '/var/tmp/portage/dev-texlive/texlive-basic-2010/work' It sees that it look for directory that DOES NOT exist in the build space. Workaround: Open another shell session, run emerge texlive-basic and when ebuild start uncompressing itself, run " mkdir /var/tmp/portage/dev-texlive/texlive-basic-2010/work/texmf-var && mkdir /var/tmp/portage/dev-texlive/texlive-basic-2010/work/texmf-var/web2c" in another shell. Just to create missing directories. That fix a problem => It seems that ebuild fail to create directories in the temporary building space ? Or failed to set some paths or enviromental variables inside bulilding sandbox (ie variable that hold the path to format directory for fmtutil ) ? Thanx for help. Reproducible: Always Steps to Reproduce: emerge texlive-basic Actual Results: [[31;01m*[[0m ERROR: dev-texlive/texlive-basic-2010 failed: [[31;01m*[[0m failed to build format texmf/fmtutil/format.texlive-basic.cnf [[31;01m*[[0m [[31;01m*[[0m Call stack: [[31;01m*[[0m ebuild.sh, line 56: Called src_compile [[31;01m*[[0m environment, line 221: Called texlive-module_src_compile [[31;01m*[[0m environment, line 406: Called die [[31;01m*[[0m The specific snippet of code: [[31;01m*[[0m VARTEXFONTS="${T}/fonts" TEXMFHOME="${S}/texmf:${S}/texmf-dist:${S}/texmf-var" env -u TEXINPUTS fmtutil --cnffile "${ [[31;01m*[[0m