Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105767 - latex2html crash - xen ebuild compiling internal docs
Summary: latex2html crash - xen ebuild compiling internal docs
Status: RESOLVED DUPLICATE of bug 80468
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 22:43 UTC by M. Edward Borasky
Modified: 2006-05-22 09:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description M. Edward Borasky 2005-09-12 22:43:36 UTC
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.
Comment 1 M. Edward Borasky 2005-09-12 23:12:09 UTC
ebuild works fine without "doc" USE flag!
Comment 2 Ernst Bachmann 2005-09-13 06:52:49 UTC
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 
 
Comment 3 M. Edward Borasky 2005-09-13 07:30:16 UTC
(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??
Comment 4 Chris Bainbridge (RETIRED) gentoo-dev 2005-09-13 09:22:17 UTC
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
Comment 5 Chris Bainbridge (RETIRED) gentoo-dev 2005-09-13 09:23:46 UTC
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.
Comment 6 Chris Bainbridge (RETIRED) gentoo-dev 2005-09-22 15:41:19 UTC
Reassigning, looks like a latex2html bug to me.
Comment 7 gentoo 2006-04-26 03:59:30 UTC
It works with the previous version of latex2html for me:
dev-tex/latex2html-2002.2
Comment 8 Chris Bainbridge (RETIRED) gentoo-dev 2006-05-22 09:14:46 UTC

*** This bug has been marked as a duplicate of 80468 ***