testing cabal-install-0.25.2 with ghc-7.6.1

Hi, I managed to build cabal-install-0.25.2 (from the cabal-1.16 branch) with ghc-7.6.1 Cabal. However the use of viewAsFieldDescr in cabal-install/Distribution/Client/Config.hs causes problems due to the: error "Command.optionToFieldDescr: feature not implemented" in Cabal-1.16.0, so I am not able to use cabal-install yet: $ cabal install cabal: Command.optionToFieldDescr: feature not implemented Jens

Jens Petersen
Hi,
I managed to build cabal-install-0.25.2 (from the cabal-1.16 branch) with ghc-7.6.1 Cabal.
However the use of viewAsFieldDescr in cabal-install/Distribution/Client/Config.hs causes problems due to the:
error "Command.optionToFieldDescr: feature not implemented"
Can it be so that ghc-7.6.1 ships with an older snapshot of Cabal-1.16? Try building cabal-install using revision e7e7ce1029707a67d26e6dc29de11141734898e3

On 15 September 2012 11:35, Mikhail Glushenkov
Can it be so that ghc-7.6.1 ships with an older snapshot of Cabal-1.16?
Indeed
Try building cabal-install using revision e7e7ce1029707a67d26e6dc29de11141734898e3
I don't doubt that it builds with the Cabal in cabal-1.16 branch but that does not help Haskell Platform 2012.4 unless there will be a ghc-7.6.2 release before it. I think it is better to think of Cabal-1.16.0 as the Cabal in ghc-7.6.1... Jens

Hi I think with the attached backport patch it is possible at least to build the cabal-install-0.15.1 source included in ghc-7.6.1's src tarball with ghc-7.6.1. Jens
On 15 September 2012 11:35, Mikhail Glushenkov wrote:
Can it be so that ghc-7.6.1 ships with an older snapshot of Cabal-1.16?

On Sat, Sep 15, 2012 at 4:35 AM, Mikhail Glushenkov
Jens Petersen
writes: Hi,
I managed to build cabal-install-0.25.2 (from the cabal-1.16 branch) with ghc-7.6.1 Cabal.
However the use of viewAsFieldDescr in cabal-install/Distribution/Client/Config.hs causes problems due to the:
error "Command.optionToFieldDescr: feature not implemented"
Can it be so that ghc-7.6.1 ships with an older snapshot of Cabal-1.16? Try building cabal-install using revision e7e7ce1029707a67d26e6dc29de11141734898e3
If that's the case then that's really bad. GHC should not ship with random snapshot of branches.
participants (3)
-
Jens Petersen
-
Johan Tibell
-
Mikhail Glushenkov