[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#566331: ghc6-6.12.1-2 FTBFS in s390.



Package: ghc6
Version: 6.10.4-1
Severity: serious

Hi.

The error:

utils/haddock/src/Haddock/Interface/AttachInstances.hs:28:19:
    Module `TcRnDriver' does not export `tcRnGetInfo'

The related line in utils/haddock/src/Haddock/Interface/AttachInstances.hs is:

import TcRnDriver (tcRnGetInfo)

This function is used only once, in:

-- | Like GHC's getInfo but doesn't cut things out depending on the
-- interative context, which we don't set sufficiently anyway.
getAllInfo :: GhcMonad m => Name -> m (Maybe (TyThing,Fixity,[Instance]))
getAllInfo name = withSession $ \hsc_env -> ioMsg $ tcRnGetInfo hsc_env name

The problem is that this function is only exported by
compiler/typecheck/TcRnDriver if GHCI is available:

module TcRnDriver (
#ifdef GHCI
        tcRnStmt, tcRnExpr, tcRnType,
        tcRnLookupRdrName,
        tcRnLookupName,
        tcRnGetInfo,
        getModuleExports, 
#endif

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.30-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ghc6 depends on:
ii  gcc                       4:4.4.2-2      The GNU C compiler
ii  libc6                     2.10.2-2       GNU C Library: Shared libraries
ii  libffi-dev                3.0.9~rc3-1    Foreign Function Interface library
ii  libffi5                   3.0.9~rc3-1    Foreign Function Interface library
ii  libgmp3-dev               2:4.3.1+dfsg-3 Multiprecision arithmetic library 
ii  libgmp3c2                 2:4.3.1+dfsg-3 Multiprecision arithmetic library
ii  perl [perl5]              5.10.1-8       Larry Wall's Practical Extraction 

ghc6 recommends no packages.

Versions of packages ghc6 suggests:
ii  ghc6-doc                      6.10.4-1   Documentation for the Glasgow Hask
ii  ghc6-prof                     6.10.4-1   Profiling libraries for the Glasgo
pn  haskell-doc                   <none>     (no description available)

-- no debconf information



Reply to: