Open
Description
Describe the bug
I'm the maintainer for the MacPorts cabal
port and am trying to update to version 3.8.1.0.
I'm following the revised bootstrap instructions on https://github.com/haskell/cabal/blob/master/bootstrap/README.md#bootstrapping-cabal-install and am hitting this issue. The cabal
binary is downloaded from https://downloads.haskell.org/~cabal/cabal-install-3.8.1.0/.
cabal new-update
cabal new-configure
cd ./bootstrap
cabal v2-run -v0 cabal-bootstrap-gen -- darwin-9.2.1.plan.json | tee darwin-9.2.1.json
The cabal
error prior to the tee
output is:
Error: cabal: Could not resolve dependencies:
[__0] trying: cabal-bootstrap-gen-0 (user goal)
[__1] next goal: base (dependency of cabal-bootstrap-gen)
[__1] rejecting: base-4.16.0.0/installed-4.16.0.0 (conflict:
cabal-bootstrap-gen => base^>=4.12.0.0 || ^>=4.13.0.0 || ^>=4.14.0.0)
[__1] skipping: base-4.15.0.0 (has the same characteristics that caused the
previous version to fail: excluded by constraint '^>=4.12.0.0 || ^>=4.13.0.0
|| ^>=4.14.0.0' from 'cabal-bootstrap-gen')
[__1] rejecting: base-4.14.1.0, base-4.14.0.0, base-4.13.0.0, base-4.12.0.0,
base-4.11.1.0, base-4.11.0.0, base-4.10.1.0, base-4.10.0.0, base-4.9.1.0,
base-4.9.0.0, base-4.8.2.0, base-4.8.1.0, base-4.8.0.0, base-4.7.0.2,
base-4.7.0.1, base-4.7.0.0, base-4.6.0.1, base-4.6.0.0, base-4.5.1.0,
base-4.5.0.0, base-4.4.1.0, base-4.4.0.0, base-4.3.1.0, base-4.3.0.0,
base-4.2.0.2, base-4.2.0.1, base-4.2.0.0, base-4.1.0.0, base-4.0.0.0,
base-3.0.3.2, base-3.0.3.1 (constraint from non-upgradeable package requires
installed instance)
[__1] fail (backjumping, conflict set: base, cabal-bootstrap-gen)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, cabal-bootstrap-gen
Expected behavior
I expect the file darwin-9.2.1.json
to be created to be able to bootstrap cabal
on macOS.
System information
macOS 12.5 21G72 x86_64
Xcode 13.4.1 13F100
cabal-install version 3.8.1.0
compiled using version 3.8.1.0 of the Cabal library
The Glorious Glasgow Haskell Compilation System, version 9.2.1