Closed
Description
Lifted from #8489 (comment):
Cabal-3.8.1.0
comes with a constraint process >= 1.6.14
(released 2022) for ghc >= 8.2
(released 2017!). This looks non-sensical to me. It makes cabal
trying to reinstall the ghc
package, which is bound to fail. In the wild:
cabal-3.6.2.0: Could not resolve dependencies:
[__0] trying: hackage-server-0.5.1 (user goal)
[__1] rejecting: hackage-server:!test (constraint from config file, command line flag, or user target requires opposite flag selection)
[__1] trying: hackage-server:*test
[__2] trying: doctest-parallel-0.2.5 (dependency of hackage-server *test)
[__3] trying: ghc-9.2.4/installed-9.2.4 (dependency of doctest-parallel)
[__4] next goal: Cabal (dependency of hackage-server)
[__4] rejecting: Cabal-3.6.3.0/installed-3.6.3.0 (conflict: hackage-server => Cabal^>=3.8.1.0)
[__4] rejecting: Cabal-3.8.1.0 (conflict: ghc => process==1.6.13.2/installed-1.6.13.2, Cabal => process>=1.6.14.0 && <1.7)
Blame for the process >= 1.6.14
constraint goes to 95cf762. (Ping @robx.)
Sat Jul 9 14:48:25 2022 +0200
Cabal: depend on process-1.6.14.0 to fix waitForProcess error messageThis is guarded to be for GHC from 8.2 only, since the process release depends on base-4.10.
This extra constraint seems to have been removed from master
in the meantime.
However, it seems like a release of Cabal-3.8
is warranted to render Cabal-3.8
usable with the preinstalled ghc
package below 9.4
.