Bug#1014006: haskell-selective FTBFS: error: Couldn't match type

Adrian Bunk bunk at debian.org
Tue Jun 28 19:14:41 BST 2022


Source: haskell-selective
Version: 0.4.1.1-1
Severity: serious
Tags: ftbfs bookworm sid

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

...
src/Control/Selective/Free.hs:46:24: error:
    • Couldn't match type: f a -> g a
                     with: forall x. f x -> g x
      Expected: (forall x. f x -> g x) -> g a
        Actual: (f a -> g a) -> g a
    • In the first argument of ‘Select’, namely ‘($ x)’
      In the expression: Select ($ x)
      In an equation for ‘liftSelect’: liftSelect x = Select ($ x)
    • Relevant bindings include
        x :: f a (bound at src/Control/Selective/Free.hs:46:12)
        liftSelect :: f a -> Select f a
          (bound at src/Control/Selective/Free.hs:46:1)
   |
46 | liftSelect x = Select ($x)
   |                        ^^
 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