-
Notifications
You must be signed in to change notification settings - Fork 701
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cabal 3.2.0.0, ghc 8.10.1 does not build packages on macOS #6699
Comments
@essandess It doesn't look like |
Whoops, thanks, I missed that important detail. Sorry to bug you with this. I'll ask @ndmitchell to update hackage. We use hackage as source: |
I'm downloading from hackage, running this cabal command in the source directory, and getting the errors above. This appears to be an issue with /opt/local/bin/cabal new-configure --prefix=/opt/local --bindir=/opt/local/bin --libdir=/opt/local/lib --libsubdir=hlint --dynlibdir=/opt/local/lib --libexecdir=/opt/local/libexec --libexecsubdir=hlint --datadir=/opt/local/share/hlint --docdir=/opt/local/share/doc/hlint --htmldir=/opt/local/share/doc/hlint --sysconfdir=/opt/local/etc/hlint --enable-documentation --enable-relocatable |
@essandess I see there was some confusion.
I advised using the version from GitHub that is compatible with GHC 8.10 according to its code in the if !flag(ghc-lib) && impl(ghc >= 8.10.0) && impl(ghc < 8.11.0)
build-depends:
ghc == 8.10.*,
ghc-boot-th,
ghc-boot
else
build-depends:
ghc-lib-parser == 8.10.*
build-depends:
ghc-lib-parser-ex >= 8.10.0.3 && < 8.10.1 Although the value of the
|
@chshersh Thank you very much for your help. cc: @ndmitchell |
Doesn't seem to be a Cabal issue. |
@essandess for the record, you can consult https://matrix.hackage.haskell.org/package/hlint to see if there exists build-plans for a given GHC |
@essandess - @chshersh is indeed correct. To find the code corresponding to 2.11 in HLint use the 2.11 tag. Otherwise I'd have to make two version changes on every release, and burn up precious version numbers (HLint isn't big enough to have a odd/even stable/unstable pattern). |
I'm trying to use the prebuilt compilation of
cabal
v. 3.2.0.0 withghc
v. 8.10.1 to update the MacPorts version of hlint and others, but the build fails with errors like these:Related:
The text was updated successfully, but these errors were encountered: