Build error when doing full build

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build error when doing full build

Jan Stolarek
I'm trying to build GHC from commit def97b82b3c5f2787e6eea5ddb52d69b8e86fc82 (it's from Monday).
This is for validation so I'm making a full build to run the test suite. When doing 'make -j2' I
got en error like this:

------------------------------------------------------------------------

Build haddock.ps
Build haddock.pdf
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 restricted \write18 enabled.
 restricted \write18 enabled.
entering extended mode
entering extended mode
processing index /tmp/tmpi1K_Jj/haddock_tmp.idx...

makeindex: Not writing to /tmp/tmpi1K_Jj/haddock_tmp.ind (openout_any = p).
Can't create output index file /tmp/tmpi1K_Jj/haddock_tmp.ind.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
could not make index /tmp/tmpi1K_Jj/haddock_tmp.ind
Error: latex compilation failed
make[1]: *** [utils/haddock/doc/haddock.ps] B??d 1
make[1]: *** Oczekiwanie na niezako?czone zadania....
processing index /tmp/tmpGEJ104/haddock_tmp.idx...

makeindex: Not writing to /tmp/tmpGEJ104/haddock_tmp.ind (openout_any = p).
Can't create output index file /tmp/tmpGEJ104/haddock_tmp.ind.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
could not make index /tmp/tmpGEJ104/haddock_tmp.ind
Error: pdflatex compilation failed
make[1]: *** [utils/haddock/doc/haddock.pdf] B??d 1
make: *** [all] B??d 2

------------------------------------------------------------------------

I tried to continue by typing 'make' and the build did resume, but at some point I ended up with
the same problem (or a very similar one):

------------------------------------------------------------------------

XSLT stylesheets DocBook -  LaTeX 2e (0.2.7)
===================================================
Pixel unit not handled (replaced by pt)
Pixel unit not handled (replaced by pt)
Found eps for 'prof_scc'
Missing character Λ
Build users_guide.ps
This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
processing index /tmp/tmp_1vN_S/users_guide_tmp.idx...

makeindex: Not writing to /tmp/tmp_1vN_S/users_guide_tmp.ind (openout_any = p).
Can't create output index file /tmp/tmp_1vN_S/users_guide_tmp.ind.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
could not make index /tmp/tmp_1vN_S/users_guide_tmp.ind
Error: latex compilation failed
make[1]: *** [docs/users_guide/users_guide.ps] B??d 1
make: *** [all] B??d 2

------------------------------------------------------------------------

Now when I type 'make' I just end up with this error. This happens when compiling stage 2, but
only with full build. Quick build goes fine. Is there anything I'm missing on my system?

Janek


Reply | Threaded
Open this post in threaded view
|

Build error when doing full build

Jan Stolarek
A followup: same thing happens when building latest HEAD.

Janek


Reply | Threaded
Open this post in threaded view
|

Build error when doing full build

Ian Lynagh-2
In reply to this post by Jan Stolarek
On Wed, Jan 16, 2013 at 09:56:12AM +0100, Jan Stolarek wrote:

>
> XSLT stylesheets DocBook -  LaTeX 2e (0.2.7)
> ===================================================
> Pixel unit not handled (replaced by pt)
> Pixel unit not handled (replaced by pt)
> Found eps for 'prof_scc'
> Missing character Λ
> Build users_guide.ps
> This is pdfTeX, Version 3.1415926-1.40.11 (TeX Live 2010)
>  restricted \write18 enabled.
> entering extended mode
> processing index /tmp/tmp_1vN_S/users_guide_tmp.idx...
>
> makeindex: Not writing to /tmp/tmp_1vN_S/users_guide_tmp.ind (openout_any = p).
> Can't create output index file /tmp/tmp_1vN_S/users_guide_tmp.ind.
> Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
> could not make index /tmp/tmp_1vN_S/users_guide_tmp.ind
> Error: latex compilation failed
> make[1]: *** [docs/users_guide/users_guide.ps] B??d 1
> make: *** [all] B??d 2

I assume you can reproduce this by running

    "/usr/bin/dblatex" -P 'filename.as.url=0' docs/users_guide/users_guide.xml --ps -o docs/users_guide/users_guide.ps

It looks like your dblatex is telling tex to write under /tmp, but tex
doesn't think that it is allowed to write there. FWIW, I get:

[...]
entering extended mode
processing index /tmp/tmpLmFBxm/users_guide.idx...
This is makeindex, version 2.15 [TeX Live 2009] (kpathsea + Thai support).
Scanning style file /usr/share/dblatex/latex/scripts/doc.ist....done (4 attributes redefined, 0 ignored).
Scanning input file /tmp/tmpLmFBxm/users_guide.idx....done (848 entries accepted, 12 rejected).
Sorting entries..........done (9055 comparisons).
Generating output file /tmp/tmpLmFBxm/users_guide.ind....done (960 lines written, 0 warnings).
[...]


Thanks
Ian



Reply | Threaded
Open this post in threaded view
|

Build error when doing full build

Jan Stolarek
Dnia ?roda, 16 stycznia 2013, Ian Lynagh napisa?:
> I assume you can reproduce this by running
>
>     "/usr/bin/dblatex" -P 'filename.as.url=0'
> docs/users_guide/users_guide.xml --ps -o docs/users_guide/users_guide.ps
Running this command in the GHC build tree gives me:

Build the listings...
warning: failed to load external
entity "/dane/uczelnia/projekty/ghc-build/docs/users_guide/users_guide.xml"
unable to parse /dane/uczelnia/projekty/ghc-build/docs/users_guide/users_guide.xml

Anyway, the most important thing for me is that I can work around this by disabling building of
docs in build.mk and validate.mk (though it would be nice to get the documentation to build.

Janek