[Haskell-cafe] Stackage with GHC 7.8: build results

Michael Snoyman michael at snoyman.com
Thu Apr 10 06:51:48 UTC 2014


On Thu, Apr 10, 2014 at 9:49 AM, Alexander V Vershilov <
alexander.vershilov at gmail.com> wrote:

> Hi,
>
> In my testing container it's:
>
> Building yesod-persistent-1.2.2.2...
> Preprocessing library yesod-persistent-1.2.2.2...
> [1 of 2] Compiling Yesod.Persist.Core ( Yesod/Persist/Core.hs,
> dist/build/Yesod/Persist/Core.o )
>
> Yesod/Persist/Core.hs:113:5:
>     Could not deduce (Monad (YesodDB site))
>       arising from a use of `transPipe'
>     from the context (YesodPersistRunner site)
>       bound by the type signature for
>                  runDBSource :: YesodPersistRunner site =>
>                                 Source (YesodDB site) a -> Source
> (HandlerT site IO) a
>       at Yesod/Persist/Core.hs:(108,16)-(110,42)
>     In a stmt of a 'do' block: transPipe (runDBRunner dbrunner) src
>     In the expression:
>       do { (dbrunner, cleanup) <- lift getDBRunner;
>            transPipe (runDBRunner dbrunner) src;
>            lift cleanup }
>     In an equation for `runDBSource':
>         runDBSource src
> No uhc found
> ./setup build
> Building yesod-persistent-1.2.2.2...
> Preprocessing library yesod-persistent-1.2.2.2...
> [1 of 2] Compiling Yesod.Persist.Core ( Yesod/Persist/Core.hs,
> dist/build/Yesod/Persist/Core.o )
>
> Yesod/Persist/Core.hs:113:5:
>     Could not deduce (Monad (YesodDB site))
>       arising from a use of `transPipe'
>     from the context (YesodPersistRunner site)
>       bound by the type signature for
>                  runDBSource :: YesodPersistRunner site =>
>                                 Source (YesodDB site) a -> Source
> (HandlerT site IO) a
>       at Yesod/Persist/Core.hs:(108,16)-(110,42)
>     In a stmt of a 'do' block: transPipe (runDBRunner dbrunner) src
>     In the expression:
>       do { (dbrunner, cleanup) <- lift getDBRunner;
>            transPipe (runDBRunner dbrunner) src;
>            lift cleanup }
>     In an equation for `runDBSource':
>         runDBSource src
>           = do { (dbrunner, cleanup) <- lift getDBRunner;
>                  transPipe (runDBRunner dbrunner) src;
>                  lift cleanup }
>
> --
> Alexander Vershilov
>
> On 9 April 2014 11:16, Michael Snoyman <michael at snoyman.com> wrote:
> >
> >
> >
> > On Wed, Apr 9, 2014 at 9:15 AM, John Wiegley <johnw at newartisans.com>
> wrote:
> >>
> >> >>>>> Michael Snoyman <michael at snoyman.com> writes:
> >>
> >> > * fpco-api (yes, I'm working on it)
> >> > * gitlib
> >> > * groundhog
> >> > * monad-peel
> >> > * parsestar
> >> > * pcre-light
> >> > * recursion-schemes
> >> > * statistics
> >> > * syb-extras
> >> > * thyme
> >> > * uniqueid
> >>
> >> My own private bootstrapping (unrelated to stackage) has also revealed
> >> these
> >> broken packages:
> >>
> >>     pcre-light
> >>     categories
> >>     thyme
> >>     recursion-schemes
> >>     yesod-persistent
> >>
> >
> > What build failure are you getting with yesod-persistent? It builds
> > correctly for me.
> >
> > Michael
> >
> > _______________________________________________
> > Haskell-Cafe mailing list
> > Haskell-Cafe at haskell.org
> > http://www.haskell.org/mailman/listinfo/haskell-cafe
> >
>
>
>
> --
> Alexander
>

The problem is a regression between GHC 7.8.0rc2 (what I was testing with)
and 7.8.1, which had just been released. There's a GHC ticket open on the
issue[1].

Michael

[1] https://ghc.haskell.org/trac/ghc/ticket/8978
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20140410/1e06f9d2/attachment.html>


More information about the Haskell-Cafe mailing list