Bug#1013775: haskell-language-haskell-extract FTBFS: error: Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
Adrian Bunk
bunk at debian.org
Sat Jun 25 16:12:46 BST 2022
Source: haskell-language-haskell-extract
Version: 0.2.4-10
Severity: serious
Tags: ftbfs bookworm sid
https://buildd.debian.org/status/package.php?p=haskell-language-haskell-extract&suite=sid
...
src/Language/Haskell/Extract.hs:28:30: error:
• Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
• In the expression: LitE $ StringL n
In the first argument of ‘TupE’, namely
‘[LitE $ StringL n, VarE $ mkName n]’
In the expression: TupE [LitE $ StringL n, VarE $ mkName n]
|
28 | let makePair n = TupE [ LitE $ StringL n , VarE $ mkName n]
| ^^^^^^^^^^^^^^^^
src/Language/Haskell/Extract.hs:28:49: error:
• Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
• In the expression: VarE $ mkName n
In the first argument of ‘TupE’, namely
‘[LitE $ StringL n, VarE $ mkName n]’
In the expression: TupE [LitE $ StringL n, VarE $ mkName n]
|
28 | let makePair n = TupE [ LitE $ StringL n , VarE $ mkName 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 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