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

Adrian Bunk bunk at debian.org
Fri Jul 22 23:08:31 BST 2022


Source: haskell-pipes-bytestring
Version: 2.1.6-4
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/fetch.php?pkg=haskell-pipes-bytestring&arch=amd64&ver=2.1.6-4%2Bb3&stamp=1658450629&raw=0

...
src/Pipes/ByteString.hs:287:15: error:
    • Couldn't match type: Proxy x'1 x1 Int ByteString m1 ()
                     with: forall x' x. Proxy x' x Int ByteString m ()
      Expected: Int -> Server' Int ByteString m ()
        Actual: Int -> Proxy x'1 x1 Int ByteString m1 ()
    • In the expression: go
      In an equation for ‘hGetSomeN’:
          hGetSomeN h
            = go
            where
                go size
                  = do bs <- liftIO (BS.hGetSome h size)
                       ....
    • Relevant bindings include
        hGetSomeN :: IO.Handle -> Int -> Server' Int ByteString m ()
          (bound at src/Pipes/ByteString.hs:287:1)
    |
287 | hGetSomeN h = go
    |               ^^

src/Pipes/ByteString.hs:300:11: error:
    • Couldn't match type: Proxy x'0 x0 Int ByteString m0 ()
                     with: forall x' x. Proxy x' x Int ByteString m ()
      Expected: Int -> Server' Int ByteString m ()
        Actual: Int -> Proxy x'0 x0 Int ByteString m0 ()
    • In the expression: go
      In an equation for ‘hGetN’:
          hGetN h
            = go
            where
                go size
                  = do bs <- liftIO (BS.hGet h size)
                       ....
    • Relevant bindings include
        hGetN :: IO.Handle -> Int -> Server' Int ByteString m ()
          (bound at src/Pipes/ByteString.hs:300:1)
    |
300 | hGetN h = go
    |           ^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 642
	Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:160: build-ghc-stamp] Error 25


More information about the Pkg-haskell-maintainers mailing list