Skip to content
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

Closed
fxcoudert opened this issue Jan 6, 2020 · 8 comments
Closed

Most Haskell formulas do not build from source anymore #48604

fxcoudert opened this issue Jan 6, 2020 · 8 comments
Labels
haskell Haskell use is a significant feature of the PR or issue outdated PR was locked due to age

Comments

@fxcoudert
Copy link
Member

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:

==> cabal v1-install --jobs=6 --max-backjumps=100000 --only-dependencies
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries' [-Wunused-command-line-argument]
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: bench-1.0.12 (user goal)
[__1] next goal: optparse-applicative (dependency of bench)
[__1] rejecting: optparse-applicative-0.15.1.0, optparse-applicative-0.15.0.0
(conflict: bench => optparse-applicative>=0.14.0.0 && <0.15)
[__1] trying: optparse-applicative-0.14.3.0
[__2] next goal: base (dependency of bench)
[__2] rejecting: base-4.13.0.0/installed-4.1... (conflict:
optparse-applicative => base>=4 && <4.13)
[__2] rejecting: 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)
[__2] fail (backjumping, conflict set: base, bench, optparse-applicative)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: bench, optparse-applicative, base
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.

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.

@fxcoudert fxcoudert added the haskell Haskell use is a significant feature of the PR or issue label Jan 6, 2020
@alebcay
Copy link
Member

alebcay commented Jan 7, 2020

I followed the advice from here and the bench bench build is getting farther. Basically, I just changed /usr/local/Homebrew/Library/Homebrew/language/haskell.rb:

❯ 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:

Failed to install optparse-applicative-0.14.3.0
Build log ( /private/tmp/bench-20200106-92192-1kqqli6/bench-1.0.12/.cabal-sandbox/logs/ghc-8.8.1/optparse-applicative-0.14.3.0-1zbJj5wiKybJF7rJnP3gnB.log ):
cabal: Entering directory '/private/tmp/cabal-tmp-92226/optparse-applicative-0.14.3.0'
Configuring optparse-applicative-0.14.3.0...
clang: warning: -Wl,-headerpad_max_install_names: 'linker' input unused [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/usr/local/lib' [-Wunused-command-line-argument]
clang: warning: argument unused during compilation: '-L/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries' [-Wunused-command-line-argument]
Preprocessing library for optparse-applicative-0.14.3.0..
Building library for optparse-applicative-0.14.3.0..

on the commandline: warning:
    -Wnoncanonical-monadfail-instances is deprecated: fail is no longer a method of Monad
[ 1 of 16] Compiling Options.Applicative.Help.Levenshtein ( Options/Applicative/Help/Levenshtein.hs, dist/dist-sandbox-d28b7ebd/build/Options/Applicative/Help/Levenshtein.o )
[ 2 of 16] Compiling Options.Applicative.Help.Pretty ( Options/Applicative/Help/Pretty.hs, dist/dist-sandbox-d28b7ebd/build/Options/Applicative/Help/Pretty.o )
[ 3 of 16] Compiling Options.Applicative.Help.Chunk ( Options/Applicative/Help/Chunk.hs, dist/dist-sandbox-d28b7ebd/build/Options/Applicative/Help/Chunk.o )
[ 4 of 16] Compiling Options.Applicative.Help.Types ( Options/Applicative/Help/Types.hs, dist/dist-sandbox-d28b7ebd/build/Options/Applicative/Help/Types.o )
[ 5 of 16] Compiling Options.Applicative.Types ( Options/Applicative/Types.hs, dist/dist-sandbox-d28b7ebd/build/Options/Applicative/Types.o )

Options/Applicative/Types.hs:178:3: error:
    ‘fail’ is not a (visible) method of class ‘Monad’
    |
178 |   fail = Fail.fail
    |   ^^^^
cabal: Leaving directory '/private/tmp/cabal-tmp-92226/optparse-applicative-0.14.3.0'
Completed    bifunctors-5.5.6
Completed    attoparsec-0.13.2.3
Completed    vector-0.12.0.3
cabal: Error: some packages failed to install:
criterion-1.5.6.1-L8Woz11CBVSAjF0ru1QCYy depends on criterion-1.5.6.1 which
failed to install.
optparse-applicative-0.14.3.0-1zbJj5wiKybJF7rJnP3gnB failed during the
building phase. The exception was:
ExitFailure 1
turtle-1.5.15-JnrAoWCmUXzBhM6P8aT1yA depends on turtle-1.5.15 which failed to
install.

Not sure if this subsequent error is related at all to the previous situation.

@Moisan
Copy link
Member

Moisan commented Jan 7, 2020

I replaced ghc by ghc@8.6 as the dependency of bench and it builds fine. Could the it be that the version cabal-install is built with must be the one used to build haskell formulae?

@alebcay
Copy link
Member

alebcay commented Jan 7, 2020

Also on a bit of a tangent, is there any particular reason why we use cabal v1-install and not just cabal install?

@simonmichael
Copy link
Contributor

simonmichael commented Jan 17, 2020

Could the it be that the version cabal-install is built with must be the one used to build haskell formulae?

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.]

