[darcs-users] darcs-1.0.4pre2 - build fails on docs
Marnix Klooster
marnix.klooster at gmail.com
Fri Aug 12 05:06:40 UTC 2005
David Roundy cited and wrote:
>On Tue, Aug 02, 2005 at 03:50:21PM +0200, Gour wrote:
>
>
>>Attempt to build latest darcs fails on docs:
>>
>>[...]
>> *** processing declarations ***
>>
>>OPENING /var/tmp/portage/darcs-1.0.4/work/darcs-1.0.4/darcs.tex
>>
>>Cannot create directory manual/: File exists, reusing it.
>>
>>Note: Working directory is /var/tmp/portage/darcs-1.0.4/work/darcs-1.0.4/manual
>>Note: Images will be generated in /tmp/l2h21793
>>
>>Fatal (syswait): exec "/usr/bin/perl5.8.6 /usr/lib/latex2html/texexpand.pl -auto_exclude -save_styles /var/tmp/portage/darcs-1.0.4/work/darcs-1.0.4/manual/TMP/styles -texinputs /var/tmp/portage/darcs-1.0.4/work/darcs-1.0.4 -out /var/tmp/portage/darcs-1.0.4/work/darcs-1.0.4/manual/TMP/darcs /var/tmp/portage/darcs-1.0.4/work/darcs-1.0.4/darcs.tex" failed: No such file or directory
>> at /usr/lib/latex2html/latex2html.pl line 779
>> texexpand failed: No such file or directory
>>Compilation failed in require at /usr/bin/latex2html line 39.
>>make: *** [manual/index.html] Error 2
>>
>>
>>If 'doc' flag is not in use, everything is fine.
>>
>>
>
>Does the file darcs.tex actually exist? It ought to have been created by an
>earlier call to preproc. I haven't been able to reproduce this error.
>Could you send a log of the entire build to me (perhaps off-list as it may
>be sort of long)?
>
>
I have the same problem, from 1.0.3rc2 and upwards.
However, I'm suspecting that this is not a darcs issue, but a latex2html
issue (or of its configuration). I'm having this on an up-to-date
(stable) Gentoo distro. (And from Gour's message I see that he's using
Gentoo as well.)
I haven't had the time to figure this out a bit better, but latex2html
is complaining about files manual/TMP/styles and manual/TMP/darcs not
being present (relative to the build directory root). And it is
certainly right about that. TMP contains a number of dbm files
(.dir/.pag pairs), but none with names resembling 'styles' or 'darcs'.
Here is the relevant part of the build output in full:
<<<<<<<<<<
./preproc darcs.lhs --html > darcs.tex
latex2html -split +1 -dir manual darcs.tex
Note: Loading ./.latex2html-init
Note: Initialising with file: .latex2html-init
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/darcs-1.0.3-r1/work/darcs-1.0.3/darcs.tex
Cannot create directory manual/: Bestand bestaat, reusing it.
Reusing directory manual/:
Note: Working directory is
/var/tmp/portage/darcs-1.0.3-r1/work/darcs-1.0.3/manual
Note: Images will be generated in /tmp/l2h14334
Fatal (syswait): exec "/usr/bin/perl5.8.5
/usr/lib/latex2html/texexpand.pl -auto_exclude -save_styles
/var/tmp/portage/darcs-1.0.3-r1/work/darcs-1.0.3/manual/TMP/styles
-texinputs /var/tmp/portage/darcs-1.0.3-r1/work/darcs-1.0.3 -out
/var/tmp/portage/darcs-1.0.3-r1/work/darcs-1.0.3/manual/TMP/darcs
/var/tmp/portage/darcs-1.0.3-r1/work/darcs-1.0.3/darcs.tex" failed:
Onbekend bestand of map
at /usr/lib/latex2html/latex2html.pl line 779
Loading /usr/lib/latex2html/styles/texdefs.perl...
Error: Cannot read 'TMP/styles': Onbekend bestand of map
Reading ...
Error: Cannot read 'TMP/darcs': Onbekend bestand of map
Compilation failed in require at /usr/bin/latex2html line 39.
>>>>>>>>>>
(And sorry for the Dutch phrases :-) "Onbekend bestand of map" == "No
such file or directory".)
Hope this helps someone.
Groetjes,
<><
Marnix
More information about the darcs-users
mailing list