media-libs/allegro-4.0.3 fails when emerged with tetex use flag on (goes ok without that flag). Error: cd docs && texi2dvi -c texi/allegro.texi && cd .. This is e-TeX, Version 3.141592-2.2 (Web2C 7.5.4) ---! /var/lib/texmf/web2c/etex.fmt was written by pdfetex (Fatal format file error; I'm stymied) /usr/bin/texi2dvi: texinfo.tex appears to be broken, quitting. make: *** [docs/allegro.dvi] Error 1 tetex version: 3.0-r2 Reproducible: Always Steps to Reproduce: USE="tetex" emerge allegro
let's hear from the text-markup group please.
I have the same issue with emerging allegro (4.1.18 though) when using tetex-3.0-*. Running texi2dvi on any .texi file on my system fails with the same error. Running etex on any .tex file also gives the etex.fmt error. However, downgrading to tetex-2.* allows texi2dvi to work here also. It looks a bit like bug 97239. I've tried using fmtutil-sys --edit to change the etex format to use the etex engine (as opposed to pdfetex) and then running fmtutil-sys --all to recreate the /var/lib/texmf/web2c/*fmt files, but I get the same error. (Still the "written by pdfetex" bit, even though it's set to use the etex engine. I've now run out of things to try for this.
same here cd docs && texi2dvi -c texi/allegro.texi && cd .. This is e-TeX, Version 3.141592-2.2 (Web2C 7.5.4) ---! /var/lib/texmf/web2c/etex.fmt was written by pdfetex (Fatal format file error; I'm stymied) /usr/bin/texi2dvi: texinfo.tex appears to be broken, quitting. make: *** [docs/allegro.dvi] Error 1
Same problem here with media-libs/allegro-4.2.0. docs/makedoc -ascii docs/build/watcom.txt docs/src/build/watcom._tx cd docs && texi2dvi -c texi/allegro.texi && cd .. This is e-TeX, Version 3.141592-2.2 (Web2C 7.5.4) ---! /var/lib/texmf/web2c/etex.fmt was written by pdfetex (Fatal format file error; I'm stymied) /usr/bin/texi2dvi: texinfo.tex appears to be broken, quitting.
This is a known problem with tetex-3 and etex... We are currently looking at how to solve it but so far didn't succeed. Merging with tetex-2 or disabling the doc/tetex USE flag seem to be the only options available now.
Digging through the tetex mailing-lists, I found this "fix". It worked for me on another package, so perhaps can it help you too (it's really dirty and not a real fix, though) : cd /usr/bin mv etex _etex ln -s pdfetex etex If you try it, please report success or failure.
The fix mentioned in #6 works for me. But does it create problems somewhere else?
*** This bug has been marked as a duplicate of 98029 ***