mietek/halcyon

Unexpected constraints difference

mietek opened this issue · 4 comments

Using Cabal to freeze constraints before installing dependencies may sometimes give a different result than freezing constraints after dependencies are installed, even with all constraints explicitly declared in a cabal.config file.

This does not adversely affect the operation of Halcyon or Haskell on Heroku. The underlying Cabal bug is tracked as haskell/cabal#1896.

This page is intended to collect and display live bug specimens. If you reproduce the issue, please add a comment. To help me keep a handle on things, please include:

Project name

  • GHC version
  • Cabal version
  • Link to a gist of the entire build log
  • Link to the commit exhibiting the issue
Warning message, including the diff, inline

hello-simple

   *** WARNING: Unexpected constraints difference
       @@ -10,7 +10,6 @@
        byteorder-1.0.4
        bytestring-0.10.4.0
        case-insensitive-1.2.0.1
       -cmdargs-0.10.12
        containers-0.5.5.1
        data-default-class-0.0.1
        deepseq-1.3.0.2
       @@ -42,7 +41,6 @@
        rts-1.0
        scientific-0.3.3.3
        semigroups-0.16
       -setenv-0.1.1.1
        simple-0.10.0.2
        simple-sendfile-0.2.18
        simple-templates-0.8.0.0

hello-wheb

   *** WARNING: Unexpected constraints difference
       @@ -1,7 +1,6 @@
        SHA-1.6.4.1
        Wheb-0.3.1.0
        ansi-terminal-0.6.2.1
       -ansi-wl-pprint-0.6.7.1
        array-0.5.0.0
        attoparsec-0.12.1.2
        auto-update-0.1.2
       @@ -9,18 +8,13 @@
        base-4.7.0.1
        binary-0.7.1.0
        blaze-builder-0.3.3.4
       -blaze-html-0.7.0.3
       -blaze-markup-0.6.1.1
        byteable-0.1.1
        byteorder-1.0.4
        bytestring-0.10.4.0
        case-insensitive-1.2.0.1
       -conduit-1.2.3
       -conduit-extra-1.1.4.2
        containers-0.5.5.1
        cookie-0.4.1.4
        cryptohash-0.11.6
       -cryptohash-conduit-0.1.1
        data-default-0.5.3
        data-default-class-0.0.1
        data-default-instances-base-0.0.1
       @@ -35,7 +29,6 @@
        exceptions-0.6.1
        fast-logger-2.2.3
        filepath-1.3.0.2
       -file-embed-0.0.7
        ghc-prim-0.3.1.0
        hashable-1.2.2.0
        http-date-0.0.4
       @@ -43,7 +36,6 @@
        integer-gmp-0.5.1.0
        io-streams-1.1.4.6
        lifted-base-0.2.3.0
       -mime-types-0.1.0.4
        mmorph-1.0.4
        monad-control-0.3.3.0
        mtl-2.2.1
       @@ -52,9 +44,7 @@
        network-info-0.2.0.5
        old-locale-1.0.0.6
        old-time-1.1.0.2
       -optparse-applicative-0.11.0.1
        parsec-3.1.7
       -pretty-1.1.1.1
        primitive-0.5.4.0
        process-1.2.0.0
        pwstore-fast-2.4.4
       @@ -68,14 +58,10 @@
        stm-2.4.3
        streaming-commons-0.1.7
        stringsearch-0.3.6.5
       -system-fileio-0.3.15
       -system-filepath-0.4.12
       -template-haskell-2.9.0.0
        text-1.1.1.3
        time-1.4.2
        transformers-0.4.2.0
        transformers-base-0.4.3
       -transformers-compat-0.3.3.4
        unix-2.7.0.1
        unix-compat-0.4.1.3
        unix-time-0.3.4
       @@ -86,7 +72,6 @@
        vector-0.10.12.2
        void-0.7
        wai-3.0.2
       -wai-app-static-3.0.0.3
        wai-extra-3.0.2.2
        wai-logger-2.2.3
        wai-websockets-3.0.0.1

tryidris

    *** WARNING: Unexpected constraints difference
        @@ -10,7 +10,6 @@
         byteorder-1.0.4
         bytestring-0.10.4.0
         case-insensitive-1.2.0.1
        -cmdargs-0.10.12
         containers-0.5.5.1
         data-default-0.5.3
         data-default-class-0.0.1

trypurescript

    *** WARNING: Unexpected constraints difference
        @@ -30,7 +30,6 @@
         file-embed-0.0.7
         ghc-prim-0.3.1.0
         hashable-1.2.3.0
        -haskeline-0.7.1.2
         http-date-0.0.4
         http-types-0.8.5
         integer-gmp-0.5.1.0
        @@ -64,7 +63,6 @@
         stringsearch-0.3.6.5
         syb-0.4.2
         template-haskell-2.9.0.0
        -terminfo-0.4.0.0
         text-1.1.1.3
         time-1.4.2
         transformers-0.3.0.0