Can't compile with GHC 7.6.1 or 7.4.2

Help
EvgenijM86
2012-12-05
2012-12-06
  • EvgenijM86
    EvgenijM86
    2012-12-05

    details here - https://github.com/JPMoresmau/scion-class-browser/issues/4

    This is probably due to lose conduit dependency. Meanwhile, I will try to compile scion-browser with different versions of conduit and see what happens.

     
  • EvgenijM86
    EvgenijM86
    2012-12-05

    Ok, I just tried compiling it with different conduit library version (originally I have used latest conduit-0.5.5):

    cabal install -with-compiler="/home/evgenij/programming/haskell/compilers/ghc-7.4.2/bin/ghc" scion-browser-0.2.12 -constraint=conduit==0.4.0

    and….
    On GHC-7.6.1 it did not compile at all, because some dependencies needed to be rebuild to older versions and they can't be rebuilded with new compiler.
    On GHC-7.4.2 it also needed to rebuild some dependencies, but it did compile without errors.

     
  • EvgenijM86
    EvgenijM86
    2012-12-05

    It seems only the latest version of conduit (0.5.5) does not let scion-browser-0.2.12 compile. The previous version - 0.5.4.2 - compiles on both compilers.

     
  • JP Moresmau
    JP Moresmau
    2012-12-05

    Yep, Michael Snoyman has confirmed that a change in conduit has broken that code, and provided me with the solution, will upload the fixed code to github today.