error: Can't find interface-file declaration for type constructor or class Data.Type.Ord.OrdCond
Summary
I'm getting
Can't find interface-file declaration for type constructor or class Data.Type.Ord.OrdCond
Probable cause: bug in .hi-boot file, or inconsistent .hi file
when compiling my project with ghc-9.11.20240412. Fresh install, fresh build, fresh everything.
@bgamari has successfully reproduced.
Steps to reproduce
This requires head.hackage.
clone https://github.com/Mikolaj/horde-ad, master branch is fine (but an old branch has the same problem)
cabal test simplifiedOnlyTest --test-options='-p 3concatBuild' --allow-newer --enable-optimization --ghc-options='-dcore-lint -dstg-lint -dcmm-lint -dtag-inference-checks' --with-compiler=/home/mikolaj/r/ghc.HEAD/ghc/_build/stage1/bin/ghc --ghc-options=-ddump-if-trace
A lot of these options are unneeded, I'm sure.
Expected behavior
No error, just as with GHC 9.8.2.
Environment
- GHC version used: ghc-9.11.20240412, but the same happens with ghc-9.11.20240409
Optional:
- Operating System: too old
- System Architecture: PC