Source: hdevtools
Version: 0.1.8.0-1
Severity: serious
Tags: ftbfs sid bullseye
Justification: fails to build from source (but built successfully in the past)
hdevtools currently fails to build:
| [ 4 of 14] Compiling Info ( src/Info.hs, dist-ghc/build/hdevtools/hdevtools-tmp/Info.o )
|
| src/Info.hs:89:14: error:
| • Couldn't match type ‘GHC.GenLocated GHC.SrcSpan a0’
| with ‘GHC.Pat TypecheckI’
| Expected type: [GHC.LPat TypecheckI]
| Actual type: [GHC.Located a0]
| • In the expression:
| listifySpans tcs (line, col) :: [GHC.LPat TypecheckI]
| In an equation for ‘ps’:
| ps = listifySpans tcs (line, col) :: [GHC.LPat TypecheckI]
| In the expression:
| do let tcs = GHC.tm_typechecked_source tcm
| bs = ...
| ....
| bts <- mapM (getTypeLHsBind tcm) bs
| ets <- mapM (getTypeLHsExpr tcm) es
| pts <- mapM (getTypeLPat tcm) ps
| ....
| |
| 89 | ps = listifySpans tcs (line, col) :: [GHC.LPat TypecheckI]
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
| src/Info.hs:158:16: error:
| • Couldn't match type ‘GHC.GenLocated
| GHC.SrcSpan (GHC.Pat GHC.GhcTc)’
| with ‘GHC.Pat TypecheckI’
| Expected type: GHC.LPat TypecheckI
| Actual type: GHC.GenLocated GHC.SrcSpan (GHC.Pat GHC.GhcTc)
| • In the pattern: GHC.L spn pat
| In an equation for ‘getTypeLPat’:
| getTypeLPat _ (GHC.L spn pat)
| = return $ Just (spn, TcHsSyn.hsPatType pat)
| |
| 158 | getTypeLPat _ (GHC.L spn pat) = return $ Just (spn, TcHsSyn.hsPatType pat)
| | ^^^^^^^^^^^^^
| make: *** [/usr/share/cdbs/1/class/hlibrary.mk:147: build-ghc-stamp] Error 1
Cheers