[darcs-users] Cabal-1.6 is not pulled automatically by cabal-install (Was: Re: 2.2.0pre2 tarballs ready for testing)

Petr Rockai me at mornfall.net
Mon Jan 5 08:02:55 UTC 2009


Hi,

maybe Duncan could tell us more about this? Maybe we are supposed to list Cabal
explicitly in the build-depends, in addition to Cabal-Version: >= 1.6? Or maybe
this is an inherent limitation (since it possibly needs cabal-install to be
restarted?) and we should instead put a notice on this in our build
instructions?

Please see the transcript below for details of the failure...

Thanks,
   Petr.

Simon Michael <simon at joyful.com> writes:
> $ cabal update
> Downloading package list from server
> 'http://hackage.haskell.org/packages/archive'
> $ cabal install darcs
> Resolving dependencies...
> Downloading darcs-2.1.98.2...
> cabal: The package requires Cabal library version -any && >=1.6 but no
> suitable version is installed.
> cabal: Error: some packages failed to install:
> darcs-2.1.98.2 failed during the configure step. The exception was:
> exit: ExitFailure 1
> $ ghc-pkg list Cabal
> /usr/local/lib/ghc-6.8.2/package.conf:
>         (Cabal-1.5.2)
> /Users/simon/.ghc/i386-darwin-6.8.2/package.conf:
>         (Cabal-1.2.3.0), Cabal-1.4.0.1
> $ ghc --version
> The Glorious Glasgow Haskell Compilation System, version 6.8.2
> $ cabal --version
> cabal-install version 0.5.1
> using version 1.4.0.1 of the Cabal library
> $ cabal install Cabal
> Resolving dependencies...
> Downloading Cabal-1.6.0.1...
> (etc..)
> $ cabal install darcs
> (success)
>
> ie cabal didn't install Cabal 1.6 automatically.

-- 
Peter Rockai | me()mornfall!net | prockai()redhat!com
 http://blog.mornfall.net | http://web.mornfall.net

"In My Egotistical Opinion, most people's C programs should be
 indented six feet downward and covered with dirt."
     -- Blair P. Houghton on the subject of C program indentation


More information about the darcs-users mailing list