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
Most Haskell formulas do not build from source anymore #48604
Comments
I followed the advice from here and the ❯ git diff
diff --git a/Library/Homebrew/language/haskell.rb b/Library/Homebrew/language/haskell.rb
index e4b11e307..99a40bc0c 100644
--- a/Library/Homebrew/language/haskell.rb
+++ b/Library/Homebrew/language/haskell.rb
@@ -80,7 +80,7 @@ module Language
args_and_flags << flags unless flags.nil?
# install dependencies in the sandbox
- cabal_install "--only-dependencies", *args_and_flags
+ cabal_install "--only-dependencies", "--allow-newer=base", *args_and_flags
# call configure if build flags are set
cabal_configure flags unless flags.nil? It still errors out with the following:
Not sure if this subsequent error is related at all to the previous situation. |
I replaced |
Also on a bit of a tangent, is there any particular reason why we use |
The installed ghc version must be one with which the haskell formula's target packages and all their deps build successfully. Typically each major ghc release breaks a bunch of packages and they take a while to catch up. [Any formula using cabal should probably specify the ghc version explicitly, as you did.]
No good reason I think. Related discussion: at Homebrew/brew#6945 (comment) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Reopening, this is still ongoing. |
Output
Output
Output
Output
Output
Output
Output
Output
Output
Output
Output
Output
Output
Output
|
All fixed. |
We have a Haskell problem
Most of our haskell related formulas (
brew uses --include-build cabal-install
) fail to build, on all macOS versions. For example,bench
:Many formulas have never built since macOS Catalina was released, so we really have a systematic issue. I have zero idea how to investigate or fix this.
The text was updated successfully, but these errors were encountered: