Closed andreasabel closed 2 years ago
Don't use -openssl
. The +openssl
configuration works well. (Problems with basement
aren't my problems).
Thanks for the quick advice!
With flag openssl
(not the default) it seems to fail at HsOpenSSL (>=0.11.4.16 && <0.12)
, via github -> HsOpenSSL/text/parsec
(incompatible requirements on bytestring
).
$ cabal install github-0.27 -f+openssl
Resolving dependencies...
Error: cabal: Could not resolve dependencies:
[__0] trying: github-0.27 (user goal)
[__1] rejecting: github:-openssl (constraint from config file, command line
flag, or user target requires opposite flag selection)
[__1] trying: github:+openssl
[__2] trying: HsOpenSSL-0.11.7.2 (dependency of github +openssl)
[__3] next goal: text (dependency of github)
[__3] rejecting: text-1.2.5.0/installed-1.2.5.0 (conflict: HsOpenSSL =>
bytestring>=0.9 && <0.11, text => bytestring==0.11.1.0/installed-0.11.1.0)
[__3] trying: text-1.2.5.0
[__4] trying: network-uri-2.6.4.1 (dependency of github)
[__5] next goal: parsec (dependency of network-uri)
[__5] rejecting: parsec-3.1.14.0/installed-3.1.14.0 (conflict: HsOpenSSL =>
bytestring>=0.9 && <0.11, parsec => bytestring==0.11.1.0/installed-0.11.1.0)
[__5] trying: parsec-3.1.14.0
[__6] next goal: base (dependency of github)
[__6] rejecting: base-4.16.0.0/installed-4.16.0.0 (conflict: parsec =>
base>=4.5.0 && <4.16)
The version of HsOpenSSL
that is picked by cabal-install with GHC 9.2 on my system is 0.11.4.15
(excluded by github-0.27
):
$ cabal install HsOpenSSL
Resolving dependencies...
Build profile: -w ghc-9.2.1 -O1
In order, the following will be built (use -v for more details):
- network-2.5.0.0 (lib:network) (requires download & build)
- HsOpenSSL-0.11.4.15 (lib:HsOpenSSL) (requires download & build)
((SUCCEEDS))
Seems like the dependency chain
github -> tls -> memory -> basement
is failing at its end:Blocked by: