Safe haskell issues building HEAD using 7.2.1

David Terei davidterei at gmail.com
Thu Sep 8 00:13:56 CEST 2011


On 6 September 2011 20:33, Corey O'Connor <coreyoconnor at gmail.com> wrote:
> I'm running into a lot of issues like the following:
>
> libraries/hoopl/src/Compiler/Hoopl/Collections.hs:14:1:
>    base:Data.List can't be safely imported! The package (base) the
> module resides in isn't trusted.
>
> Which can be resolved by adding "-trust base" to the build options. Is
> this necessary?

You should do this instead of changing the build options:

$ ghc-pkg trust base

Unfortunately yes it's necessary with ghc-7.2.1. Its basically a bug
though and you shouldn't run into it once 7.4.1 is released. Think of
it as a little bonus scar for using a technical preview version of ghc
:).

Cheers,
David



More information about the Cvs-ghc mailing list