Source: haskell-monad-unlift
Version: 0.2.0-6
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/logs.php?pkg=haskell-monad-unlift&ver=0.2.0-6%2Bb3

...
Control/Monad/Trans/Unlift.hs:78:16: error:
    • Couldn't match type: forall a1 (n :: * -> *).
                           Monad n =>
                           t n a1 -> n a1
                     with: t m a -> m a
      Expected: Unlift t -> t m a -> m a
        Actual: Unlift t
                -> forall a (n :: * -> *). Monad n => t n a -> n a
    • In the first argument of ‘liftM’, namely ‘unlift’
      In the expression: liftM unlift askUnlift
      In an equation for ‘askRun’: askRun = liftM unlift askUnlift
    • Relevant bindings include
        askRun :: t m (t m a -> m a)
          (bound at Control/Monad/Trans/Unlift.hs:78:1)
   |
78 | askRun = liftM unlift askUnlift
   |                ^^^^^^

Control/Monad/Trans/Unlift.hs:115:20: error:
    • Couldn't match type: forall a1. m a1 -> b a1
                     with: m a -> b a
      Expected: UnliftBase b m -> m a -> b a
        Actual: UnliftBase b m -> forall a. m a -> b a
    • In the first argument of ‘liftM’, namely ‘unliftBase’
      In the expression: liftM unliftBase askUnliftBase
      In an equation for ‘askRunBase’:
          askRunBase = liftM unliftBase askUnliftBase
    • Relevant bindings include
        askRunBase :: m (m a -> b a)
          (bound at Control/Monad/Trans/Unlift.hs:115:1)
    |
115 | askRunBase = liftM unliftBase askUnliftBase
    |                    ^^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
        
Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup",
 "haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", 
"--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at 
/usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
        
Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", 
"haddock", "--builddir=dist-ghc", "--with-haddock=/usr/bin/haddock", 
"--with-ghc=ghc", "--verbose=2", "--html", "--hoogle", ...) called at 
/usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 707
        Debian::Debhelper::Buildsystem::Haskell::Recipes::haddock_recipe() 
called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:153: build-ghc-stamp] Error 25

Reply via email to