Bug#1020256: pkg-haskell-tools FTBFS: error: Couldn't match expected type
Adrian Bunk
bunk at debian.org
Sun Sep 18 22:42:59 BST 2022
Source: pkg-haskell-tools
Version: 0.12.3
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/logs.php?pkg=pkg-haskell-tools&ver=0.12.3%2Bb1
...
[4 of 4] Compiling Main ( src/make-all.hs, dist-ghc/build/make-all/make-all-tmp/Main.o )
src/make-all.hs:317:58: error:
• Couldn't match expected type ‘O.ParseError’
with actual type ‘Maybe String -> O.ParseError’
• Probable cause: ‘ShowHelpText’ is applied to too few arguments
In the third argument of ‘parserFailure’, namely ‘ShowHelpText’
In the expression:
parserFailure (prefs idm) opts ShowHelpText mempty
In an equation for ‘failure’:
failure = parserFailure (prefs idm) opts ShowHelpText mempty
|
317 | let failure = parserFailure (prefs idm) opts ShowHelpText mempty
| ^^^^^^^^^^^^
-e: error: debian/hlibrary.setup build --builddir=dist-ghc returned exit code 1
at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 852.
Debian::Debhelper::Dh_Lib::error("debian/hlibrary.setup build --builddir=dist-ghc returned exit"...) called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 596
Debian::Debhelper::Dh_Lib::error_exitcode("debian/hlibrary.setup build --builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 470
Debian::Debhelper::Dh_Lib::doit("debian/hlibrary.setup", "build", "--builddir=dist-ghc") called at /usr/share/perl5/Debian/Debhelper/Buildsystem/Haskell/Recipes.pm line 650
Debian::Debhelper::Buildsystem::Haskell::Recipes::build_recipe() called at -e line 1
make: *** [/usr/share/cdbs/1/class/hlibrary.mk:158: build-ghc-stamp] Error 25
More information about the Pkg-haskell-maintainers
mailing list