Skip to content

Odd build failure with new-build #3932

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

Closed
edsko opened this issue Oct 3, 2016 · 27 comments
Closed

Odd build failure with new-build #3932

edsko opened this issue Oct 3, 2016 · 27 comments

Comments

@edsko
Copy link
Contributor

edsko commented Oct 3, 2016

Building https://github.com/well-typed/ghc-events-analyze with ghc 7.8.4:

[7.8.4 ~/wt/util/ghc-events-analyze]
# cabal new-build
In order, the following will be built (use -v for more details):
 - JuicyPixels-3.2.8 (lib) (requires build)
 - attoparsec-0.13.1.0 (lib) (requires build)
 - bytes-0.15.2 (lib:bytes) (requires build)
 - comonad-5 (lib:comonad) (requires build)
 - bifunctors-5.4.1 (lib) (requires build)
 - semigroupoids-5.1 (lib:semigroupoids) (requires build)
 - profunctors-5.2 (lib) (requires build)
 - monoid-extras-0.4.2 (lib) (requires build)
 - free-4.12.4 (lib) (requires build)
 - dual-tree-0.2.0.9 (lib) (requires build)
 - adjunctions-4.3 (lib:adjunctions) (requires build)
 - kan-extensions-5.0.1 (lib:kan-extensions) (requires build)
 - lens-4.13.2.1 (lib:lens) (requires build)
 - linear-1.20.5 (lib:linear) (requires build)
 - diagrams-core-1.3.0.8 (lib) (requires build)
 - active-0.2.0.11 (lib) (requires build)
 - diagrams-lib-1.3.1.4 (lib) (requires build)
 - diagrams-svg-1.3.1.10 (lib) (requires build)
 - SVGFonts-1.5.0.1 (lib) (requires build)
 - ghc-events-analyze-0.2.4 (exe:ghc-events-analyze) (first run)
Configuring JuicyPixels-3.2.8 (lib)...
Configuring bytes-0.15.2 (all, due to Custom setup)...
Configuring comonad-5 (all, due to Custom setup)...
Configuring attoparsec-0.13.1.0 (lib)...
Building JuicyPixels-3.2.8 (lib)...
Building attoparsec-0.13.1.0 (lib)...
Building bytes-0.15.2 (all, due to Custom setup)...
Building comonad-5 (all, due to Custom setup)...

Failed to build comonad-5.
Build log (
/home/edsko/.cabal/logs/ghc-7.8.4/comonad-5-437279585ea9744112b077582af427a268914ddd2c2431293f5074d4d6cd3241.log
):
[1 of 1] Compiling Main             ( /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/comonad-27362/comonad-5/dist/setup/setup.hs, /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/comonad-27362/comonad-5/dist/setup/Main.o )
Linking /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/comonad-27362/comonad-5/dist/setup/setup ...
Configuring comonad-5...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package comonad-5 requires semigroups-0.18.2
package void-0.7.1 requires semigroups-0.18.2
package contravariant-1.4 requires semigroups-0.18.2
package semigroups-0.18.2 requires tagged-0.8.5
package distributive-0.5.0.2 requires tagged-0.8.5
package comonad-5 requires tagged-0.8.5
package semigroups-0.18.2 requires tagged-0.8.5
package transformers-compat-0.5.1.3 requires transformers-0.3.0.0
package tagged-0.8.5 requires transformers-0.3.0.0
package semigroups-0.18.2 requires transformers-0.3.0.0
package mtl-2.1.3.1 requires transformers-0.3.0.0
package transformers-compat-0.5.1.4 requires transformers-0.4.3.0
package tagged-0.8.5 requires transformers-0.4.3.0
package semigroups-0.18.2 requires transformers-0.4.3.0
package distributive-0.5.0.2 requires transformers-0.4.3.0
package contravariant-1.4 requires transformers-0.4.3.0
package comonad-5 requires transformers-0.4.3.0
package StateVar-1.1.0.4 requires transformers-0.4.3.0
package tagged-0.8.5 requires transformers-compat-0.5.1.3
package tagged-0.8.5 requires transformers-compat-0.5.1.4
package distributive-0.5.0.2 requires transformers-compat-0.5.1.4
package contravariant-1.4 requires transformers-compat-0.5.1.4
package comonad-5 requires transformers-compat-0.5.1.4
Building comonad-5...
Preprocessing library comonad-5...
<command line>: cannot satisfy -package-id contravariant-1.4-bae32c9e724adad6675401bbe99f77a7c50e32590f5498a39e9d84bad244752e: 
    contravariant-1.4-bae32c9e724adad6675401bbe99f77a7c50e32590f5498a39e9d84bad244752e is unusable due to missing or recursive dependencies:
      semigroups-0.18.2-4b5cec38e54f3f8c5f706b7a5de7d62d76d6e066b093855c4ba8d3790127adbf void-0.7.1-63f1539a3daefec962d731e1899ce5d9e3cb0f07e61d347dc264de4d5495b5c9
    (use -v for more information)
cabal: Failed to build comonad-5 (which is required by ghc-events-analyze).
See the build log above for details.

Blowing away my ~/.cabal/store/7.8.4 directory solved the problem. I realize that this bug report doesn't give much to go on... But wanted to report it anyway. Feel free to close as "not enough information" :)

@ezyang
Copy link
Contributor

ezyang commented Oct 3, 2016

Well, next time, give us some verbose logs ;)

@edsko
Copy link
Contributor Author

edsko commented Oct 3, 2016

Fair enough 😳

@edsko
Copy link
Contributor Author

edsko commented Oct 3, 2016

Hmmmm.. So this is after I blew away my store. A bit later, fiddling with the dependencies of my project, another build failure:

cabal new-build
In order, the following will be built (use -v for more details):
 - bytes-0.15.2 (lib:bytes) (requires build)
 - distributive-0.5.0.2 (lib:distributive) (requires build)
 - intervals-0.7.2 (lib:intervals) (requires build)
 - comonad-5 (lib:comonad) (requires build)
 - bifunctors-5.4.1 (lib) (requires build)
 - semigroupoids-5.1 (lib:semigroupoids) (requires build)
 - profunctors-5.2 (lib) (requires build)
 - monoid-extras-0.4.2 (lib) (requires build)
 - free-4.12.4 (lib) (requires build)
 - dual-tree-0.2.0.9 (lib) (requires build)
 - adjunctions-4.3 (lib:adjunctions) (requires build)
 - kan-extensions-5.0.1 (lib:kan-extensions) (requires build)
 - lens-4.14 (lib:lens) (requires build)
 - linear-1.20.5 (lib:linear) (requires build)
 - diagrams-core-1.3.0.8 (lib) (requires build)
 - active-0.2.0.11 (lib) (requires build)
 - diagrams-lib-1.3.1.4 (lib) (requires build)
 - diagrams-svg-1.4.0.4 (lib) (requires build)
 - SVGFonts-1.6.0.0 (lib) (requires build)
 - ghc-events-analyze-0.2.4 (exe:ghc-events-analyze) (configuration changed)
Configuring bytes-0.15.2 (all, due to Custom setup)...
Configuring distributive-0.5.0.2 (all, due to Custom setup)...
Building bytes-0.15.2 (all, due to Custom setup)...
Building distributive-0.5.0.2 (all, due to Custom setup)...

Failed to build bytes-0.15.2.
Build log (
/home/edsko/.cabal/logs/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa.log
):
[1 of 1] Compiling Main             ( /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19468/bytes-0.15.2/dist/setup/setup.hs, /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19468/bytes-0.15.2/dist/setup/Main.o )
Linking /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19468/bytes-0.15.2/dist/setup/setup ...
Configuring bytes-0.15.2...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package transformers-compat-0.5.1.4 requires transformers-0.4.3.0
package tagged-0.8.5 requires transformers-0.4.3.0
package semigroups-0.18.2 requires transformers-0.4.3.0
package transformers-compat-0.5.1.4 requires transformers-0.5.2.0
package primitive-0.6.1.0 requires transformers-0.5.2.0
package mtl-2.2.1 requires transformers-0.5.2.0
package bytes-0.15.2 requires transformers-0.5.2.0
package bytes-0.15.2 requires transformers-compat-0.5.1.4
package tagged-0.8.5 requires transformers-compat-0.5.1.4
Building bytes-0.15.2...
Preprocessing library bytes-0.15.2...
<command line>: cannot satisfy -package-id transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0: 
    transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0 is shadowed by package transformers-compat-0.5.1.4-83b3d6616fe75d67e1e3fe3c937fd6caec1b4d1ab6d093d2964112fca1695d20
    (use -v for more information)

Failed to build distributive-0.5.0.2.
Build log (
/home/edsko/.cabal/logs/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194.log
):
[1 of 1] Compiling Main             ( /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19468/distributive-0.5.0.2/dist/setup/setup.hs, /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19468/distributive-0.5.0.2/dist/setup/Main.o )
Linking /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19468/distributive-0.5.0.2/dist/setup/setup ...
Configuring distributive-0.5.0.2...
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package transformers-compat-0.5.1.4 requires transformers-0.4.3.0
package tagged-0.8.5 requires transformers-0.4.3.0
package transformers-compat-0.5.1.4 requires transformers-0.5.2.0
package distributive-0.5.0.2 requires transformers-0.5.2.0
package distributive-0.5.0.2 requires transformers-compat-0.5.1.4
package tagged-0.8.5 requires transformers-compat-0.5.1.4
Building distributive-0.5.0.2...
Preprocessing library distributive-0.5.0.2...
<command line>: cannot satisfy -package-id transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0: 
    transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0 is shadowed by package transformers-compat-0.5.1.4-83b3d6616fe75d67e1e3fe3c937fd6caec1b4d1ab6d093d2964112fca1695d20
    (use -v for more information)
cabal: Failed to build bytes-0.15.2 (which is required by ghc-events-analyze).
See the build log above for details.
Failed to build distributive-0.5.0.2 (which is required by
ghc-events-analyze). See the build log above for details.

Verbose log:

