Trouble using cabal install with 7.8.2

54 views
Skip to first unread message

Stephen J. Barr

unread,
Apr 17, 2014, 5:36:53 PM4/17/14
to haskel...@googlegroups.com
Greetings,


I am working on my first .cabal file for a project I am working on. I am working in a sandbox, and I have installed the following set of packages using cabal install (in that order):

syb, either-unwrap , roots , uuid , random-fu , monad-par

When trying to do cabal install repa, I get this output:
------------------------------------
$ cabal install repa
Resolving dependencies...
cabal: Could not resolve dependencies:
next goal: repa (user goal)
rejecting: repa-3.2.3.3, 3.2.3.2, 3.2.3.1 (conflict: MonadPrompt =>
base==4.7.0.0/installed-e45..., repa => base==4.6.*)
rejecting: repa-3.2.2.201204.1 (conflict: MonadPrompt =>
base==4.7.0.0/installed-e45..., repa => base==4.5.*)
rejecting: repa-3.2.2.3, 3.2.2.2, 3.2.2.1 (conflict: MonadPrompt =>
base==4.7.0.0/installed-e45..., repa => base==4.6.*)
rejecting: repa-3.2.1.1, 3.1.4.2, 3.1.4.1, 3.1.3.3, 3.1.3.2, 3.1.3.1, 3.1.2.1,
3.1.1.1 (conflict: base => ghc-prim==0.3.1.0/installed-948..., repa =>
ghc-prim==0.2.*)
rejecting: repa-3.1.0.1, 3.0.0.1 (conflict: MonadPrompt =>
base==4.7.0.0/installed-e45..., repa => base==4.5.*)
rejecting: repa-2.2.0.1, 2.1.1.6 (conflict: MonadPrompt =>
base==4.7.0.0/installed-e45..., repa => base==4.4.*)
rejecting: repa-2.1.1.5 (conflict: MonadPrompt =>
base==4.7.0.0/installed-e45..., repa => base==4.3.*)
rejecting: repa-2.1.1.4 (conflict: MonadPrompt =>
base==4.7.0.0/installed-e45..., repa => base==4.4.*)
rejecting: repa-2.1.1.3, 2.1.1.2, 2.1.1.1, 2.1.0.1, 2.0.2.1, 2.0.1.1, 2.0.0.4,
2.0.0.3, 2.0.0.2, 2.0.0.1 (conflict: base =>
ghc-prim==0.3.1.0/installed-948..., repa => ghc-prim==0.2.*)
trying: repa-1.1.0.0
next goal: dph-prim-seq (dependency of repa-1.1.0.0)
rejecting: dph-prim-seq-0.7.0.1, 0.6.1.1, 0.6.0.1, 0.5.1.1 (conflict: repa =>
dph-prim-seq==0.4.*)
Dependency tree exhaustively searched.

Note: when using a sandbox, all packages are required to have consistent
dependencies. Try reinstalling/unregistering the offending packages or
recreating the sandbox.
-------------------------------------

However, if I clone the repa repository, cd repa/repa && cabal install, that seems to work.

As I said, I am new to cabal. Is there something I am doing wrong or is there a dependency issue that has not been worked out in the switch to GHC 7.8.2?

Thanks!
-Stephen

Dominic Steinitz

unread,
Apr 18, 2014, 9:10:42 AM4/18/14
to haskel...@googlegroups.com
It looks like repa on hackage has a restriction to base of 4.6.0.0 but ghc 7.8 only supplies 4.7.0.0. The git version relaxes the restriction so the install works. I assume that the repa maintainers will release a new version on hackage to address this.

Ben Lippmeier

unread,
Apr 29, 2014, 7:24:02 AM4/29/14
to Dominic Steinitz, haskel...@googlegroups.com

Yeah, the Hackage version only works with GHC 7.6. 

This is on my list of things to fix... pending.

Ben.



--
You received this message because you are subscribed to the Google Groups "Haskell Repa" group.
To unsubscribe from this group and stop receiving emails from it, send an email to haskell-repa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages