[Hackage] #405: cabal-install finds non-existent conflict due to
picking base 3
Hackage
trac at galois.com
Thu Nov 13 08:56:09 EST 2008
#405: cabal-install finds non-existent conflict due to picking base 3
---------------------------------+------------------------------------------
Reporter: dreixel | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: cabal-install tool | Version: HEAD
Severity: normal | Keywords:
Difficulty: normal | Ghcversion: 6.8.3
Platform: |
---------------------------------+------------------------------------------
While creating a new package syb-0.2 (which supersedes syb-0.1), we have
in the .cabal file:
{{{
build-depends: base >= 4.0
}}}
'cabal configure -v' outputs:
{{{
(...)
Configuring syb-0.2...
Dependency base >=4.0: using base-4.0.0.0
Dependency mtl >=1.1.0.2: using mtl-1.1.0.2
Using Cabal-1.6.0.1 compiled by ghc-6.10
(...)
}}}
'cabal install -v' outputs:
{{{
(...)
Reading available packages...
Resolving dependencies...
selecting syb-0.2 (hackage) and discarding mtl-1.0, 1.1.0.0 and 1.1.0.1
selecting mtl-1.1.0.2 (installed or hackage)
selecting
cabal: dependencies conflict: base-3.0.3.0 requires syb ==0.1.0.0 however
syb-0.1.0.0 was excluded because syb-0.2 was selected instead
syb-0.1.0.0 was excluded because of the top level dependency syb ==0.2
}}}
However, 'runghc Setup.hs install' proceeds without problems.
--
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/405>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects
More information about the cabal-devel
mailing list