Re: Safe Haskell validate failure

2011-08-11 Thread Daniel Fischer
On Thursday 11 August 2011, 19:23:28, David Terei wrote: > Hmmm thats annoying. So the issue is that you need to have the base > package trusted. Originally packages were untrusted by default. I > changed that so that packages are now trusted by default. However that > change to Cabal didn't make i

Re: Safe Haskell validate failure

2011-08-11 Thread David Terei
Hmmm thats annoying. So the issue is that you need to have the base package trusted. Originally packages were untrusted by default. I changed that so that packages are now trusted by default. However that change to Cabal didn't make it into 7.2.1. So you need to do this for your bootstrapping 7.2.1

Safe Haskell validate failure

2011-08-11 Thread Daniel Fischer
On a freshly pulled repo, I get > Creating compiler/stage1/build/Config.hs ... > done. > [ 1 of 66] Compiling Distribution.Compat.Exception ( > libraries/Cabal/cabal/Distribution/Compat/Exception.hs, > bootstrapping/Distribution/Compat/Exception.o ) [ 2 of 66] Compiling > Distribution.GetOpt ( lib

Re: Safe Haskell validate failure

2011-08-09 Thread David Terei
On 9 August 2011 14:32, Ian Lynagh wrote: > On Tue, Aug 09, 2011 at 09:16:44PM +, Simon Peyton-Jones wrote: >> |  > Or is the patch only in the upstream Cabal? In which case, it should be >> pulled >> |  into the GHC repos before committing, no?  Else validate fails. >> | >> |  No I learnt fr

Re: Safe Haskell validate failure

2011-08-09 Thread Ian Lynagh
On Tue, Aug 09, 2011 at 09:16:44PM +, Simon Peyton-Jones wrote: > | > Or is the patch only in the upstream Cabal? In which case, it should be > pulled > | into the GHC repos before committing, no?  Else validate fails. > | > | No I learnt from my mistake last time (I hope so anyway!) and

RE: Safe Haskell validate failure

2011-08-09 Thread Simon Peyton-Jones
| > Or is the patch only in the upstream Cabal? In which case, it should be pulled | into the GHC repos before committing, no?  Else validate fails. | | No I learnt from my mistake last time (I hope so anyway!) and manually | sync'd our lagging Cabal with upstream after pushing the patch. A

Re: Safe Haskell validate failure

2011-08-09 Thread David Terei
know if not. > > Simon > > |  -Original Message- > |  From: davidte...@gmail.com [mailto:davidte...@gmail.com] On Behalf Of David > |  Terei > |  Sent: 09 August 2011 19:38 > |  To: Simon Peyton-Jones > |  Cc: cvs-ghc@haskell.org > |  Subject: Re: Safe Haskell valid

RE: Safe Haskell validate failure

2011-08-09 Thread Simon Peyton-Jones
d... maybe it'll work this time. I'll let you know if not. Simon | -Original Message- | From: davidte...@gmail.com [mailto:davidte...@gmail.com] On Behalf Of David | Terei | Sent: 09 August 2011 19:38 | To: Simon Peyton-Jones | Cc: cvs-ghc@haskell.org | Subject: Re: S

Re: Safe Haskell validate failure

2011-08-09 Thread David Terei
On 9 August 2011 00:34, Simon Peyton-Jones wrote: > I’m getting this on a clean validate on Windows > >     base:Prelude can't be safely imported! The package (base) the module > resides in isn't trusted. > > Any ideas? > You need to pull in a recent path to Cabal. Cheers, David ___

Safe Haskell validate failure

2011-08-09 Thread Simon Peyton-Jones
I'm getting this on a clean validate on Windows base:Prelude can't be safely imported! The package (base) the module resides in isn't trusted. Any ideas? Simon "inplace/bin/ghc-stage1.exe" -H32m -O -Wall -Werror -H64m -O0 -package-name old-locale-1.0.0.3 -hide-all-packages -i -ilibrar