[Haskell-cafe] cabal issue

2012-05-09 Thread Graham Berks
Given that I have the dependant packages already installed when I do 

$ cabal install --dry-run --global buildwrapper Resolving dependencies... In 
order, the following would be installed: mtl-2.1.1 (new version) aeson-0.6.0.2 
(reinstall) changes: mtl-2.0.1.0 - 2.1.1 parsec-3.1.2 (reinstall) changes: 
mtl-2.0.1.0 - 2.1.1 regex-base-0.93.2 (reinstall) changes: mtl-2.0.1.0 - 
2.1.1 regex-tdfa-1.1.8 (reinstall) changes: mtl-2.0.1.0 - 2.1.1 
buildwrapper-0.5.2 (new package)

And that build wrapper doesn't have a defined dependency version number for MTL 
can someone tell me why cabal is trying to install a new version of MTL ?

Thanks 

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] cabal issue

2012-05-09 Thread Graham Berks
Have solved the issue with help from JP Moresmau.

Used the command 

cabal install --dry-run --verbose=3 --global build wrapper

And this gave enough detailed info to enable me to remove the conflict and 
resolve the issue.

Thanks goes to JP !


On Wednesday, 9 May 2012 at 09:55, Graham Berks wrote:

 Given that I have the dependant packages already installed when I do 
 
 $ cabal install --dry-run --global buildwrapper Resolving dependencies... In 
 order, the following would be installed: mtl-2.1.1 (new version) 
 aeson-0.6.0.2 (reinstall) changes: mtl-2.0.1.0 - 2.1.1 parsec-3.1.2 
 (reinstall) changes: mtl-2.0.1.0 - 2.1.1 regex-base-0.93.2 (reinstall) 
 changes: mtl-2.0.1.0 - 2.1.1 regex-tdfa-1.1.8 (reinstall) changes: 
 mtl-2.0.1.0 - 2.1.1 buildwrapper-0.5.2 (new package)
 
 And that build wrapper doesn't have a defined dependency version number for 
 MTL 
 can someone tell me why cabal is trying to install a new version of MTL ?
 
 Thanks 

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Cabal issue

2011-12-09 Thread Kevin Jardine
I understand that this may have been addressed before on this list in some
form, so I'll be brief:

Had problem with deprecated package, was told my only option was to wipe my
Haskell install and start over. Is this true and if so, doesn't this mean
that Cabal (or the package management system that it is a part of) is
broken?

Details here:

https://plus.google.com/u/0/111705054912446689620/posts/V1186HGWEap

Kevin
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cabal issue

2011-12-09 Thread Alexander Kjeldaas
Not what you asked for, but..
Although the documentation looks somewhat cryptic, and I have not use it at
all, a nix + cabal option seems to be in the works.

Search google for nix haskell.  I am guessing that their Hydra continuous
build system which is built on top of nix also could do wonders for hackage.

Alexander

On 9 December 2011 12:20, Kevin Jardine kevinjard...@gmail.com wrote:

 I understand that this may have been addressed before on this list in some
 form, so I'll be brief:

 Had problem with deprecated package, was told my only option was to wipe
 my Haskell install and start over. Is this true and if so, doesn't this
 mean that Cabal (or the package management system that it is a part of) is
 broken?

 Details here:

 https://plus.google.com/u/0/111705054912446689620/posts/V1186HGWEap

 Kevin



 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cabal issue

2011-12-09 Thread Antoine Latter
On Fri, Dec 9, 2011 at 5:20 AM, Kevin Jardine kevinjard...@gmail.com wrote:
 I understand that this may have been addressed before on this list in some
 form, so I'll be brief:

 Had problem with deprecated package, was told my only option was to wipe my
 Haskell install and start over. Is this true and if so, doesn't this mean
 that Cabal (or the package management system that it is a part of) is
 broken?


It's hard to say for sure what the fix is without knowing what the error is.

Wiping your installed packages db is easy, so it is often recommended.

 Details here:

 https://plus.google.com/u/0/111705054912446689620/posts/V1186HGWEap

 Kevin



 ___
 Haskell-Cafe mailing list
 Haskell-Cafe@haskell.org
 http://www.haskell.org/mailman/listinfo/haskell-cafe


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Cabal issue

2011-12-09 Thread Brandon Allbery
On Fri, Dec 9, 2011 at 06:20, Kevin Jardine kevinjard...@gmail.com wrote:

 Had problem with deprecated package, was told my only option was to wipe
 my Haskell install and start over. Is this true and if so, doesn't this
 mean that Cabal (or the package management system that it is a part of) is
 broken?


http://ivanmiljenovic.wordpress.com/2010/03/15/repeat-after-me-cabal-is-not-a-package-manager/

(in short:  yes, it's broken, and probably not fixable.  cabal is a
friendlyish wrapper for ghc-pkg, which is not a package manager in the
sense many people want it to be, and it never will be.)

Something *really* needs to be done about its absurd willingness to blindly
override bootlibs and thereby break things, though.

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe