[darcs-users] Trying to upgrade darcs - cabal error

Eric Kow eric.kow at gmail.com
Tue Mar 5 09:41:57 UTC 2013


Urk. Hey Ash,

What Haskell Platform are you using, and from where (eg. HomeBrew?)
ghc-pkg list might help too




On 27 Feb 2013, at 21:41, Ash Moran wrote:

> Hi
> 
> I'm trying to upgrade darcs from 2.8.2 to 2.8.4 on OSX 10.8.2. I've somehow installed it through cabal (`which darcs` = "/Users/ashmoran/.cabal/bin/darcs").
> 
> I did a cabal update and that told me to upgrade cabal-install, but I got this error:
> 
>    % cabal install cabal-install
>    Resolving dependencies...
>    The build-tool has reset ENV. --env=std required.
>    cabal: Error: some packages failed to install:
>    Cabal-1.16.0.3 failed during the configure step. The exception was:
>    ExitFailure 1
>    cabal-install-1.16.0.2 depends on Cabal-1.16.0.3 which failed to install.
> 
> Does anybody know what this means? Sorry for the non-darcs related question, but the only reason I have cabal installed is to install darcs. I don't even remember how I installed Cabal now.
> 
> I'm also a bit puzzled why cabal tells me darcs is not installed:
> 
>    % cabal list darcs
>    * darcs
>        Synopsis: a distributed, interactive, smart revision control system
>        Default available version: 2.8.4
>        Installed versions: [ Not installed ]
>        Homepage: http://darcs.net/
>        License:  GPL
> 
> Actually installing darcs fails in a similar way to cabal:
> 
>    % cabal install darcs        
>    zsh: correct 'darcs' to '.darcs' [nyae]? n
>    Resolving dependencies...
>    Downloading dataenc-0.14.0.5...
>    Configuring dataenc-0.14.0.5...
>    The build-tool has reset ENV. --env=std required.
>    Configuring mmap-0.5.8...
>    The build-tool has reset ENV. --env=std required.
>    Downloading primitive-0.5.0.1...
>    Configuring primitive-0.5.0.1...
>    The build-tool has reset ENV. --env=std required.
>    Downloading tar-0.4.0.1...
>    Configuring tar-0.4.0.1...
>    The build-tool has reset ENV. --env=std required.
>    Configuring terminfo-0.3.2.5...
>    The build-tool has reset ENV. --env=std required.
>    Configuring utf8-string-0.3.7...
>    The build-tool has reset ENV. --env=std required.
>    cabal: Error: some packages failed to install:
>    darcs-2.8.4 depends on utf8-string-0.3.7 which failed to install.
>    dataenc-0.14.0.5 failed during the configure step. The exception was:
>    ExitFailure 1
>    hashed-storage-0.5.10 depends on mmap-0.5.8 which failed to install.
>    haskeline-0.7.0.3 depends on terminfo-0.3.2.5 which failed to install.
>    mmap-0.5.8 failed during the configure step. The exception was:
>    ExitFailure 1
>    primitive-0.5.0.1 failed during the configure step. The exception was:
>    ExitFailure 1
>    tar-0.4.0.1 failed during the configure step. The exception was:
>    ExitFailure 1
>    terminfo-0.3.2.5 failed during the configure step. The exception was:
>    ExitFailure 1
>    utf8-string-0.3.7 failed during the configure step. The exception was:
>    ExitFailure 1
>    vector-0.10.0.1 depends on primitive-0.5.0.1 which failed to install.
> 
> Can anyone help?
> 
> Thanks,
> Ash
> 
> -- 
> http://www.patchspace.co.uk/
> http://www.linkedin.com/in/ashmoran
> 
> _______________________________________________
> darcs-users mailing list
> darcs-users at darcs.net
> http://lists.osuosl.org/mailman/listinfo/darcs-users

-- 
Eric Kow <http://erickow.com>



More information about the darcs-users mailing list