mtl 2.1.1 update breaks snap-core build #131

Closed
peti opened this Issue Apr 25, 2012 · 0 comments

Comments

Projects
None yet
1 participant

peti commented Apr 25, 2012

Dependency attoparsec ==0.10.*: using attoparsec-0.10.1.1
Dependency attoparsec-enumerator ==0.3.*: using attoparsec-enumerator-0.3
Dependency base ==4.*: using base-4.5.0.0
Dependency base16-bytestring <=0.2: using base16-bytestring-0.1.1.4
Dependency blaze-builder >=0.2.1.4 && <0.4: using blaze-builder-0.3.1.0
Dependency blaze-builder-enumerator ==0.2.*: using
blaze-builder-enumerator-0.2.0.4
Dependency bytestring -any: using bytestring-0.9.2.1
Dependency bytestring-mmap >=0.2.2 && <0.3: using bytestring-mmap-0.2.2
Dependency bytestring-nums -any: using bytestring-nums-0.3.5
Dependency case-insensitive >=0.3 && <0.5: using case-insensitive-0.4.0.1
Dependency containers -any: using containers-0.4.2.1
Dependency deepseq >=1.1 && <1.4: using deepseq-1.3.0.0
Dependency directory -any: using directory-1.1.0.2
Dependency dlist ==0.5.*: using dlist-0.5
Dependency enumerator >=0.4.15 && <0.5: using enumerator-0.4.19
Dependency filepath -any: using filepath-1.3.0.0
Dependency mtl >=2.0 && <2.2: using mtl-2.1.1
Dependency mwc-random >=0.10 && <0.13: using mwc-random-0.12.0.0
Dependency old-locale -any: using old-locale-1.0.0.4
Dependency old-time -any: using old-time-1.1.0.0
Dependency regex-posix <=0.95.2: using regex-posix-0.95.1
Dependency text ==0.11.*: using text-0.11.2.0
Dependency time >=1.0 && <1.5: using time-1.4
Dependency transformers >=0.2 && <0.4: using transformers-0.3.0.0
Dependency unix >=2.4 && <3.0: using unix-2.5.1.0
Dependency unix-compat >=0.2 && <0.4: using unix-compat-0.3.0.1
Dependency unordered-containers >=0.1.4.3 && <0.3: using
unordered-containers-0.2.1.0
Dependency vector >=0.6 && <0.10: using vector-0.9.1
Dependency zlib-enum >=0.2.1 && <0.3: using zlib-enum-0.2.2
Warning: This package indirectly depends on multiple versions of the same
package. This is highly likely to cause a compile failure.
package zlib-enum-0.2.2 requires transformers-0.2.2.0
package enumerator-0.4.19 requires transformers-0.2.2.0
package blaze-builder-enumerator-0.2.0.4 requires transformers-0.2.2.0
package MonadCatchIO-transformers-0.3.0.0 requires transformers-0.2.2.0
package snap-core-0.8.1 requires transformers-0.3.0.0
package mtl-2.1.1 requires transformers-0.3.0.0
Using Cabal-1.14.0 compiled by ghc-7.4
Using compiler: ghc-7.4.1
Using install prefix:
/nix/store/ciz9ldjgxvs4y9gdqdbkaz2axk7zmrbb-haskell-snap-core-ghc7.4.1-0.8.1
Binaries installed in:
/nix/store/ciz9ldjgxvs4y9gdqdbkaz2axk7zmrbb-haskell-snap-core-ghc7.4.1-0.8.1/bin
Libraries installed in:
/nix/store/ciz9ldjgxvs4y9gdqdbkaz2axk7zmrbb-haskell-snap-core-ghc7.4.1-0.8.1/lib/snap-core-0.8.1/ghc-7.4.1
Private binaries installed in:
/nix/store/ciz9ldjgxvs4y9gdqdbkaz2axk7zmrbb-haskell-snap-core-ghc7.4.1-0.8.1/libexec
Data files installed in:
/nix/store/ciz9ldjgxvs4y9gdqdbkaz2axk7zmrbb-haskell-snap-core-ghc7.4.1-0.8.1/share/snap-core-0.8.1
Documentation installed in:
/nix/store/ciz9ldjgxvs4y9gdqdbkaz2axk7zmrbb-haskell-snap-core-ghc7.4.1-0.8.1/share/doc/snap-core-0.8.1
No alex found
Using ar found on system at:
/nix/store/rnzwhcgj311rhp999cl67cpmkxxjcs92-binutils-2.21.1a/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.6.3 found on system at:
/nix/store/3ggngsc09z4jsvl0vs8qp64i0pxz0drp-gcc-wrapper-4.6.3/bin/gcc
Using ghc version 7.4.1 found on system at:
/nix/store/k16qdh7a47azb3cd00mi15x9gmdnl4ik-ghc-7.4.1-wrapper/bin/ghc
Using ghc-pkg version 7.4.1 found on system at:
/nix/store/k16qdh7a47azb3cd00mi15x9gmdnl4ik-ghc-7.4.1-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.10.0 found on system at:
/nix/store/5dil8417sqandxrkbgcad2xwvf5yvk7z-ghc-7.4.1/bin/haddock
No happy found
No hmake found
Using hpc version 0.6 found on system at:
/nix/store/k16qdh7a47azb3cd00mi15x9gmdnl4ik-ghc-7.4.1-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/k16qdh7a47azb3cd00mi15x9gmdnl4ik-ghc-7.4.1-wrapper/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at:
/nix/store/3ggngsc09z4jsvl0vs8qp64i0pxz0drp-gcc-wrapper-4.6.3/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/rnzwhcgj311rhp999cl67cpmkxxjcs92-binutils-2.21.1a/bin/ranlib
Using strip found on system at:
/nix/store/rnzwhcgj311rhp999cl67cpmkxxjcs92-binutils-2.21.1a/bin/strip
Using tar found on system at:
/nix/store/ncc2id9jplas9i7r0d9sxinw6ff04x2c-gnutar-1.26/bin/tar
No uhc found
building
Building snap-core-0.8.1...
Preprocessing library snap-core-0.8.1...
[ 1 of 22] Compiling Snap.Util.Readable ( src/Snap/Util/Readable.hs, dist/build/Snap/Util/Readable.o )
[ 2 of 22] Compiling Snap.Internal.Iteratee.BoyerMooreHorspool ( src/Snap/Internal/Iteratee/BoyerMooreHorspool.hs, dist/build/Snap/Internal/Iteratee/BoyerMooreHorspool.o )

src/Snap/Internal/Iteratee/BoyerMooreHorspool.hs:172:35:
    Could not deduce (MonadTrans (Iteratee ByteString))
      arising from a use of `lift'
    from the context (MonadIO m)
      bound by the type signature for
                 bmhEnumeratee :: MonadIO m =>
                                  ByteString
                                  -> Step MatchInfo m a
                                  -> Iteratee ByteString m (Step MatchInfo m a)
      at src/Snap/Internal/Iteratee/BoyerMooreHorspool.hs:(88,1)-(228,26)
    Possible fix:
      add (MonadTrans (Iteratee ByteString)) to the context of
        the type signature for
          bmhEnumeratee :: MonadIO m =>
                           ByteString
                           -> Step MatchInfo m a -> Iteratee ByteString m (Step MatchInfo m a)
      or add an instance declaration for
         (MonadTrans (Iteratee ByteString))
    In the expression: lift
    In the expression:
      lift $ runIteratee $ k $ Chunks [NoMatch nomatch]
    In a stmt of a 'do' block:
      step <- if not $ S.null nomatch then
                  lift $ runIteratee $ k $ Chunks [NoMatch nomatch]
              else
                  return $! Continue k
builder for `/nix/store/b1sgwkx2gizqi6xd9gh51zy9k44jlxld-haskell-snap-core-ghc7.4.1-0.8.1.drv' failed with exit code 1
error: build of `/nix/store/b1sgwkx2gizqi6xd9gh51zy9k44jlxld-haskell-snap-core-ghc7.4.1-0.8.1.drv' failed

peti closed this Nov 17, 2015

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