[Bug 1886725] [NEW] RM haskell-gitlib FTBFS due to MonadFail

Launchpad Bug Tracker 1886725 at bugs.launchpad.net
Tue Jul 7 22:13:36 UTC 2020


You have been subscribed to a public bug by Dimitri John Ledkov (xnox):

ghc has fully deprecated and removed MonadFail proposal, requiring code
to be rewritten.

Git/Types.hs:144:14: error:
    • Could not deduce (MonadFail m) arising from a use of ‘fail’
      from the context: Monad m
        bound by the type signature for:
                   textToSha :: forall (m :: * -> *). Monad m => Text -> m SHA
        at Git/Types.hs:140:1-37
      Possible fix:
        add (MonadFail m) to the context of
          the type signature for:
            textToSha :: forall (m :: * -> *). Monad m => Text -> m SHA
    • In the expression: fail "Invalid base16 encoding"
      In a case alternative: _ -> fail "Invalid base16 encoding"
      In the expression:
        case B16.decode $ T.encodeUtf8 t of
          (bs, "") -> return (SHA bs)
          _ -> fail "Invalid base16 encoding"
    |
144 |         _ -> fail "Invalid base16 encoding"
    |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Haddock coverage:
Warning: 'Repository' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
Warning: 'resolveRef' is out of scope.
    If you qualify the identifier, haddock can try to link it anyway.
 100% (  9 /  9) in 'Git.Tutorial'

haskell-gitlib still uses the deprecated "fail" which is no longer
exposed by MonadFail.


It is leaf without any reverse dependencies, please remove it from the archive.

$ reverse-depends src:haskell-gitlib
No reverse dependencies found
$ reverse-depends -b src:haskell-gitlib
No reverse dependencies found

** Affects: haskell-gitlib (Ubuntu)
     Importance: Undecided
         Status: Triaged

-- 
RM haskell-gitlib FTBFS due to MonadFail
https://bugs.launchpad.net/bugs/1886725
You received this bug notification because you are a member of Ubuntu Package Archive Administrators, which is subscribed to the bug report.



More information about the ubuntu-archive mailing list