Gentoo Archives: gentoo-user

From: galevsky@×××××.com
To: gentoo-user@l.g.o
Subject: [gentoo-user] Xen Doc compilation failed => latex2html pb
Date: Sun, 15 Apr 2007 14:09:06
Message-Id: 5d4c1ca80704150701y85cccbapfc663a729e257e04@mail.gmail.com
1 Hi,
2
3 I emerged app-emulation/xen-tools-3.0.2-r4 on my gentoo box but the
4 compilation failed with the DOC use flag :
5
6 [...]
7 make: Entering directory
8 `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
9 latex src/user.tex >/dev/null
10 latex src/interface.tex >/dev/null
11 make[1]: Entering directory
12 `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
13 install -d -m0755 html/user
14 latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
15 -numbered_footnotes -local_icons -noinfo -math -dir html/user \
16 src/user.tex 1>/dev/null 2>/dev/null
17 if [ -e user.toc ] ; then latex src/user.tex >/dev/null ; fi
18 if [ -e interface.toc ] ; then latex src/interface.tex >/dev/null ; fi
19 make[1]: Entering directory
20 `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
21 install -d -m0755 man1
22 install -d -m0755 ps
23 dvips -Ppdf -G0 -o ps/user.ps.new user.dvi
24 pod2man --release=xen-unstable --name=`echo man1/xm.1 | sed 's/^man1.//'| \
25 sed 's/.1//'` -s 1 -c "Xen" man/xm.pod.1 man1/xm.1
26 This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
27 ' TeX output 2007.04.15:1612' -> ps/user.ps.new
28 <tex.pro><alt-rule.pro><8r.enc><texps.pro><special.pro>. <cmsy8.pfb>
29 <cmsy10.pfb><cmmi10.pfb>[1<figs/xenlogo.eps>] [2] [1] [2] [3] [4] [1] [2] [3]
30 [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19]
31 [20] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34]
32 [35] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46] [47] [48] [49]
33 [50] [51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62]
34 mv ps/user.ps.new ps/user.ps
35 install -d -m0755 ps
36 dvips -Ppdf -G0 -o ps/interface.ps.new interface.dvi
37 This is dvips(k) 5.95b Copyright 2005 Radical Eye Software (www.radicaleye.com)
38 ' TeX output 2007.04.15:1612' -> ps/interface.ps.new
39 <tex.pro><alt-rule.pro><8r.enc><texps.pro><special.pro>. <cmmi10.pfb>
40 <cmsy10.pfb>[1<figs/xenlogo.eps>] [2] [1] [2] [1] [2] [3] [4] [5] [6] [7] [8]
41 [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]
42 [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37] [38]
43 [39] [40] [41] [42] [43] [44] [45] [46] [47]
44 mv ps/interface.ps.new ps/interface.ps
45 install -d -m0755 pdf
46 ps2pdf ps/user.ps pdf/user.pdf.new
47 install -d -m0755 man5
48 pod2man --release=xen-unstable --name=`echo man5/xend-config.sxp.5 |
49 sed 's/^man5.//'| \
50 sed 's/.5//'` -s 5 -c "Xen" man/xend-config.sxp.pod.5
51 man5/xend-config.sxp.5
52 install -d -m0755 man5
53 pod2man --release=xen-unstable --name=`echo man5/xmdomain.cfg.5 | sed
54 's/^man5.//'| \
55 sed 's/.5//'` -s 5 -c "Xen" man/xmdomain.cfg.pod.5
56 man5/xmdomain.cfg.5
57 make[1]: Leaving directory
58 `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
59 install -d -m0755 pdf
60 ps2pdf ps/interface.ps pdf/interface.pdf.new
61 mv pdf/user.pdf.new pdf/user.pdf
62 install -d -m0755 html/interface
63 latex2html -split 0 -show_section_numbers -toc_depth 3 -nonavigation \
64 -numbered_footnotes -local_icons -noinfo -math -dir html/interface \
65 src/interface.tex 1>/dev/null 2>/dev/null
66 mv pdf/interface.pdf.new pdf/interface.pdf
67 make[1]: *** [html/user/index.html] Error 2
68 make[1]: *** Waiting for unfinished jobs....
69 make[1]: *** [html/interface/index.html] Error 2
70 make[1]: Leaving directory
71 `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
72 make: *** [html] Error 2
73 rm user.dvi interface.dvi
74 make: Leaving directory
75 `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
76
77 !!! ERROR: app-emulation/xen-tools-3.0.2-r4 failed.
78 Call stack:
79 ebuild.sh, line 1614: Called dyn_compile
80 ebuild.sh, line 971: Called qa_call 'src_compile'
81 environment, line 3633: Called src_compile
82 xen-tools-3.0.2-r4.ebuild, line 147: Called die
83
84 !!! compiling docs failed
85 !!! If you need support, post the topmost build error, and the call
86 stack if relevant.
87 !!! A complete build log is located at
88 '/root/ebuild-logs/app-emulation:xen-tools-3.0.2-r4:20070415-141126.log'.
89
90
91 So I did a manual "make html" without 1 and 2 > /dev/nul:
92 Everything was fine until the build of images:
93
94 [...]
95 94/95:section:..."B.2 Installing vnet support" for user.html
96 ;.,.....,..,,.,.;.........
97
98 95/95:chapter:.."C. Glossary of Terms" for user.html
99 ;.,........................;
100 .
101 Doing footnotes ...
102 Writing image file ...
103
104 Fatal (syswait): exec " ./images.tex" failed: Permission denied
105 at /usr/lib/latex2html/latex2html.pl line 3760
106
107 Cannot read logfile './images.log': No such file or directory
108 Compilation failed in require at /usr/bin/latex2html line 39.
109 make[1]: *** [html/user/index.html] Error 2
110 make[1]: Leaving directory
111 `/var/tmp/portage/app-emulation/xen-tools-3.0.2-r4/work/xen-3.0.2/docs'
112 make: *** [html] Error 2
113
114 Here is the line 3760:
115
116 sub make_latex_images{
117 &close_dbm_database if $DJGPP;
118 local($dd) = $dd; $dd = '/' if ($dd eq "\\");
119 local($latex_call) = "$LATEX .$dd${PREFIX}images.tex";
120 print "$latex_call\n" if (($DEBUG)||($VERBOSITY > 1));
121 L2hos->syswait($latex_call);
122 <===== 3760
123 &open_dbm_database if $DJGPP;
124 }
125
126 Any idea ? I am not used to latex2html generation, so can someone give
127 me the way ? Why a permission error message ?
128
129 Many thanks.
130
131 Gal'
132 --
133 gentoo-user@g.o mailing list

Replies

Subject Author
[gentoo-user] Xen Doc compilation failed => latex2html pb galevsky@×××××.com