<div dir="ltr">I don't understand the root cause, but I run into this once and installing cabal HEAD fixed it for me.</div><div class="gmail_extra"><br><div class="gmail_quote">2015-11-27 15:31 GMT+00:00 Simon Peyton Jones <span dir="ltr"><<a href="mailto:simonpj@microsoft.com" target="_blank">simonpj@microsoft.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal"><span style="font-size:12.0pt">Can anyone confirm that Trac #11122 is fixed in HEAD?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">When I try to reproduce it, I tried this,
<b>with a freshly-built HEAD</b><u></u><u></u></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:12.0pt">cabal install parsec --with-ghc=/home/simonpj/5builds/HEAD-5/inplace/bin/ghc-stage2<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">But that fails as below, with a bizarre “bad interface file” error.   Does anyone have a clue about what’s happening?  Does it work for you?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Simon<u></u><u></u></span></p>
<p>cabal install parsec --with-ghc=/home/simonpj/5builds/HEAD-5/inplace/bin/ghc-stage2<u></u><u></u></p>
<p>Resolving dependencies...<u></u><u></u></p>
<p>Configuring mtl-2.2.1...<u></u><u></u></p>
<p>Building mtl-2.2.1...<u></u><u></u></p>
<p>Preprocessing library mtl-2.2.1...<u></u><u></u></p>
<p>[ 1 of 22] Compiling Control.Monad.Writer.Class ( Control/Monad/Writer/Class.hs, dist/build/Control/Monad/Writer/Class.o )<u></u><u></u></p>
<p>[ 2 of 22] Compiling Control.Monad.State.Class ( Control/Monad/State/Class.hs, dist/build/Control/Monad/State/Class.o )<u></u><u></u></p>
<p>[ 3 of 22] Compiling Control.Monad.Reader.Class ( Control/Monad/Reader/Class.hs, dist/build/Control/Monad/Reader/Class.o )<u></u><u></u></p>
<p>[ 4 of 22] Compiling Control.Monad.RWS.Class ( Control/Monad/RWS/Class.hs, dist/build/Control/Monad/RWS/Class.o )<u></u><u></u></p>
<p>[ 5 of 22] Compiling Control.Monad.Identity ( Control/Monad/Identity.hs, dist/build/Control/Monad/Identity.o )<u></u><u></u></p>
<p>[ 6 of 22] Compiling Control.Monad.Error.Class ( Control/Monad/Error/Class.hs, dist/build/Control/Monad/Error/Class.o )<u></u><u></u></p>
<p>[ 7 of 22] Compiling Control.Monad.Cont.Class ( Control/Monad/Cont/Class.hs, dist/build/Control/Monad/Cont/Class.o )<u></u><u></u></p>
<p>[ 8 of 22] Compiling Control.Monad.Trans ( Control/Monad/Trans.hs, dist/build/Control/Monad/Trans.o )<u></u><u></u></p>
<p>[ 9 of 22] Compiling Control.Monad.Error ( Control/Monad/Error.hs, dist/build/Control/Monad/Error.o )<u></u><u></u></p>
<p>[10 of 22] Compiling Control.Monad.Except ( Control/Monad/Except.hs, dist/build/Control/Monad/Except.o )<u></u><u></u></p>
<p>[11 of 22] Compiling Control.Monad.List ( Control/Monad/List.hs, dist/build/Control/Monad/List.o )<u></u><u></u></p>
<p>[12 of 22] Compiling Control.Monad.RWS.Lazy ( Control/Monad/RWS/Lazy.hs, dist/build/Control/Monad/RWS/Lazy.o )<u></u><u></u></p>
<p>[13 of 22] Compiling Control.Monad.RWS ( Control/Monad/RWS.hs, dist/build/Control/Monad/RWS.o )<u></u><u></u></p>
<p>[14 of 22] Compiling Control.Monad.Reader ( Control/Monad/Reader.hs, dist/build/Control/Monad/Reader.o )<u></u><u></u></p>
<p>[15 of 22] Compiling Control.Monad.RWS.Strict ( Control/Monad/RWS/Strict.hs, dist/build/Control/Monad/RWS/Strict.o )<u></u><u></u></p>
<p>[16 of 22] Compiling Control.Monad.State.Lazy ( Control/Monad/State/Lazy.hs, dist/build/Control/Monad/State/Lazy.o )<u></u><u></u></p>
<p>[17 of 22] Compiling Control.Monad.State ( Control/Monad/State.hs, dist/build/Control/Monad/State.o )<u></u><u></u></p>
<p>[18 of 22] Compiling Control.Monad.State.Strict ( Control/Monad/State/Strict.hs, dist/build/Control/Monad/State/Strict.o )<u></u><u></u></p>
<p>[19 of 22] Compiling Control.Monad.Writer.Lazy ( Control/Monad/Writer/Lazy.hs, dist/build/Control/Monad/Writer/Lazy.o )<u></u><u></u></p>
<p>[20 of 22] Compiling Control.Monad.Writer ( Control/Monad/Writer.hs, dist/build/Control/Monad/Writer.o )<u></u><u></u></p>
<p>[21 of 22] Compiling Control.Monad.Writer.Strict ( Control/Monad/Writer/Strict.hs, dist/build/Control/Monad/Writer/Strict.o )<u></u><u></u></p>
<p>[22 of 22] Compiling Control.Monad.Cont ( Control/Monad/Cont.hs, dist/build/Control/Monad/Cont.o )<u></u><u></u></p>
<p>In-place registering mtl-2.2.1...<u></u><u></u></p>
<p>Creating package registration file: /tmp/pkgConf-mtl-2.253500.1<u></u><u></u></p>
<p>Installing library in<u></u><u></u></p>
<p>/home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/mtl_29yPYQfz4VvKtYIFBb0Wdp<u></u><u></u></p>
<p>Registering mtl-2.2.1...<u></u><u></u></p>
<p>Installed mtl-2.2.1<u></u><u></u></p>
<p>Downloading text-1.2.1.3...<u></u><u></u></p>
<p>Failed to install text-1.2.1.3<u></u><u></u></p>
<p>cabal: Error: some packages failed to install:<u></u><u></u></p>
<p>parsec-3.1.9 depends on text-1.2.1.3 which failed to install.<u></u><u></u></p>
<p>text-1.2.1.3 failed while downloading the package. The exception was:<u></u><u></u></p>
<p><socket: 10>: hGetBufSome: resource vanished (Connection reset by peer)<u></u><u></u></p>
<p>simonpj@cam-05-unx:~/5builds/HEAD-5$ cabal install parsec --with-ghc=/home/simonpj/5builds/HEAD-5/inplace/bin/ghc-stage2<u></u><u></u></p>
<p>Resolving dependencies...<u></u><u></u></p>
<p>Downloading text-1.2.1.3...<u></u><u></u></p>
<p>Configuring text-1.2.1.3...<u></u><u></u></p>
<p>Building text-1.2.1.3...<u></u><u></u></p>
<p>Preprocessing library text-1.2.1.3...<u></u><u></u></p>
<p>[ 1 of 44] Compiling Data.Text.Internal.Read ( Data/Text/Internal/Read.hs, dist/build/Data/Text/Internal/Read.o )<u></u><u></u></p>
<p>[ 2 of 44] Compiling Data.Text.Internal.Encoding.Utf32 ( Data/Text/Internal/Encoding/Utf32.hs, dist/build/Data/Text/Internal/Encoding/Utf32.o )<u></u><u></u></p>
<p>[ 3 of 44] Compiling Data.Text.Internal.Builder.RealFloat.Functions ( Data/Text/Internal/Builder/RealFloat/Functions.hs, dist/build/Data/Text/Internal/Builder/RealFloat/Functions.o )<u></u><u></u></p>
<p>[ 4 of 44] Compiling Data.Text.Internal.Builder.Int.Digits ( Data/Text/Internal/Builder/Int/Digits.hs, dist/build/Data/Text/Internal/Builder/Int/Digits.o )<u></u><u></u></p>
<p>[ 5 of 44] Compiling Data.Text.Encoding.Error ( Data/Text/Encoding/Error.hs, dist/build/Data/Text/Encoding/Error.o )<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text/Encoding/Error.hs:3:14: warning:<u></u><u></u></p>
<p>    ‘Data.Text.Encoding.Error’ is marked as Trustworthy but has been inferred as safe!<u></u><u></u></p>
<p>[ 6 of 44] Compiling Data.Text.Internal.Unsafe.Shift ( Data/Text/Internal/Unsafe/Shift.hs, dist/build/Data/Text/Internal/Unsafe/Shift.o )<u></u><u></u></p>
<p>[ 7 of 44] Compiling Data.Text.Internal.Encoding.Utf16 ( Data/Text/Internal/Encoding/Utf16.hs, dist/build/Data/Text/Internal/Encoding/Utf16.o )<u></u><u></u></p>
<p>[ 8 of 44] Compiling Data.Text.Internal.Functions ( Data/Text/Internal/Functions.hs, dist/build/Data/Text/Internal/Functions.o )<u></u><u></u></p>
<p>[ 9 of 44] Compiling Data.Text.Internal.Unsafe ( Data/Text/Internal/Unsafe.hs, dist/build/Data/Text/Internal/Unsafe.o )<u></u><u></u></p>
<p>[10 of 44] Compiling Data.Text.Array  ( Data/Text/Array.hs, dist/build/Data/Text/Array.o )<u></u><u></u></p>
<p>[11 of 44] Compiling Data.Text.Internal.Unsafe.Char ( Data/Text/Internal/Unsafe/Char.hs, dist/build/Data/Text/Internal/Unsafe/Char.o )<u></u><u></u></p>
<p>[12 of 44] Compiling Data.Text.Internal ( Data/Text/Internal.hs, dist/build/Data/Text/Internal.o )<u></u><u></u></p>
<p>[13 of 44] Compiling Data.Text.Internal.Fusion.Size ( Data/Text/Internal/Fusion/Size.hs, dist/build/Data/Text/Internal/Fusion/Size.o )<u></u><u></u></p>
<p>[14 of 44] Compiling Data.Text.Internal.Fusion.Types ( Data/Text/Internal/Fusion/Types.hs, dist/build/Data/Text/Internal/Fusion/Types.o )<u></u><u></u></p>
<p>[15 of 44] Compiling Data.Text.Internal.Fusion.CaseMapping ( Data/Text/Internal/Fusion/CaseMapping.hs, dist/build/Data/Text/Internal/Fusion/CaseMapping.o )<u></u><u></u></p>
<p>[16 of 44] Compiling Data.Text.Internal.Fusion.Common ( Data/Text/Internal/Fusion/Common.hs, dist/build/Data/Text/Internal/Fusion/Common.o )<u></u><u></u></p>
<p>[17 of 44] Compiling Data.Text.Unsafe ( Data/Text/Unsafe.hs, dist/build/Data/Text/Unsafe.o )<u></u><u></u></p>
<p>[18 of 44] Compiling Data.Text.Internal.Private ( Data/Text/Internal/Private.hs, dist/build/Data/Text/Internal/Private.o )<u></u><u></u></p>
<p>[19 of 44] Compiling Data.Text.Internal.Fusion ( Data/Text/Internal/Fusion.hs, dist/build/Data/Text/Internal/Fusion.o )<u></u><u></u></p>
<p>[20 of 44] Compiling Data.Text.Show   ( Data/Text/Show.hs, dist/build/Data/Text/Show.o )<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text/Show.hs:57:11: warning:<u></u><u></u></p>
<p>    Rule "TEXT literal UTF8" may never fire<u></u><u></u></p>
<p>      because ‘unpackCStringUtf8#’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘unpackCStringUtf8#’<u></u><u></u></p>
<p>[21 of 44] Compiling Data.Text.Internal.Encoding.Fusion.Common ( Data/Text/Internal/Encoding/Fusion/Common.hs, dist/build/Data/Text/Internal/Encoding/Fusion/Common.o )<u></u><u></u></p>
<p>[22 of 44] Compiling Data.Text.Internal.Encoding.Utf8 ( Data/Text/Internal/Encoding/Utf8.hs, dist/build/Data/Text/Internal/Encoding/Utf8.o )<u></u><u></u></p>
<p>[23 of 44] Compiling Data.Text.Internal.Encoding.Fusion ( Data/Text/Internal/Encoding/Fusion.hs, dist/build/Data/Text/Internal/Encoding/Fusion.o )<u></u><u></u></p>
<p>[24 of 44] Compiling Data.Text.Encoding ( Data/Text/Encoding.hs, dist/build/Data/Text/Encoding.o )<u></u><u></u></p>
<p>[25 of 44] Compiling Data.Text.Internal.Lazy.Encoding.Fusion ( Data/Text/Internal/Lazy/Encoding/Fusion.hs, dist/build/Data/Text/Internal/Lazy/Encoding/Fusion.o )<u></u><u></u></p>
<p>[26 of 44] Compiling Data.Text.Internal.Search ( Data/Text/Internal/Search.hs, dist/build/Data/Text/Internal/Search.o )<u></u><u></u></p>
<p>[27 of 44] Compiling Data.Text.Foreign ( Data/Text/Foreign.hs, dist/build/Data/Text/Foreign.o )<u></u><u></u></p>
<p>[28 of 44] Compiling Data.Text        ( Data/Text.hs, dist/build/Data/Text.o )<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text.hs:558:1: warning:<u></u><u></u></p>
<p>    Rule "TEXT compareN/length -> compareLength" may never fire<u></u><u></u></p>
<p>      because ‘length’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘length’<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text.hs:563:1: warning:<u></u><u></u></p>
<p>    Rule "TEXT ==N/length -> compareLength/==EQ" may never fire<u></u><u></u></p>
<p>      because ‘length’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘length’<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text.hs:568:1: warning:<u></u><u></u></p>
<p>    Rule "TEXT /=N/length -> compareLength//=EQ" may never fire<u></u><u></u></p>
<p>      because ‘length’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘length’<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text.hs:573:1: warning:<u></u><u></u></p>
<p>    Rule "TEXT <N/length -> compareLength/==LT" may never fire<u></u><u></u></p>
<p>      because ‘length’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘length’<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text.hs:578:1: warning:<u></u><u></u></p>
<p>    Rule "TEXT <=N/length -> compareLength//=GT" may never fire<u></u><u></u></p>
<p>      because ‘length’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘length’<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text.hs:583:1: warning:<u></u><u></u></p>
<p>    Rule "TEXT >N/length -> compareLength/==GT" may never fire<u></u><u></u></p>
<p>      because ‘length’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘length’<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text.hs:588:1: warning:<u></u><u></u></p>
<p>    Rule "TEXT >=N/length -> compareLength//=LT" may never fire<u></u><u></u></p>
<p>      because ‘length’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘length’<u></u><u></u></p>
<p>[29 of 44] Compiling <a href="http://Data.Text.Internal.IO" target="_blank">Data.Text.Internal.IO</a> ( Data/Text/Internal/IO.hs, dist/build/Data/Text/Internal/IO.o )<u></u><u></u></p>
<p>[30 of 44] Compiling <a href="http://Data.Text.IO" target="_blank">Data.Text.IO</a>     ( Data/Text/IO.hs, dist/build/Data/Text/IO.o )<u></u><u></u></p>
<p>[31 of 44] Compiling Data.Text.Internal.Lazy ( Data/Text/Internal/Lazy.hs, dist/build/Data/Text/Internal/Lazy.o )<u></u><u></u></p>
<p>[32 of 44] Compiling Data.Text.Internal.Lazy.Fusion ( Data/Text/Internal/Lazy/Fusion.hs, dist/build/Data/Text/Internal/Lazy/Fusion.o )<u></u><u></u></p>
<p>[33 of 44] Compiling Data.Text.Internal.Lazy.Search ( Data/Text/Internal/Lazy/Search.hs, dist/build/Data/Text/Internal/Lazy/Search.o )<u></u><u></u></p>
<p>[34 of 44] Compiling Data.Text.Lazy.Internal ( Data/Text/Lazy/Internal.hs, dist/build/Data/Text/Lazy/Internal.o )<u></u><u></u></p>
<p>[35 of 44] Compiling Data.Text.Lazy.Encoding ( Data/Text/Lazy/Encoding.hs, dist/build/Data/Text/Lazy/Encoding.o )<u></u><u></u></p>
<p>[36 of 44] Compiling Data.Text.Lazy   ( Data/Text/Lazy.hs, dist/build/Data/Text/Lazy.o )<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text/Lazy.hs:403:11: warning:<u></u><u></u></p>
<p>    Rule "TEXT literal UTF8" may never fire<u></u><u></u></p>
<p>      because ‘unpackCStringUtf8#’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘unpackCStringUtf8#’<u></u><u></u></p>
<p>[37 of 44] Compiling Data.Text.Internal.Builder ( Data/Text/Internal/Builder.hs, dist/build/Data/Text/Internal/Builder.o )<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text/Internal/Builder.hs:311:1: warning:<u></u><u></u></p>
<p>    Rule "flush/flush" may never fire<u></u><u></u></p>
<p>      because ‘flush’ might inline first<u></u><u></u></p>
<p>    Probable fix: add an INLINE[n] or NOINLINE[n] pragma for ‘flush’<u></u><u></u></p>
<p>[38 of 44] Compiling Data.Text.Lazy.Builder ( Data/Text/Lazy/Builder.hs, dist/build/Data/Text/Lazy/Builder.o )<u></u><u></u></p>
<p>[39 of 44] Compiling Data.Text.Internal.Builder.Functions ( Data/Text/Internal/Builder/Functions.hs, dist/build/Data/Text/Internal/Builder/Functions.o )<u></u><u></u></p>
<p>[40 of 44] Compiling <a href="http://Data.Text.Lazy.Builder.Int" target="_blank">Data.Text.Lazy.Builder.Int</a> ( Data/Text/Lazy/Builder/Int.hs, dist/build/Data/Text/Lazy/Builder/Int.o )<u></u><u></u></p>
<p>[41 of 44] Compiling <a href="http://Data.Text.Lazy.IO" target="_blank">Data.Text.Lazy.IO</a> ( Data/Text/Lazy/IO.hs, dist/build/Data/Text/Lazy/IO.o )<u></u><u></u></p>
<p>[42 of 44] Compiling Data.Text.Lazy.Read ( Data/Text/Lazy/Read.hs, dist/build/Data/Text/Lazy/Read.o )<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Data/Text/Lazy/Read.hs:3:14: warning:<u></u><u></u></p>
<p>    ‘Data.Text.Lazy.Read’ is marked as Trustworthy but has been inferred as safe!<u></u><u></u></p>
<p>[43 of 44] Compiling Data.Text.Lazy.Builder.RealFloat ( Data/Text/Lazy/Builder/RealFloat.hs, dist/build/Data/Text/Lazy/Builder/RealFloat.o )<u></u><u></u></p>
<p>[44 of 44] Compiling Data.Text.Read   ( Data/Text/Read.hs, dist/build/Data/Text/Read.o )<u></u><u></u></p>
<p>In-place registering text-1.2.1.3...<u></u><u></u></p>
<p>Creating package registration file: /tmp/pkgConf-text-1.2.118076.3<u></u><u></u></p>
<p>Installing library in<u></u><u></u></p>
<p>/home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/text_5Rq52TgwV3S3ky6aLF96ly<u></u><u></u></p>
<p>Registering text-1.2.1.3...<u></u><u></u></p>
<p>Installed text-1.2.1.3<u></u><u></u></p>
<p>Configuring parsec-3.1.9...<u></u><u></u></p>
<p>Building parsec-3.1.9...<u></u><u></u></p>
<p>Preprocessing library parsec-3.1.9...<u></u><u></u></p>
<p>[ 1 of 25] Compiling Text.Parsec.Pos  ( Text/Parsec/Pos.hs, dist/build/Text/Parsec/Pos.o )<u></u><u></u></p>
<p>[ 2 of 25] Compiling Text.Parsec.Error ( Text/Parsec/Error.hs, dist/build/Text/Parsec/Error.o )<u></u><u></u></p>
<p>[ 3 of 25] Compiling Text.ParserCombinators.Parsec.Error ( Text/ParserCombinators/Parsec/Error.hs, dist/build/Text/ParserCombinators/Parsec/Error.o )<u></u><u></u></p>
<p>[ 4 of 25] Compiling Text.Parsec.Prim ( Text/Parsec/Prim.hs, dist/build/Text/Parsec/Prim.o )<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:75:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/text_5Rq52TgwV3S3ky6aLF96ly/Data/Text.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  text-1.2.1.3@text-1.2.1.3-97fb94aeb32201606fe5187cbce5d852:Data.Text differs from name found in the interface file text_5Rq52TgwV3S3ky6aLF96ly:Data.Text<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:76:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/text_5Rq52TgwV3S3ky6aLF96ly/Data/Text/Lazy.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  text-1.2.1.3@text-1.2.1.3-97fb94aeb32201606fe5187cbce5d852:Data.Text.Lazy differs from name found in the interface file text_5Rq52TgwV3S3ky6aLF96ly:Data.Text.Lazy<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:80:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/mtl_29yPYQfz4VvKtYIFBb0Wdp/Control/Monad/Trans.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  mtl-2.2.1@mtl-2.2.1-fd5d2a6f3b4f2b35d982c365df381a09:Control.Monad.Trans differs from name found in the interface file mtl_29yPYQfz4VvKtYIFBb0Wdp:Control.Monad.Trans<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:81:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/mtl_29yPYQfz4VvKtYIFBb0Wdp/Control/Monad/Identity.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  mtl-2.2.1@mtl-2.2.1-fd5d2a6f3b4f2b35d982c365df381a09:Control.Monad.Identity differs from name found in the interface file mtl_29yPYQfz4VvKtYIFBb0Wdp:Control.Monad.Identity<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:83:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/mtl_29yPYQfz4VvKtYIFBb0Wdp/Control/Monad/Reader/Class.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  mtl-2.2.1@mtl-2.2.1-fd5d2a6f3b4f2b35d982c365df381a09:Control.Monad.Reader.Class differs from name found in the interface file mtl_29yPYQfz4VvKtYIFBb0Wdp:Control.Monad.Reader.Class<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:84:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/mtl_29yPYQfz4VvKtYIFBb0Wdp/Control/Monad/State/Class.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  mtl-2.2.1@mtl-2.2.1-fd5d2a6f3b4f2b35d982c365df381a09:Control.Monad.State.Class differs from name found in the interface file mtl_29yPYQfz4VvKtYIFBb0Wdp:Control.Monad.State.Class<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:85:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/mtl_29yPYQfz4VvKtYIFBb0Wdp/Control/Monad/Cont/Class.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  mtl-2.2.1@mtl-2.2.1-fd5d2a6f3b4f2b35d982c365df381a09:Control.Monad.Cont.Class differs from name found in the interface file mtl_29yPYQfz4VvKtYIFBb0Wdp:Control.Monad.Cont.Class<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>Text/Parsec/Prim.hs:86:1: error:<u></u><u></u></p>
<p>    Bad interface file: /home/simonpj/.cabal/lib/x86_64-linux-ghc-7.11.20151125/mtl_29yPYQfz4VvKtYIFBb0Wdp/Control/Monad/Error/Class.hi<u></u><u></u></p>
<p>        Something is amiss; requested module  mtl-2.2.1@mtl-2.2.1-fd5d2a6f3b4f2b35d982c365df381a09:Control.Monad.Error.Class differs from name found in the interface file mtl_29yPYQfz4VvKtYIFBb0Wdp:Control.Monad.Error.Class<u></u><u></u></p>
<p>Failed to install parsec-3.1.9<u></u><u></u></p>
<p>cabal: Error: some packages failed to install:<u></u><u></u></p>
<p>parsec-3.1.9 failed during the building phase. The exception was:<u></u><u></u></p>
<p>ExitFailure 1<u></u><u></u></p>
<p>simonpj@cam-05-unx:~/5builds/HEAD-5$ /home/simonpj/5builds/HEAD-5/inplace/bin/ghc-pkg list<u></u><u></u></p>
<p>/5playpen/simonpj/HEAD-5/inplace/lib/package.conf.d:<u></u><u></u></p>
<p>    Cabal-1.23.0.0<u></u><u></u></p>
<p>    array-0.5.1.0<u></u><u></u></p>
<p>    base-4.9.0.0<u></u><u></u></p>
<p>    binary-0.7.5.0<u></u><u></u></p>
<p>    bytestring-0.10.6.0<u></u><u></u></p>
<p>    containers-0.5.6.2<u></u><u></u></p>
<p>    deepseq-1.4.2.0<u></u><u></u></p>
<p>    directory-1.2.5.0<u></u><u></u></p>
<p>    filepath-1.4.1.0<u></u><u></u></p>
<p>    (ghc-7.11.20151125)<u></u><u></u></p>
<p>    ghc-boot-0.0.0.0<u></u><u></u></p>
<p>    ghc-prim-0.5.0.0<u></u><u></u></p>
<p>    haskeline-0.7.2.1<u></u><u></u></p>
<p>    hoopl-3.10.2.0<u></u><u></u></p>
<p>    hpc-0.6.0.2<u></u><u></u></p>
<p>    integer-gmp-1.0.0.0<u></u><u></u></p>
<p>    pretty-1.1.2.0<u></u><u></u></p>
<p>    process-1.4.1.0<u></u><u></u></p>
<p>    rts-1.0<u></u><u></u></p>
<p>    template-haskell-2.11.0.0<u></u><u></u></p>
<p>    terminfo-0.4.0.1<u></u><u></u></p>
<p>    time-1.5.0.1<u></u><u></u></p>
<p>    transformers-0.4.3.0<u></u><u></u></p>
<p>    unix-2.7.1.0<u></u><u></u></p>
<p>    xhtml-3000.2.1<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>/home/simonpj/.ghc/x86_64-linux-7.11.20151125/package.conf.d:<u></u><u></u></p>
<p>    mtl-2.2.1<u></u><u></u></p>
<p>    text-1.2.1.3<u></u><u></u></p>
<p><u></u> <u></u></p>
<p>simonpj@cam-05-unx:~/5builds/HEAD-5$<u></u><u></u></p>
</div>
</div>

<br>_______________________________________________<br>
ghc-devs mailing list<br>
<a href="mailto:ghc-devs@haskell.org">ghc-devs@haskell.org</a><br>
<a href="http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs" rel="noreferrer" target="_blank">http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs</a><br>
<br></blockquote></div><br></div>