Bug#1013769: haskell-th-data-compat FTBFS: error: Expecting one more argument to ‘TyVarBndr’

Adrian Bunk bunk at debian.org
Sat Jun 25 15:40:06 BST 2022


Source: haskell-th-data-compat
Version: 0.1.0.0-1
Severity: serious
Tags: ftbfs bookworm sid

https://buildd.debian.org/status/logs.php?pkg=haskell-th-data-compat&ver=0.1.0.0-1%2Bb2

...
src/Language/Haskell/TH/Compat/Data/Current.hs:25:28: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the type signature:
        dataD' :: CxtQ -> Name -> [TyVarBndr] -> [ConQ] -> [Name] -> DecQ
   |
25 | dataD' :: CxtQ -> Name -> [TyVarBndr] -> [ConQ] -> [Name]
   |                            ^^^^^^^^^

src/Language/Haskell/TH/Compat/Data/Current.hs:30:38: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the first argument of ‘Maybe’, namely
        ‘(Cxt, Name, [TyVarBndr], Maybe Kind, [Con], [Type])’
      In the type signature:
        unDataD :: Dec
                   -> Maybe (Cxt, Name, [TyVarBndr], Maybe Kind, [Con], [Type])
   |
30 | unDataD :: Dec -> Maybe (Cxt, Name, [TyVarBndr], Maybe Kind, [Con], [Type])
   |                                      ^^^^^^^^^

src/Language/Haskell/TH/Compat/Data/Current.hs:36:31: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the type signature:
        newtypeD' :: CxtQ -> Name -> [TyVarBndr] -> ConQ -> [Name] -> DecQ
   |
36 | newtypeD' :: CxtQ -> Name -> [TyVarBndr] -> ConQ -> [Name]
   |                               ^^^^^^^^^

src/Language/Haskell/TH/Compat/Data/Current.hs:41:41: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the first argument of ‘Maybe’, namely
        ‘(Cxt, Name, [TyVarBndr], Maybe Kind, Con, [Type])’
      In the type signature:
        unNewtypeD :: Dec
                      -> Maybe (Cxt, Name, [TyVarBndr], Maybe Kind, Con, [Type])
   |
41 | unNewtypeD :: Dec -> Maybe (Cxt, Name, [TyVarBndr], Maybe Kind, Con, [Type])
   |                                         ^^^^^^^^^

src/Language/Haskell/TH/Compat/Data/Current.hs:52:42: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the first argument of ‘Maybe’, namely ‘[TyVarBndr]’
      In the first argument of ‘Maybe’, namely
        ‘(Cxt, Maybe [TyVarBndr], Type, Maybe Kind, [Con], [Type])’
      In the type signature:
        unDataInstD :: Dec
                       -> Maybe (Cxt, Maybe [TyVarBndr], Type, Maybe Kind, [Con], [Type])
   |
52 | unDataInstD :: Dec -> Maybe (Cxt, Maybe [TyVarBndr], Type, Maybe Kind, [Con], [Type])
   |                                          ^^^^^^^^^

src/Language/Haskell/TH/Compat/Data/Current.hs:63:45: error:
    • Expecting one more argument to ‘TyVarBndr’
      Expected a type, but ‘TyVarBndr’ has kind ‘* -> *’
    • In the first argument of ‘Maybe’, namely ‘[TyVarBndr]’
      In the first argument of ‘Maybe’, namely
        ‘(Cxt, Maybe [TyVarBndr], Type, Maybe Kind, Con, [Type])’
      In the type signature:
        unNewtypeInstD :: Dec
                          -> Maybe (Cxt, Maybe [TyVarBndr], Type, Maybe Kind, Con, [Type])
   |
63 | unNewtypeInstD :: Dec -> Maybe (Cxt, Maybe [TyVarBndr], Type, Maybe Kind, Con, [Type])
   |                                             ^^^^^^^^^
 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