Cabal 1.22 RC ready to test
Johan Tibell
johan.tibell at gmail.com
Sat Jan 3 22:46:46 UTC 2015
I'm pretty sure we just need to update the submodule.
On Sat, Jan 3, 2015 at 5:20 PM, Alan & Kim Zimmerman <alan.zimm at gmail.com>
wrote:
> I tried to build https://github.com/ghc/packages-Cabal earlier today and
> got the same error, but it went fine with the version at
> https://github.com/haskell/cabal
>
>
>
> On Sat, Jan 3, 2015 at 10:17 PM, Johan Tibell <johan.tibell at gmail.com>
> wrote:
>
>> 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 <jakewheatmail at gmail.com>
>> wrote:
>>
>>>
>>> On 3 January 2015 at 15:05, Johan Tibell <johan.tibell at gmail.com> 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.
>>>
>>>
>>
>> _______________________________________________
>> ghc-devs mailing list
>> ghc-devs at haskell.org
>> http://www.haskell.org/mailman/listinfo/ghc-devs
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20150103/da2bf0f6/attachment.html>
More information about the cabal-devel
mailing list