cabal new-build -v2
Number of threads used: 4.
In order, the following will be built:
 - bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa (lib:bytes) (requires build)
 - distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194 (lib:distributive) (requires build)
 - intervals-0.7.2-1617adba4b929013f0f4603f686d13458372a13b65011dfe3620840ba2ef7ee6 (lib:intervals) (requires build)
 - comonad-5-04fb0b22ed9e52cc6e632527101946305fa717b5fc10e5aea0fedd7a3cb20ce5 (lib:comonad) (requires build)
 - bifunctors-5.4.1-21cafe13756b29cd866973236c148142bd3c78e6701e8bd39b922ae6e5a0f938 (lib) (requires build)
 - semigroupoids-5.1-5bff6071ef471d593916f36d6a6c66a9be9773212b48e4cdf7a4ec0571039435 (lib:semigroupoids) (requires build)
 - profunctors-5.2-31753e54cd983eef682104d9f902c3844b360c73cc460487cddeb14455e07075 (lib) (requires build)
 - monoid-extras-0.4.2-fb94e458bf4d3e7042e09a44810fea1f3d07edd5260ca8b4f333c13e766aa9df (lib) (requires build)
 - free-4.12.4-fb00e4d8323461b0b85e48cd26702fc8d86fbdcd33c51bfc08f7a3ed504257e5 (lib) (requires build)
 - dual-tree-0.2.0.9-d87926c8ddee98811c071b29449b53ab3eb92ff04f8cf7bcfcedecc35e916e28 (lib) (requires build)
 - adjunctions-4.3-92d2b16962ee23dfb802f6ef130b967146548762bb0ab42bfb63e190251e3cbd (lib:adjunctions) (requires build)
 - kan-extensions-5.0.1-b80048275cd60b2a436f7de065cc1a0aed10708feab3a6abf97a20d76643a80d (lib:kan-extensions) (requires build)
 - lens-4.14-2e5354413a54eac4cd870de64835a2f8f4b09953462be1d383dc15bb8ed68260 (lib:lens) (requires build)
 - linear-1.20.5-b23d721fb912de13bb65e75273afb0b72e641960cdc6ff1783dac918c14492fc (lib:linear) (requires build)
 - diagrams-core-1.3.0.8-04dc107c592bb516c3fa2e20bd83fbd5f44dc55779ec1b00e5cdbcc81a036003 (lib) (requires build)
 - active-0.2.0.11-e1044d1978ddb58c8fe9c2304df8f9ae652745d9e4a49a8337c295541d2e662b (lib) (requires build)
 - diagrams-lib-1.3.1.4-b57bbc110217b84be0ba0b1b137a2ff6f1cf0be853a0b0e6570b313ff04213b8 (lib) (requires build)
 - diagrams-svg-1.4.0.4-1f7e472c71c934ed6301c5225dc8912e445139cac93ed2a7cefb4ca1133f0b15 (lib) (requires build)
 - SVGFonts-1.6.0.0-ccc8ba7b93a1f534ff3ae89c7b96ec120930dd49fa3a1433553c8329d6407081 (lib) (requires build)
 - ghc-events-analyze-0.2.4-inplace-ghc-events-analyze (exe:ghc-events-analyze) (configuration changed)
creating /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/build
creating /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp
Extracting
/home/edsko/.cabal/packages/hackage.haskell.org/bytes/0.15.2/bytes-0.15.2.tar.gz
to /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759...
Extracting
/home/edsko/.cabal/packages/hackage.haskell.org/distributive/0.5.0.2/distributive-0.5.0.2.tar.gz
to
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759...
Updating distributive.cabal with the latest revision from the index.
Updating bytes.cabal with the latest revision from the index.
creating dist
Configuring bytes-0.15.2 (all, due to Custom setup)...
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup
creating dist
Configuring distributive-0.5.0.2 (all, due to Custom setup)...
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup
/opt/ghc/7.8.4/bin/ghc --make -fbuilding-cabal-package -odir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup -hidir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup -i -i/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2 -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-7.8.4/package.db -package-id Cabal-1.18.1.5-6478013104bde01737bfd67d34bbee0a -package-id array-0.5.0.0-470385a50d2b78598af85cfe9d988e1b -package-id base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1 -package-id binary-0.7.1.0-f867dbbb69966feb9f5c4ef7695a70a5 -package-id bytestring-0.10.4.0-d6f1d17d717e8652498cab8269a0acd5 -package-id containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653 -package-id deepseq-1.3.0.2-63a1ab91b7017a28bb5d04cb1b5d2d02 -package-id directory-1.2.1.0-07cd1f59e3c6cac5e3e180019c59a115 -package-id filepath-1.3.0.2-25a474a9272ae6260626ce0d70ad1cab -package-id ghc-prim-0.3.1.0-a24f9c14c632d75b683d0f93283aea37 -package-id old-time-1.1.0.2-e3f776e97c1a6ff1770b04943a7ef7c6 -package-id pretty-1.1.1.1-0984f47ffe93ef3983c80b96280f1c3a -package-id process-1.2.0.0-06c3215a79834ce4886ae686a0f81122 -package-id template-haskell-2.9.0.0-6d27c2b362b15abb1822f2f34b9ae7f9 -package-id time-1.4.2-9b3076800c33f8382c38628f35717951 -package-id transformers-0.5.2.0-8f4053c5ed06a19e4e5e0e81d25f840e66b9385aee3a3f2de9244c80fca94334 -package-id unix-2.7.0.1-f8658ba9ec1c4fba8a371a8e0f42ec6c /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup.hs -o /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup -threaded
/opt/ghc/7.8.4/bin/ghc --make -fbuilding-cabal-package -odir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup -hidir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup -i -i/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2 -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-7.8.4/package.db -package-id Cabal-1.18.1.5-6478013104bde01737bfd67d34bbee0a -package-id array-0.5.0.0-470385a50d2b78598af85cfe9d988e1b -package-id base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1 -package-id binary-0.7.1.0-f867dbbb69966feb9f5c4ef7695a70a5 -package-id bytestring-0.10.4.0-d6f1d17d717e8652498cab8269a0acd5 -package-id containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653 -package-id deepseq-1.3.0.2-63a1ab91b7017a28bb5d04cb1b5d2d02 -package-id directory-1.2.1.0-07cd1f59e3c6cac5e3e180019c59a115 -package-id filepath-1.3.0.2-25a474a9272ae6260626ce0d70ad1cab -package-id ghc-prim-0.3.1.0-a24f9c14c632d75b683d0f93283aea37 -package-id old-time-1.1.0.2-e3f776e97c1a6ff1770b04943a7ef7c6 -package-id pretty-1.1.1.1-0984f47ffe93ef3983c80b96280f1c3a -package-id process-1.2.0.0-06c3215a79834ce4886ae686a0f81122 -package-id template-haskell-2.9.0.0-6d27c2b362b15abb1822f2f34b9ae7f9 -package-id time-1.4.2-9b3076800c33f8382c38628f35717951 -package-id transformers-0.5.2.0-8f4053c5ed06a19e4e5e0e81d25f840e66b9385aee3a3f2de9244c80fca94334 -package-id unix-2.7.0.1-f8658ba9ec1c4fba8a371a8e0f42ec6c /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup.hs -o /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup -threaded
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup
configure --verbose=2 --builddir=dist --ghc
--prefix=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194
--bindir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/bin
--libdir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/lib
--libsubdir=
--libexecdir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/libexec
--datadir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/share
--datasubdir=
--docdir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/share/doc
--htmldir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/share/doc/html
--haddockdir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/share/doc/html
--sysconfdir=/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/etc
--enable-library-vanilla --disable-library-profiling --enable-shared
--disable-executable-dynamic --disable-executable-profiling
--enable-optimization --disable-library-for-ghci --disable-split-objs
--disable-executable-stripping --package-db=clear --package-db=global
--package-db=/home/edsko/.cabal/store/ghc-7.8.4/package.db --flags=tagged
--constraint=base ==4.7.0.2 --constraint=base-orphans ==0.5.4
--constraint=tagged ==0.8.5 --constraint=transformers ==0.5.2.0
--constraint=transformers-compat ==0.5.1.4 --disable-tests
--disable-library-coverage --disable-benchmarks
--with-ghc=/opt/ghc/7.8.4/bin/ghc --with-ghc-pkg=/opt/ghc/7.8.4/bin/ghc-pkg
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194.log}
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup
configure --verbose=2 --builddir=dist --ghc
--prefix=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa
--bindir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/bin
--libdir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/lib
--libsubdir=
--libexecdir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/libexec
--datadir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/share
--datasubdir=
--docdir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/share/doc
--htmldir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/share/doc/html
--haddockdir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/share/doc/html
--sysconfdir=/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/etc
--enable-library-vanilla --disable-library-profiling --enable-shared
--disable-executable-dynamic --disable-executable-profiling
--enable-optimization --disable-library-for-ghci --disable-split-objs
--disable-executable-stripping --package-db=clear --package-db=global
--package-db=/home/edsko/.cabal/store/ghc-7.8.4/package.db
--flags=test-doctests --constraint=base ==4.7.0.2 --constraint=binary
==0.7.1.0 --constraint=bytestring ==0.10.4.0 --constraint=cereal ==0.5.3.0
--constraint=containers ==0.5.5.1 --constraint=hashable ==1.2.4.0
--constraint=mtl ==2.2.1 --constraint=scientific ==0.3.4.9 --constraint=text
==1.2.2.1 --constraint=time ==1.4.2 --constraint=transformers ==0.5.2.0
--constraint=transformers-compat ==0.5.1.4 --constraint=unordered-containers
==0.2.7.1 --constraint=void ==0.7.1 --disable-tests --disable-library-coverage
--disable-benchmarks --with-ghc=/opt/ghc/7.8.4/bin/ghc
--with-ghc-pkg=/opt/ghc/7.8.4/bin/ghc-pkg
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa.log}
Building distributive-0.5.0.2 (all, due to Custom setup)...
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup
Building bytes-0.15.2 (all, due to Custom setup)...
creating
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup
/opt/ghc/7.8.4/bin/ghc --make -fbuilding-cabal-package -odir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup -hidir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup -i -i/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2 -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-7.8.4/package.db -package-id Cabal-1.18.1.5-6478013104bde01737bfd67d34bbee0a -package-id array-0.5.0.0-470385a50d2b78598af85cfe9d988e1b -package-id base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1 -package-id binary-0.7.1.0-f867dbbb69966feb9f5c4ef7695a70a5 -package-id bytestring-0.10.4.0-d6f1d17d717e8652498cab8269a0acd5 -package-id containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653 -package-id deepseq-1.3.0.2-63a1ab91b7017a28bb5d04cb1b5d2d02 -package-id directory-1.2.1.0-07cd1f59e3c6cac5e3e180019c59a115 -package-id filepath-1.3.0.2-25a474a9272ae6260626ce0d70ad1cab -package-id ghc-prim-0.3.1.0-a24f9c14c632d75b683d0f93283aea37 -package-id old-time-1.1.0.2-e3f776e97c1a6ff1770b04943a7ef7c6 -package-id pretty-1.1.1.1-0984f47ffe93ef3983c80b96280f1c3a -package-id process-1.2.0.0-06c3215a79834ce4886ae686a0f81122 -package-id template-haskell-2.9.0.0-6d27c2b362b15abb1822f2f34b9ae7f9 -package-id time-1.4.2-9b3076800c33f8382c38628f35717951 -package-id transformers-0.5.2.0-8f4053c5ed06a19e4e5e0e81d25f840e66b9385aee3a3f2de9244c80fca94334 -package-id unix-2.7.0.1-f8658ba9ec1c4fba8a371a8e0f42ec6c /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup.hs -o /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup -threaded
/opt/ghc/7.8.4/bin/ghc --make -fbuilding-cabal-package -odir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup -hidir /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup -i -i/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2 -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-7.8.4/package.db -package-id Cabal-1.18.1.5-6478013104bde01737bfd67d34bbee0a -package-id array-0.5.0.0-470385a50d2b78598af85cfe9d988e1b -package-id base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1 -package-id binary-0.7.1.0-f867dbbb69966feb9f5c4ef7695a70a5 -package-id bytestring-0.10.4.0-d6f1d17d717e8652498cab8269a0acd5 -package-id containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653 -package-id deepseq-1.3.0.2-63a1ab91b7017a28bb5d04cb1b5d2d02 -package-id directory-1.2.1.0-07cd1f59e3c6cac5e3e180019c59a115 -package-id filepath-1.3.0.2-25a474a9272ae6260626ce0d70ad1cab -package-id ghc-prim-0.3.1.0-a24f9c14c632d75b683d0f93283aea37 -package-id old-time-1.1.0.2-e3f776e97c1a6ff1770b04943a7ef7c6 -package-id pretty-1.1.1.1-0984f47ffe93ef3983c80b96280f1c3a -package-id process-1.2.0.0-06c3215a79834ce4886ae686a0f81122 -package-id template-haskell-2.9.0.0-6d27c2b362b15abb1822f2f34b9ae7f9 -package-id time-1.4.2-9b3076800c33f8382c38628f35717951 -package-id transformers-0.5.2.0-8f4053c5ed06a19e4e5e0e81d25f840e66b9385aee3a3f2de9244c80fca94334 -package-id unix-2.7.0.1-f8658ba9ec1c4fba8a371a8e0f42ec6c /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup.hs -o /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup -threaded
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup
build --verbose=2 --builddir=dist
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194.log}
/home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup
build --verbose=2 --builddir=dist
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa.log}