is there any particular reason why we use cabal v1-install and not just cabal install ?

No good reason I think. Related discussion: at Homebrew/brew#6945 (comment)

@stale
Copy link

stale bot commented Feb 7, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.

@stale stale bot added the stale No recent activity label Feb 7, 2020
@stale stale bot closed this as completed Feb 14, 2020
@Moisan Moisan reopened this Feb 14, 2020
@stale stale bot removed the stale No recent activity label Feb 14, 2020
@Moisan
Copy link
Member

Moisan commented Feb 14, 2020

Reopening, this is still ongoing.

@Bo98
Copy link
Member

Bo98 commented Feb 28, 2020

Output
cabal: Could not resolve dependencies:
[__0] trying: Agda-2.6.0.1 (user goal)
[__1] next goal: base (dependency of Agda)
[__1] rejecting: base-4.13.0.0/installed-4.1... (conflict: Agda =>
base>=4.8.0.0 && <4.13)
[__1] rejecting: 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: Agda, base)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: Agda, base
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
Linking /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/arx/arx ...
Preprocessing library for arx-0.3.2..
Building library for arx-0.3.2..
[1 of 9] Compiling System.Posix.ARX.CLI.CLTokens ( System/Posix/ARX/CLI/CLTokens.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/CLI/CLTokens.o )
[2 of 9] Compiling System.Posix.ARX.HEREDat ( System/Posix/ARX/HEREDat.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/HEREDat.o )
[3 of 9] Compiling System.Posix.ARX.Sh ( System/Posix/ARX/Sh.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/Sh.o )
[4 of 9] Compiling System.Posix.ARX.CLI.Options ( System/Posix/ARX/CLI/Options.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/CLI/Options.o )
[5 of 9] Compiling System.Posix.ARX.TMPXTools ( System/Posix/ARX/TMPXTools.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/TMPXTools.o )
[6 of 9] Compiling System.Posix.ARX.Tar ( System/Posix/ARX/Tar.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/Tar.o )
[7 of 9] Compiling System.Posix.ARX.Programs ( System/Posix/ARX/Programs.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/Programs.o )
[8 of 9] Compiling System.Posix.ARX ( System/Posix/ARX.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX.o )
[9 of 9] Compiling System.Posix.ARX.CLI ( System/Posix/ARX/CLI.hs, /private/tmp/arx-20200227-88849-1qe8loq/arx-0.3.2/dist-newstyle/build/x86_64-osx/ghc-8.8.3/arx-0.3.2/build/System/Posix/ARX/CLI.o )
mkdir -p tmp
cp dist/build/arx/arx tmp/arx.cabal
cp: dist/build/arx/arx: No such file or directory
make: *** [tmp/arx.cabal] Error 1
Output
cabal: Could not resolve dependencies:
[__0] trying: bench-1.0.12 (user goal)
[__1] next goal: optparse-applicative (dependency of bench)
[__1] rejecting: optparse-applicative-0.15.1.0, optparse-applicative-0.15.0.0
(conflict: bench => optparse-applicative>=0.14.0.0 && <0.15)
[__1] trying: optparse-applicative-0.14.3.0
[__2] next goal: base (dependency of bench)
[__2] rejecting: base-4.13.0.0/installed-4.1... (conflict:
optparse-applicative => base>=4 && <4.13)
[__2] rejecting: 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)
[__2] fail (backjumping, conflict set: base, bench, optparse-applicative)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: bench, optparse-applicative, base
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
Resolving dependencies...
In order, the following would be installed:
StateVar-1.2 (via: contravariant-1.5.2) (new package)
base-orphans-0.8.2 (via: semigroupoids-5.3.4 bifunctors-5.5.7
distributive-0.6.1) (new package)
cabal-doctest-1.0.8 (via: semigroupoids-5.3.4 comonad-5.0.6
distributive-0.6.1) (new package)
colour-2.3.5 (via: ansi-terminal-0.10.3) (new package)
containers-0.5.11.0 (latest: 0.6.2.1) (via: wl-pprint-terminfo-3.7.1.4
highlighting-kate-0.6.4 wl-pprint-extras-3.5.0.5 semigroupoids-5.3.4
regex-pcre-builtin-0.95.1.1.8.43 bifunctors-5.5.7 regex-base-0.94.0.0
comonad-5.0.6 binary-0.8.8.0 th-abstraction-0.3.2.0) (new version)
nats-1.1.2 (via: wl-pprint-terminfo-3.7.1.4 wl-pprint-extras-3.5.0.5) (new
package)
semigroups-0.19.1 (via: wl-pprint-terminfo-3.7.1.4 wl-pprint-extras-3.5.0.5)
(new package)
tagged-0.8.6 (via: semigroupoids-5.3.4 bifunctors-5.5.7 comonad-5.0.6
distributive-0.6.1) (new package)
transformers-compat-0.6.5 (via: semigroupoids-5.3.4
optparse-applicative-0.15.1.0 comonad-5.0.6) (new package)
utf8-string-1.0.1.1 (via: highlighting-kate-0.6.4 wl-pprint-extras-3.5.0.5)
(new package)
contravariant-1.5.2 (via: semigroupoids-5.3.4) (new package)
ansi-terminal-0.10.3 (via: ansi-wl-pprint-0.6.9) (new package)
th-abstraction-0.3.2.0 (via: bifunctors-5.5.7) (new package)
binary-0.8.8.0 (latest: 0.10.0.0) (via: text-1.2.4.0) (new version)
distributive-0.6.1 (via: semigroupoids-5.3.4 comonad-5.0.6) (new package)
ansi-wl-pprint-0.6.9 (via: optparse-applicative-0.15.1.0) (new package)
text-1.2.4.0 (via: wl-pprint-terminfo-3.7.1.4 wl-pprint-extras-3.5.0.5
blaze-html-0.9.1.2 blaze-markup-0.8.2.3 regex-pcre-builtin-0.95.1.1.8.43
blaze-builder-0.4.1.0 hashable-1.3.0.0 parsec-3.1.14.0 regex-base-0.94.0.0)
(reinstall) (changes: binary-0.8.7.0 removed)
comonad-5.0.6 (via: semigroupoids-5.3.4 bifunctors-5.5.7) (new package)
optparse-applicative-0.15.1.0 (new package)
regex-base-0.94.0.0 (via: regex-pcre-builtin-0.95.1.1.8.43) (new package)
parsec-3.1.14.0 (via: highlighting-kate-0.6.4) (reinstall) (changes:
text-1.2.4.0 removed)
hashable-1.3.0.0 (via: semigroupoids-5.3.4 unordered-containers-0.2.10.0) (new
package)
blaze-builder-0.4.1.0 (via: blaze-html-0.9.1.2 blaze-markup-0.8.2.3) (new
package)
bifunctors-5.5.7 (via: semigroupoids-5.3.4) (new package)
regex-pcre-builtin-0.95.1.1.8.43 (via: highlighting-kate-0.6.4) (new package)
unordered-containers-0.2.10.0 (via: semigroupoids-5.3.4) (new package)
blaze-markup-0.8.2.3 (via: blaze-html-0.9.1.2) (new package)
semigroupoids-5.3.4 (via: wl-pprint-extras-3.5.0.5) (new package)
blaze-html-0.9.1.2 (via: highlighting-kate-0.6.4) (new package)
wl-pprint-extras-3.5.0.5 (via: wl-pprint-terminfo-3.7.1.4) (new package)
highlighting-kate-0.6.4 (new package)
wl-pprint-terminfo-3.7.1.4 (new package)
cabal: The following packages are likely to be broken by the reinstalls:
Cabal-3.0.1.0
Use --force-reinstalls if you want to install anyway.
Output
src/Cryptol/Parser/NoPat.hs:545:3: error:
    ‘fail’ is not a (visible) method of class ‘Monad’
    |
