Bug#1015288: haskell-test-framework-th-prime FTBFS: Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
    Adrian Bunk 
    bunk at debian.org
       
    Mon Jul 18 23:22:19 BST 2022
    
    
  
Source: haskell-test-framework-th-prime
Version: 0.0.10-4
Severity: serious
Tags: ftbfs bookworm sid
https://buildd.debian.org/status/package.php?p=haskell-test-framework-th-prime&suite=sid
...
Test/Framework/TH/Prime/Parser.hs:41:20: error:
    • Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
    • In the expression: ListE (map toCase cases)
      In the first argument of ‘TupE’, namely
        ‘[ListE (map toCase cases), ListE (map toProp props)]’
      In the second argument of ‘($)’, namely
        ‘TupE [ListE (map toCase cases), ListE (map toProp props)]’
   |
41 |     return $ TupE [ListE (map toCase cases), ListE (map toProp props)]
   |                    ^^^^^^^^^^^^^^^^^^^^^^^^
Test/Framework/TH/Prime/Parser.hs:41:46: error:
    • Couldn't match expected type ‘Maybe Exp’ with actual type ‘Exp’
    • In the expression: ListE (map toProp props)
      In the first argument of ‘TupE’, namely
        ‘[ListE (map toCase cases), ListE (map toProp props)]’
      In the second argument of ‘($)’, namely
        ‘TupE [ListE (map toCase cases), ListE (map toProp props)]’
   |
41 |     return $ TupE [ListE (map toCase cases), ListE (map toProp props)]
   |                                              ^^^^^^^^^^^^^^^^^^^^^^^^
 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