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 compiler:

$ ghc-pkg trust base

After that it should work fine. I'll look into updating the GHC build
scripts to avoid this.

Cheers,
David

On 11 August 2011 04:50, Daniel Fischer
<[email protected]> wrote:
> 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 ( libraries/Cabal/cabal/Distribution/GetOpt.hs,
>> bootstrapping/Distribution/GetOpt.o ) [ 3 of 66] Compiling
>> Distribution.Compat.ReadP (
>> libraries/Cabal/cabal/Distribution/Compat/ReadP.hs,
>> bootstrapping/Distribution/Compat/ReadP.o ) [ 4 of 66] Compiling
>> Distribution.TestSuite (
>> libraries/Cabal/cabal/Distribution/TestSuite.hs,
>> bootstrapping/Distribution/TestSuite.o ) [ 5 of 66] Compiling
>> Distribution.Simple.PreProcess.Unlit (
>> libraries/Cabal/cabal/Distribution/Simple/PreProcess/Unlit.hs,
>> bootstrapping/Distribution/Simple/PreProcess/Unlit.o ) [ 6 of 66]
>> Compiling Distribution.ReadE (
>> libraries/Cabal/cabal/Distribution/ReadE.hs,
>> bootstrapping/Distribution/ReadE.o ) [ 7 of 66] Compiling
>> System.FilePath.Windows (
>> libraries/filepath/System/FilePath/Windows.hs,
>> bootstrapping/System/FilePath/Windows.o )
>>
>> libraries/filepath/System/FilePath/Internal.hs:81:1:
>>     base:Data.List can't be safely imported! The package (base) the
>>     module resides in isn't trusted.
>>
>> gmake[1]: *** [utils/ghc-cabal/dist/build/tmp/ghc-cabal] Fehler 1
>> gmake: *** [all] Fehler 2
>
> when the bootstrapping compiler is 7.2.1; it seems to build fine with
> 7.0.4.
>
> _______________________________________________
> 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

Reply via email to