545 |   fail x    = M (fail x)
    |   ^^^^
Output
cabal: Could not resolve dependencies:
[__0] trying: darcs-2.14.2 (user goal)
[__1] next goal: base (dependency of darcs)
[__1] rejecting: base-4.13.0.0/installed-4.1... (conflict: darcs => base>=4.9
&& <4.13)
[__1] rejecting: 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, darcs)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: darcs, base
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
Last 150 lines from /Users/brew/Jenkins/workspace/core/logs/dhall-lsp-server/03.cabal:
          Core.NaturalLit a -> Core.NaturalLit a
          Core.NaturalFold -> Core.NaturalFold
          Core.NaturalBuild -> Core.NaturalBuild
          Core.NaturalIsZero -> Core.NaturalIsZero
          Core.NaturalEven -> Core.NaturalEven
          Core.NaturalOdd -> Core.NaturalOdd
          Core.NaturalToInteger -> Core.NaturalToInteger
          Core.NaturalShow -> Core.NaturalShow
          Core.NaturalSubtract -> Core.NaturalSubtract
          Core.NaturalPlus a b
            -> Core.NaturalPlus a' b'
            where
                a' = loop a
                b' = loop b
          Core.NaturalTimes a b
            -> Core.NaturalTimes a' b'
            where
                a' = loop a
                b' = loop b
          Core.Integer -> Core.Integer
          Core.IntegerLit a -> Core.IntegerLit a
          Core.IntegerClamp -> Core.IntegerClamp
          Core.IntegerNegate -> Core.IntegerNegate
          Core.IntegerShow -> Core.IntegerShow
          Core.IntegerToDouble -> Core.IntegerToDouble
          Core.Double -> Core.Double
          Core.DoubleLit a -> Core.DoubleLit a
          Core.DoubleShow -> Core.DoubleShow
          Core.Text -> Core.Text
          Core.TextLit (Core.Chunks a b)
            -> Core.TextLit (Core.Chunks a' b)
            where
                a' = fmap (fmap loop) a
          Core.TextAppend a b
            -> Core.TextAppend a' b'
            where
                a' = loop a
                b' = loop b
          Core.TextShow -> Core.TextShow
          Core.List -> Core.List
          Core.ListLit a b
            -> case transform of
                 Just c -> loop c
                 Nothing -> Core.ListLit a' b'
            where
                elements = Foldable.toList b
                toKeyValue :: Expr s Void -> Maybe (Text, Expr s Void)
                toKeyValue (Core.RecordLit m) = do ...
                toKeyValue _ = do ...
                ....
          Core.ListAppend a b
            -> Core.ListAppend a' b'
            where
                a' = loop a
                b' = loop b
          Core.ListBuild -> Core.ListBuild
          Core.ListFold -> Core.ListFold
          Core.ListLength -> Core.ListLength
          Core.ListHead -> Core.ListHead
          Core.ListLast -> Core.ListLast
          Core.ListIndexed -> Core.ListIndexed
          Core.ListReverse -> Core.ListReverse
          Core.Optional -> Core.Optional
          Core.Some a
            -> Core.Some a'
            where
                a' = loop a
          Core.None -> Core.None
          Core.OptionalFold -> Core.OptionalFold
          Core.OptionalBuild -> Core.OptionalBuild
          Core.Record a
            -> Core.Record a'
            where
                a' = fmap loop a
          Core.RecordLit a
            -> Core.RecordLit a'
            where
                a' = fmap loop a
          Core.Union a
            -> Core.Union a'
            where
                a' = fmap (fmap loop) a
          Core.Combine a b c
            -> Core.Combine a b' c'
            where
                b' = loop b
                c' = loop c
          Core.CombineTypes a b
            -> Core.CombineTypes a' b'
            where
                a' = loop a
                b' = loop b
          Core.Prefer a b
            -> Core.Prefer a' b'
            where
                a' = loop a
                b' = loop b
          Core.RecordCompletion a b
            -> Core.RecordCompletion a' b'
            where
                a' = loop a
                b' = loop b
          Core.Merge a b c
            -> Core.Merge a' b' c'
            where
                a' = loop a
                b' = loop b
                c' = fmap loop c
          Core.ToMap a b
            -> Core.ToMap a' b'
            where
                a' = loop a
                b' = fmap loop b
          Core.Field a b
            -> Core.Field a' b
            where
                a' = loop a
          Core.Project a b
            -> Core.Project a' b
            where
                a' = loop a
          Core.Assert a
            -> Core.Assert a'
            where
                a' = loop a
          Core.Equivalent a b
            -> Core.Equivalent a' b'
            where
                a' = loop a
                b' = loop b
          Core.ImportAlt a b
            -> Core.ImportAlt a' b'
            where
                a' = loop a
                b' = loop b
          Core.Note a b
            -> Core.Note a b'
            where
                b' = loop b
          Core.Embed a -> Core.Embed a
    |
987 |         Core.Combine a b c ->
    |         ^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/private/tmp/cabal-tmp-46130/dhall-json-1.6.2'
Completed    haskell-lsp-0.19.0.0
cabal: Error: some packages failed to install:
dhall-json-1.6.2-9gzfzKLTx6k3nMNfaTzk2X failed during the building phase. The
exception was:
ExitFailure 1
Output
cabal: Could not resolve dependencies:
[__0] trying: elm-format-0.8.2 (user goal)
[__1] next goal: optparse-applicative (dependency of elm-format)
[__1] rejecting: optparse-applicative-0.15.1.0, optparse-applicative-0.15.0.0
(conflict: elm-format => optparse-applicative>=0.14.3.0 && <0.15)
[__1] trying: optparse-applicative-0.14.3.0
[__2] next goal: base (dependency of elm-format)
[__2] rejecting: base-4.13.0.0/installed-4.1... (conflict:
optparse-applicative => base>=4 && <4.13)
[__2] rejecting: 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)
[__2] fail (backjumping, conflict set: base, elm-format, optparse-applicative)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: elm-format, optparse-applicative, base
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
/usr/local/Cellar/geoipupdate/4.1.5/bin/geoipupdate
-v

