[Pkg-haskell-maintainers] Bug#616732: Bug#616732: cabal-install: New upstream version with important bugfixes
Josh Triplett
josh at joshtriplett.org
Mon Mar 7 09:31:59 UTC 2011
On Mon, Mar 07, 2011 at 02:34:34PM +0530, Joachim Breitner wrote:
> Hi Josh,
>
> Am Sonntag, den 06.03.2011, 16:06 -0800 schrieb Josh Triplett:
> > Package: cabal-install
> > Version: 0.8.0-1
> > Severity: important
> >
> > Ran into this error installing the "network" package, which appears in
> > the dependency chain of many other packages:
> >
> > [ 4 of 10] Compiling Network.Socket ( dist/build/Network/Socket.hs, dist/build/Network/Socket.o )
> >
> > Network/Socket.hsc:1701:11:
> > Ambiguous occurrence `closeFdWith'
> > It could refer to either `Network.Socket.closeFdWith',
> > defined at Network/Socket.hsc:1046:1
> > or `GHC.Conc.closeFdWith',
> > imported from GHC.Conc at Network/Socket.hsc:204:26-36
> >
> > A quick search turned up this message, pointing at a cabal bug fixed in
> > current cabal:
> > http://www.haskell.org/pipermail/glasgow-haskell-users/2011-February/020088.html
>
> thanks for the report.
>
> The conclusion of that thread is a bit unclear to me. Do we just have to
> rebuild cabal-install with the new ghc? Should the new ghc therefore
> Break: cabal-install (<= 0.8.0-1) ?
Oh, I'd forgotten that GHC comes with Cabal. Yes, I think rebuilding
should suffice. I don't think GHC Breaks the previous cabal, though; I
think cabal always had this bug, and it always affected the network
package, but the conditional in question didn't actually need to fire
until base 4.3.1, which comes with GHC 7.0.2.
Also, cabal-install has a new upstream version as well, though I don't
think it affects this particular issue.
- Josh Triplett
More information about the Pkg-haskell-maintainers
mailing list