[arch-haskell] aura won't upgrade (looks like a cabal version issue)

Magnus Therning magnus at therning.org
Thu May 29 17:03:41 UTC 2014


On Sun, May 25, 2014 at 02:35:47PM -0700, Martin DeMello wrote:
> -----------------------------------------------------------
> Here's the issue:
> 
> $ cabal --version
> cabal-install version 1.18.0.3
> using version 1.18.1.3 of the Cabal library
> 
[...]
> Setup.hs:1:8:
>     Could not find module ‘Distribution.Simple’
>     Perhaps you haven't installed the "dyn" libraries for package
> ‘Cabal-1.20.0.0’?
>     Use -v to see a list of the files searched for.
> ==> ERROR: A failure occurred in build().
>     Aborting...

Well, it looks like you have installed Cabal-1.20.0.0 without dyn
libs.

It's easy to get confused by the package cabal-install installing a
tool called `cabal`, while the underlying library is called Cabal.
So, when you run `cabal --version` you are checking which version of
cabal-install you have, and which version of Cabal *it* is using.
However, when you build aura cabal-install isn't used (based on my
reading of it's PKGBUILD), it uses a method that goes straight to
Cabal and it then uses the latest version installed.

/M

-- 
Magnus Therning                      OpenPGP: 0xAB4DFBA4 
email: magnus at therning.org   jabber: magnus at therning.org
twitter: magthe               http://therning.org/magnus

Goto labels should be left-aligned in all caps and should include the
programmer's name, home phone number, and credit card number.
     -- Abdul Nizar
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/arch-haskell/attachments/20140529/329cdb67/attachment.sig>


More information about the arch-haskell mailing list