Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #281856

Bug#964824: hdevtools: FTBFS with GHC 8.8

From Sebastian Ramacher <sramacher@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#964824: hdevtools: FTBFS with GHC 8.8
Date 2020-07-10 23:30 +0200
Message-ID <Ar8KJ-52M-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

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

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#964824: hdevtools: FTBFS with GHC 8.8 Sebastian Ramacher <sramacher@debian.org> - 2020-07-10 23:30 +0200
  Processed: Re: Bug#964824: hdevtools: FTBFS with GHC 8.8 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2020-08-02 12:40 +0200

csiph-web