Failed to build bytes-0.15.2.
Build log (
/home/edsko/.cabal/logs/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa.log
):
[1 of 1] Compiling Main             ( /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup.hs, /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/Main.o )
Linking /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/bytes-19759/bytes-0.15.2/dist/setup/setup ...
Configuring bytes-0.15.2...
Flags chosen: test-doctests=True
Dependency base ==4.7.0.2: using base-4.7.0.2
Dependency binary ==0.7.1.0: using binary-0.7.1.0
Dependency bytestring ==0.10.4.0: using bytestring-0.10.4.0
Dependency cereal ==0.5.3.0: using cereal-0.5.3.0
Dependency containers ==0.5.5.1: using containers-0.5.5.1
Dependency hashable ==1.2.4.0: using hashable-1.2.4.0
Dependency mtl ==2.2.1: using mtl-2.2.1
Dependency scientific ==0.3.4.9: using scientific-0.3.4.9
Dependency text ==1.2.2.1: using text-1.2.2.1
Dependency time ==1.4.2: using time-1.4.2
Dependency transformers ==0.5.2.0: using transformers-0.5.2.0
Dependency transformers-compat ==0.5.1.4: using transformers-compat-0.5.1.4
Dependency unordered-containers ==0.2.7.1: using unordered-containers-0.2.7.1
Dependency void ==0.7.1: using void-0.7.1
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package transformers-compat-0.5.1.4 requires transformers-0.4.3.0
package tagged-0.8.5 requires transformers-0.4.3.0
package semigroups-0.18.2 requires transformers-0.4.3.0
package transformers-compat-0.5.1.4 requires transformers-0.5.2.0
package primitive-0.6.1.0 requires transformers-0.5.2.0
package mtl-2.2.1 requires transformers-0.5.2.0
package bytes-0.15.2 requires transformers-0.5.2.0
package bytes-0.15.2 requires transformers-compat-0.5.1.4
package tagged-0.8.5 requires transformers-compat-0.5.1.4
/opt/ghc/7.8.4/bin/ghc --info
Using Cabal-1.18.1.5 compiled by ghc-7.8
Using compiler: ghc-7.8.4
Using install prefix:
/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa
Binaries installed in:
/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/bin
Libraries installed in:
/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/lib
Private binaries installed in:
/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/libexec
Data files installed in:
/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/share
Documentation installed in:
/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/share/doc
Configuration files installed in:
/home/edsko/.cabal/store/ghc-7.8.4/bytes-0.15.2-be631f24a951556bb73090f0e973e674e0414ccfb9680943b05cdb305cc110aa/etc
Using alex version 3.1.7 found on system at: /home/edsko/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 5.4.0 found on system at: /usr/bin/gcc
Using ghc version 7.8.4 given by user at: /opt/ghc/7.8.4/bin/ghc
Using ghc-pkg version 7.8.4 given by user at: /opt/ghc/7.8.4/bin/ghc-pkg
No greencard found
Using haddock version 2.14.3 found on system at: /opt/ghc/7.8.4/bin/haddock
Using happy version 1.19.5 found on system at: /home/edsko/bin/happy
No hmake found
Using hpc version 0.67 found on system at: /opt/ghc/7.8.4/bin/hpc
Using hsc2hs version 0.67 found on system at: /opt/ghc/7.8.4/bin/hsc2hs
Using hscolour version 1.22 found on system at: /usr/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.29.1 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
creating dist/build/autogen
creating dist/build
creating dist/build/autogen
Component build order: library
creating dist/build
creating dist/build/autogen
Building bytes-0.15.2...
Preprocessing library bytes-0.15.2...
Building library...
/opt/ghc/7.8.4/bin/ghc --info
/opt/ghc/7.8.4/bin/ghc --info
creating dist/build
/opt/ghc/7.8.4/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name bytes-0.15.2 -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-7.8.4/package.db -package-db dist/package.conf.inplace -package-id base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1 -package-id binary-0.7.1.0-f867dbbb69966feb9f5c4ef7695a70a5 -package-id bytestring-0.10.4.0-d6f1d17d717e8652498cab8269a0acd5 -package-id cereal-0.5.3.0-823d66e9d3614c88086ca60c6ff05e8298369b71ffe177a28a9bbf3d4d903bf1 -package-id containers-0.5.5.1-d4bd887fb97aa3a46cbadc13709b7653 -package-id hashable-1.2.4.0-2d5a1e1fa1c78ba1916a27b3f5f8be8aed3ac5780690c5200596c1896732e294 -package-id mtl-2.2.1-0cd5bb316632162ee65aa75123c0bb9e04211c640ecfd9885d76274ab62e6ea5 -package-id scientific-0.3.4.9-2373bac2e0be28e02b10d3e1bcdebfa6f12c27d2e9f2a95f17fec12b5d915d3e -package-id text-1.2.2.1-e6c96490ee353bbed2a105f823d09d2d04c1cc0aab12090fda992a8fc5cd54d1 -package-id time-1.4.2-9b3076800c33f8382c38628f35717951 -package-id transformers-0.5.2.0-8f4053c5ed06a19e4e5e0e81d25f840e66b9385aee3a3f2de9244c80fca94334 -package-id transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0 -package-id unordered-containers-0.2.7.1-33e23346dc31a4d8034e6457403f8192e063bd866e536a536e0eed156c6bb1b8 -package-id void-0.7.1-63f1539a3daefec962d731e1899ce5d9e3cb0f07e61d347dc264de4d5495b5c9 -XHaskell98 Data.Bytes.Get Data.Bytes.Put Data.Bytes.Serial Data.Bytes.Signed Data.Bytes.VarInt -Wall -fwarn-tabs -O2
<command line>: cannot satisfy -package-id transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0: 
    transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0 is shadowed by package transformers-compat-0.5.1.4-83b3d6616fe75d67e1e3fe3c937fd6caec1b4d1ab6d093d2964112fca1695d20
    (use -v for more information)

Failed to build distributive-0.5.0.2.
Build log (
/home/edsko/.cabal/logs/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194.log
):
[1 of 1] Compiling Main             ( /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup.hs, /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/Main.o )
Linking /home/edsko/wt/util/ghc-events-analyze/dist-newstyle/tmp/distributive-19759/distributive-0.5.0.2/dist/setup/setup ...
Configuring distributive-0.5.0.2...
Flags chosen: tagged=True
Dependency base ==4.7.0.2: using base-4.7.0.2
Dependency base-orphans ==0.5.4: using base-orphans-0.5.4
Dependency tagged ==0.8.5: using tagged-0.8.5
Dependency transformers ==0.5.2.0: using transformers-0.5.2.0
Dependency transformers-compat ==0.5.1.4: using transformers-compat-0.5.1.4
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package transformers-compat-0.5.1.4 requires transformers-0.4.3.0
package tagged-0.8.5 requires transformers-0.4.3.0
package transformers-compat-0.5.1.4 requires transformers-0.5.2.0
package distributive-0.5.0.2 requires transformers-0.5.2.0
package distributive-0.5.0.2 requires transformers-compat-0.5.1.4
package tagged-0.8.5 requires transformers-compat-0.5.1.4
/opt/ghc/7.8.4/bin/ghc --info
Using Cabal-1.18.1.5 compiled by ghc-7.8
Using compiler: ghc-7.8.4
Using install prefix:
/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194
Binaries installed in:
/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/bin
Libraries installed in:
/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/lib
Private binaries installed in:
/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/libexec
Data files installed in:
/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/share
Documentation installed in:
/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/share/doc
Configuration files installed in:
/home/edsko/.cabal/store/ghc-7.8.4/distributive-0.5.0.2-a019d6e07216983dfd9037b8bc4286146a98988f2d07da0d3b56369c05d40194/etc
Using alex version 3.1.7 found on system at: /home/edsko/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 5.4.0 found on system at: /usr/bin/gcc
Using ghc version 7.8.4 given by user at: /opt/ghc/7.8.4/bin/ghc
Using ghc-pkg version 7.8.4 given by user at: /opt/ghc/7.8.4/bin/ghc-pkg
No greencard found
Using haddock version 2.14.3 found on system at: /opt/ghc/7.8.4/bin/haddock
Using happy version 1.19.5 found on system at: /home/edsko/bin/happy
No hmake found
Using hpc version 0.67 found on system at: /opt/ghc/7.8.4/bin/hpc
Using hsc2hs version 0.67 found on system at: /opt/ghc/7.8.4/bin/hsc2hs
Using hscolour version 1.22 found on system at: /usr/bin/HsColour
No hugs found
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
Using pkg-config version 0.29.1 found on system at: /usr/bin/pkg-config
Using ranlib found on system at: /usr/bin/ranlib
Using strip found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
creating dist/build/autogen
creating dist/build
creating dist/build/autogen
Component build order: library
creating dist/build
creating dist/build/autogen
Building distributive-0.5.0.2...
Preprocessing library distributive-0.5.0.2...
Building library...
/opt/ghc/7.8.4/bin/ghc --info
/opt/ghc/7.8.4/bin/ghc --info
creating dist/build
/opt/ghc/7.8.4/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name distributive-0.5.0.2 -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-7.8.4/package.db -package-db dist/package.conf.inplace -package-id base-4.7.0.2-bfd89587617e381ae01b8dd7b6c7f1c1 -package-id base-orphans-0.5.4-fdf1d64a4b0c66f9843abf759623dc215c31326bdf0e289a3bde5d409099be3c -package-id tagged-0.8.5-33434133bef2e1982b21de6780d251213ff54f39f45322ca28b506911320edd3 -package-id transformers-0.5.2.0-8f4053c5ed06a19e4e5e0e81d25f840e66b9385aee3a3f2de9244c80fca94334 -package-id transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0 -XHaskell98 Data.Distributive Data.Distributive.Generic -Wall
<command line>: cannot satisfy -package-id transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0: 
    transformers-compat-0.5.1.4-37539a700bd7bf0fb8c21bc253c7308c604f9a70e19db75e465930a0fdc2e4f0 is shadowed by package transformers-compat-0.5.1.4-83b3d6616fe75d67e1e3fe3c937fd6caec1b4d1ab6d093d2964112fca1695d20
    (use -v for more information)
cabal: Failed to build SVGFonts-1.6.0.0 because it depends on SVGFonts-1.6.0.0
which itself failed to build.
Failed to build active-0.2.0.11 because it depends on active-0.2.0.11 which
itself failed to build.
Failed to build adjunctions-4.3 because it depends on adjunctions-4.3 which
itself failed to build.
Failed to build bifunctors-5.4.1 because it depends on bifunctors-5.4.1 which
itself failed to build.
Failed to build bytes-0.15.2.
Failed to build comonad-5 because it depends on comonad-5 which itself failed
to build.
Failed to build diagrams-core-1.3.0.8 because it depends on
diagrams-core-1.3.0.8 which itself failed to build.
Failed to build diagrams-lib-1.3.1.4 because it depends on
diagrams-lib-1.3.1.4 which itself failed to build.
Failed to build diagrams-svg-1.4.0.4 because it depends on
diagrams-svg-1.4.0.4 which itself failed to build.
Failed to build distributive-0.5.0.2.
Failed to build dual-tree-0.2.0.9 because it depends on dual-tree-0.2.0.9
which itself failed to build.
Failed to build free-4.12.4 because it depends on free-4.12.4 which itself
failed to build.
Failed to build ghc-events-analyze-0.2.4 because it depends on
ghc-events-analyze-0.2.4 which itself failed to build.
Failed to build intervals-0.7.2 because it depends on intervals-0.7.2 which
itself failed to build.
Failed to build kan-extensions-5.0.1 because it depends on
kan-extensions-5.0.1 which itself failed to build.
Failed to build lens-4.14 because it depends on lens-4.14 which itself failed
to build.
Failed to build linear-1.20.5 because it depends on linear-1.20.5 which itself
failed to build.
Failed to build monoid-extras-0.4.2 because it depends on monoid-extras-0.4.2
which itself failed to build.
Failed to build profunctors-5.2 because it depends on profunctors-5.2 which
itself failed to build.
Failed to build semigroupoids-5.1 because it depends on semigroupoids-5.1
which itself failed to build.

@edsko
Copy link
Contributor Author

edsko commented Oct 3, 2016

Here too blowing away the store fixed the problem.

@hvr
Copy link
Member

hvr commented Oct 3, 2016

@ezyang fyi, this seems to be related to custom build types

@ezyang
Copy link
Contributor

ezyang commented Oct 3, 2016

OK, after reading the tea leaves, here's what's going on.

  • Nix-style local builds put all databases in a single package database, all of which have unique IPIDs. When we call out to the Cabal library to configure, we specify exactly what versions of every direct dependency we want using the --dependency flag, which lets us specify what IPID we want.
  • In Cabal-1.18, there is no support for the --dependency flag. Thus, these flags are translated into --constraint flags which specify exactly what versions of the packages in question we want. BUT THIS IS INSUFFICIENT. There may be two choices for foo-0.2 which have ALL THE SAME transitive dependency choices; foo-0.2 might have been built with optimization in one case or without in another. So --constraint doesn't uniquely specify a package selection, and indeed the Cabal library's mini-solver is getting it wrong.
  • This explains why blowing away the store works: Cabal can only go wrong when there are multiple choices of a package in the database. If you do a fresh install, there will only be one option and the Setup script will pick the right choice
  • A sufficient workaround should be to set a constraint Cabal >= 1.20, when the --dependency flag was added.

Not sure what kind of fix we can apply.

@ezyang ezyang added this to the Triaged milestone Oct 3, 2016
@edsko
Copy link
Contributor Author

edsko commented Oct 4, 2016

So what does that mean? Any user with multiple choices for a package in their store will run into this problem unless they put a Cabal >= 1.20 constraint in their .cabal file?

@ezyang
Copy link
Contributor

ezyang commented Oct 4, 2016

The specific situation this problem arises is (1) there is a Custom setup built with Cabal 1.18 or earlier, (2) there are multiple possible solutions for a particular set of constraints in the database, and (3) Setup chooses poorly.

We should fix it. I'm just not entirely sure how ;)

@edsko
Copy link
Contributor Author

edsko commented Oct 4, 2016

Oh, I see. I misunderstood. It's not that my .cabal file needs that constraint; it's the dependency with the custom setup script. I see.

@ezyang
Copy link
Contributor

ezyang commented Oct 4, 2016

Yes. But if you put the constraint in your cabal.project that will be sufficient to apply it.

@dcoutts
Copy link
Contributor

dcoutts commented Oct 18, 2016

I see. So perhaps we have to say that new-build requires the Setup.hs to be later than 1.18.

@ezyang
Copy link
Contributor

ezyang commented Oct 18, 2016

I'd be OK with that? Hopefully we can give a good error message when the Setup script doesn't work.

@23Skidoo
Copy link
Member

So perhaps we have to say that new-build requires the Setup.hs to be later than 1.18.

Hmm, I thought we already did that? In D.C.ProjectPlanning we have:

          cabalConstraint   = orLaterVersion cabalCompatMinVer
                                `intersectVersionRanges`
                              orLaterVersion (PD.specVersion pkg)
                                `intersectVersionRanges`
                              earlierVersion cabalCompatMaxVer
          cabalCompatMaxVer = mkVersion [1,25]
          cabalCompatMinVer = mkVersion [1,18]

@edsko
Copy link
Contributor Author

edsko commented Oct 26, 2016

Just to remark that I'm running into this fairly regularly. It's not an issue for me personally but I would say that from a PR perspective this definitely needs to be fixed for the next release.

@ezyang ezyang modified the milestones: 2.0, Triaged Oct 26, 2016
@ezyang
Copy link
Contributor

ezyang commented Oct 26, 2016

Assuming that our plan is to just require 1.20 or later for new-build, this should be a pretty easy fix assuming we find the right place to put the constraint.

@ezyang
Copy link
Contributor

ezyang commented Oct 26, 2016

@dagit and I were wondering why the mkVersion [1,18] didn't work, but actually it's very simple: 1.18 is buggy; the real min version is [1,20]. @dagit is going to contribute a patch.

@ezyang
Copy link
Contributor

ezyang commented Oct 26, 2016

Based on testing, it doesn't look like cabalCompatMinVer actually does anything. Example:

ezyang@sabre:~/Dev/labs/p$ rm -Rf dist-newstyle/
ezyang@sabre:~/Dev/labs/p$ cabal new-build 
Resolving dependencies...
In order, the following will be built (use -v for more details):
 - p-0.1.0.0 (lib:p) (first run)
[1 of 1] Compiling Main             ( /srv/code/labs/p/dist-newstyle/build/x86_64-linux/ghc-7.6.3/p-0.1.0.0/setup/setup.hs, /srv/code/labs/p/dist-newstyle/build/x86_64-linux/ghc-7.6.3/p-0.1.0.0/setup/Main.o )
Linking /srv/code/labs/p/dist-newstyle/build/x86_64-linux/ghc-7.6.3/p-0.1.0.0/setup/setup ...
Warning: p.cabal: Ignoring unknown section type: custom-setup
Configuring p-0.1.0.0...
Building p-0.1.0.0...
Preprocessing library p-0.1.0.0...
In-place registering p-0.1.0.0...
Creating package registration file:
/srv/code/labs/p/dist-newstyle/tmp/package-registration--30823/pkgConf
ezyang@sabre:~/Dev/labs/p$ /srv/code/labs/p/dist-newstyle/build/x86_64-linux/ghc-7.6.3/p-0.1.0.0/setup/setup --version
Cabal library version 1.16.0

That's... pretty bogus (I just put a constraint for < 1.18 in p's custom-setup stanza.)

@dagit
Copy link
Collaborator

dagit commented Oct 26, 2016

With @ezyang's help, I've done some investigation of this issue today. Here is a rough summary of what we've learned:

  1. The min version bump should be 1.20 not 1.18.
  2. The cabalCompatMinVer mentioned above doesn't hit all the cases we need to check (more about that below).
  3. Creating a test case for this is blocked on Story for new-build tests into the global store #4016.

The two cases we have identified in (2) are:

  • There is a no setup-depends field that gives a Cabal constraint. This appears to be the case that the code mentioned above works on where it provides an implicit 1.18 constraint. This needs to be bumped to 1.20.
  • There is a Cabal constraint in setup-depends and it may or may not be compatible with the implicit constraint of Cabal >= 1.20. As far as we can tell, no implicit constraint is added when an explicit Cabal constraint is present.

Again, the analysis may be a bit off due to difficultly with testing this feature.

@ezyang
Copy link
Contributor

ezyang commented Oct 26, 2016

OK, we figured out what was going on.

cabalCompatMinVer only gets applied WHEN WE ARE ADDING a default setup build info, i.e., when there is no custom-setup stanza. If there is a custom-setup stanza, this codepath never gets invoked (that's why there's an error case). @dagit will add a comment about this.

So, one way we could solve this problem is by also modifying custom-setup stanzas when they exist, but we're going to take a different approach: add an extra constraint on Cabal globally to make sure the solver respects it regardless of whether or not there is an explicit setup build info or not.

@ezyang
Copy link
Contributor

ezyang commented Oct 28, 2016

Fix in #4051

ezyang pushed a commit that referenced this issue Oct 29, 2016
Constrain Cabal >= 1.20 in all new-build install plans. This solves problems where Cabal 1.18 don't have a good enough API to let us handle the new-style store (we need --dependency flags.)

In the future we plan to relax this to only Setup.hs dependencies.

Fixes issue #3932.
@ezyang
Copy link
Contributor

ezyang commented Oct 29, 2016

And fixed!

@ezyang ezyang closed this as completed Oct 29, 2016
@edsko
Copy link
Contributor Author

edsko commented Nov 8, 2016

@hvr is this in your cabal-install-head package?

@edsko
Copy link
Contributor Author

edsko commented Dec 28, 2016

With @hvr 's cabal-head 1.25+git20161109.0.d48c1eb-3~16.04, I got this today:

# cabal new-build
In order, the following will be built (use -v for more details):
 - servant-server-0.8.1 (exe:greet) (requires build)
 - yaml-0.8.21.1 (exe:json2yaml) (requires build)
 - yaml-0.8.21.1 (exe:yaml2json) (requires build)
Configuring servant-server-0.8.1 (exe:greet)...
Configuring yaml-0.8.21.1 (exe:yaml2json)...
Configuring yaml-0.8.21.1 (exe:json2yaml)...
Building yaml-0.8.21.1 (exe:yaml2json)...
Building servant-server-0.8.1 (exe:greet)...
Building yaml-0.8.21.1 (exe:json2yaml)...

Failed to build exe:greet from servant-server-0.8.1.
Build log (
/home/edsko/.cabal/logs/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177.log
):
Configuring component exe:greet from servant-server-0.8.1
Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
package wai-extra-3.0.19 requires aeson-0.11.2.1
package servant-server-0.8.1 requires aeson-0.11.2.1
package servant-0.8.1 requires aeson-0.11.2.1
package servant-server-0.8.1 requires aeson-0.11.2.1
package servant-0.8.1 requires aeson-0.11.2.1
package servant-0.8.1 requires bytestring-conversion-0.3.1
package servant-0.8.1 requires bytestring-conversion-0.3.1
package bytestring-conversion-0.3.1 requires double-conversion-2.0.1.0
package bytestring-conversion-0.3.1 requires double-conversion-2.0.2.0
package servant-server-0.8.1 requires servant-0.8.1
package servant-server-0.8.1 requires servant-0.8.1
package warp-3.2.9 requires unix-compat-0.4.2.0
package wai-extra-3.0.19 requires unix-compat-0.4.2.0
package wai-app-static-3.1.6.1 requires unix-compat-0.4.2.0
package warp-3.2.9 requires unix-compat-0.4.3.1
package wai-app-static-3.1.6.1 requires unordered-containers-0.2.7.1
package vault-0.3.0.6 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.1
package vault-0.3.0.6 requires unordered-containers-0.2.7.2
package aeson-0.11.2.1 requires unordered-containers-0.2.7.2
package warp-3.2.9 requires vault-0.3.0.6
package wai-extra-3.0.19 requires vault-0.3.0.6
package wai-3.2.1.1 requires vault-0.3.0.6
package servant-0.8.1 requires vault-0.3.0.6
package warp-3.2.9 requires vault-0.3.0.6
package wai-3.2.1.1 requires vault-0.3.0.6
package servant-0.8.1 requires vault-0.3.0.6
package warp-3.2.9 requires wai-3.2.1.1
package wai-logger-2.3.0 requires wai-3.2.1.1
package wai-extra-3.0.19 requires wai-3.2.1.1
package wai-app-static-3.1.6.1 requires wai-3.2.1.1
package servant-server-0.8.1 requires wai-3.2.1.1
package warp-3.2.9 requires wai-3.2.1.1
package servant-server-0.8.1 requires wai-3.2.1.1
package wai-app-static-3.1.6.1 requires warp-3.2.9
package servant-server-0.8.1 requires warp-3.2.9
package servant-server-0.8.1 requires warp-3.2.9

Preprocessing executable 'greet' for servant-server-0.8.1...
[1 of 1] Compiling Main             ( example/greet.hs, dist/build/greet/greet-tmp/Main.o )

example/greet.hs:61:9: error:
    Ambiguous occurrence ‘Application’
    It could refer to either ‘Network.Wai.Application’,
                             imported from ‘Network.Wai’ at example/greet.hs:13:1-28
                          or ‘Servant.Application’,
                             imported from ‘Servant’ at example/greet.hs:16:1-24
                             (and originally defined in ‘wai-3.2.1.1@wai-3.2.1.1-36f2d579d9000a8c422c8c458613fd417600240ea1d6c0e1e3d4a7ca002c5347:Network.Wai’)

Failed to build exe:json2yaml from yaml-0.8.21.1.
Build log (
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190.log
):
Configuring component exe:json2yaml from yaml-0.8.21.1
Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.2

Preprocessing executable 'json2yaml' for yaml-0.8.21.1...
[1 of 1] Compiling Main             ( exe/json2yaml.hs, dist/build/json2yaml/json2yaml-tmp/Main.o )

exe/json2yaml.hs:14:18: error:
    • No instance for (J.FromJSON Y.Value)
        arising from a use of ‘J.decode’
      There are instances for similar types:
        instance J.FromJSON J.Value
          -- Defined in ‘aeson-0.11.2.1@aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5:Data.Aeson.Types.Instances’
    • In the first argument of ‘fmap’, namely ‘J.decode’
      In the expression: fmap J.decode
      In a stmt of a 'do' block:
        mval <- fmap J.decode
                $ case input of {
                    "-" -> L.getContents
                    _ -> L.readFile input }

Failed to build exe:yaml2json from yaml-0.8.21.1.
Build log (
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6.log
):
Configuring component exe:yaml2json from yaml-0.8.21.1
Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.2

Preprocessing executable 'yaml2json' for yaml-0.8.21.1...
[1 of 1] Compiling Main             ( exe/yaml2json.hs, dist/build/yaml2json/yaml2json-tmp/Main.o )

exe/yaml2json.hs:25:46: error:
    • No instance for (aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Class.FromJSON
                         Value)
        arising from a use of ‘decodeEither'’
      There are instances for similar types:
        instance aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Class.FromJSON
                   aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Internal.Value
          -- Defined in ‘aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Instances’
    • In the second argument of ‘(.)’, namely ‘decodeEither'’
      In the second argument of ‘(>>=)’, namely
        ‘showJSON . decodeEither'’
      In the expression: getContents >>= showJSON . decodeEither'
cabal: Failed to build exe:greet from servant-server-0.8.1. See the build log
above for details.
Failed to build exe:json2yaml from yaml-0.8.21.1. See the build log above for
details.
Failed to build exe:yaml2json from yaml-0.8.21.1. See the build log above for
details.

Verbose log

Number of threads used: 4.
In order, the following will be built:
 - servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177 (exe:greet) (requires build)
 - yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190 (exe:json2yaml) (requires build)
 - yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6 (exe:yaml2json) (requires build)
