[Hackage] #366: configure prints scary warning with multiple versions of a package
#366: configure prints scary warning with multiple versions of a package ----------------------------+----------------------------------------------- Reporter: bos | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: 1.2.3.0 Severity: normal | Keywords: Difficulty: normal | Ghcversion: 6.8.2 Platform: | ----------------------------+----------------------------------------------- I'm trying to build HTTP-3001.0.4 with GHC 6.10 beta. It doesn't build out of the box due to the change in exceptions in base 4, so I changed its dependencies to base >= 3 && < 4. This causes a new message that at first looks like an error message: Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. package HTTP-3001.0.4 requires base-3.0.3.0 package syb-0.1.0.0 requires base-4.0.0.0 package parsec-2.1.0.1 requires base-4.0.0.0 package network-2.2.0.0 requires base-4.0.0.0 package base-3.0.3.0 requires base-4.0.0.0 package array-0.2.0.0 requires base-4.0.0.0 It's hard to tell whether this message indicates a real problem. I suppose that it could, since e.g. exceptions have changed between base 3 and base 4. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/366> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#366: configure prints scary warning with multiple versions of a package ----------------------------+----------------------------------------------- Reporter: bos | Owner: Type: defect | Status: new Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Changes (by bos): * version: 1.2.3.0 => HEAD -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/366#comment:1> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#366: configure prints scary warning with multiple versions of a package ----------------------------+----------------------------------------------- Reporter: bos | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Changes (by duncan): * status: new => closed * resolution: => fixed Comment: Should now be fixed, but please test. {{{ Thu Oct 2 00:41:42 PDT 2008 Duncan Coutts <duncan@haskell.org> * Relax dependencyInconsistencies to allow the base-3,4 thing Previously we said a package graph was inconsistent if two dependencies on the same package name specified different versions. Now we say that two such dependencies on different versions are ok if there is a direct dependency between those two package versions. So if your package graph ends up with both base 3 and base 4 in it, then that's ok because base 3 directly depends on base 4, so we declare it not to be an inconsistency. This removes the scary warnings at configure time (fixing ticket #366) and also adjusts the invariant and assertion of the InstallPlan ADT in cabal-install. }}} -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/366#comment:2> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#366: configure prints scary warning with multiple versions of a package ----------------------------+----------------------------------------------- Reporter: bos | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by bos): Thanks. I take it I should be pulling from the 1.6 branch, not the head? -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/366#comment:3> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
#366: configure prints scary warning with multiple versions of a package ----------------------------+----------------------------------------------- Reporter: bos | Owner: Type: defect | Status: closed Priority: normal | Milestone: Component: Cabal library | Version: HEAD Severity: normal | Resolution: fixed Keywords: | Difficulty: normal Ghcversion: 6.8.2 | Platform: ----------------------------+----------------------------------------------- Comment (by duncan): Replying to [comment:3 bos]:
Thanks. I take it I should be pulling from the 1.6 branch, not the head?
The patch is in the head, not the 1.6 branch yet. I'll push to the 1.6 branch and ask Ian to vaildate them soonish. -- Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/366#comment:4> Hackage <http://haskell.org/cabal/> Hackage: Cabal and related projects
participants (1)
-
Hackage