-
Notifications
You must be signed in to change notification settings - Fork 724
Closed
Labels
priority: high 🔥type: assertion-failNB: assertions are only enabled in devel-buildsNB: assertions are only enabled in devel-buildstype: bug
Milestone
Description
Repro:
≻ rm -rf propellor-5.7.0/
≻ cabal get propellor
Unpacking to propellor-5.7.0/
≻ cd propellor-5.7.0/
≻ cabal build --enable-documentation
Resolving dependencies...
Build profile: -w ghc-8.6.4 -O1
In order, the following will be built (use -v for more details):
Assertion failed
CallStack (from HasCallStack):
assert, called at ./Distribution/Client/ProjectPlanning.hs:242:5 in main:Distribution.Client.ProjectPlanning
This is the problematic assertion:
cabal/cabal-install/Distribution/Client/ProjectPlanning.hs
Lines 238 to 244 in 4061bfa
| -- either a package is being built inplace, or the | |
| -- 'installedPackageId' we assigned is consistent with | |
| -- the 'hashedInstalledPackageId' we would compute from | |
| -- the elaborated configured package | |
| . assert (elabBuildStyle == BuildInplaceOnly || | |
| elabComponentId == hashedInstalledPackageId | |
| (packageHashInputs sharedConfig elab)) |
georgefst
Metadata
Metadata
Assignees
Labels
priority: high 🔥type: assertion-failNB: assertions are only enabled in devel-buildsNB: assertions are only enabled in devel-buildstype: bug