jaspervdj / hakyll

A static website compiler library in Haskell
jaspervdj.be/hakyll
Other
2.7k stars 411 forks source link

Hakyll fails to compile with GHC 8.0.2 #514

Closed ghost closed 7 years ago

ghost commented 7 years ago
$ cabal install hakyll

Resolving dependencies...
internal error: could not construct a valid install plan.
The proposed (invalid) plan contained the following problems:
Package directory is required by several packages, but they require
inconsistent versions:
package zip-archive-0.3.0.5 requires directory-1.2.7.1
package yaml-0.8.21.1 requires directory-1.2.7.1
package x509-system-1.6.4 requires directory-1.2.7.1
package x509-store-1.6.2 requires directory-1.2.7.1
package wai-extra-3.0.19.1 requires directory-1.2.7.1
package wai-app-static-3.1.6.1 requires directory-1.2.7.1
package wai-app-static-3.1.6.1 requires directory-1.2.7.1
package temporary-1.2.0.4 requires directory-1.2.7.1
package streaming-commons-0.1.16 requires directory-1.2.7.1
package pandoc-citeproc-0.10.3 requires directory-1.2.7.1
package pandoc-1.19.1 requires directory-1.2.7.1
package pandoc-1.19.1 requires directory-1.2.7.1
package hinotify-0.3.9 requires directory-1.2.7.1
package hakyll-4.9.3.0 requires directory-1.2.7.1
package hakyll-4.9.3.0 requires directory-1.2.7.1
package hakyll-4.9.3.0 requires directory-1.2.7.1
package fsnotify-0.2.1 requires directory-1.2.7.1
package filemanip-0.3.6.3 requires directory-1.2.7.1
package file-embed-0.0.10 requires directory-1.2.7.1
package fast-logger-2.4.7 requires directory-1.2.7.1
package easy-file-0.2.1 requires directory-1.2.7.1
package conduit-extra-1.1.15 requires directory-1.2.7.1
package process-1.4.3.0 requires directory-1.3.0.0

Proposed plan:
Configured HTTP-4000.3.4 (.fake.HTTP-4000.3.4)
Configured JuicyPixels-3.2.8 (.fake.JuicyPixels-3.2.8)
Configured QuickCheck-2.9.2 (.fake.QuickCheck-2.9.2)
Configured SHA-1.6.4.2 (.fake.SHA-1.6.4.2)
Configured StateVar-1.1.0.4 (.fake.StateVar-1.1.0.4)
Configured aeson-1.1.0.0 (.fake.aeson-1.1.0.0)
Configured aeson-pretty-0.8.2 (.fake.aeson-pretty-0.8.2)
Configured ansi-terminal-0.6.2.3 (.fake.ansi-terminal-0.6.2.3)
Configured ansi-wl-pprint-0.6.7.3 (.fake.ansi-wl-pprint-0.6.7.3)
Configured appar-0.1.4 (.fake.appar-0.1.4)
Configured asn1-encoding-0.9.4 (.fake.asn1-encoding-0.9.4)
Configured asn1-parse-0.9.4 (.fake.asn1-parse-0.9.4)
Configured asn1-types-0.3.2 (.fake.asn1-types-0.3.2)
Configured async-2.1.1 (.fake.async-2.1.1)
Configured attoparsec-0.13.1.0 (.fake.attoparsec-0.13.1.0)
Configured auto-update-0.1.4 (.fake.auto-update-0.1.4)
Configured base-compat-0.9.1 (.fake.base-compat-0.9.1)
Configured base64-bytestring-1.0.0.1 (.fake.base64-bytestring-1.0.0.1)
Configured blaze-builder-0.4.0.2 (.fake.blaze-builder-0.4.0.2)
Configured blaze-html-0.8.1.3 (.fake.blaze-html-0.8.1.3)
Configured blaze-markup-0.7.1.1 (.fake.blaze-markup-0.7.1.1)
Configured byteable-0.1.1 (.fake.byteable-0.1.1)
Configured byteorder-1.0.4 (.fake.byteorder-1.0.4)
Configured bytestring-builder-0.10.8.1.0 (.fake.bytestring-builder-0.10.8.1.0)
Configured case-insensitive-1.2.0.7 (.fake.case-insensitive-1.2.0.7)
Configured cereal-0.5.4.0 (.fake.cereal-0.5.4.0)
Configured clock-0.7.2 (.fake.clock-0.7.2)
Configured cmark-0.5.4 (.fake.cmark-0.5.4)
Configured cmdargs-0.10.14 (.fake.cmdargs-0.10.14)
Configured conduit-1.2.8 (.fake.conduit-1.2.8)
Configured conduit-extra-1.1.15 (.fake.conduit-extra-1.1.15)
Configured connection-0.2.6 (.fake.connection-0.2.6)
Configured contravariant-1.4 (.fake.contravariant-1.4)
Configured cookie-0.4.2.1 (.fake.cookie-0.4.2.1)
Configured cryptohash-0.11.9 (.fake.cryptohash-0.11.9)
Configured cryptonite-0.21 (.fake.cryptonite-0.21)
Configured data-default-0.7.1.1 (.fake.data-default-0.7.1.1)
Configured data-default-class-0.1.2.0 (.fake.data-default-class-0.1.2.0)
Configured data-default-instances-containers-0.0.1
(.fake.data-default-instances-containers-0.0.1)
Configured data-default-instances-dlist-0.0.1
(.fake.data-default-instances-dlist-0.0.1)
Configured data-default-instances-old-locale-0.0.1
(.fake.data-default-instances-old-locale-0.0.1)
Configured digest-0.0.1.2 (.fake.digest-0.0.1.2)
Configured directory-1.2.7.1 (.fake.directory-1.2.7.1)
Configured dlist-0.8.0.2 (.fake.dlist-0.8.0.2)
Configured doctemplates-0.1.0.2 (.fake.doctemplates-0.1.0.2)
Configured easy-file-0.2.1 (.fake.easy-file-0.2.1)
Configured enclosed-exceptions-1.0.2 (.fake.enclosed-exceptions-1.0.2)
Configured exceptions-0.8.3 (.fake.exceptions-0.8.3)
Configured extensible-exceptions-0.1.1.4 (.fake.extensible-exceptions-0.1.1.4)
Configured fast-logger-2.4.7 (.fake.fast-logger-2.4.7)
Configured file-embed-0.0.10 (.fake.file-embed-0.0.10)
Configured filemanip-0.3.6.3 (.fake.filemanip-0.3.6.3)
Configured fsnotify-0.2.1 (.fake.fsnotify-0.2.1)
Configured haddock-library-1.4.2 (.fake.haddock-library-1.4.2)
Configured hakyll-4.9.3.0 (.fake.hakyll-4.9.3.0)
Configured hashable-1.2.5.0 (.fake.hashable-1.2.5.0)
Configured highlighting-kate-0.6.3 (.fake.highlighting-kate-0.6.3)
Configured hinotify-0.3.9 (.fake.hinotify-0.3.9)
Configured hourglass-0.2.10 (.fake.hourglass-0.2.10)
Configured hs-bibutils-5.5 (.fake.hs-bibutils-5.5)
Configured hslua-0.4.1 (.fake.hslua-0.4.1)
Configured http-client-0.5.5 (.fake.http-client-0.5.5)
Configured http-client-tls-0.3.3.1 (.fake.http-client-tls-0.3.3.1)
Configured http-conduit-2.2.3 (.fake.http-conduit-2.2.3)
Configured http-date-0.0.6.1 (.fake.http-date-0.0.6.1)
Configured http-types-0.9.1 (.fake.http-types-0.9.1)
Configured http2-1.6.2 (.fake.http2-1.6.2)
Configured integer-logarithms-1 (.fake.integer-logarithms-1)
Configured iproute-1.7.1 (.fake.iproute-1.7.1)
Configured lifted-base-0.2.3.8 (.fake.lifted-base-0.2.3.8)
Configured lrucache-1.2.0.0 (.fake.lrucache-1.2.0.0)
Configured memory-0.14.1 (.fake.memory-0.14.1)
Configured mime-types-0.1.0.7 (.fake.mime-types-0.1.0.7)
Configured mmorph-1.0.9 (.fake.mmorph-1.0.9)
Configured monad-control-1.0.1.0 (.fake.monad-control-1.0.1.0)
Configured mtl-2.2.1 (.fake.mtl-2.2.1)
Configured network-2.6.3.1 (.fake.network-2.6.3.1)
Configured network-uri-2.6.1.0 (.fake.network-uri-2.6.1.0)
Configured old-locale-1.0.0.7 (.fake.old-locale-1.0.0.7)
Configured old-time-1.1.0.3 (.fake.old-time-1.1.0.3)
Configured optparse-applicative-0.13.0.0 (.fake.optparse-applicative-0.13.0.0)
Configured pandoc-1.19.1 (.fake.pandoc-1.19.1)
Configured pandoc-citeproc-0.10.3 (.fake.pandoc-citeproc-0.10.3)
Configured pandoc-types-1.17.0.5 (.fake.pandoc-types-1.17.0.5)
Configured parsec-3.1.11 (.fake.parsec-3.1.11)
Configured pem-0.2.2 (.fake.pem-0.2.2)
Configured primitive-0.6.1.0 (.fake.primitive-0.6.1.0)
Configured process-1.4.3.0 (.fake.process-1.4.3.0)
Configured psqueues-0.2.2.3 (.fake.psqueues-0.2.2.3)
Configured random-1.1 (.fake.random-1.1)
Configured regex-base-0.93.2 (.fake.regex-base-0.93.2)
Configured regex-pcre-builtin-0.94.4.8.8.35
(.fake.regex-pcre-builtin-0.94.4.8.8.35)
Configured regex-tdfa-1.2.2 (.fake.regex-tdfa-1.2.2)
Configured resourcet-1.1.9 (.fake.resourcet-1.1.9)
Configured rfc5051-0.1.0.3 (.fake.rfc5051-0.1.0.3)
Configured scientific-0.3.4.10 (.fake.scientific-0.3.4.10)
Configured semigroups-0.18.2 (.fake.semigroups-0.18.2)
Configured setenv-0.1.1.3 (.fake.setenv-0.1.1.3)
Configured simple-sendfile-0.2.25 (.fake.simple-sendfile-0.2.25)
Configured socks-0.5.5 (.fake.socks-0.5.5)
Configured split-0.2.3.1 (.fake.split-0.2.3.1)
Configured stm-2.4.4.1 (.fake.stm-2.4.4.1)
Configured streaming-commons-0.1.16 (.fake.streaming-commons-0.1.16)
Configured stringsearch-0.3.6.6 (.fake.stringsearch-0.3.6.6)
Configured syb-0.6 (.fake.syb-0.6)
Configured system-filepath-0.4.13.4 (.fake.system-filepath-0.4.13.4)
Configured tagged-0.8.5 (.fake.tagged-0.8.5)
Configured tagsoup-0.14 (.fake.tagsoup-0.14)
Configured tasty-0.11.1 (.fake.tasty-0.11.1)
Configured tasty-hunit-0.9.2 (.fake.tasty-hunit-0.9.2)
Configured tasty-quickcheck-0.8.4 (.fake.tasty-quickcheck-0.8.4)
Configured temporary-1.2.0.4 (.fake.temporary-1.2.0.4)
Configured texmath-0.9 (.fake.texmath-0.9)
Configured text-1.2.2.1 (.fake.text-1.2.2.1)
Configured tf-random-0.5 (.fake.tf-random-0.5)
Configured time-locale-compat-0.1.1.3 (.fake.time-locale-compat-0.1.1.3)
Configured tls-1.3.9 (.fake.tls-1.3.9)
Configured transformers-base-0.4.4 (.fake.transformers-base-0.4.4)
Configured transformers-compat-0.5.1.4 (.fake.transformers-compat-0.5.1.4)
Configured unbounded-delays-0.1.0.9 (.fake.unbounded-delays-0.1.0.9)
Configured unix-compat-0.4.3.1 (.fake.unix-compat-0.4.3.1)
Configured unix-time-0.3.7 (.fake.unix-time-0.3.7)
Configured unordered-containers-0.2.7.2 (.fake.unordered-containers-0.2.7.2)
Configured utf8-string-1.0.1.1 (.fake.utf8-string-1.0.1.1)
Configured uuid-types-1.0.3 (.fake.uuid-types-1.0.3)
Configured vault-0.3.0.6 (.fake.vault-0.3.0.6)
Configured vector-0.11.0.0 (.fake.vector-0.11.0.0)
Configured void-0.7.1 (.fake.void-0.7.1)
Configured wai-3.2.1.1 (.fake.wai-3.2.1.1)
Configured wai-app-static-3.1.6.1 (.fake.wai-app-static-3.1.6.1)
Configured wai-extra-3.0.19.1 (.fake.wai-extra-3.0.19.1)
Configured wai-logger-2.3.0 (.fake.wai-logger-2.3.0)
Configured warp-3.2.9 (.fake.warp-3.2.9)
Configured word8-0.1.2 (.fake.word8-0.1.2)
Configured x509-1.6.5 (.fake.x509-1.6.5)
Configured x509-store-1.6.2 (.fake.x509-store-1.6.2)
Configured x509-system-1.6.4 (.fake.x509-system-1.6.4)
Configured x509-validation-1.6.5 (.fake.x509-validation-1.6.5)
Configured xml-1.3.14 (.fake.xml-1.3.14)
Configured xml-conduit-1.4.0.2 (.fake.xml-conduit-1.4.0.2)
Configured xml-types-0.3.6 (.fake.xml-types-0.3.6)
Configured yaml-0.8.21.1 (.fake.yaml-0.8.21.1)
Configured zip-archive-0.3.0.5 (.fake.zip-archive-0.3.0.5)
Configured zlib-0.6.1.2 (.fake.zlib-0.6.1.2)
PreExisting Cabal-1.24.2.0 (Cabal-1.24.2.0)
PreExisting array-0.5.1.1 (array-0.5.1.1)
PreExisting base-4.9.1.0 (base-4.9.1.0)
PreExisting binary-0.8.3.0 (binary-0.8.3.0)
PreExisting bytestring-0.10.8.1 (bytestring-0.10.8.1)
PreExisting containers-0.5.7.1 (containers-0.5.7.1)
PreExisting deepseq-1.4.2.0 (deepseq-1.4.2.0)
PreExisting directory-1.3.0.0 (directory-1.3.0.0)
PreExisting filepath-1.4.1.1 (filepath-1.4.1.1)
PreExisting ghc-boot-th-8.0.2 (ghc-boot-th-8.0.2)
PreExisting ghc-prim-0.5.0.0 (ghc-prim-0.5.0.0)
PreExisting integer-gmp-1.0.0.1 (integer-gmp-1.0.0.1)
PreExisting pretty-1.1.3.3 (pretty-1.1.3.3)
PreExisting process-1.4.3.0 (process-1.4.3.0)
PreExisting rts-1.0 (rts)
PreExisting template-haskell-2.11.1.0 (template-haskell-2.11.1.0)
PreExisting time-1.6.0.1 (time-1.6.0.1)
PreExisting transformers-0.5.2.0 (transformers-0.5.2.0)
PreExisting unix-2.7.2.1 (unix-2.7.2.1)

CallStack (from HasCallStack):
error, called at ./Distribution/Client/Dependency.hs:658:33 in
main:Distribution.Client.Dependency
jaspervdj commented 7 years ago

A lot of dependencies are still in the process of being updated to GHC-8.0.2. I've been able to compile it on my machine™ using allow-newer: true in stack.yaml, but I don't think there is a "clean" way to compile it until at least Pandoc gets bumped.

ccressent commented 7 years ago

stack build with lts-8.4 works fine now. Should this issue be closed?

jaspervdj commented 7 years ago

Yes, thanks for the ping!