[GHC] #7958: 'Cannot continue after interface file error' during compilation
GHC
ghc-devs at haskell.org
Mon Jun 3 13:57:05 CEST 2013
#7958: 'Cannot continue after interface file error' during compilation
--------------------------------------+-------------------------------------
Reporter: jstolarek | Owner:
Type: bug | Status: new
Priority: normal | Component: Compiler
Version: 7.7 | Keywords:
Os: Unknown/Multiple | Architecture: Unknown/Multiple
Failure: GHC rejects valid program | Blockedby:
Blocking: | Related:
--------------------------------------+-------------------------------------
I'm trying to compile [http://hackage.haskell.org/package/test-framework-
hunit `test-framework-hunit-0.3.0`] library using HEAD. Running these
commands:
{{{
ghc Setup.lhs && \
./Setup configure --user --enable-shared && \
./Setup build && ./Setup install
}}}
gives me this error:
{{{
Installing package test-framework-hunit-0.3.0
[1 of 1] Compiling Main ( Setup.lhs, Setup.o )
Linking Setup ...
Configuring test-framework-hunit-0.3.0...
Building test-framework-hunit-0.3.0...
Preprocessing library test-framework-hunit-0.3.0...
[1 of 1] Compiling Test.Framework.Providers.HUnit (
Test/Framework/Providers/HUnit.hs,
dist/build/Test/Framework/Providers/HUnit.o )
/home/killy/.cabal/lib/x86_64-linux-ghc-7.7.20130602/test-
framework-0.8/Test/Framework/Core.hi
Declaration for Test
Constructor Test.Framework.Core.Test:
Iface type variable out of scope: i
Cannot continue after interface file error
}}}
This error refers to `test-framework-0.8`, which is a previously installed
library (also compiled with HEAD) that `test-framework-hunit` depends on.
This didn't happen on HEAD 12 days ago, so I think it must be some recent
change that broke this.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/7958>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list