creating /home/edsko/wt/projects/pfizer/datalake/dist-newstyle/build
creating /home/edsko/wt/projects/pfizer/datalake/dist-newstyle/tmp
Extracting
/home/edsko/.cabal/packages/hackage.haskell.org/servant-server/0.8.1/servant-server-0.8.1.tar.gz
to /home/edsko/wt/projects/pfizer/datalake/dist-newstyle/tmp/src-24045...
Extracting
/home/edsko/.cabal/packages/hackage.haskell.org/yaml/0.8.21.1/yaml-0.8.21.1.tar.gz
to /home/edsko/wt/projects/pfizer/datalake/dist-newstyle/tmp/src-24046...
Extracting
/home/edsko/.cabal/packages/hackage.haskell.org/yaml/0.8.21.1/yaml-0.8.21.1.tar.gz
to /home/edsko/wt/projects/pfizer/datalake/dist-newstyle/tmp/src-24047...
Updating yaml.cabal with the latest revision from the index.
creating dist
Configuring yaml-0.8.21.1 (exe:json2yaml)...
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","configure","--verbose=2","--builddir=dist","--ghc","--prefix=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190","--bindir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/bin","--libdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/lib","--libsubdir=","--dynlibdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/lib","--libexecdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/libexec","--datadir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share","--datasubdir=","--docdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share/doc","--htmldir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share/doc/html","--haddockdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share/doc/html","--sysconfdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/etc","--enable-library-vanilla","--disable-library-profiling","--enable-shared","--disable-executable-dynamic","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=/home/edsko/.cabal/store/ghc-8.0.1/package.db","--flags=-system-libyaml","--flags=-no-unicode","--flags=-no-exe","--flags=no-examples","--cid=yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190","--dependency=aeson=aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5","--dependency=base=base-4.9.0.0","--dependency=bytestring=bytestring-0.10.8.1","--disable-coverage","--exact-configuration","--with-ghc=/opt/ghc/8.0.1/bin/ghc","--with-ghc-pkg=/opt/ghc/8.0.1/bin/ghc-pkg","exe:json2yaml"]
/opt/cabal/head/bin/cabal act-as-setup --build-type=Simple -- configure
--verbose=2 --builddir=dist --ghc
--prefix=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190
--bindir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/bin
--libdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/lib
--libsubdir=
--dynlibdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/lib
--libexecdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/libexec
--datadir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share
--datasubdir=
--docdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share/doc
--htmldir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share/doc/html
--haddockdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share/doc/html
--sysconfdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/etc
--enable-library-vanilla --disable-library-profiling --enable-shared
--disable-executable-dynamic --disable-profiling --profiling-detail=default
--library-profiling-detail=default --enable-optimization --disable-debug-info
--disable-library-for-ghci --disable-split-objs --disable-executable-stripping
--disable-library-stripping --package-db=clear --package-db=global
--package-db=/home/edsko/.cabal/store/ghc-8.0.1/package.db
--flags=-system-libyaml --flags=-no-unicode --flags=-no-exe
--flags=no-examples
--cid=yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190
--dependency=aeson=aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
--dependency=base=base-4.9.0.0 --dependency=bytestring=bytestring-0.10.8.1
--disable-coverage --exact-configuration --with-ghc=/opt/ghc/8.0.1/bin/ghc
--with-ghc-pkg=/opt/ghc/8.0.1/bin/ghc-pkg exe:json2yaml
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190.log}
Updating servant-server.cabal with the latest revision from the index.
creating dist
Configuring servant-server-0.8.1 (exe:greet)...
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","configure","--verbose=2","--builddir=dist","--ghc","--prefix=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177","--bindir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/bin","--libdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/lib","--libsubdir=","--dynlibdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/lib","--libexecdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/libexec","--datadir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share","--datasubdir=","--docdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share/doc","--htmldir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share/doc/html","--haddockdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share/doc/html","--sysconfdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/etc","--enable-library-vanilla","--disable-library-profiling","--enable-shared","--disable-executable-dynamic","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=/home/edsko/.cabal/store/ghc-8.0.1/package.db","--cid=servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177","--dependency=aeson=aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5","--dependency=base=base-4.9.0.0","--dependency=servant=servant-0.8.1-d46cc623c7bbe551c45d40d26ad929818fcf6a04804064f988f75a6a068608c3","--dependency=text=text-1.2.2.1-bcfc0d8a04fcc9db78eb006340c7e999eaf78adaaeb05ccb2edf5df3e74e6e14","--dependency=wai=wai-3.2.1.1-caf46f2b414ff7b9ff67cc9482872a78ec0cb82db7e4528755f62a3c1f7087cb","--dependency=warp=warp-3.2.9-553060f34d6931980c332f13375f4911d3f826103563eeea6e816bac92c3158b","--disable-coverage","--exact-configuration","--with-ghc=/opt/ghc/8.0.1/bin/ghc","--with-ghc-pkg=/opt/ghc/8.0.1/bin/ghc-pkg","exe:greet"]
/opt/cabal/head/bin/cabal act-as-setup --build-type=Simple -- configure
--verbose=2 --builddir=dist --ghc
--prefix=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177
--bindir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/bin
--libdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/lib
--libsubdir=
--dynlibdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/lib
--libexecdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/libexec
--datadir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share
--datasubdir=
--docdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share/doc
--htmldir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share/doc/html
--haddockdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share/doc/html
--sysconfdir=/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/etc
--enable-library-vanilla --disable-library-profiling --enable-shared
--disable-executable-dynamic --disable-profiling --profiling-detail=default
--library-profiling-detail=default --enable-optimization --disable-debug-info
--disable-library-for-ghci --disable-split-objs --disable-executable-stripping
--disable-library-stripping --package-db=clear --package-db=global
--package-db=/home/edsko/.cabal/store/ghc-8.0.1/package.db
--cid=servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177
--dependency=aeson=aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
--dependency=base=base-4.9.0.0
--dependency=servant=servant-0.8.1-d46cc623c7bbe551c45d40d26ad929818fcf6a04804064f988f75a6a068608c3
--dependency=text=text-1.2.2.1-bcfc0d8a04fcc9db78eb006340c7e999eaf78adaaeb05ccb2edf5df3e74e6e14
--dependency=wai=wai-3.2.1.1-caf46f2b414ff7b9ff67cc9482872a78ec0cb82db7e4528755f62a3c1f7087cb
--dependency=warp=warp-3.2.9-553060f34d6931980c332f13375f4911d3f826103563eeea6e816bac92c3158b
--disable-coverage --exact-configuration --with-ghc=/opt/ghc/8.0.1/bin/ghc
--with-ghc-pkg=/opt/ghc/8.0.1/bin/ghc-pkg exe:greet
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177.log}
Updating yaml.cabal with the latest revision from the index.
creating dist
Configuring yaml-0.8.21.1 (exe:yaml2json)...
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","configure","--verbose=2","--builddir=dist","--ghc","--prefix=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6","--bindir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/bin","--libdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/lib","--libsubdir=","--dynlibdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/lib","--libexecdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/libexec","--datadir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share","--datasubdir=","--docdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share/doc","--htmldir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share/doc/html","--haddockdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share/doc/html","--sysconfdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/etc","--enable-library-vanilla","--disable-library-profiling","--enable-shared","--disable-executable-dynamic","--disable-profiling","--profiling-detail=default","--library-profiling-detail=default","--enable-optimization","--disable-debug-info","--disable-library-for-ghci","--disable-split-objs","--disable-executable-stripping","--disable-library-stripping","--package-db=clear","--package-db=global","--package-db=/home/edsko/.cabal/store/ghc-8.0.1/package.db","--flags=-system-libyaml","--flags=-no-unicode","--flags=-no-exe","--flags=no-examples","--cid=yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6","--dependency=aeson=aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5","--dependency=base=base-4.9.0.0","--dependency=bytestring=bytestring-0.10.8.1","--disable-coverage","--exact-configuration","--with-ghc=/opt/ghc/8.0.1/bin/ghc","--with-ghc-pkg=/opt/ghc/8.0.1/bin/ghc-pkg","exe:yaml2json"]
/opt/cabal/head/bin/cabal act-as-setup --build-type=Simple -- configure
--verbose=2 --builddir=dist --ghc
--prefix=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6
--bindir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/bin
--libdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/lib
--libsubdir=
--dynlibdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/lib
--libexecdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/libexec
--datadir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share
--datasubdir=
--docdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share/doc
--htmldir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share/doc/html
--haddockdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share/doc/html
--sysconfdir=/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/etc
--enable-library-vanilla --disable-library-profiling --enable-shared
--disable-executable-dynamic --disable-profiling --profiling-detail=default
--library-profiling-detail=default --enable-optimization --disable-debug-info
--disable-library-for-ghci --disable-split-objs --disable-executable-stripping
--disable-library-stripping --package-db=clear --package-db=global
--package-db=/home/edsko/.cabal/store/ghc-8.0.1/package.db
--flags=-system-libyaml --flags=-no-unicode --flags=-no-exe
--flags=no-examples
--cid=yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6
--dependency=aeson=aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
--dependency=base=base-4.9.0.0 --dependency=bytestring=bytestring-0.10.8.1
--disable-coverage --exact-configuration --with-ghc=/opt/ghc/8.0.1/bin/ghc
--with-ghc-pkg=/opt/ghc/8.0.1/bin/ghc-pkg exe:yaml2json
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6.log}
Building yaml-0.8.21.1 (exe:yaml2json)...
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","build","--verbose=2","--builddir=dist"]
/opt/cabal/head/bin/cabal act-as-setup --build-type=Simple -- build
--verbose=2 --builddir=dist
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6.log}
Building yaml-0.8.21.1 (exe:json2yaml)...
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","build","--verbose=2","--builddir=dist"]
/opt/cabal/head/bin/cabal act-as-setup --build-type=Simple -- build
--verbose=2 --builddir=dist
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190.log}
Building servant-server-0.8.1 (exe:greet)...
Using self-exec internal setup method with build-type Simple and args:
["act-as-setup","--build-type=Simple","--","build","--verbose=2","--builddir=dist"]
/opt/cabal/head/bin/cabal act-as-setup --build-type=Simple -- build
--verbose=2 --builddir=dist
Redirecting build log to {handle:
/home/edsko/.cabal/logs/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177.log}

