It looks to me that the problem is caused by an outdated libraries/base repo. Have you run ./sync-all pull? In particular, your libraries/base repo needs to be at ab9e8e3… or later.
Let me know if this was indeed the problem! Thanks, Richard On Aug 11, 2013, at 2:21 AM, Dr. ERDI Gergo wrote: > Hi, > > I cannot compile GHC starting from e8aa8ccb 'Implement "roles" into GHC'. The > error message I get is: > >>>>>>>>>>>>>>>>>>>>>>>>>> > *** Core Lint errors : in result of Desugar (after optimization) *** > {-# LINE 290 "libraries/terminfo/System/Console/Terminfo/Base.hs #-}: Warning: > [RHS of System.Console.Terminfo.Base.mkCallback :: > System.Console.Terminfo.Base.CharOutput -> > GHC.Types.IO (GHC.Ptr.FunPtr System.Console.Terminfo.Base.CharOutput)] > > Role incompatibility: expected P, got R > in Sym Foreign.C.Types.NTCo:CInt[0] > -> (GHC.Types.IO (Sym Foreign.C.Types.NTCo:CInt[0]))_R > <<<<<<<<<<<<<<<<<<<<<<<< > > followed by a dump of Core (see attached). > > -- > > .--= ULLA! =-----------------. > \ http://gergo.erdi.hu \ > `---= ge...@erdi.hu =-------' > chown -R us.us yourbase > (#gnome)<ghclog.txt>_______________________________________________ > ghc-devs mailing list > ghc-devs@haskell.org > http://www.haskell.org/mailman/listinfo/ghc-devs _______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs