Recent HEAD breakage in libraries/base/Data/Maybe.hs:67:7

Karel Gardas karel.gardas at centrum.cz
Sat Feb 19 08:17:41 CET 2011


Hello,

yesterday night build of HEAD fails with:

libraries/base/Data/Maybe.hs:67:7:
Can't find interface-file declaration for data constructor GHC.Generics.Inl
Probable cause: bug in .hi-boot file, or inconsistent .hi file
Use -ddump-if-trace to get an idea of which file caused the error
In the pattern: GHC.Generics.Inl (g2 :: GHC.Generics.Unit)
In a case alternative:
GHC.Generics.Inl (g2 :: GHC.Generics.Unit) -> Nothing
In the expression:
case g1 of {
GHC.Generics.Inl (g2 :: GHC.Generics.Unit) -> Nothing
GHC.Generics.Inr g2 -> Just g2 }
libraries/base/Data/Maybe.hs:67:7:
Can't find interface-file declaration for data constructor GHC.Generics.Inl
Probable cause: bug in .hi-boot file, or inconsistent .hi file
Use -ddump-if-trace to get an idea of which file caused the error
In the expression: GHC.Generics.Inl GHC.Generics.Unit
In an equation for `Data.Maybe.$gfromMaybe':
Data.Maybe.$gfromMaybe Nothing = GHC.Generics.Inl GHC.Generics.Unit
gmake[1]: *** [libraries/base/dist-install/build/Data/Maybe.o] Error 1
gmake: *** [all] Error 2

on OpenSolaris, FreeBSD and MacOS X builders:

http://darcs.haskell.org/ghcBuilder/builders/kgardas-opensolaris-x86-head/135/8.html
http://darcs.haskell.org/ghcBuilder/builders/pgj/277/8.html
http://darcs.haskell.org/ghcBuilder/builders/tn23/261/8.html

I'm reporting this since it might be overlooked by the Team since 
surprisingly simon's hosts do not report this failure and build HEAD 
just fine.

Thanks,
Karel



More information about the Cvs-ghc mailing list