Skip to content

MakingReleases outdated or build system problems

Hey, I have some problems following https://ghc.haskell.org/trac/ghc/wiki/MakingReleases 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 'filename.as.url=0' utils/haddock/doc/haddock.xml --ps -o utils/haddock/doc/haddock.ps
"" -P 'filename.as.url=0' 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/haddock.ps] 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.

Trac metadata
Trac field Value
Version 7.10.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Build System
Test case
Differential revisions
BlockedBy
Related
Blocking
CC nh2
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information