Skip to content

`make install` fails in ghc-9.4 branch

Summary

As I understand it, you are still planning to support building GHC 9.4.x with make. I tried this in the ghc-9.4 branch today (commit 8c7dcdab). Building with GHC 9.0.2, make succeeds, but make install fails as follows:

make[1]: *** No rule to make target 'mk/system-cxx-std-lib-1.0.conf.install', needed by 'install_packages'.  Stop.
make: *** [Makefile:128: install] Error 2

Copying mk/system-cxx-std-lib-1.0.conf to mk/system-cxx-std-lib-1.0.conf.install lets the installation succeed. I believe adding a rule that does this would be the right fix; there are no paths that need to be adapted.

Steps to reproduce

Nothing special, just boot, configure, make.

Environment

  • GHC version used:

Optional:

  • Operating System: Linux
  • System Architecture: x86_64
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information