Bug#964824: hdevtools: FTBFS with GHC 8.8

Sebastian Ramacher sramacher at debian.org
Fri Jul 10 22:25:09 BST 2020


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
-- 
Sebastian Ramacher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20200710/cdcb451b/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list