Bug#1013766: haskell-memory FTBFS: error: Variable not in scope
Adrian Bunk
bunk at debian.org
Sat Jun 25 15:28:05 BST 2022
Source: haskell-memory
Version: 0.15.0-1
Severity: serious
Tags: ftbfs bookworm sid
https://buildd.debian.org/status/logs.php?pkg=haskell-memory&ver=0.15.0-1%2Bb2
...
Data/ByteArray/Types.hs:39:1: warning: [-Wunused-imports]
The qualified import of ‘Basement.PrimType’ is redundant
except perhaps to import instances from ‘Basement.PrimType’
To import instances alone, use: import Basement.PrimType()
|
39 | import qualified Basement.PrimType as Base (primSizeInBytes)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Data/ByteArray/ScrubbedBytes.hs:93:71: error:
Variable not in scope:
unsafeCoerce# :: MutableByteArray# RealWorld -> ByteArray#
|
93 | let !scrubber = (getScrubber sz) (byteArrayContents# (unsafeCoerce# mbarr))
| ^^^^^^^^^^^^^
Data/ByteArray/ScrubbedBytes.hs:151:38: error:
Variable not in scope:
unsafeCoerce# :: MutableByteArray# RealWorld -> ByteArray#
|
151 | a <- f (Ptr (byteArrayContents# (unsafeCoerce# mba)))
| ^^^^^^^^^^^^^
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