#964824 hdevtools: FTBFS with GHC 8.8

Package:
src:hdevtools
Source:
hdevtools
Submitter:
Sebastian Ramacher
Date:
2022-06-05 08:57:35 UTC
Severity:
serious
Tags:
#964824#5
Date:
2020-07-10 21:25:09 UTC
From:
To:
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

#964824#10
Date:
2020-08-02 10:30:08 UTC
From:
To:
hdevtools is currently unmaintained:

https://github.com/hdevtools/hdevtools/issues/97

If no-one steps up, we will have to remove it from Debian.

#964824#19
Date:
2022-06-05 08:56:38 UTC
From:
To:
Dear submitter,

as the package hdevtools has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1011217

The version of this package that was in Debian prior to this removal
can still be found using http://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
ftpmaster@ftp-master.debian.org.

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)