Bug#1014000: haskell-pipes FTBFS: error: Couldn't match type

Adrian Bunk bunk at debian.org
Tue Jun 28 17:48:04 BST 2022


Source: haskell-pipes
Version: 4.3.14-1
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/package.php?p=haskell-pipes&suite=sid

...
src/Pipes.hs:141:9: error:
    • Couldn't match type: Proxy x'0 x0 a'0 a m0 a'0
                     with: forall x' x. Proxy x' x () a m ()
      Expected: a -> Producer' a m ()
        Actual: a -> Proxy x'0 x0 a'0 a m0 a'0
    • In the expression: respond
      In an equation for ‘yield’: yield = respond
    • Relevant bindings include
        yield :: a -> Producer' a m () (bound at src/Pipes.hs:141:1)
    |
141 | yield = respond
    |         ^^^^^^^

src/Pipes.hs:186:36: error:
    • Couldn't match type: forall x'2 x2. Proxy x'2 x2 () c m2 ()
                     with: Proxy x' x c' c m c'
      Expected: c -> Proxy x' x c' c m c'
        Actual: c -> Producer' c m2 ()
    • In the second argument of ‘for’, namely ‘yield’
      In the expression: for p yield
      When checking the rewrite rule "for p yield"
    • Relevant bindings include
        p :: Proxy x' x c' c m a' (bound at src/Pipes.hs:186:26)
    |
186 |   ; "for p yield" forall p . for p yield = p
    |                                    ^^^^^

src/Pipes.hs:640:8: error:
    • Couldn't match type: Proxy x'1 x1 () a m1 ()
                     with: forall x' x. Proxy x' x () a m ()
      Expected: f a -> Producer' a m ()
        Actual: f a -> Proxy x'1 x1 () a m1 ()
    • In the expression: foldr (\ a p -> yield a >> p) (return ())
      In an equation for ‘each’:
          each = foldr (\ a p -> yield a >> p) (return ())
    • Relevant bindings include
        each :: f a -> Producer' a m () (bound at src/Pipes.hs:640:1)
    |
640 | each = F.foldr (\a p -> yield a >> p) (return ())
    |        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
 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


More information about the Pkg-haskell-maintainers mailing list