Closed
Description
Using GHC 9.2.3 and cabal master:
$ cabal haddock --haddock-for-hackage --enable-doc
Warning: this is a debug build of cabal-install with assertions enabled.
Resolving dependencies...
Build profile: -w ghc-9.2.3 -O0
In order, the following will be built (use -v for more details):
- OneTuple-0.3.1 (lib) (requires build)
...
- generically-0.1 (lib) (requires build)
Assertion failed
CallStack (from HasCallStack):
assert, called at src/Distribution/Client/ProjectPlanning.hs:246:5 in cabal-install-3.9.0.0-inplace:Distribution.Client.ProjectPlanning
Also triggered by cabal build --enable-doc
.
It is this assertion
cabal/cabal-install/src/Distribution/Client/ProjectPlanning.hs
Lines 242 to 248 in 2353627
Here is the packed up directory in which I can reproduce the bug:
cabal-assertion-failed.zip
(I hope it can be reproduced even without my .cabal
directory...)