#1013789 haskell-memoize FTBFS: error: Expecting one more argument to ‘TyVarBndr’

#1013789#5
Date:
2022-06-25 16:49:26 UTC
From:
To:
https://buildd.debian.org/status/package.php?p=haskell-memoize&suite=sid

...
src/Data/Function/Memoize/TH.hs:119:30: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the first argument of ‘Q’, namely
        ‘(Name, [TyVarBndr], [(Name, Int)])’
      In the type signature:
        checkName :: Name -> Q (Name, [TyVarBndr], [(Name, Int)])
    |
119 | checkName ∷ Name → Q (Name, [TyVarBndr], [(Name, Int)])
    |                              ^^^^^^^^^

src/Data/Function/Memoize/TH.hs:170:31: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the type signature:
        buildContext :: Maybe [Int] -> [TyVarBndr] -> [Name] -> CxtQ
    |
170 | buildContext ∷ Maybe [Int] → [TyVarBndr] → [Name] → CxtQ
    |                               ^^^^^^^^^
 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