Cabal 1.22 RC ready to test

Hi all, I've now prepared release candidate for Cabal/cabal-install 1.22. Please test them and report bugs here and/or on the bug tracker ( https://github.com/haskell/cabal/issues). To install: cabal install http://johantibell.com/files/Cabal-1.22.0.0-rc.tar.gz http://johantibell.com/files/cabal-install-1.22.0.0-rc.tar.gz Cabal is now such a big project that's used in so many context (e.g. different OSes) that we need your help to help us test, to make sure that new releases work for you. -- Johan

If I don't hear anything the next few days I will make the release.
On Tue, Dec 30, 2014 at 2:35 PM, Johan Tibell
Hi all,
I've now prepared release candidate for Cabal/cabal-install 1.22. Please test them and report bugs here and/or on the bug tracker ( https://github.com/haskell/cabal/issues). To install:
cabal install http://johantibell.com/files/Cabal-1.22.0.0-rc.tar.gz http://johantibell.com/files/cabal-install-1.22.0.0-rc.tar.gz
Cabal is now such a big project that's used in so many context (e.g. different OSes) that we need your help to help us test, to make sure that new releases work for you.
-- Johan

On Sat, Jan 3, 2015 at 2:36 AM, Mikhail Glushenkov < the.dead.shall.rise@gmail.com> wrote:
Hi,
On 3 January 2015 at 03:36, Johan Tibell
wrote: If I don't hear anything the next few days I will make the release.
The test suite doesn't compile with GHC HEAD on Travis.
The error (https://travis-ci.org/haskell/cabal/jobs/45758614) is quite perplexing: [62 of 77] Compiling Distribution.Client.Config ( Distribution/Client/Config.hs, dist/dist-sandbox-8940a882/build/cabal/cabal-tmp/Distribution/Client/Config.o ) Distribution/Client/Config.hs:56:12: Module ‘Distribution.Simple.Compiler’ does not export ‘DebugInfoLevel(..)’ cabal: Error: some packages failed to install: cabal-install-1.22.0.0 failed during the building phase. The exception was: ExitFailure 1 Distribution.Simple.Compiler most definitely does export DebugInfoLevel, otherwise it wouldn't compile with the other GHC versions. Does GHC do something special with Cabal nowadays when it's no longer tied to GHC?

On 3 January 2015 at 15:05, Johan Tibell
The error (https://travis-ci.org/haskell/cabal/jobs/45758614) is quite perplexing:
[62 of 77] Compiling Distribution.Client.Config ( Distribution/Client/Config.hs, dist/dist-sandbox-8940a882/build/cabal/cabal-tmp/Distribution/Client/Config.o ) Distribution/Client/Config.hs:56:12: Module ‘Distribution.Simple.Compiler’ does not export ‘DebugInfoLevel(..)’ cabal: Error: some packages failed to install: cabal-install-1.22.0.0 failed during the building phase. The exception was: ExitFailure 1
Distribution.Simple.Compiler most definitely does export DebugInfoLevel, otherwise it wouldn't compile with the other GHC versions.
Does GHC do something special with Cabal nowadays when it's no longer tied to GHC?
Is it because the Cabal-1.22.0.0 bundled with ghc is now different to the Cabal-1.22.0.0 in github? I get the same error compiling the master branch cabal-install with ghc-7.10.0-20141222.
I think one solution is to increase the version number of Cabal in github (for 1.22 and master branches), and to make the latest cabal-install depend on this (i.e. Cabal>=1.22.0.1) since cabal-install 1.22 in github no longer works with the 'released' snapshot Cabal-1.22.0.0 in ghc. This fixes the error for ghc-7.10.0-20141222.

It might be as simple as bumping the Cabal submodule in GHC to match the
upstream 1.22 branch.
On Sat, Jan 3, 2015 at 8:46 AM, Jake Wheat
On 3 January 2015 at 15:05, Johan Tibell
wrote: The error (https://travis-ci.org/haskell/cabal/jobs/45758614) is quite perplexing:
[62 of 77] Compiling Distribution.Client.Config ( Distribution/Client/Config.hs, dist/dist-sandbox-8940a882/build/cabal/cabal-tmp/Distribution/Client/Config.o ) Distribution/Client/Config.hs:56:12: Module ‘Distribution.Simple.Compiler’ does not export ‘DebugInfoLevel(..)’ cabal: Error: some packages failed to install: cabal-install-1.22.0.0 failed during the building phase. The exception was: ExitFailure 1
Distribution.Simple.Compiler most definitely does export DebugInfoLevel, otherwise it wouldn't compile with the other GHC versions.
Does GHC do something special with Cabal nowadays when it's no longer tied to GHC?
Is it because the Cabal-1.22.0.0 bundled with ghc is now different to the Cabal-1.22.0.0 in github? I get the same error compiling the master branch cabal-install with ghc-7.10.0-20141222.
I think one solution is to increase the version number of Cabal in github (for 1.22 and master branches), and to make the latest cabal-install depend on this (i.e. Cabal>=1.22.0.1) since cabal-install 1.22 in github no longer works with the 'released' snapshot Cabal-1.22.0.0 in ghc. This fixes the error for ghc-7.10.0-20141222.
participants (3)
-
Jake Wheat
-
Johan Tibell
-
Mikhail Glushenkov