Failed to build
servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177.
Build log (
/home/edsko/.cabal/logs/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177.log
):
Configuring component exe:greet from servant-server-0.8.1
Dependency aeson ==0.11.2.1: using aeson-0.11.2.1
Dependency base ==4.9.0.0: using base-4.9.0.0
Dependency servant ==0.8.1: using servant-0.8.1
Dependency servant-server -any: using servant-server-0.8.1
Dependency text ==1.2.2.1: using text-1.2.2.1
Dependency wai ==3.2.1.1: using wai-3.2.1.1
Dependency warp ==3.2.9: using warp-3.2.9
Source component graph: component exe:greet dependency lib
Configured component graph:
    component servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177
        include aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        include base-4.9.0.0
        include servant-0.8.1-d46cc623c7bbe551c45d40d26ad929818fcf6a04804064f988f75a6a068608c3
        include servant-server-0.8.1-77764b870af34e5db23cfbb3b600160cb969bfdaebbe0043a651de00c5adc4f9
        include text-1.2.2.1-bcfc0d8a04fcc9db78eb006340c7e999eaf78adaaeb05ccb2edf5df3e74e6e14
        include wai-3.2.1.1-caf46f2b414ff7b9ff67cc9482872a78ec0cb82db7e4528755f62a3c1f7087cb
        include warp-3.2.9-553060f34d6931980c332f13375f4911d3f826103563eeea6e816bac92c3158b
Linked component graph:
    unit servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177
        include aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        include base-4.9.0.0
        include servant-0.8.1-d46cc623c7bbe551c45d40d26ad929818fcf6a04804064f988f75a6a068608c3
        include servant-server-0.8.1-77764b870af34e5db23cfbb3b600160cb969bfdaebbe0043a651de00c5adc4f9
        include text-1.2.2.1-bcfc0d8a04fcc9db78eb006340c7e999eaf78adaaeb05ccb2edf5df3e74e6e14
        include wai-3.2.1.1-caf46f2b414ff7b9ff67cc9482872a78ec0cb82db7e4528755f62a3c1f7087cb
        include warp-3.2.9-553060f34d6931980c332f13375f4911d3f826103563eeea6e816bac92c3158b
Ready component graph:
    definite servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177
        depends aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        depends base-4.9.0.0
        depends servant-0.8.1-d46cc623c7bbe551c45d40d26ad929818fcf6a04804064f988f75a6a068608c3
        depends servant-server-0.8.1-77764b870af34e5db23cfbb3b600160cb969bfdaebbe0043a651de00c5adc4f9
        depends text-1.2.2.1-bcfc0d8a04fcc9db78eb006340c7e999eaf78adaaeb05ccb2edf5df3e74e6e14
        depends wai-3.2.1.1-caf46f2b414ff7b9ff67cc9482872a78ec0cb82db7e4528755f62a3c1f7087cb
        depends warp-3.2.9-553060f34d6931980c332f13375f4911d3f826103563eeea6e816bac92c3158b
Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
package wai-extra-3.0.19 requires aeson-0.11.2.1
package servant-server-0.8.1 requires aeson-0.11.2.1
package servant-0.8.1 requires aeson-0.11.2.1
package servant-server-0.8.1 requires aeson-0.11.2.1
package servant-0.8.1 requires aeson-0.11.2.1
package servant-0.8.1 requires bytestring-conversion-0.3.1
package servant-0.8.1 requires bytestring-conversion-0.3.1
package bytestring-conversion-0.3.1 requires double-conversion-2.0.1.0
package bytestring-conversion-0.3.1 requires double-conversion-2.0.2.0
package servant-server-0.8.1 requires servant-0.8.1
package servant-server-0.8.1 requires servant-0.8.1
package warp-3.2.9 requires unix-compat-0.4.2.0
package wai-extra-3.0.19 requires unix-compat-0.4.2.0
package wai-app-static-3.1.6.1 requires unix-compat-0.4.2.0
package warp-3.2.9 requires unix-compat-0.4.3.1
package wai-app-static-3.1.6.1 requires unordered-containers-0.2.7.1
package vault-0.3.0.6 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.1
package vault-0.3.0.6 requires unordered-containers-0.2.7.2
package aeson-0.11.2.1 requires unordered-containers-0.2.7.2
package warp-3.2.9 requires vault-0.3.0.6
package wai-extra-3.0.19 requires vault-0.3.0.6
package wai-3.2.1.1 requires vault-0.3.0.6
package servant-0.8.1 requires vault-0.3.0.6
package warp-3.2.9 requires vault-0.3.0.6
package wai-3.2.1.1 requires vault-0.3.0.6
package servant-0.8.1 requires vault-0.3.0.6
package warp-3.2.9 requires wai-3.2.1.1
package wai-logger-2.3.0 requires wai-3.2.1.1
package wai-extra-3.0.19 requires wai-3.2.1.1
package wai-app-static-3.1.6.1 requires wai-3.2.1.1
package servant-server-0.8.1 requires wai-3.2.1.1
package warp-3.2.9 requires wai-3.2.1.1
package servant-server-0.8.1 requires wai-3.2.1.1
package wai-app-static-3.1.6.1 requires warp-3.2.9
package servant-server-0.8.1 requires warp-3.2.9
package servant-server-0.8.1 requires warp-3.2.9

Using Cabal-1.25.0.0 compiled by ghc-8.0
Using compiler: ghc-8.0.1
Using install prefix:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177
Binaries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/bin
Libraries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/lib
Dynamic Libraries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/lib
Private binaries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/libexec
Data files installed in:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share
Documentation installed in:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/share/doc
Configuration files installed in:
/home/edsko/.cabal/store/ghc-8.0.1/servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177/etc
Using alex version 3.1.7 found on system at: /home/edsko/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 5.4.0 found on system at: /usr/bin/gcc
Using ghc version 8.0.1 given by user at: /opt/ghc/8.0.1/bin/ghc
Using ghc-pkg version 8.0.1 given by user at: /opt/ghc/8.0.1/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.17.2 found on system at: /opt/ghc/8.0.1/bin/haddock
Using happy version 1.19.5 found on system at: /home/edsko/bin/happy
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /opt/ghc/8.0.1/bin/hpc
Using hsc2hs version 0.68 found on system at: /opt/ghc/8.0.1/bin/hsc2hs
Using hscolour version 1.22 found on system at: /usr/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.29.1 found on system at: /usr/bin/pkg-config
Using strip version 2.26 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
Component build order: executable 'greet'
/opt/ghc/8.0.1/bin/ghc-pkg init dist/package.conf.inplace
creating dist/build/greet
creating dist/build/greet/autogen
Preprocessing executable 'greet' for servant-server-0.8.1...
Building executable greet...
creating dist/build/greet
creating dist/build/greet/greet-tmp
/opt/ghc/8.0.1/bin/ghc --make -no-link -fbuilding-cabal-package -O -static -outputdir dist/build/greet/greet-tmp -odir dist/build/greet/greet-tmp -hidir dist/build/greet/greet-tmp -stubdir dist/build/greet/greet-tmp -i -idist/build/greet/greet-tmp -iexample -idist/build/greet/autogen -idist/build/global-autogen -Idist/build/greet/autogen -Idist/build/global-autogen -Idist/build/greet/greet-tmp -optP-include -optPdist/build/greet/autogen/cabal_macros.h -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-8.0.1/package.db -package-db dist/package.conf.inplace -package-id aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5 -package-id base-4.9.0.0 -package-id servant-0.8.1-d46cc623c7bbe551c45d40d26ad929818fcf6a04804064f988f75a6a068608c3 -package-id servant-server-0.8.1-77764b870af34e5db23cfbb3b600160cb969bfdaebbe0043a651de00c5adc4f9 -package-id text-1.2.2.1-bcfc0d8a04fcc9db78eb006340c7e999eaf78adaaeb05ccb2edf5df3e74e6e14 -package-id wai-3.2.1.1-caf46f2b414ff7b9ff67cc9482872a78ec0cb82db7e4528755f62a3c1f7087cb -package-id warp-3.2.9-553060f34d6931980c332f13375f4911d3f826103563eeea6e816bac92c3158b -XHaskell2010 example/greet.hs -Wall
[1 of 1] Compiling Main             ( example/greet.hs, dist/build/greet/greet-tmp/Main.o )

example/greet.hs:61:9: error:
    Ambiguous occurrence ‘Application’
    It could refer to either ‘Network.Wai.Application’,
                             imported from ‘Network.Wai’ at example/greet.hs:13:1-28
                          or ‘Servant.Application’,
                             imported from ‘Servant’ at example/greet.hs:16:1-24
                             (and originally defined in ‘wai-3.2.1.1@wai-3.2.1.1-36f2d579d9000a8c422c8c458613fd417600240ea1d6c0e1e3d4a7ca002c5347:Network.Wai’)

Failed to build
yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190.
Build log (
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190.log
):
Configuring component exe:json2yaml from yaml-0.8.21.1
Flags chosen: no-unicode=False, system-libyaml=False, no-examples=True,
no-exe=False
Dependency aeson ==0.11.2.1: using aeson-0.11.2.1
Dependency base ==4.9.0.0: using base-4.9.0.0
Dependency bytestring ==0.10.8.1: using bytestring-0.10.8.1
Dependency yaml -any: using yaml-0.8.21.1
Source component graph: component exe:json2yaml dependency lib
Configured component graph:
    component yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190
        include aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        include base-4.9.0.0
        include bytestring-0.10.8.1
        include yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631
Linked component graph:
    unit yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190
        include aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        include base-4.9.0.0
        include bytestring-0.10.8.1
        include yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631
Ready component graph:
    definite yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190
        depends aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        depends base-4.9.0.0
        depends bytestring-0.10.8.1
        depends yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631
Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.2

