Re: planning for ghc-6.10.1 and hackage

On Wed, 2008-10-01 at 16:36 -0700, Duncan Coutts wrote:
I propose two solutions:
* Fix the dependency resolver * Add support in Cabal and Hackage for suggested version constraints
So I'll aim to work on both issues this week and report back on how things are going.
Done! Four days and 15 patches later I can construct install plans for 710 packages from hackage using the darcs cabal-install and last nights ghc-6.10. (It would be more like 730 but I've not got gtk2hs built for 6.10, for ghc-6.8 it's 743 packages) The next step is to actually build everything and compare. We'll do this tomorrow and report results. There are three combinations we are interested in: * baseline: ghc-6.8 and Cabal-1.4 * new Cabal: ghc-6.8 and Cabal-1.6 * new ghc: ghc-6.10 and Cabal-1.6 So we'll try building all 700+ packages all three ways and compare the build reports. We'll report anything interesting that might indicate new ghc bugs. If all looks ok I'll also release Cabal-1.6. Duncan

On Mon, Oct 6, 2008 at 9:16 AM, Duncan Coutts
Done!
Four days and 15 patches later I can construct install plans for 710 packages from hackage using the darcs cabal-install and last nights ghc-6.10. (It would be more like 730 but I've not got gtk2hs built for 6.10, for ghc-6.8 it's 743 packages)
Is this included in the ghc 6.10 rc1? I tried: $ cabal install Diff Resolving dependencies... but it seems to remain stuck there. Thanks, JP.

On Thu, 2008-10-09 at 10:20 +0200, Jean-Philippe Bernardy wrote:
On Mon, Oct 6, 2008 at 9:16 AM, Duncan Coutts
wrote: Done!
Four days and 15 patches later I can construct install plans for 710 packages from hackage using the darcs cabal-install and last nights ghc-6.10. (It would be more like 730 but I've not got gtk2hs built for 6.10, for ghc-6.8 it's 743 packages)
Is this included in the ghc 6.10 rc1? I tried:
The cabal-install program is not included ghc at all. (ghc comes with the Cabal library.)
$ cabal install Diff Resolving dependencies...
but it seems to remain stuck there.
Right, you need the darcs version of cabal-install. Duncan

On Thu, Oct 9, 2008 at 5:28 PM, Duncan Coutts
Right, you need the darcs version of cabal-install.
Many packages build fine, but linking Yi fails with: Linking dist/build/yi/yi ... /usr/bin/ld: cannot find -lHSrts_thr Indeed, there is no such file for 6.10: $ find ~/usr -name "*HSrts*" /home/bernardy/usr/lib/ghc-6.8.0.20071018/libHSrts.a /home/bernardy/usr/lib/ghc-6.8.0.20071018/HSrts.o ... /home/bernardy/usr/lib/ghc-6.8.3/libHSrts.a /home/bernardy/usr/lib/ghc-6.8.3/libHSrts_debug.a /home/bernardy/usr/lib/ghc-6.8.3/libHSrts_p.a /home/bernardy/usr/lib/ghc-6.8.3/libHSrts_thr.a /home/bernardy/usr/lib/ghc-6.8.3/libHSrts_thr_debug.a /home/bernardy/usr/lib/ghc-6.8.3/libHSrts_thr_p.a /home/bernardy/usr/lib/ghc-6.8.3/HSrts.o /home/bernardy/usr/lib/ghc-6.10.0.20081007/libHSrts.a /home/bernardy/usr/lib/ghc-6.10.0.20081007/HSrts.o Strangley, compiling by hand works: $ ghc -cpp --make Main.hs -idist/build/autogen/ -idist/build/yi/yi-tmp/ -IYi/Lexer -XTypeSynonymInstances -XRankNTypes -XFlexibleContexts -XGeneralizedNewtypeDeriving -XDeriveDataTypeable -o M -threaded $ ghc --version The Glorious Glasgow Haskell Compilation System, version 6.10.0.20081007 $ cabal --version cabal-install version 0.5.10 using version 1.6.0.0 of the Cabal library (fetched from repo this morning) Cheers, JP.

On Fri, Oct 10, 2008 at 03:04:23PM +0200, Jean-Philippe Bernardy wrote:
Strangley, compiling by hand works: $ ghc -cpp --make Main.hs -idist/build/autogen/ -idist/build/yi/yi-tmp/ -IYi/Lexer -XTypeSynonymInstances -XRankNTypes -XFlexibleContexts -XGeneralizedNewtypeDeriving -XDeriveDataTypeable -o M -threaded
I don't understand that. What does "./M +RTS --info" say after that? Thanks Ian
participants (3)
-
Duncan Coutts
-
Ian Lynagh
-
Jean-Philippe Bernardy