Bug#1015150: haskell-product-isomorphic FTBFS: The constructor ‘PlainTV’ should have 2 arguments, but has been given 1

Adrian Bunk bunk at debian.org
Sat Jul 16 20:39:02 BST 2022


Source: haskell-product-isomorphic
Version: 0.0.3.3-2
Severity: serious
Tags: ftbfs bookworm sid

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

...
src/Data/Functor/ProductIsomorphic/TH/Internal.hs:47:10: error:
    • The constructor ‘PlainTV’ should have 2 arguments, but has been given 1
    • In the pattern: PlainTV n
      In an equation for ‘getTV’: getTV (PlainTV n) = n
      In an equation for ‘recordInfo'’:
          recordInfo'
            = d
            where
                d (TyConI tcon)
                  = do (tcn, bs, r) <- ... <|> ...
                       ....
                d _ = Nothing
                getTV (PlainTV n) = n
                getTV (KindedTV n _) = n
                buildT tcn vns = foldl' appT (conT tcn) [varT vn | vn <- vns]
   |
47 |   getTV (PlainTV n)    =  n
   |          ^^^^^^^^^
 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