Bug#1015284: haskell-githash FTBFS: error: Couldn't match expected type

Adrian Bunk bunk at debian.org
Mon Jul 18 21:41:30 BST 2022


Source: haskell-githash
Version: 0.1.4.0-1
Severity: serious
Tags: ftbfs bookworm sid

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

...
test/GitHashSpec.hs:14:21: error:
    • Couldn't match expected type: Language.Haskell.TH.Syntax.Code
                                      Language.Haskell.TH.Syntax.Q t0
                  with actual type: Language.Haskell.TH.Syntax.Q
                                      (Language.Haskell.TH.Syntax.TExp (Either String GitInfo))
    • In the expression: tGitInfoCwdTry
      In the Template Haskell splice $$tGitInfoCwdTry
      In the expression: $$tGitInfoCwdTry
    • Relevant bindings include
        egi :: t0 (bound at test/GitHashSpec.hs:14:13)
   |
14 |         let egi = $$tGitInfoCwdTry
   |                     ^^^^^^^^^^^^^^
 at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 107.
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run_quiet("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 131
	Debian::Debhelper::Buildsystem::Haskell::Recipes::run("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 642
	Debian::Debhelper::Buildsystem::Haskell::Recipes::build_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