Skip to content

Odd build failure with new-build #3932

Closed

Description

@edsko

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" :)

Activity

  1. added
    cabal-install: v2-build system
    on Oct 3, 2016
  2. ezyang commented on Oct 3, 2016

    @ezyang
    Contributor

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

  3. edsko commented on Oct 3, 2016

    @edsko
    ContributorAuthor

    Fair enough 😳

  4. edsko commented on Oct 3, 2016

    @edsko
    ContributorAuthor

    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.
    
  5. edsko commented on Oct 3, 2016

    @edsko
    ContributorAuthor

    Here too blowing away the store fixed the problem.

  6. hvr commented on Oct 3, 2016

    @hvr
    Member

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

  7. ezyang commented on Oct 3, 2016

    @ezyang
    Contributor

    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.

  8. added this to the Triaged milestone on Oct 3, 2016
  9. edsko commented on Oct 4, 2016

    @edsko
    ContributorAuthor

    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?

  10. ezyang commented on Oct 4, 2016

    @ezyang
    Contributor

    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 ;)

  11. edsko commented on Oct 4, 2016

    @edsko
    ContributorAuthor

    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.

  12. ezyang commented on Oct 4, 2016

    @ezyang
    Contributor

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

  13. dcoutts commented on Oct 18, 2016

    @dcoutts
    Contributor

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

  14. ezyang commented on Oct 18, 2016

    @ezyang
    Contributor

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

  15. 26 remaining items

  16. modified the milestones: 2.2, 2.4 on Aug 29, 2018
  17. modified the milestones: 2.4, 2.4.1 on Sep 17, 2018
  18. modified the milestones: 2.4.1.0, 2.4.2.0 on Apr 26, 2019
  19. modified the milestones: 2.4.2.0, 3.4 on Nov 27, 2019
  20. ulysses4ever commented on Apr 24, 2023

    @ulysses4ever
    Collaborator

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

  21. Mikolaj commented on Apr 24, 2023

    @Mikolaj
    Member

    Let's close optimistically.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Cabal: customblocked: info-neededcabal-install: v2-build systemstatus: consider closing

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions