1.18 and 1.20 patch releases done

Johan Tibell johan.tibell at gmail.com
Tue Dec 30 14:17:09 UTC 2014


I've now done 1.18 and 1.20 cabal-install releases that should hopefully
fix this.

On Sat, Dec 20, 2014 at 4:02 AM, Miëtek Bak <mietek at bak.io> wrote:

> I’m not sure if I understand the problem.  I believe bootstrap.sh should
> be expected to be run only on a bare system with nothing but GHC
> installed.  If the user is already able to install Cabal packages, i.e. has
> some version cabal-install, they should be using that, not bootstrap.sh.
> Does this assumption simplify the problem you’re seeing?
>
> --
> Miëtek
>
>
>
>
> On 2014-12-20, at 08:11, Johan Tibell <johan.tibell at gmail.com> wrote:
>
> > I've spent a considerable amount of time [1] now and I don't think we
> can fix it in a way which works with both network < 2.6 and network >=
> 2.6/network-uri >=26. In fact I don't know if I can get bootstrap.sh
> working at all. Without actually using cabal-install to do the
> dependency/flag resolution and make sure we build using a consistent set of
> packages we end up in problems like these:
> >
> > Distribution/Client/HttpUtils.hs:68:43:
> >     Couldn't match expected type ‘network-2.4.2.3:Network.URI.URI’
> >                 with actual type ‘URI’
> >     NB: ‘network-2.4.2.3:Network.URI.URI’
> >           is defined in ‘Network.URI’ in package ‘network-2.4.2.3’
> >         ‘URI’ is defined in ‘Network.URI’ in package
> ‘network-uri-2.6.0.1’
> >     In the ‘rqURI’ field of a record
> >     In the expression:
> >       Request
> >         {rqURI = uri, rqMethod = GET,
> >          rqHeaders = Header HdrUserAgent userAgent : ifNoneMatchHdr,
> >          rqBody = ByteString.empty}
> >
> > See full log: http://lpaste.net/116892
> >
> > The cause is the HTTP package and the Cabal package being compiled
> against different versions of network. Given how bootstrap.sh works there's
> no real avoiding this. We can only hope that the user only has one version
> of network installed.
> >
> > 1. See the latest commits on the
> https://github.com/haskell/cabal/tree/1.18 branch.
> >
> > On Tue, Dec 16, 2014 at 8:43 AM, Johan Tibell <johan.tibell at gmail.com>
> wrote:
> > Ah, the bootstrap script needs to be updated after the Network.URI
> split. :/
> >
> > On Tue, Dec 16, 2014 at 4:47 AM, Miëtek Bak <mietek at bak.io> wrote:
> > I should add — this is on a bare Ubuntu 14.04 LTS system, with only GHC
> 7.8.3 installed, and nothing else.
> >
> > --
> > Miëtek
> >
> >
> >
> >
> > On 2014-12-16, at 03:37, Miëtek Bak <mietek at bak.io> wrote:
> >
> > > Bootstrapping 1.20.0.4 fails for me:
> > >
> > >       Configuring cabal-install-1.20.0.4...
> > >       Setup: At least the following dependencies are missing:
> > >       network-uri <2.6
> > >
> > >       Error during cabal-install bootstrap:
> > >       Configuring the cabal-install package failed.
> > >
> > > --
> > > Miëtek
> > >
> > >
> > >
> > >
> > > On 2014-12-15, at 23:16, Johan Tibell <johan.tibell at gmail.com> wrote:
> > >
> > >> I just pushed Cabal and cabal-install releases on both the 1.18 and
> 1.20 branches live.
> > >> _______________________________________________
> > >> cabal-devel mailing list
> > >> cabal-devel at haskell.org
> > >> http://www.haskell.org/mailman/listinfo/cabal-devel
> > >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/cabal-devel/attachments/20141230/5c48fd05/attachment.html>


More information about the cabal-devel mailing list