Using Cabal-1.25.0.0 compiled by ghc-8.0
Using compiler: ghc-8.0.1
Using install prefix:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190
Binaries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/bin
Libraries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/lib
Dynamic Libraries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/lib
Private binaries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/libexec
Data files installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share
Documentation installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/share/doc
Configuration files installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190/etc
Using alex version 3.1.7 found on system at: /home/edsko/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 5.4.0 found on system at: /usr/bin/gcc
Using ghc version 8.0.1 given by user at: /opt/ghc/8.0.1/bin/ghc
Using ghc-pkg version 8.0.1 given by user at: /opt/ghc/8.0.1/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.17.2 found on system at: /opt/ghc/8.0.1/bin/haddock
Using happy version 1.19.5 found on system at: /home/edsko/bin/happy
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /opt/ghc/8.0.1/bin/hpc
Using hsc2hs version 0.68 found on system at: /opt/ghc/8.0.1/bin/hsc2hs
Using hscolour version 1.22 found on system at: /usr/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.29.1 found on system at: /usr/bin/pkg-config
Using strip version 2.26 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
Component build order: executable 'json2yaml'
/opt/ghc/8.0.1/bin/ghc-pkg init dist/package.conf.inplace
creating dist/build/json2yaml
creating dist/build/json2yaml/autogen
Preprocessing executable 'json2yaml' for yaml-0.8.21.1...
Building executable json2yaml...
creating dist/build/json2yaml
creating dist/build/json2yaml/json2yaml-tmp
/opt/ghc/8.0.1/bin/ghc --make -no-link -fbuilding-cabal-package -O -static -outputdir dist/build/json2yaml/json2yaml-tmp -odir dist/build/json2yaml/json2yaml-tmp -hidir dist/build/json2yaml/json2yaml-tmp -stubdir dist/build/json2yaml/json2yaml-tmp -i -idist/build/json2yaml/json2yaml-tmp -iexe -idist/build/json2yaml/autogen -idist/build/global-autogen -Idist/build/json2yaml/autogen -Idist/build/global-autogen -Idist/build/json2yaml/json2yaml-tmp -optP-include -optPdist/build/json2yaml/autogen/cabal_macros.h -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-8.0.1/package.db -package-db dist/package.conf.inplace -package-id aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5 -package-id base-4.9.0.0 -package-id bytestring-0.10.8.1 -package-id yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631 -XHaskell98 exe/json2yaml.hs
[1 of 1] Compiling Main             ( exe/json2yaml.hs, dist/build/json2yaml/json2yaml-tmp/Main.o )

exe/json2yaml.hs:14:18: error:
    • No instance for (J.FromJSON Y.Value)
        arising from a use of ‘J.decode’
      There are instances for similar types:
        instance J.FromJSON J.Value
          -- Defined in ‘aeson-0.11.2.1@aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5:Data.Aeson.Types.Instances’
    • In the first argument of ‘fmap’, namely ‘J.decode’
      In the expression: fmap J.decode
      In a stmt of a 'do' block:
        mval <- fmap J.decode
                $ case input of {
                    "-" -> L.getContents
                    _ -> L.readFile input }

Failed to build
yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6.
Build log (
/home/edsko/.cabal/logs/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6.log
):
Configuring component exe:yaml2json from yaml-0.8.21.1
Flags chosen: no-unicode=False, system-libyaml=False, no-examples=True,
no-exe=False
Dependency aeson ==0.11.2.1: using aeson-0.11.2.1
Dependency base ==4.9.0.0: using base-4.9.0.0
Dependency bytestring ==0.10.8.1: using bytestring-0.10.8.1
Dependency yaml -any: using yaml-0.8.21.1
Source component graph: component exe:yaml2json dependency lib
Configured component graph:
    component yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6
        include aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        include base-4.9.0.0
        include bytestring-0.10.8.1
        include yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631
Linked component graph:
    unit yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6
        include aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        include base-4.9.0.0
        include bytestring-0.10.8.1
        include yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631
Ready component graph:
    definite yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6
        depends aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5
        depends base-4.9.0.0
        depends bytestring-0.10.8.1
        depends yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631
Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure.
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires aeson-0.11.2.1
package yaml-0.8.21.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.1
package aeson-0.11.2.1 requires unordered-containers-0.2.7.2

Using Cabal-1.25.0.0 compiled by ghc-8.0
Using compiler: ghc-8.0.1
Using install prefix:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6
Binaries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/bin
Libraries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/lib
Dynamic Libraries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/lib
Private binaries installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/libexec
Data files installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share
Documentation installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/share/doc
Configuration files installed in:
/home/edsko/.cabal/store/ghc-8.0.1/yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6/etc
Using alex version 3.1.7 found on system at: /home/edsko/bin/alex
Using ar found on system at: /usr/bin/ar
No c2hs found
No cpphs found
Using gcc version 5.4.0 found on system at: /usr/bin/gcc
Using ghc version 8.0.1 given by user at: /opt/ghc/8.0.1/bin/ghc
Using ghc-pkg version 8.0.1 given by user at: /opt/ghc/8.0.1/bin/ghc-pkg
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.17.2 found on system at: /opt/ghc/8.0.1/bin/haddock
Using happy version 1.19.5 found on system at: /home/edsko/bin/happy
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.67 found on system at: /opt/ghc/8.0.1/bin/hpc
Using hsc2hs version 0.68 found on system at: /opt/ghc/8.0.1/bin/hsc2hs
Using hscolour version 1.22 found on system at: /usr/bin/HsColour
No jhc found
Using ld found on system at: /usr/bin/ld
No lhc found
No lhc-pkg found
Using pkg-config version 0.29.1 found on system at: /usr/bin/pkg-config
Using strip version 2.26 found on system at: /usr/bin/strip
Using tar found on system at: /bin/tar
No uhc found
Component build order: executable 'yaml2json'
/opt/ghc/8.0.1/bin/ghc-pkg init dist/package.conf.inplace
creating dist/build/yaml2json
creating dist/build/yaml2json/autogen
Preprocessing executable 'yaml2json' for yaml-0.8.21.1...
Building executable yaml2json...
creating dist/build/yaml2json
creating dist/build/yaml2json/yaml2json-tmp
/opt/ghc/8.0.1/bin/ghc --make -no-link -fbuilding-cabal-package -O -static -outputdir dist/build/yaml2json/yaml2json-tmp -odir dist/build/yaml2json/yaml2json-tmp -hidir dist/build/yaml2json/yaml2json-tmp -stubdir dist/build/yaml2json/yaml2json-tmp -i -idist/build/yaml2json/yaml2json-tmp -iexe -idist/build/yaml2json/autogen -idist/build/global-autogen -Idist/build/yaml2json/autogen -Idist/build/global-autogen -Idist/build/yaml2json/yaml2json-tmp -optP-include -optPdist/build/yaml2json/autogen/cabal_macros.h -hide-all-packages -no-user-package-db -package-db /home/edsko/.cabal/store/ghc-8.0.1/package.db -package-db dist/package.conf.inplace -package-id aeson-0.11.2.1-66e426961772a645415ed1df943a91394a765e14fbc440a6d07b421d79a48af5 -package-id base-4.9.0.0 -package-id bytestring-0.10.8.1 -package-id yaml-0.8.21.1-36eede276cc7cf561d5cc016a217314cced02b62407ace73dd9e5d8cfea86631 -XHaskell98 exe/yaml2json.hs
[1 of 1] Compiling Main             ( exe/yaml2json.hs, dist/build/yaml2json/yaml2json-tmp/Main.o )

exe/yaml2json.hs:25:46: error:
    • No instance for (aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Class.FromJSON
                         Value)
        arising from a use of ‘decodeEither'’
      There are instances for similar types:
        instance aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Class.FromJSON
                   aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Internal.Value
          -- Defined in ‘aeson-0.11.2.1@aeson-0.11.2.1-0706f54e421636ec2f3f6f235ef3b2e0d3982737d10f5fb5279592899ae67ae9:Data.Aeson.Types.Instances’
    • In the second argument of ‘(.)’, namely ‘decodeEither'’
      In the second argument of ‘(>>=)’, namely
        ‘showJSON . decodeEither'’
      In the expression: getContents >>= showJSON . decodeEither'
cabal: Failed to build
servant-server-0.8.1-f3c8194e324b9957507acb9e5c977b589a9433c148b2fd0e8b9290c5b4a13177.
Failed to build
yaml-0.8.21.1-93a1dcc8ac0a69f27f35be8582a74f2349d6db2c88d7567f11723693fd005190.
Failed to build
yaml-0.8.21.1-ef1c138855003adf27650064b206633579ab64399b5a37f4b2c71ff7826c28e6.

Blowing away my dist-newbuild directory didn't solve anything; blowing away the store however did. Not sure if (1) this is the same issue, and the fix isn't sufficient; (2) this is an orthogonal issue, or (3) my cabal-head simply doesn't have the fix, though that last option seems unlikely.

@edsko
Copy link
Contributor Author

edsko commented Jan 3, 2017

Just another data point: another cabal update and the subsequent build failed again in the same way, until I blew away my store. I guess this is still quite likely to happen. Will upgrade to the latest cabal HEAD (1.25+git20170101.0.19d9738-3~16.04) and see if the problem still arises.

@hvr
Copy link
Member

hvr commented Jan 3, 2017

@edsko I wonder if you could make this failure reproducible by using --index-state to switch between two different pkg-index states

erikd pushed a commit to erikd/cabal that referenced this issue Jan 28, 2017
Constrain Cabal >= 1.20 in all new-build install plans. This solves problems where Cabal 1.18 don't have a good enough API to let us handle the new-style store (we need --dependency flags.)

In the future we plan to relax this to only Setup.hs dependencies.

Fixes issue haskell#3932.
@23Skidoo 23Skidoo modified the milestones: 2.0, 2.2 Feb 17, 2017
@23Skidoo 23Skidoo modified the milestones: 2.2, 2.4 Aug 29, 2018
@23Skidoo 23Skidoo modified the milestones: 2.4, 2.4.1 Sep 17, 2018
@23Skidoo 23Skidoo modified the milestones: 2.4.1.0, 2.4.2.0 Apr 26, 2019
@phadej phadej modified the milestones: 2.4.2.0, 3.4 Nov 27, 2019
@ulysses4ever
Copy link
Collaborator

Looks like some rough edge of an early version of new-build. Doesn't seem to hit anyone these days. Consider closing...

@Mikolaj
Copy link
Member

Mikolaj commented Apr 24, 2023

Let's close optimistically.

@Mikolaj Mikolaj closed this as completed Apr 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment