commercialhaskell / stackage

Stable Haskell package sets: vetted consistent packages from Hackage
https://www.stackage.org/
MIT License
528 stars 805 forks source link

GHC 7.10 #378

Closed snoyberg closed 9 years ago

snoyberg commented 9 years ago

Tested with RC1. I'm going to put in some hacks to allow testing the builds even with the restrictive upper bounds, but here are the bounds issues right now (pinging @hvr who asked for this information):

Loading settings for: Nightly Writing build plan to: nightly-2014-12-24.yaml Checking build plan stackage: Cabal-1.22.0.0 depended on by:

base-4.8.0.0 depended on by:

bytestring-0.10.6.0 depended on by:

deepseq-1.4.0.0 depended on by:

ghc-7.10.0.20141222 depended on by:

template-haskell-2.10.0.0 depended on by:

time-1.5.0.1 depended on by:

transformers-0.4.2.0 depended on by:

ekmett commented 9 years ago

lens will be shipping a new version momentarily. lens HEAD currently builds with GHC 7.10, but it's a rats' nest of import warnings we want to fix before we call it an official release.

Note: the current version of lens will build, but using makeLenses will fail at compile time for downstream packages.

ekmett commented 9 years ago

Fixing lens up on hackage will probably have to happen after Christmas though for me to dig in deeper.

I'll have limited availability the next couple of days, and @glguy is also traveling for family stuff on his side, so both of us are going to be out of commission for the next few days.

Twinside commented 9 years ago

JuicyPixels-3.2.1 allows the last deepseq, it should be usable in stackage when diagrams-cairo will be updated on hackage (bound is ok on HEAD).

jgm commented 9 years ago

Try building pandoc with -f-old-locale -- this should force it to use time 1.5. The trouble is, I wasn't able to test this because I couldn't compile the dependencies with time 1.5.

+++ Vincent [Dec 24 14 03:31 ]:

JuicyPixels-3.2.1 allows the last deepseq, it should be usable in stackage when diagrams-cairo will be updated on hackage (bound is ok on HEAD).


Reply to this email directly or view it on GitHub: https://github.com/fpco/stackage/issues/378#issuecomment-68046584

aslatter commented 9 years ago

The package uuid-1.3.8 builds on GHC 7.10.1 RC 1. The tests do not build yet - I'll let dependencies settle down before I look at that. Let me know if that's not an appreciated approach :-)

The package quickcheck-instances-0.3.10 also builds on GHC 7.10.1 RC 1.

hvr commented 9 years ago

@aslatter fwiw, cabal test works just fine for uuid-1.3.8 w/ GHC 7.10.1 RC1 for me...

PS: Here's the package versions cabal picks for me:

$ cabal install  --enable-tests --dry
Resolving dependencies...
In order, the following would be installed (use -v for more details):
HUnit-1.2.5.2
ansi-terminal-0.6.2.1
ansi-wl-pprint-0.6.7.1
byteable-0.1.1
cryptohash-0.11.6
extensible-exceptions-0.1.1.4
hostname-1.0
mtl-2.2.1
network-info-0.2.0.5
old-locale-1.0.0.7
primitive-0.5.4.0
random-1.1
regex-base-0.93.2
regex-posix-0.95.2
text-1.2.0.3
hashable-1.2.3.1
tf-random-0.5
QuickCheck-2.7.6
xml-1.3.13
test-framework-0.8.1.0
test-framework-hunit-0.3.0.1
test-framework-quickcheck2-0.3.0.3
uuid-1.3.8
hvr commented 9 years ago

@snoyberg why is scientific-0.3.3.3 (>=4.3 && < 4.8). mentioned above? That one seems wrong to me, unless I don't understand what the list above means exactly...

geraldus commented 9 years ago

@hvr it have unresolved dependency on base, i.e. <4.8, while latter going to be exact 4.8.0.0.

hvr commented 9 years ago

@geraldus I'm still confused, if you look at http://hackage.haskell.org/package/scientific-0.3.3.3/scientific.cabal it says

  build-depends:       base        >= 4.3   && < 4.9
                     , ghc-prim
                     , deepseq     >= 1.3   && < 1.5
                     , text        >= 0.8   && < 1.3
                     , hashable    >= 1.1.2 && < 1.3
                     , array       >= 0.1   && < 0.6

and cabal install scientific works just fine w/ GHC 7.10 (scientific-0.3.3.3 was in fact released specifically to add support for GHC 7.10)

