Building GHC from source fails

System Details

x86_64-pc-linux-gnu
ghc version 9.6.4

Problems Description

I am trying to build GHC-9.10.1 using hadrian, which worked fine until I came across this issue. Any help would be greatly appreciated.

Command line: sh configure --prefix=/ghc-9.10.1/_build/stage1/libffi/build/inst --libdir=/ghc-9.10.1/_build/stage1/libffi/build/inst/lib --enable-static=yes --enable-shared=yes --host=x86_64-unknown-linux
===> Command failed with error code: 2
../configure: 2193: ./configure.lineno: cannot create config.log: Directory nonexistent
../configure: 2203: ./configure.lineno: cannot create config.log: Directory nonexistent
cat: standard output: No such file or directory

you did run ./boot before ./configure right?

No, because I downloaded a source distribution from the GHC website, where they already do that for you.

@CyrilFMoser I’d suggest to raise a question at Issues · Glasgow Haskell Compiler / GHC · GitLab, people there would be better equipped to help.

My account there is still pending and has been for multiple days now… I can’t find a way to contact them about it either.

If you ping the matrix channel at https://matrix.to/#/#GHC:matrix.org you will usually be approved as soon as some of the gitlab admins sees you :slight_smile: