Jens Petersen | 12 Sep 07:08 2012

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

Mikhail Glushenkov | 15 Sep 04:35 2012
Picon

Re: testing cabal-install-0.25.2 with ghc-7.6.1

Jens Petersen <juhp <at> community.haskell.org> 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

Jens Petersen | 17 Sep 14:32 2012

Re: testing cabal-install-0.25.2 with ghc-7.6.1

On 15 September 2012 11:35, Mikhail Glushenkov
<the.dead.shall.rise <at> gmail.com> wrote:
> 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

Jens Petersen | 18 Sep 09:10 2012

Re: testing cabal-install-0.25.2 with ghc-7.6.1

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?
Attachment (cabal-install-0.15.1-Cabal-1.16.0.patch): application/octet-stream, 5203 bytes
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?
Johan Tibell | 17 Sep 15:06 2012
Picon

Re: testing cabal-install-0.25.2 with ghc-7.6.1

On Sat, Sep 15, 2012 at 4:35 AM, Mikhail Glushenkov
<the.dead.shall.rise <at> gmail.com> wrote:
> Jens Petersen <juhp <at> community.haskell.org> 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.


Gmane