sol commented 9 years ago

For hspec-expectations I just uploaded a new version to Hackage which works.

For Doctest we have https://github.com/sol/doctest/issues/94. If anybody wants to help with it, that would be much appreciated.

geraldus commented 9 years ago

@hvr, oh, now I see.

geraldus commented 9 years ago

By the way, does anyone have prepared docker image with GHC 7.10 RC1?

snoyberg commented 9 years ago

@hvr it's the test suite that has a restrictive upper bound on base.

On Thu, Dec 25, 2014, 1:53 AM Артур Файзрахманов notifications@github.com wrote:

By the way, does anyone have prepared docker image with GHC 7.10 RC1?

— Reply to this email directly or view it on GitHub https://github.com/fpco/stackage/issues/378#issuecomment-68079123.

snoyberg commented 9 years ago

@jgm Thanks for that explanation, when it gets closer I can turn off that flag.

@byorgey Do you have an ETA for a new release of diagrams-cairo that allows the newest JuicyPixels?

hadronized commented 9 years ago

Hm, I don’t have GHC 7.10 installed yet. I’ll try that after partying :) Enjoy Christmas Eve folks :)

byorgey commented 9 years ago

Not sure, I've been somewhat out of touch with diagrams development recently. Hopefully soon. On Dec 24, 2014 11:47 PM, "Michael Snoyman" notifications@github.com wrote:

@jgm https://github.com/jgm Thanks for that explanation, when it gets closer I can turn off that flag.

@byorgey https://github.com/byorgey Do you have an ETA for a new release of diagrams-cairo that allows the newest JuicyPixels?

— Reply to this email directly or view it on GitHub https://github.com/fpco/stackage/issues/378#issuecomment-68088514.

bergey commented 9 years ago

diagrams-cairo-1.2.0.5 now allows JuicyPixels-3.2.*. I haven't tried to build with GHC-7.10 or HEAD.

snoyberg commented 9 years ago

Thanks @bergey!

geraldus commented 9 years ago

If someone need to have GHC-7.10-RC1 up and running quickly, here is my docker image: https://registry.hub.docker.com/u/geraldus/ghc-7.10-rc1/

geraldus commented 9 years ago

I was able to build sodium with relexed upper bound. However there was mtl-2.2.1 dependency installed before. mtl-2.1.3.1 which is listed as a constraint in 7.10-RC1's cabal.config file rejects to build because of transformers (as already mentioned in head), though 2.2.1 installs successfully.

geraldus commented 9 years ago

Pinging @snoyberg Michael, can you say something about mtl version? I'm confused little bit.

snoyberg commented 9 years ago

I haven't released a 7.10 cabal.config file. Where are you seeing it?

geraldus commented 9 years ago

Emm, here? https://github.com/fpco/stackage/blob/ghc7.10/cabal.config

snoyberg commented 9 years ago

That's a config file for building the Stackage executable. The Stackage executable itself is still built with GHC 7.8 since not all of its dependencies build with GHC 7.10.

geraldus commented 9 years ago

All I want to know is what version of mtl should I use to build sodium with GHC 7.10-RC1, does 2.2.1 acceptable? mtl-2.1.3.1 is listed in issue description, but there is mtl-2.2.1 on Hackage, and it accepts new version of transformers. That's why I'm confused.

snoyberg commented 9 years ago

You'll want to use mtl-2.2.1 on GHC 7.10.

giogadi commented 9 years ago

Can anyone recommend a clean way to test my package on GHC 7.10 on OSX?

d12frosted commented 9 years ago

@snoyberg I'll test my package in few days.

geraldus commented 9 years ago

Ok, sodium-0.11.0.3 should be fixed now!

d12frosted commented 9 years ago

@giogadi The same here. Can't find apple-darwin release on downloads page. Have I missed something?

d12frosted commented 9 years ago

ok, looks like system-canonicalpath-0.2.3.0 is ready for new base

basvandijk commented 9 years ago

I released scientific-0.3.3.4.

basvandijk commented 9 years ago

I released threads-0.5.1.3.

hadronized commented 9 years ago

I got a patch from a guy to fix this, but it’s just a version increment on base, and I don’t like that. Any way to test that on my own with 7.10 on Windows?

d12frosted commented 9 years ago

I got a patch from a guy to fix this, but it’s just a version increment on base, and I don’t like that. Any way to test that on my own with 7.10 on Windows?

I updated my package as well. For new ghc I also just changed base version constraint to allow 4.8. I can test your package on OS X tomorrow to see if it really working (in case you don't want to mess with installing ghc-7.10.1-rc1).

hesselink commented 9 years ago

I have a mac build here that people can use. Just unpack and do ./configure --prefix=<prefix> && make install.

d12frosted commented 9 years ago

@hesselink Thank you for the link, good man! I installed new ghc-7.10.1 from sources on different macs and it took like eternity :D

d12frosted commented 9 years ago

@hesselink Tested your build, it works well. You should post this link on /r/haskell. I was delaying with checking my package only because I couldn't find mac build. Probably there are some people that are like me - delaying. :D

sebastiaanvisser commented 9 years ago

I released fclabels-2.0.2.1.

hadronized commented 9 years ago

I just released monad-journal-0.7.

hesselink commented 9 years ago

@d12frosted Good idea, done!

hesselink commented 9 years ago

I've fixed bumper, generic-aeson and hxt-pickle-utils. For rest-gen, Cabal is allowed, but the whole rest suite cannot really be tested yet as some dependencies (hslogger, HStringTemplate) fail to build with time 1.5.

sebastiaanvisser commented 9 years ago

I released fclabels-2.0.2.2 with support for GHC 7.4 restored.

snoyberg commented 9 years ago

OK, here's a new updated on restrictive upper bounds. I'm also running a full build with --allow-newer turned on, I'll post those results as well once available:

Loading build constraints Creating build plan Writing build plan to check-plan.yaml Checking plan stackage: Cabal-1.22.0.0 depended on by:

base-4.8.0.0 depended on by:

bytestring-0.10.6.0 depended on by:

deepseq-1.4.0.0 depended on by:

ghc-7.10.0.20141222 depended on by:

integer-gmp-1.0.0.0 depended on by:

mtl-2.2.1 depended on by:

template-haskell-2.10.0.0 depended on by:

time-1.5.0.1 depended on by:

transformers-0.4.2.0 depended on by:

hvr commented 9 years ago

@snoyberg btw, if it's easy to accomplish, it may be interesting to annotate those packages whose relevant .cabal file had a x-revision larger than 0

glguy commented 9 years ago

@snoyberg I don't understand what the build plan you posted means, so just to be sure: it shouldn't be using lens-4.6.0.1 for base-4.8. lens-4.7 is the first version that works for base-4.8

snoyberg commented 9 years ago

@hvr I can't think of an easy way to do that analysis, sorry.

@glguy That's an upper bound in place because of other packages that have restrictive upper bounds on Hackage.

snoyberg commented 9 years ago

@glguy I'll rerun a bit later with that upper bound removed which will at least shift responsibility to the correct party.

snoyberg commented 9 years ago

@glguy Here's the updated one. As you can see, a bunch of packages still rely on the old version of lens.

Loading build constraints Creating build plan Still alive: 1 Writing build plan to check-plan.yaml Checking plan stackage: Cabal-1.22.0.0 depended on by:

base-4.8.0.0 depended on by:

bytestring-0.10.6.0 depended on by:

deepseq-1.4.0.0 depended on by:

ghc-7.10.0.20141222 depended on by:

integer-gmp-1.0.0.0 depended on by:

lens-4.7 depended on by:

mtl-2.2.1 depended on by:

template-haskell-2.10.0.0 depended on by:

time-1.5.0.1 depended on by:

transformers-0.4.2.0 depended on by:

snoyberg commented 9 years ago

And here are the actual build failures (tarball of logs available at: https://s3.amazonaws.com/download.fpcomplete.com/michael/ghc-7.10-logs-2015-01-07.tar.gz). Looks like there was a total of 568 build successes, which is pretty encouraging.

Chart: BuildFailureException Process exited with ExitFailure 1: cabal build HStringTemplate: BuildFailureException Process exited with ExitFailure 1: cabal build MaybeT: BuildFailureException Process exited with ExitFailure 1: cabal build MusicBrainz: BuildFailureException Process exited with ExitFailure 1: cabal build Rasterific: BuildFailureException Process exited with ExitFailure 1: cabal build Yampa: BuildFailureException Process exited with ExitFailure 1: cabal build accelerate: BuildFailureException Process exited with ExitFailure 1: cabal build alex: BuildFailureException Process exited with ExitFailure 1: cabal test --log=/home/ubuntu/haskell/stackage/logs/stackage-nightly-2015-01-07/alex-3.1.4/test-run.out amqp: BuildFailureException Process exited with ExitFailure 1: cabal build arbtt: BuildFailureException Process exited with ExitFailure 1: cabal build arithmoi: BuildFailureException Process exited with ExitFailure 1: cabal build asn1-data: BuildFailureException Process exited with ExitFailure 1: cabal build attoparsec: BuildFailureException Process exited with ExitFailure 1: cabal build aws: BuildFailureException Process exited with ExitFailure 1: cabal build binary-list: BuildFailureException Process exited with ExitFailure 1: cabal build biosff: BuildFailureException Process exited with ExitFailure 1: cabal build bytestring-trie: BuildFailureException Process exited with ExitFailure 1: cabal build bzlib: BuildFailureException Process exited with ExitFailure 1: cabal build cabal-install: BuildFailureException Process exited with ExitFailure 1: cabal build cairo: BuildFailureException Process exited with ExitFailure 1: cabal configure --allow-newer --package-db=clear --package-db=global --package-db=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/pkgdb --libdir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/lib --bindir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/bin --datadir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/share --docdir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/doc --flags= control-monad-free: BuildFailureException Process exited with ExitFailure 1: cabal build derive: BuildFailureException Process exited with ExitFailure 1: cabal build digestive-functors: BuildFailureException Process exited with ExitFailure 1: cabal build djinn-ghc: BuildFailureException Process exited with ExitFailure 1: cabal build doctest: BuildFailureException Process exited with ExitFailure 1: cabal build elm-compiler: BuildFailureException Process exited with ExitFailure 1: cabal build ersatz: BuildFailureException Process exited with ExitFailure 1: cabal build fb: BuildFailureException Process exited with ExitFailure 1: cabal build fgl: BuildFailureException Process exited with ExitFailure 1: cabal build file-location: BuildFailureException Process exited with ExitFailure 1: cabal build filemanip: BuildFailureException Process exited with ExitFailure 1: cabal build fingertree: BuildFailureException Process exited with ExitFailure 1: cabal build fixed-list: BuildFailureException Process exited with ExitFailure 1: cabal build foldl: BuildFailureException Process exited with ExitFailure 1: cabal build formatting: BuildFailureException Process exited with ExitFailure 1: cabal build ghc-syb-utils: BuildFailureException Process exited with ExitFailure 1: cabal build glib: BuildFailureException Process exited with ExitFailure 1: cabal configure --allow-newer --package-db=clear --package-db=global --package-db=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/pkgdb --libdir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/lib --bindir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/bin --datadir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/share --docdir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/doc --flags= groundhog-th: BuildFailureException Process exited with ExitFailure 1: cabal build hPDB-examples: BuildFailureException Process exited with ExitFailure 1: cabal build haddock-library: BuildFailureException Process exited with ExitFailure 1: cabal build happy: BuildFailureException Process exited with ExitFailure 1: cabal test --log=/home/ubuntu/haskell/stackage/logs/stackage-nightly-2015-01-07/happy-1.19.5/test-run.out haskell-packages: BuildFailureException Process exited with ExitFailure 1: cabal build haskell-src: BuildFailureException Process exited with ExitFailure 1: cabal build hastache: BuildFailureException Process exited with ExitFailure 1: cabal build haxr: BuildFailureException Process exited with ExitFailure 1: cabal build hdevtools: BuildFailureException Process exited with ExitFailure 1: cabal build heaps: BuildFailureException Process exited with ExitFailure 1: cabal build heist: BuildFailureException Process exited with ExitFailure 1: cabal build hint: BuildFailureException Process exited with ExitFailure 1: cabal build hit: BuildFailureException Process exited with ExitFailure 1: cabal build hmatrix: BuildFailureException Process exited with ExitFailure 1: cabal build holy-project: BuildFailureException Process exited with ExitFailure 1: cabal build hourglass: BuildFailureException Process exited with ExitFailure 1: cabal build hslogger: BuildFailureException Process exited with ExitFailure 1: cabal build hxt-regex-xmlschema: BuildFailureException Process exited with ExitFailure 1: cabal build hybrid-vectors: BuildFailureException Process exited with ExitFailure 1: cabal build intervals: BuildFailureException Process exited with ExitFailure 1: cabal build json-autotype: BuildFailureException Process exited with ExitFailure 1: cabal build kure: BuildFailureException Process exited with ExitFailure 1: cabal build lca: BuildFailureException Process exited with ExitFailure 1: cabal build lhs2tex: BuildFailureException Process exited with ExitFailure 1: cabal configure --allow-newer --package-db=clear --package-db=global --package-db=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/pkgdb --libdir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/lib --bindir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/bin --datadir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/share --docdir=/home/ubuntu/haskell/stackage/builds/stackage-nightly-2015-01-07/doc --flags= libgit: BuildFailureException Process exited with ExitFailure 1: cabal build list-t: BuildFailureException Process exited with ExitFailure 1: cabal build log-domain: BuildFailureException Process exited with ExitFailure 1: cabal build logfloat: BuildFailureException Process exited with ExitFailure 1: cabal build mandrill: BuildFailureException Process exited with ExitFailure 1: cabal build markdown: BuildFailureException Process exited with ExitFailure 1: cabal build matrix: BuildFailureException Process exited with ExitFailure 1: cabal build mime-mail-ses: BuildFailureException Process exited with ExitFailure 1: cabal build mongoDB: BuildFailureException Process exited with ExitFailure 1: cabal build monoid-subclasses: BuildFailureException Process exited with ExitFailure 1: cabal build mtl-prelude: BuildFailureException Process exited with ExitFailure 1: cabal build mtlparse: BuildFailureException Process exited with ExitFailure 1: cabal build mwc-random: BuildFailureException Process exited with ExitFailure 1: cabal test --log=/home/ubuntu/haskell/stackage/logs/stackage-nightly-2015-01-07/mwc-random-0.13.3.0/test-run.out mysql: BuildFailureException Process exited with ExitFailure 1: cabal build nanospec: BuildFailureException Process exited with ExitFailure 1: cabal build options: BuildFailureException Process exited with ExitFailure 1: cabal build pdfinfo: BuildFailureException Process exited with ExitFailure 1: cabal build persistent: BuildFailureException Process exited with ExitFailure 1: cabal build postgresql-binary: BuildFailureException Process exited with ExitFailure 1: cabal build pqueue: BuildFailureException Process exited with ExitFailure 1: cabal build present: BuildFailureException Process exited with ExitFailure 1: cabal build product-profunctors: BuildFailureException Process exited with ExitFailure 1: cabal build quandl-api: BuildFailureException Process exited with ExitFailure 1: cabal build rank1dynamic: BuildFailureException Process exited with ExitFailure 1: cabal build reducers: BuildFailureException Process exited with ExitFailure 1: cabal build repa: BuildFailureException Process exited with ExitFailure 1: cabal build safecopy: BuildFailureException Process exited with ExitFailure 1: cabal build servant-docs: BuildFailureException Process exited with ExitFailure 1: cabal build shake: BuildFailureException Process exited with ExitFailure 1: cabal build shakespeare: BuildFailureException Process exited with ExitFailure 1: cabal build shell-conduit: BuildFailureException Process exited with ExitFailure 1: cabal build speculation: BuildFailureException Process exited with ExitFailure 1: cabal build streams: BuildFailureException Process exited with ExitFailure 1: cabal build stringsearch: BuildFailureException Process exited with ExitFailure 1: cabal build stylish-haskell: BuildFailureException Process exited with ExitFailure 1: cabal build syb: BuildFailureException Process exited with ExitFailure 1: cabal test --log=/home/ubuntu/haskell/stackage/logs/stackage-nightly-2015-01-07/syb-0.4.4/test-run.out syb-with-class: BuildFailureException Process exited with ExitFailure 1: cabal build tabular: BuildFailureException Process exited with ExitFailure 1: cabal build tar: BuildFailureException Process exited with ExitFailure 1: cabal build text-icu: BuildFailureException Process exited with ExitFailure 1: cabal build th-desugar: BuildFailureException Process exited with ExitFailure 1: cabal build th-expand-syns: BuildFailureException Process exited with ExitFailure 1: cabal build type-eq: BuildFailureException Process exited with ExitFailure 1: cabal build udbus: BuildFailureException Process exited with ExitFailure 1: cabal build vector-instances: BuildFailureException Process exited with ExitFailure 1: cabal build vector-space: BuildFailureException Process exited with ExitFailure 1: cabal build webdriver: BuildFailureException Process exited with ExitFailure 1: cabal build word8: BuildFailureException Process exited with ExitFailure 1: cabal test --log=/home/ubuntu/haskell/stackage/logs/stackage-nightly-2015-01-07/word8-0.1.1/test-run.out yarr: BuildFailureException Process exited with ExitFailure 1: cabal build