How not to indirectly depend on multiple versions of the same package?

Hello, My usb package fails to build on hackage: http://hackage.haskell.org/package/usb-0.2 usb depends both on bytestring and text but text also depends on bytestring. Now, during configuring, a different bytestring version is choosen than the one text was build with: http://hackage.haskell.org/packages/archive/usb/0.2/logs/failure/ghc-6.10 ... Dependency bytestring ==0.9.*: using bytestring-0.9.1.5 Dependency text ==0.4.*: using text-0.4 Warning: This package indirectly depends on multiple versions of the same package. This is highly likely to cause a compile failure. ... http://hackage.haskell.org/packages/archive/text/0.4/logs/success/ghc-6.10 ... Dependency bytestring >=0.9 && <1.0: using bytestring-0.9.1.4 ... Is it possible to specify in my cabal file that I depend on the same bytestring version as to one text was build with? If not, what is the best way to get my package to build on hackage? Thanks, Bas

On Thu, 2009-10-08 at 20:24 +0200, Bas van Dijk wrote:
Hello,
My usb package fails to build on hackage:
http://hackage.haskell.org/package/usb-0.2
usb depends both on bytestring and text but text also depends on bytestring. Now, during configuring, a different bytestring version is choosen than the one text was build with:
[..]
If not, what is the best way to get my package to build on hackage?
There's really no sensible way to do it. This is one of the problems that the new server will solve. Duncan

On Fri, Oct 9, 2009 at 2:02 PM, Duncan Coutts
There's really no sensible way to do it. This is one of the problems that the new server will solve.
Right. I uploaded a new version of usb[1] that now depends on the new text-0.5. I see that text-0.5 is build against the new bytestring so I think my problem is solved for now. Is there a wiki page or other kind of information about this new hackage server? regards, Bas [1] http://hackage.haskell.org/package/usb-0.2.0.1
participants (2)
-
Bas van Dijk
-
Duncan Coutts