Bug#809159: ghc-mod: FTBFS: Gap.hs:256:18: Not in scope: data constructor `ExposePackageId'

Chris Lamb lamby at debian.org
Sun Dec 27 17:17:53 UTC 2015


Source: ghc-mod
Version: 5.2.1.2-1
Severity: serious
Justification: fails to build from source
User: reproducible-builds at lists.alioth.debian.org
Usertags: ftbfs
X-Debbugs-Cc: reproducible-builds at lists.alioth.debian.org

Dear Maintainer,

ghc-mod fails to build from source in unstable/amd64:

  [..]

  
  [ 6 of 38] Compiling Language.Haskell.GhcMod.Error ( Language/Haskell/GhcMod/Error.hs, dist-ghc/build/Language/Haskell/GhcMod/Error.o )
  
  Language/Haskell/GhcMod/Error.hs:12:1: Warning:
      Module `Control.Monad.Error' is deprecated:
        Use Control.Monad.Except instead
  
  Language/Haskell/GhcMod/Error.hs:40:10: Warning:
      In the use of type constructor or class `Error'
      (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
      Deprecated: "Use Control.Monad.Trans.Except instead"
  
  Language/Haskell/GhcMod/Error.hs:40:10: Warning:
      In the use of type constructor or class `Error'
      (imported from Control.Monad.Error, but defined in Control.Monad.Trans.Error):
      Deprecated: "Use Control.Monad.Trans.Except instead"
  [ 7 of 38] Compiling Language.Haskell.GhcMod.Utils ( Language/Haskell/GhcMod/Utils.hs, dist-ghc/build/Language/Haskell/GhcMod/Utils.o )
  
  Language/Haskell/GhcMod/Utils.hs:15:1: Warning:
      The import of `Control.Applicative' is redundant
        except perhaps to import instances from `Control.Applicative'
      To import instances alone, use: import Control.Applicative()
  
  Language/Haskell/GhcMod/Utils.hs:45:51: Warning:
      In the use of `strMsg'
      (imported from Language.Haskell.GhcMod.Error, but defined in Control.Monad.Trans.Error):
      Deprecated: "Use Control.Monad.Trans.Except instead"
  [ 8 of 38] Compiling Language.Haskell.GhcMod.Types ( Language/Haskell/GhcMod/Types.hs, dist-ghc/build/Language/Haskell/GhcMod/Types.o )
  [ 9 of 38] Compiling Language.Haskell.GhcMod.Gap ( Language/Haskell/GhcMod/Gap.hs, dist-ghc/build/Language/Haskell/GhcMod/Gap.o )
  
  Language/Haskell/GhcMod/Gap.hs:256:18:
      Not in scope: data constructor `ExposePackageId'
      Perhaps you meant `ExposePackage' (imported from DynFlags)
  /usr/share/cdbs/1/class/hlibrary.mk:147: recipe for target 'build-ghc-stamp' failed
  make: *** [build-ghc-stamp] Error 1

  [..]

The full build log is attached.


Regards,

-- 
      ,''`.
     : :'  :     Chris Lamb
     `. `'`      lamby at debian.org / chris-lamb.co.uk
       `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ghc-mod.5.2.1.2-1.unstable.amd64.log.txt.gz
Type: application/octet-stream
Size: 2235 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20151227/f453fd34/attachment.obj>


More information about the Pkg-haskell-maintainers mailing list