Bug#1015280: haskell-pipes-zlib FTBFS: error: Couldn't match type
Adrian Bunk
bunk at debian.org
Mon Jul 18 21:14:06 BST 2022
Source: haskell-pipes-zlib
Version: 0.4.4.2-3
Severity: serious
Tags: ftbfs bookworm sid
https://buildd.debian.org/status/package.php?p=haskell-pipes-zlib&suite=sid
...
src/Pipes/Zlib.hs:81:13: error:
• Couldn't match type: forall x'1 x1.
Proxy x'1 x1 () B.ByteString m0 ()
with: Proxy x' x () B.ByteString m1 a0
Expected: Popper -> Proxy x' x () B.ByteString m1 a0
Actual: Popper -> Producer' B.ByteString m0 ()
• In the first argument of ‘(=<<)’, namely ‘fromPopper’
In a stmt of a 'do' block:
fromPopper =<< liftIO (feedInflate inf bs)
In the expression:
do fromPopper =<< liftIO (feedInflate inf bs)
flush inf
leftover <- liftIO $ getUnusedInflate inf
if B.null leftover then
go p' inf
else
return $ Left (yield leftover >> p')
• Relevant bindings include
p' :: Producer B.ByteString m1 b (bound at src/Pipes/Zlib.hs:80:21)
res :: Either b (B.ByteString, Producer B.ByteString m1 b)
(bound at src/Pipes/Zlib.hs:77:7)
p :: Producer B.ByteString m1 b (bound at src/Pipes/Zlib.hs:76:8)
go :: Producer B.ByteString m1 b
-> Inflate
-> Proxy
x'
x
()
B.ByteString
m1
(Either (Proxy X () () B.ByteString m1 b) b)
(bound at src/Pipes/Zlib.hs:76:5)
|
81 | fromPopper =<< liftIO (Z.feedInflate inf bs)
| ^^^^^^^^^^
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 709
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