Ian
| 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
I think this may be my fault. Pedro is implementing his new generic stuff for
GHC. I created a new repo on d.h.o, as
/home/darcs/ghc-generic-15Feb11
The ghc/ subdirectory is a separate repo, but I sym-linked all packages so that
/home/darcs/ghc-generic-15Feb11/packages --> /home/darcs/packages
This latter was a mistake because Pedro needs to change packages ghc-prim and
base, so they should be separate repos. The rest can be shared I think.
I think Pedro pushed a patch to ghc-prim which consequently broke HEAD.
Do you think you could give ghc-generic-15Feb11 separate ghc-prim and base
repos? And then revert Pedro's patch on the head?
I think you are more likely to do this correctly than me! Thanks
Simon
-----Original Message-----
From: [email protected] [mailto:[email protected]] On
Behalf Of Karel Gardas
Sent: 19 February 2011 07:18
To: [email protected]
Subject: Recent HEAD breakage in libraries/base/Data/Maybe.hs:67:7
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
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc
_______________________________________________
Cvs-ghc mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-ghc