Skip to content

Download failed when building GHC from source on MacOS 12.6

I'm running this command and getting this error:

% ghcup compile ghc -j 6 -g wip/T22227 -b 8.10.7
[ Warn  ] New stack version available. To upgrade, run 'ghcup install stack 2.9.1'
[ Info  ] Fetching git repo https://gitlab.haskell.org/ghc/ghc.git at ref wip/T22227 (this may take a while)
[ Error ] Download failed: Process "make" with arguments ["show!", "--quiet",
[ ...   ]                                                 "VALUE=ProjectVersion"] failed with exit code 2.

Here are my full logs:

ghc-bootstrap.log

ghcup.log

git.log

I have already tried updating xcode and I am fairly sure that it now works correctly.

I have also found two other issues on this issue tracker relating to compiling ghc from source with ghcup, but neither seems related.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information