Using config file /usr/local/etc/GeoIP.conf
Using database directory /usr/local/var/GeoIP
Performing get filename request to https://updates.maxmind.com/app/update_getfilename?product_id=GeoLite2-Country
Acquired lock file lock (/usr/local/var/GeoIP/.geoipupdate.lock)
Performing update request to https://updates.maxmind.com/geoip/databases/GeoLite2-Country/update?db_md5=00000000000000000000000000000000
error retrieving updates: unexpected HTTP status code: 401 Unauthorized: An account ID and license key are required to use this service.
Output
cabal: Could not resolve dependencies:
[__0] next goal: hopenpgp-tools (user goal)
[__0] rejecting: hopenpgp-tools-0.23, hopenpgp-tools-0.22 (constraint from
user target requires ==0.21.3)
[__0] trying: hopenpgp-tools-0.21.3
[__1] trying: ixset-typed-0.4.0.1 (dependency of hopenpgp-tools)
[__2] next goal: template-haskell (dependency of ixset-typed)
[__2] rejecting: template-haskell-2.15.0.0/installed-2.1... (conflict:
ixset-typed => template-haskell>=2.8 && <2.15)
[__2] rejecting: template-haskell-2.15.0.0, template-haskell-2.14.0.0,
template-haskell-2.13.0.0, template-haskell-2.12.0.0,
template-haskell-2.11.1.0, template-haskell-2.11.0.0,
template-haskell-2.10.0.0, template-haskell-2.9.0.0, template-haskell-2.8.0.0,
template-haskell-2.7.0.0, template-haskell-2.6.0.0, template-haskell-2.5.0.0,
template-haskell-2.4.0.1, template-haskell-2.4.0.0, template-haskell-2.3.0.1,
template-haskell-2.3.0.0, template-haskell-2.2.0.0 (constraint from
non-upgradeable package requires installed instance)
[__2] fail (backjumping, conflict set: ixset-typed, template-haskell)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: template-haskell, hopenpgp-tools,
ixset-typed, base
Try running with --minimize-conflict-set to improve the error message.
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
cabal: Could not resolve dependencies:
[__0] trying: idris-1.3.2 (user goal)
[__1] next goal: time (dependency of idris)
[__1] rejecting: time-1.9.3/installed-1.9..., time-1.9.3, time-1.9.2,
time-1.9.1, time-1.9 (conflict: idris => time>=1.4 && <1.9)
[__1] trying: time-1.8.0.4
[__2] next goal: text (dependency of idris)
[__2] rejecting: text-1.2.4.0/installed-1.2... (conflict: time => base>=4.7 &&
<4.13, text => base==4.13.0.0/installed-4.1...)
[__2] trying: text-1.2.4.0
[__3] next goal: template-haskell (dependency of text)
[__3] rejecting: template-haskell-2.15.0.0/installed-2.1... (conflict: time =>
base>=4.7 && <4.13, template-haskell => base==4.13.0.0/installed-4.1...)
[__3] rejecting: template-haskell-2.15.0.0, template-haskell-2.14.0.0,
template-haskell-2.13.0.0, template-haskell-2.12.0.0,
template-haskell-2.11.1.0, template-haskell-2.11.0.0,
template-haskell-2.10.0.0, template-haskell-2.9.0.0, template-haskell-2.8.0.0,
template-haskell-2.7.0.0, template-haskell-2.6.0.0, template-haskell-2.5.0.0,
template-haskell-2.4.0.1, template-haskell-2.4.0.0, template-haskell-2.3.0.1,
template-haskell-2.3.0.0, template-haskell-2.2.0.0 (constraint from
non-upgradeable package requires installed instance)
[__3] fail (backjumping, conflict set: template-haskell, text, time)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: idris, text, template-haskell, base,
pretty, time
Try running with --minimize-conflict-set to improve the error message.
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
cabal: Could not resolve dependencies:
[__0] next goal: pinboard-notes-backup (user goal)
[__0] rejecting: pinboard-notes-backup-1.0.5 (constraint from user target
requires ==1.0.4.1)
[__0] trying: pinboard-notes-backup-1.0.4.1
[__1] trying: time-1.9.3/installed-1.9... (dependency of
pinboard-notes-backup)
[__2] trying: sqlite-simple-0.4.17.0 (dependency of pinboard-notes-backup)
[__3] trying: template-haskell-2.15.0.0/installed-2.1... (dependency of
sqlite-simple)
[__4] trying: pretty-1.1.3.6/installed-1.1... (dependency of template-haskell)
[__5] next goal: req (dependency of pinboard-notes-backup)
[__5] rejecting: req-3.1.0, req-3.0.0, req-2.1.0, req-2.0.1, req-2.0.0
(conflict: pinboard-notes-backup => req>=1.0 && <1.3)
[__5] rejecting: req-1.2.1, req-1.2.0, req-1.1.0, req-1.0.0 (conflict:
time==1.9.3/installed-1.9..., req => time>=1.2 && <1.9)
[__5] rejecting: req-0.5.0, req-0.4.0, req-0.3.1, req-0.3.0, req-0.2.0,
req-0.1.0 (conflict: pinboard-notes-backup => req>=1.0 && <1.3)
[__5] fail (backjumping, conflict set: pinboard-notes-backup, req, time)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: pinboard-notes-backup, req, base,
time, template-haskell, sqlite-simple, pretty
Try running with --minimize-conflict-set to improve the error message.
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
cabal: Could not resolve dependencies:
[__0] trying: postgrest-6.0.2 (user goal)
[__1] next goal: base (dependency of postgrest)
[__1] rejecting: base-4.13.0.0/installed-4.1... (conflict: postgrest =>
base>=4.9 && <4.13)
[__1] rejecting: 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, postgrest)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: postgrest, base
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
Output
cabal: Could not resolve dependencies:
[__0] trying: ShellCheck-0.7.0 (user goal)
[__1] next goal: ShellCheck:setup.Cabal (dependency of ShellCheck)
[__1] rejecting: ShellCheck:setup.Cabal-3.0.1.0/installed-3.0...,
ShellCheck:setup.Cabal-3.0.0.0 (conflict: ShellCheck =>
ShellCheck:setup.Cabal>=1.10 && <2.5)
[__1] trying: ShellCheck:setup.Cabal-2.4.1.0
[__2] next goal: ShellCheck:setup.unix (dependency of ShellCheck:setup.Cabal)
[__2] rejecting: ShellCheck:setup.unix-2.7.2.2/installed-2.7... (conflict:
ShellCheck:setup.Cabal => ShellCheck:setup.base>=4.8 && <4.13,
ShellCheck:setup.unix => ShellCheck:setup.base==4.13.0.0/installed-4.1...)
[__2] trying: ShellCheck:setup.unix-2.7.2.2
[__3] next goal: ShellCheck:setup.time (dependency of ShellCheck:setup.Cabal)
[__3] rejecting: ShellCheck:setup.time-1.9.3/installed-1.9... (conflict:
ShellCheck:setup.Cabal => ShellCheck:setup.base>=4.8 && <4.13,
ShellCheck:setup.time => ShellCheck:setup.base==4.13.0.0/installed-4.1...)
[__3] trying: ShellCheck:setup.time-1.9.3
[__4] next goal: ShellCheck:setup.deepseq (dependency of
ShellCheck:setup.Cabal)
[__4] rejecting: ShellCheck:setup.deepseq-1.4.4.0/installed-1.4... (conflict:
ShellCheck:setup.Cabal => ShellCheck:setup.base>=4.8 && <4.13,
ShellCheck:setup.deepseq => ShellCheck:setup.base==4.13.0.0/installed-4.1...)
[__4] trying: ShellCheck:setup.deepseq-1.4.4.0
[__5] next goal: ShellCheck:setup.array (dependency of ShellCheck:setup.Cabal)
[__5] rejecting: ShellCheck:setup.array-0.5.4.0/installed-0.5... (conflict:
ShellCheck:setup.Cabal => ShellCheck:setup.base>=4.8 && <4.13,
ShellCheck:setup.array => ShellCheck:setup.base==4.13.0.0/installed-4.1...)
[__5] trying: ShellCheck:setup.array-0.5.4.0
[__6] next goal: ShellCheck:setup.base (dependency of ShellCheck)
[__6] rejecting: ShellCheck:setup.base-4.13.0.0/installed-4.1... (conflict:
ShellCheck:setup.Cabal => ShellCheck:setup.base>=4.8 && <4.13)
[__6] rejecting: ShellCheck:setup.base-4.12.0.0,
ShellCheck:setup.base-4.11.1.0, ShellCheck:setup.base-4.11.0.0,
ShellCheck:setup.base-4.10.1.0, ShellCheck:setup.base-4.10.0.0,
ShellCheck:setup.base-4.9.1.0, ShellCheck:setup.base-4.9.0.0,
ShellCheck:setup.base-4.8.2.0, ShellCheck:setup.base-4.8.1.0,
ShellCheck:setup.base-4.8.0.0, ShellCheck:setup.base-4.7.0.2,
ShellCheck:setup.base-4.7.0.1, ShellCheck:setup.base-4.7.0.0,
ShellCheck:setup.base-4.6.0.1, ShellCheck:setup.base-4.6.0.0,
ShellCheck:setup.base-4.5.1.0, ShellCheck:setup.base-4.5.0.0,
ShellCheck:setup.base-4.4.1.0, ShellCheck:setup.base-4.4.0.0,
ShellCheck:setup.base-4.3.1.0, ShellCheck:setup.base-4.3.0.0,
ShellCheck:setup.base-4.2.0.2, ShellCheck:setup.base-4.2.0.1,
ShellCheck:setup.base-4.2.0.0, ShellCheck:setup.base-4.1.0.0,
ShellCheck:setup.base-4.0.0.0, ShellCheck:setup.base-3.0.3.2,
ShellCheck:setup.base-3.0.3.1 (constraint from non-upgradeable package
requires installed instance)
[__6] fail (backjumping, conflict set: ShellCheck, ShellCheck:setup.Cabal,
ShellCheck:setup.base)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: ShellCheck:setup.array,
ShellCheck:setup.deepseq, ShellCheck:setup.Cabal, ShellCheck:setup.base,
ShellCheck:setup.time, ShellCheck:setup.unix, ShellCheck, base
Try running with --minimize-conflict-set to improve the error message.
Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.

@Bo98
Copy link
Member

Bo98 commented Mar 3, 2020

All fixed.

@Bo98 Bo98 closed this as completed Mar 3, 2020
@lock lock bot added the outdated PR was locked due to age label Apr 4, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
haskell Haskell use is a significant feature of the PR or issue outdated PR was locked due to age
Projects
None yet
Development

No branches or pull requests

5 participants