Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 497496 - dev-haskell/cgi-3001.1.8.4 - Network/CGI/Monad.hs:123:10: Could not deduce (Functor m) arising from a use of `try' from the context (MonadCGI m, MonadCatchIO m) bound by the type signature for tryCGI :: (MonadCGI m, MonadCatchIO m) => m a -> m (Either ...
Summary: dev-haskell/cgi-3001.1.8.4 - Network/CGI/Monad.hs:123:10: Could not deduce (F...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-08 05:37 UTC by Jason Mours
Modified: 2014-01-11 15:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (cgi-3001.1.8.4-build.log,6.30 KB, text/plain)
2014-01-08 05:37 UTC, Jason Mours
Details
emerge-info (cgi-3001.1.8.4-emerge.info,17.86 KB, text/plain)
2014-01-08 05:38 UTC, Jason Mours
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Mours 2014-01-08 05:37:41 UTC
Created attachment 367358 [details]
build.log

dev-haskell/cgi-3001.1.8.4 is failing emerge with the following:

[4 of 8] Compiling Network.CGI.Monad ( Network/CGI/Monad.hs, dist/build/Network/CGI/Monad.o )

Network/CGI/Monad.hs:123:10:
    Could not deduce (Functor m) arising from a use of `try'
    from the context (MonadCGI m, MonadCatchIO m)
      bound by the type signature for
                 tryCGI :: (MonadCGI m, MonadCatchIO m) =>
                           m a -> m (Either SomeException a)
      at Network/CGI/Monad.hs:122:11-75
    Possible fix:
      add (Functor m) to the context of
        the type signature for
          tryCGI :: (MonadCGI m, MonadCatchIO m) =>
                    m a -> m (Either SomeException a)
    In the expression: try
    In an equation for `tryCGI': tryCGI = try

: Posting build.log
Comment 1 Jason Mours 2014-01-08 05:38:02 UTC
Created attachment 367360 [details]
emerge-info
Comment 2 Sergei Trofimovich (RETIRED) gentoo-dev 2014-01-11 15:01:11 UTC
(what is odd) the failure is only gentoo-haskell overlay-specific
due to monadcatchio-mtl slight breakage.

Pushed as:
> 11 Jan 2014; Sergei Trofimovich <slyfox@gentoo.org> +cgi-3001.1.8.4-r1.ebuild,
> +files/cgi-3001.1.8.4-mci.patch:
> . Fix build failure against latest monadcatchio-mtl-0.3.1.0 (bug #497496 by
> Jason Mours).

Thank you!