~/s/stack (master|…) $ stack clean --full
~/s/stack (master|…) $ stack build --profile -v
Version 1.2.1, Git revision 9fb247ce11f937d2ad57a1a6d159e806ba381efe (dirty) (4165 commits) x86_64 hpack-0.14.1
2016-10-01 02:00:26.984270: [debug] Checking for project config at: /home/simon/src/stack/stack.yaml
@(Stack/Config.hs:819:9)
2016-10-01 02:00:26.984582: [debug] Loading project config file stack.yaml
@(Stack/Config.hs:837:13)
2016-10-01 02:00:26.987501: [debug] Trying to decode /home/simon/.stack/build-plan-cache/x86_64-linux/lts-6.14.cache
@(Data/Store/VersionTagged.hs:68:5)
2016-10-01 02:00:27.003161: [debug] Success decoding /home/simon/.stack/build-plan-cache/x86_64-linux/lts-6.14.cache
@(Data/Store/VersionTagged.hs:72:13)
2016-10-01 02:00:27.009930: [debug] Getting system compiler version
@(Stack/Setup.hs:354:17)
2016-10-01 02:00:27.010250: [debug] Run process: /usr/bin/ghc --info
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.054865: [debug] Process finished in 44ms: /usr/bin/ghc --info
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.058722: [debug] Getting global package database location
@(Stack/GhcPkg.hs:55:5)
2016-10-01 02:00:27.059131: [debug] Asking GHC for its version
@(Stack/Setup/Installed.hs:101:13)
2016-10-01 02:00:27.059270: [debug] Getting Cabal package version
@(Stack/GhcPkg.hs:170:5)
2016-10-01 02:00:27.059353: [debug] Run process: /usr/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.059963: [debug] Run process: /usr/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.060790: [debug] Run process: /usr/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.092510: [debug] Process finished in 33ms: /usr/bin/ghc-pkg --no-user-package-db list --global
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.095648: [debug] Process finished in 35ms: /usr/bin/ghc --numeric-version
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.096545: [debug] Process finished in 35ms: /usr/bin/ghc-pkg --no-user-package-db field --simple-output Cabal version
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.096747: [debug] Resolving package entries
@(Stack/Setup.hs:234:5)
2016-10-01 02:00:27.097424: [debug] Run process: /usr/bin/ghc-pkg init /home/simon/src/stack/.stack-work/install/x86_64-linux/lts-6.14/7.10.3/pkgdb/
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.110720: [debug] Process finished in 13ms: /usr/bin/ghc-pkg init /home/simon/src/stack/.stack-work/install/x86_64-linux/lts-6.14/7.10.3/pkgdb/
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.111461: [debug] Starting to execute command inside EnvConfig
@(Stack/Runners.hs:167:18)
2016-10-01 02:00:27.111569: [debug] Parsing the cabal files of the local packages
@(Stack/Build/Source.hs:283:5)
2016-10-01 02:00:27.134491: [debug] Parsing the targets
@(Stack/Build/Source.hs:220:5)
2016-10-01 02:00:27.134908: [debug] Exception ignored when attempting to load /home/simon/src/stack/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/stack-build-cache: /home/simon/src/stack/.stack-work/dist/x86_64-linux/Cabal-1.22.5.0/stack-build-cache: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:86:9)
2016-10-01 02:00:27.136077: [debug] Start: getPackageFiles /home/simon/src/stack/stack.cabal
@(Stack/Package.hs:250:21)
2016-10-01 02:00:27.272792: [debug] Finished in 136ms: getPackageFiles /home/simon/src/stack/stack.cabal
@(Stack/Package.hs:250:21)
2016-10-01 02:00:27.309726: [debug] Finding out which packages are already installed
@(Stack/Build/Installed.hs:73:5)
2016-10-01 02:00:27.310246: [debug] Trying to decode /home/simon/src/stack/.stack-work/installed-cache.bin
@(Data/Store/VersionTagged.hs:68:5)
2016-10-01 02:00:27.310388: [debug] Exception ignored when attempting to load /home/simon/src/stack/.stack-work/installed-cache.bin: /home/simon/src/stack/.stack-work/installed-cache.bin: openBinaryFile: does not exist (No such file or directory)
@(Data/Store/VersionTagged.hs:86:9)
2016-10-01 02:00:27.310513: [debug] Failure decoding /home/simon/src/stack/.stack-work/installed-cache.bin
@(Data/Store/VersionTagged.hs:75:13)
2016-10-01 02:00:27.310638: [debug] Encoding /home/simon/src/stack/.stack-work/installed-cache.bin
@(Data/Store/VersionTagged.hs:51:5)
2016-10-01 02:00:27.311109: [debug] Finished writing /home/simon/src/stack/.stack-work/installed-cache.bin
@(Data/Store/VersionTagged.hs:55:5)
2016-10-01 02:00:27.311367: [debug] Run process: /usr/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.351805: [debug] Process finished in 40ms: /usr/bin/ghc-pkg --global --no-user-package-db dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.351961: [debug] Ignoring package ghc-prim due to it needing profiling.
@(Stack/Build/Installed.hs:196:5)
2016-10-01 02:00:27.352170: [debug] Ignoring package transformers due to it needing profiling.
@(Stack/Build/Installed.hs:196:5)
...
2016-10-01 02:00:27.353636: [debug] Ignoring package pretty due to it needing profiling.
@(Stack/Build/Installed.hs:196:5)
2016-10-01 02:00:27.353770: [debug] Run process: /usr/bin/ghc-pkg --user --no-user-package-db --package-db /home/simon/.stack/snapshots/x86_64-linux/lts-6.14/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.531889: [debug] Process finished in 177ms: /usr/bin/ghc-pkg --user --no-user-package-db --package-db /home/simon/.stack/snapshots/x86_64-linux/lts-6.14/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.549371: [debug] Ignoring package haskell-src-meta, from (InstalledTo Snap,"/home/simon/.stack/snapshots/x86_64-linux/lts-6.14/7.10.3/pkgdb/"), due to it needing profiling.
@(Stack/Build/Installed.hs:196:5)
...
2016-10-01 02:00:27.550988: [debug] Ignoring package base-prelude, from (InstalledTo Snap,"/home/simon/.stack/snapshots/x86_64-linux/lts-6.14/7.10.3/pkgdb/"), due to it needing profiling.
@(Stack/Build/Installed.hs:196:5)
2016-10-01 02:00:27.551130: [debug] Run process: /usr/bin/ghc-pkg --user --no-user-package-db --package-db /home/simon/src/stack/.stack-work/install/x86_64-linux/lts-6.14/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.574418: [debug] Process finished in 23ms: /usr/bin/ghc-pkg --user --no-user-package-db --package-db /home/simon/src/stack/.stack-work/install/x86_64-linux/lts-6.14/7.10.3/pkgdb dump --expand-pkgroot
@(System/Process/Read.hs:306:3)
2016-10-01 02:00:27.574652: [debug] Encoding /home/simon/src/stack/.stack-work/installed-cache.bin
@(Data/Store/VersionTagged.hs:51:5)
2016-10-01 02:00:27.574944: [debug] Finished writing /home/simon/src/stack/.stack-work/installed-cache.bin
@(Data/Store/VersionTagged.hs:55:5)
2016-10-01 02:00:27.575408: [debug] Constructing the build plan
@(Stack/Build/ConstructPlan.hs:158:5)
2016-10-01 02:00:27.576501: [debug] Trying to decode /home/simon/.stack/indices/Hackage/00-index.cache
@(Data/Store/VersionTagged.hs:68:5)
2016-10-01 02:00:27.729931: [debug] Success decoding /home/simon/.stack/indices/Hackage/00-index.cache
@(Data/Store/VersionTagged.hs:72:13)
2016-10-01 02:00:28.366636: [error]
Error: While constructing the build plan, the following exceptions were encountered:
In the dependencies for Cabal-1.22.8.0:
base must match >=4.4 && <5, but the stack configuration has no specified version (latest applicable is 4.9.0.0)
needed due to stack-1.2.1 -> Cabal-1.22.8.0
...
In the dependencies for zlib-bindings-0.1.1.5:
base must match >=4 && <5, but the stack configuration has no specified version (latest applicable is 4.9.0.0)
needed due to stack-1.2.1 -> zlib-bindings-0.1.1.5
Recommended action: try adding the following to your extra-deps in /home/simon/src/stack/stack.yaml:
- base-4.9.0.0
- ghc-prim-0.5.0.0
- integer-gmp-1.0.0.1
- template-haskell-2.11.0.0
You may also want to try the 'stack solver' command
@(Stack/Build/ConstructPlan.hs:197:13)
Plan construction failed.