Can't typeset docs

Ben Gamari ben at well-typed.com
Thu Feb 8 19:57:58 UTC 2018


Simon Peyton Jones via ghc-devs <ghc-devs at haskell.org> writes:

> |  > When I have
> |  >
> |  > BUILD_SPHINX_HTML        = YES
> |  >
> |  > BUILD_SPHINX_PDF         = YES
> |  > I get this error in my build.  Any ideas? I think Sphinx is up to
> |  date.
> |  > Thanks
> |  > Simon
> |  >
> |  I suspect the cause here is the --no-clean, which doesn't run ./boot
> |  and ./configure. The latter generates docs/users_guide/ghc_config.py,
> |  which appears to be missing. Is the problem reproducible with a fresh
> |  validate?
>
> Thanks Ben.  I think you are right -- sorry about that.  I didn't know that you need to start from clean of you change those settings.
>
> But a fresh validate still fails, just differently.  Tail of the log is below.  There seem be two suspicious lines:
>
> 	Package cmap Warning: pdftex not detected - exiting.
>
> and later
> 	(/usr/share/texlive/texmf-dist/doc/support/pedigree-perl/examples/english.cfg
> 	! You can't use `macro parameter character #' in vertical mode.
> 	l.1 #
>   	    An example configuration file for pedigree program
> 	No pages of output.
>

Hmm, judging from this [1] I would guess that this is a system
configuration issue. Does your configuration set TEXINPUTS by any
chance?

Cheers,

- Ben

[1] https://tex.stackexchange.com/questions/91284/error-in-english-cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 487 bytes
Desc: not available
URL: <http://mail.haskell.org/pipermail/ghc-devs/attachments/20180208/66e174d9/attachment.sig>


More information about the ghc-devs mailing list