Opened 5 years ago

Closed 4 years ago

Last modified 12 months ago

#10310 closed bug (fixed)

MakingReleases outdated or build system problems

Reported by: nh2 Owned by:
Priority: normal Milestone: 8.0.1
Component: Build System (make) Version: 7.10.1
Keywords: Cc: nh2
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Hey, I have some problems following with HEAD.

I'll collect them here, maybe we can update the Wiki page together, or fix the corresponding problems in the build system if they are problems.

1) make sdist fails with the problem that ghc-tarballs doesn't exist. I've heard that's only needed on Windows, and that some people seem to get it by cloning a submodule when they are on Windows. A mkdir ghc-tarballs fixed it. Maybe that directory should be created by the build system?

2) When I make in the unpacked sdist tarball, I get

"" -P '' utils/haddock/doc/haddock.xml --ps -o utils/haddock/doc/
"" -P '' utils/haddock/doc/haddock.xml --pdf -o utils/haddock/doc/haddock.pdf
/bin/bash: : command not found
/bin/bash: : command not found
make[1]: *** [utils/haddock/doc/] Error 127
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [utils/haddock/doc/haddock.pdf] Error 127

Looks like some program was set to the empty string here.

Change History (3)

comment:1 Changed 5 years ago by nh2

I think the problem for 2) is that if dblatex is not found in the PATH, but the instructions

$ cat > mk/ <<EOF

force BUILD_DOCBOOK_PS/BUILD_DOCBOOK_PDF to YES, then configure doesn't check that dblatex is actually available, and happily goes on with DBLATEX and DblatexCmd being set to "".

I think configure should check that dblatex is actually available, or DblatexCmd != "".

comment:2 Changed 4 years ago by thomie

Milestone: 8.0.1
Resolution: fixed
Status: newclosed

Turns out both issues are fixed already:

  • The MakingReleases page now mentions to run ./mk/ download all first.
  • When mk/ says to build the documentation, but configure figured out that the right tools aren't available, then the build will error out with a nice message (#10157).

comment:3 Changed 12 months ago by bgamari

Component: Build SystemBuild System (make)

The new Hadrian build system has been merged. Relabeling the tickets concerning the legacy make build system to prevent confusion.

Note: See TracTickets for help on using tickets.