[GHC] #12058: Documentation will not build on platforms where GNU make is not called make
GHC
ghc-devs at haskell.org
Sat May 14 06:42:55 UTC 2016
#12058: Documentation will not build on platforms where GNU make is not called make
-------------------------------------+-------------------------------------
Reporter: pgj | Owner:
Type: bug | Status: new
Priority: highest | Milestone: 8.0.1
Component: Build System | Version: 8.0.1
Keywords: | Operating System: Unknown/Multiple
Architecture: | Type of failure: Building GHC
Unknown/Multiple | failed
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
I have tried to build the source tarball on FreeBSD, but it always stops
somewhere around the documentation bits with the following error message:
{{{
[..]
make -C utils/haddock/doc html SPHINX_BUILD=/usr/local/bin/sphinx-build
make: illegal option -- -
usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable]
[-d flags] [-E variable] [-f makefile] [-I directory]
[-j max_jobs] [-m directory] [-V variable]
[variable=value] [target ...]
utils/haddock/doc/ghc.mk:22: recipe for target 'html_utils/haddock/doc'
failed
gmake[1]: *** [html_utils/haddock/doc] Error 2
Makefile:129: recipe for target 'all' failed
gmake: *** [all] Error 2
}}}
That is probably because FreeBSD has GNU make(1) as {{{gmake}}}, it should
be invoked with that name, that is, the value of the {{{$(MAKE)}}}
variable is not respected at the recursive invocation of make(1).
I have attached a patch for the {{{haddock}}} repository that fixes this
problem.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12058>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list