Skip to content

Instantly share code, notes, and snippets.

@Kludgy
Created July 18, 2018 17:44
Show Gist options
  • Save Kludgy/84d350320052ac175309cb7a6263a61a to your computer and use it in GitHub Desktop.
Save Kludgy/84d350320052ac175309cb7a6263a61a to your computer and use it in GitHub Desktop.
Empty cabal-install errors when invoking stack-1.7.1 solver
λ stack solver --verbose
Version 1.7.1, Git revision 681c800873816c022739ca7ed14755e85a579565 (5807 commits) x86_64 hpack-0.28.2
2018-07-18 10:36:50.552854: [debug] Checking for project config at: ...\emptyerror\stack.yaml
@(src/Stack\Config.hs:850:9)
2018-07-18 10:36:50.554854: [debug] Loading project config file stack.yaml
@(src/Stack\Config.hs:876:13)
2018-07-18 10:36:50.562352: [debug] Decoding build plan from: ...\AppData\Roaming\stack\build-plan\lts-12.1.yaml
@(src/Stack\Snapshot.hs:164:5)
2018-07-18 10:36:50.563854: [debug] Trying to decode ...\AppData\Roaming\stack\build-plan-cache\lts-12.1.cache
@(src/Stack\Snapshot.hs:156:32)
2018-07-18 10:36:50.567352: [debug] Success decoding ...\AppData\Roaming\stack\build-plan-cache\lts-12.1.cache
@(src/Stack\Snapshot.hs:156:32)
2018-07-18 10:36:50.579356: [debug] Potential GHC builds: standard
@(src/Stack\Setup.hs:632:9)
2018-07-18 10:36:50.580856: [debug] Found already installed GHC builds: standard
@(src/Stack\Setup.hs:458:13)
2018-07-18 10:36:50.587853: [debug] Getting global package database location
@(src/Stack\GhcPkg.hs:47:5)
2018-07-18 10:36:50.590854: [debug] Asking GHC for its version
@(src/Stack\Setup\Installed.hs:98:13)
2018-07-18 10:36:50.593352: [debug] Getting Cabal package version
@(src/Stack\GhcPkg.hs:180:5)
2018-07-18 10:36:50.594350: [debug] Run process: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc-pkg.EXE --no-user-package-db list --global
@(src/Stack\GhcPkg.hs:76:10)
2018-07-18 10:36:50.602850: [debug] Run process: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc.EXE --numeric-version
@(src/Stack\Setup\Installed.hs:99:19)
2018-07-18 10:36:50.615849: [debug] Run process: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc-pkg.EXE --no-user-package-db field --simple-output Cabal version
@(src/Stack\GhcPkg.hs:76:10)
2018-07-18 10:36:50.650849: [debug] Process finished in 54ms: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc-pkg.EXE --no-user-package-db list --global
@(src/Stack\GhcPkg.hs:76:10)
2018-07-18 10:36:50.654350: [debug] Process finished in 47ms: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc.EXE --numeric-version
@(src/Stack\Setup\Installed.hs:99:19)
2018-07-18 10:36:50.656350: [debug] GHC version is: ghc-8.4.3
@(src/Stack\Setup\Installed.hs:102:13)
2018-07-18 10:36:50.671347: [debug] Process finished in 48ms: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc-pkg.EXE --no-user-package-db field --simple-output Cabal version
@(src/Stack\GhcPkg.hs:76:10)
2018-07-18 10:36:50.672847: [debug] Resolving package entries
@(src/Stack\Setup.hs:256:5)
2018-07-18 10:36:50.674849: [debug] Trying to decode ...\AppData\Roaming\stack\loaded-snapshot-cache\x86_64-windows\ghc-8.4.3\lts-12.1.cache
@(src/Stack\Snapshot.hs:384:9)
2018-07-18 10:36:50.720349: [debug] Success decoding ...\AppData\Roaming\stack\loaded-snapshot-cache\x86_64-windows\ghc-8.4.3\lts-12.1.cache
@(src/Stack\Snapshot.hs:384:9)
2018-07-18 10:36:50.724845: [debug] Starting to execute command inside EnvConfig
@(src/Stack\Runners.hs:171:18)
2018-07-18 10:36:50.727344: [info] Using configuration file: stack.yaml
@(src/Stack\Solver.hs:632:5)
2018-07-18 10:36:50.728844: [debug] Running hpack on ...\emptyerror\package.yaml
@(src/Stack\Package.hs:1390:9)
2018-07-18 10:36:50.739844: [debug] hpack generated a modified version of ...\emptyerror\emptyerror.cabal
@(src/Stack\Package.hs:1405:40)
2018-07-18 10:36:50.750843: [info] Using cabal packages:
@(src/Stack\Solver.hs:543:5)
2018-07-18 10:36:50.752344: [info] - .\
@(src/Stack\Solver.hs:544:5)
2018-07-18 10:36:50.754343: [debug] Trying to decode ...\AppData\Roaming\stack\loaded-snapshot-cache\x86_64-windows\__snapshot_hints__\lts-12.1.cache
@(src/Stack\Snapshot.hs:384:9)
2018-07-18 10:36:50.803840: [debug] Success decoding ...\AppData\Roaming\stack\loaded-snapshot-cache\x86_64-windows\__snapshot_hints__\lts-12.1.cache
@(src/Stack\Snapshot.hs:384:9)
2018-07-18 10:36:50.805340: [info] Using resolver: lts-12.1
@(src/Stack\Solver.hs:379:3)
2018-07-18 10:36:50.810840: [debug] Potential GHC builds: standard
@(src/Stack\Setup.hs:632:9)
2018-07-18 10:36:50.812340: [debug] Found already installed GHC builds: standard
@(src/Stack\Setup.hs:458:13)
2018-07-18 10:36:50.862837: [debug] Run process: ...\AppData\Roaming\local\bin\cabal.EXE --numeric-version
@(src/Stack\Setup.hs:1357:12)
2018-07-18 10:36:50.903338: [debug] Process finished in 39ms: ...\AppData\Roaming\local\bin\cabal.EXE --numeric-version
@(src/Stack\Setup.hs:1357:12)
2018-07-18 10:36:50.906837: [debug] Run process: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc.EXE --info
@(src/Stack\Setup.hs:768:21)
2018-07-18 10:36:50.972834: [debug] Process finished in 65ms: ...\AppData\Local\Programs\stack\x86_64-windows\ghc-8.4.3\bin\ghc.EXE --info
@(src/Stack\Setup.hs:768:21)
2018-07-18 10:36:50.976332: [info] Using compiler: ghc-8.4.3
@(src/Stack\Solver.hs:328:13)
2018-07-18 10:36:50.977832: [debug] Trying to decode ...\AppData\Roaming\stack\loaded-snapshot-cache\x86_64-windows\ghc-8.4.3\lts-12.1.cache
@(src/Stack\Snapshot.hs:384:9)
2018-07-18 10:36:51.000831: [debug] Success decoding ...\AppData\Roaming\stack\loaded-snapshot-cache\x86_64-windows\ghc-8.4.3\lts-12.1.cache
@(src/Stack\Snapshot.hs:384:9)
2018-07-18 10:36:51.002333: [info] Asking cabal to calculate a build plan...
@(src/Stack\Solver.hs:402:5)
2018-07-18 10:36:51.004332: [info] Trying with packages from lts-12.1 as hard constraints...
@(src/Stack\Solver.hs:404:10)
2018-07-18 10:36:53.252233: [debug] Run process within ...: ...\AppData\Roaming\local\bin\cabal.EXE --config-file=...\AppData\Local\Temp\cabal-solver12228\cabal.config install --enable-tests --enable-benchmarks --dry-run --reorder-goals --max-backjumps=-1 --package-db=clear --package-db=global -v "--constraint=HsOpenSSL -fast-bignum" "--constraint=NineP -bytestring-in-base" "--constraint=brick +demos" "--constraint=cabal-install +lib" "--constraint=cabal-rpm -old-locale" "--constraint=cassava -bytestring--lt-0_10_4" "--constraint=curl +new-base" "--constraint=exinst -serialise" "--constraint=fay +test" "--constraint=functor-classes-compat +containers" "--constraint=greskell -hint-test" "--constraint=hxt +network-uri" "--constraint=hxt-http +network-uri" "--constraint=mersenne-random-pure64 -small_base" "--constraint=minio-hs -live-test" "--constraint=nix-paths +allow-relative-paths" "--constraint=pathtype -old-time" "--constraint=safe-money -serialise" "--constraint=scotty -hpc-coveralls" "--constraint=tar -old-time" "--constraint=text -integer-simple" "--constraint=time-locale-compat -old-locale" "--constraint=transformers-compat +five-three" ...\emptyerror\
@(src/Stack\Solver.hs:115:11)
cabal.EXE: Could not resolve dependencies:
trying: emptyerror-0.1.0.0 (user goal)
next goal: gpipe (dependency of emptyerror-0.1.0.0)
Dependency tree exhaustively searched.
Could not parse cabal-install errors:
>>>> Cabal errors begin
<<<< Cabal errors end
CallStack (from HasCallStack):
error, called at src/Stack\Solver.hs:130:25 in stack-1.7.1-EmhVRHO1dvE2LPJS2dX4Zb:Stack.Solver
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment