Bug#1014024: haskell-bytestring-handl FTBFS: error: Couldn't match type ‘?=()=?UTF-8?Q?’ with ‘Integer’
Adrian Bunk
bunk at debian.org
Tue Jun 28 21:23:51 BST 2022
Source: haskell-bytestring-handle
Version: 0.1.0.6-5
Severity: serious
Tags: ftbfs bookworm sid
https://buildd.debian.org/status/package.php?p=haskell-bytestring-handle&suite=sid
...
src/Data/ByteString/Handle/Read.hs:158:9: error:
• Couldn't match type ‘()’ with ‘Integer’
Expected: IO Integer
Actual: IO ()
• In a stmt of a 'do' block:
maybe
ioe_seekOutOfRange (writeIORef (read_seek_state rs)) newSeekState
In the expression:
do size <- getSize rs
curSeekState <- readIORef (read_seek_state rs)
let newSeekState = ...
maybe
ioe_seekOutOfRange (writeIORef (read_seek_state rs)) newSeekState
In an equation for ‘seek’:
seek rs seekMode seekPos
= do size <- getSize rs
curSeekState <- readIORef (read_seek_state rs)
let newSeekState = ...
....
|
158 | maybe ioe_seekOutOfRange (writeIORef (read_seek_state rs)) newSeekState
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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