I just attempted an "emerge xen" with the "doc" USE flag enabled and it crashed thusly: make[1]: Entering directory `/var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs' install -d -m0755 html/interface latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \ -numbered_footnotes -local_icons -noinfo -math -dir html/interface \ src/interface.tex 1>/dev/null 2>/dev/null make[1]: *** [html/interface/index.html] Error 2 make[1]: Leaving directory `/var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs' make: *** [html] Error 2 rm user.dvi interface.dvi make: Leaving directory `/var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs' !!! ERROR: app-emulation/xen-3.0.0_pre20050906 failed. !!! Function src_compile, Line 41, Exitcode 2 !!! compiling docs failed !!! If you need support, post the topmost build error, NOT this status message. I'm going to try it without "doc" and see what happens.
ebuild works fine without "doc" USE flag!
do you have "dev-tex/latex2html" installed? If not, does it compile cleanly with it? Seems there's a compile-time depedency missing if compiled with USE=doc
(In reply to comment #2) > do you have "dev-tex/latex2html" installed? If not, does it compile cleanly > with it? > > Seems there's a compile-time depedency missing if compiled with USE=doc > Yes ... here it is: znmeb@DreamGate ~/azureus $ emerge -pv latex2html These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] dev-tex/latex2html-2002.2.1_pre20041025 +gif +png 1,097 kB Total size of downloads: 1,097 kB znmeb@DreamGate ~/azureus $ Do I maybe need a different version of latex2html??
Appears to be a problem with latex2html. It expects to find something in the TMP directory that it creates. latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \ -numbered_footnotes -local_icons -noinfo -math -dir html/interface \ src/interface.tex This is LaTeX2HTML Version 2002-2-1 (1.71) by Nikos Drakos, Computer Based Learning Unit, University of Leeds. Revised and extended by: Marcus Hennecke, Ross Moore, Herb Swan and others ...producing markup for HTML version 3.2 Extension: loading /usr/lib/latex2html/versions/latin1.pl HTML version: loading /usr/lib/latex2html/versions/html3_2.pl *** processing declarations *** OPENING /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/src/interface.tex Cannot create directory html/interface/: File exists, reusing it. Note: Working directory is /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/html/interface Note: Images will be generated in /tmp/l2h9511 Fatal (syswait): exec "/usr/bin/perl5.8.5 /usr/lib/latex2html/texexpand.pl -auto_exclude -save_styles /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/html/interface/TMP/styles -texinputs /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs -out /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/html/interface/TMP/interface /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/src/interface.tex" failed: No such file or directory at /usr/lib/latex2html/latex2html.pl line 779
It got cut somewhere: Fatal (syswait): exec "/usr/bin/perl5.8.5 /usr/lib/latex2html/texexpand.pl -auto_exclude -save_styles /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/html/interface/TMP/styles -texinputs /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs -out /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/html/interface/TMP/interface /var/tmp/portage/xen-3.0.0_pre20050906/work/xen-unstable-20050906/docs/src/interface.tex" failed: No such file or directory at /usr/lib/latex2html/latex2html.pl line 779 Loading /usr/lib/latex2html/styles/texdefs.perl... Error: Cannot read 'TMP/styles': No such file or directory Reading ... Error: Cannot read 'TMP/interface': No such file or directory Compilation failed in require at /usr/bin/latex2html line 39.
Reassigning, looks like a latex2html bug to me.
It works with the previous version of latex2html for me: dev-tex/latex2html-2002.2
*** This bug has been marked as a duplicate of 80468 ***