I am switching to texlife and texlife-latex breaks: (/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist/tex/generic/ba bel/hyphen.cfg ! I can't find file `ushyphen.tex'. <to be read again> \relax l.357 \repeat Please type another input file name: ! Emergency stop. <to be read again> \relax l.357 \repeat No pages of output. Transcript written on latex.log. Error: `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed ############################################################################### fmtutil: Error! Not all formats have been built successfully. Visit the log files in directory /var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-var/web2c for details. ############################################################################### This is a summary of all `failed' messages and warnings: `pdftex -ini -jobname=latex -progname=latex -translate-file=cp227.tcx *latex.ini' failed ^[[31;01m*^[[0m ^[[31;01m*^[[0m ERROR: dev-texlive/texlive-latex-2007 failed. ^[[31;01m*^[[0m Call stack: ^[[31;01m*^[[0m ebuild.sh, line 1695: Called dyn_compile ^[[31;01m*^[[0m ebuild.sh, line 1033: Called qa_call 'src_compile' ^[[31;01m*^[[0m ebuild.sh, line 44: Called src_compile ^[[31;01m*^[[0m ebuild.sh, line 1377: Called texlive-module_src_compile ^[[31;01m*^[[0m texlive-module.eclass, line 53: Called die ^[[31;01m*^[[0m The specific snippet of code: ^[[31;01m*^[[0m TEXMFHOME="${S}/texmf:${S}/texmf-dist"\ ^[[31;01m*^[[0m fmtutil --cnffile "${i}" --fmtdir "${S}/texmf-var/web2c" --all\ ^[[31;01m*^[[0m || die "failed to build format ${i}" ^[[31;01m*^[[0m The die message: ^[[31;01m*^[[0m failed to build format texmf/fmtutil/format.latex.cnf ^[[31;01m*^[[0m ^[[31;01m*^[[0m If you need support, post the topmost build error, and the call stack if relevant. ^[[31;01m*^[[0m A complete build log is located at '/var/tmp/portage/dev-texlive/texlive-latex-2007/temp/build.log'. ^[[31;01m*^[[0m Currently I am trying to figure this out and where to get this file :-)
*** Bug 197401 has been marked as a duplicate of this bug. ***
what output do you get with: kpsewhich language.dat and: kpsewhich language.us
# kpsewhich language.dat /usr/share/texmf/tex/generic/config/language.dat # kpsewhich language.us /usr/share/texmf/tex/generic/config/language.us
could you please attach those two files ? (I should have asked that earlier)
Created attachment 134629 [details] the language.dat file itself
Created attachment 134631 [details] the language.us file
do you have a latex.log file somewhere ? it should be in /var/tmp/portage/dev-texlive/texlive-latex-2007/work/ or /var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-var/web2c/pdftex/ if yes, could you please attach it ? I don't understand why it tries to load ushyphen.tex, which is not present, and your language.dat file does not mention it. By the way, have you updated/changed the config files in /etc/texmf/texmf.d ? could you post a list of the files present in that directory ?
Sadly no, no latex.log file: # pwd /var/tmp/portage/dev-texlive/texlive-latex-2007 # find .|grep log ./temp/logging ./temp/build.log ./temp/eclass-debug.log ./work/texmf-dist/source/latex/base/ltlogos.dtx I have not modified stuff below /etc/texmf. I removed that directory (and a couple of texmv ones below /var/), unmerged tetex-3 and started to emerge texlive. # cd /etc/texmf/texmf.d # ls -la total 32 drwxr-xr-x 2 root root 113 2007-10-29 11:17 . drwxr-xr-x 10 root root 130 2007-10-29 13:54 .. -rw-r--r-- 1 root root 2276 2007-10-29 11:17 00header.cnf -rw-r--r-- 1 root root 4642 2007-10-29 11:17 05searchpaths.cnf -rw-r--r-- 1 root root 10421 2007-10-29 11:17 10standardpaths.cnf -rw-r--r-- 1 root root 2427 2007-10-29 11:17 15options.cnf -rw-r--r-- 1 root root 2824 2007-10-29 11:17 20sizes.cnf
*** Bug 197402 has been marked as a duplicate of this bug. ***
hmm it seems you have not updated to texlive-core-2007-r3; could you try syncing and installing it ? default config files have changed a bit, perhaps that could solve the problem
Indeed a sync revealed core-r3 and I updated to this, but the error on texlive-latex ist the same as before.
could you please attach the full build log then (that should be more or less the same as latex.log), and your texmf.cnf file in /etc/texmf/web2c
Created attachment 134641 [details] full build log
Created attachment 134642 [details] texmf.cnf
hmm could you try this little trick while emerging texlive-latex: - ctrl Z after src_unpack (and before it tries to build the latex format) - try removing /var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist/source/generic/babel/language.dat - type fg that's the only reference to ushyphen.tex I can find, and this file should not be used... your texmf.cnf file is perfectly sane, and it seems it try to use the wrong language.dat definitions file.
I did "ebuild EBUILD unpack" and investigated from there: First I moved /var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist/source/generic/babel/language.dat out of the way, which was _NOT_ sufficient, same error. I found another reference in work/texmf-dist/doc/generic/babel/language.dat (same file though, no diff output) and this yielded into succesful compile stage. The install target runs fine and the final qmerge stage also.
when you have a failed build (so that the temp dir created by portage is still here), could you give me the output of : TEXMFHOME="/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf:/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist" kpsewhich language.dat I don't understand why the language.dat in the source dir gets in the way, and I've never seen that problem before :/
I have the same problem and the output to your kpsewhich command is /usr/share/texmf/tex/generic/config/language.dat
(In reply to comment #18) > I have the same problem and the output to your kpsewhich command is > > /usr/share/texmf/tex/generic/config/language.dat Ah no, sorry, I just see my problem is different. Building texlive-latex-2007 fails, after deleting the above file, with the output Building format texmf/fmtutil/format.latex.cnf fmtutil: format directory /var/tmp/.../work/texmf-var/web2c does not exist and that was it also before I deleted the language.dat above
(In reply to comment #19) > (In reply to comment #18) > > I have the same problem and the output to your kpsewhich command is > > > > /usr/share/texmf/tex/generic/config/language.dat > > Ah no, sorry, I just see my problem is different. Building texlive-latex-2007 > fails, after deleting the above file, with the output > > Building format texmf/fmtutil/format.latex.cnf > fmtutil: format directory /var/tmp/.../work/texmf-var/web2c does not exist > could you please open a new bug for this ? I've seen that bug happening, but it automagically resolved... perhaps we could track the cause
(In reply to comment #20) > > fmtutil: format directory /var/tmp/.../work/texmf-var/web2c does not exist > > could you please open a new bug for this ? I've seen that bug happening, but it > automagically resolved... perhaps we could track the cause Okay. Please see 197528.
(In reply to comment #17) > when you have a failed build (so that the temp dir created by portage is still > here), could you give me the output of : > > TEXMFHOME="/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf:/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist" > kpsewhich language.dat > ping ?
Does this refer to me I should put the output here? I mus have forgot by accident, WAM.
I actually realize that my real solution of this problem did not made it into here, may be my browser ate it or whatsoever, I am very sorry. What I realized was, that I have environment variables set to include rechnung.sty. My root did have the same ~/.zshrc so he borrowed this environment: MYTEX=${HOME}/tex/rechnung310: TEXINPUTS='.//:$TEXMF//':${MYTEX}//: MFINPUTS='.//:$TEXMF//':${MYTEX}//: TFMFONTS='.//:$TEXMF/fonts//':/var/texfonts//:${MYTEX}//: export TEXINPUTS export MFINPUTS export TFMFONTS Konsti has a ~/tex, root not. With this environment the build breaks, the output to your command is: # TEXMFHOME="/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf:/var/tmp/portage/dev-texlive/texlive-latex-2007/work/texmf-dist" # kpsewhich language.dat /usr/share/texmf/tex/generic/config/language.dat If I don't set these variables the build runs fine. So the question is, if root must not set such stuff or the ebuild should take care of this. Really, I expected this message being in here and did not check carefully :-/
(In reply to comment #24) > So the question is, if root must not set such stuff or the ebuild should take > care of this. Really, I expected this message being in here and did not check > carefully :-/ thanks for the explanation. Indeed it breaks also here with that environment. I'd say root must not have this variable in the env. There are too many ways to break it like that: set a wrong TEXINPUTS like you did, but it'll also break with TEXINPUTS_latex set to the same values, etc. As far as I understand it, setting $TEXMF in TEXINPUTS tells it it can include anything from the texmf tree, while there are per program values set in texmf.cnf, so such a setting is probably wrong and will break not only with portage.