Bug#1015274: haskell-cryptonite FTBFS: error: Variable not in scope

Adrian Bunk bunk at debian.org
Mon Jul 18 20:33:57 BST 2022


Source: haskell-cryptonite
Version: 0.26-1
Severity: serious
Tags: ftbfs bookworm sid

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

...
Crypto/Number/Compat.hs:76:43: error:
    • Variable not in scope:
        powModSecInteger :: Integer -> Integer -> Integer -> Integer
    • Perhaps you meant one of these:
        ‘gmpPowModSecInteger’ (line 76),
        ‘powModInteger’ (imported from GHC.Integer.GMP.Internals)
   |
76 | gmpPowModSecInteger b e m = GmpSupported (powModSecInteger b e m)
   |                                           ^^^^^^^^^^^^^^^^

Crypto/Number/Compat.hs:107:32: error:
    Variable not in scope: nextPrimeInteger :: Integer -> Integer
    |
107 | gmpNextPrime n = GmpSupported (nextPrimeInteger n)
    |                                ^^^^^^^^^^^^^^^^

Crypto/Number/Compat.hs:116:10: error:
    • Variable not in scope:
        testPrimeInteger :: Integer -> Int# -> Int#
    • Perhaps you meant ‘testBitInteger’ (imported from GHC.Integer.GMP.Internals)
    |
116 |     case testPrimeInteger n tries of
    |          ^^^^^^^^^^^^^^^^
 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