[web-devel] Workaround for "ghc: panic! (the 'impossible' happened)" when building yesod 0.8 on ghc 7.0.2 on arch (bug 5004)

Max Cantor mxcantor at gmail.com
Sat Apr 23 05:30:37 CEST 2011


thanks!  about an hour into building, I get this error:

cannot satisfy -package utf8-string 0.3.6-48af...
    utf8-string-0.3.6-inplace is shadowed by package utf8-string-0.3.6-48af7e77f29b232f389e99d0a9a1d604
    utf8-string-0.3.6-48af7e77f29b232f389e99d0a9a1d604 is unusable due to missing or recursive dependencies:
      base-4.3.1.0-c33a1741503ded8a0170884e8a2e4fa2 bytestring-0.9.1.10-6aa1efbfa95d1689fc03d61e7c4b27c4
    (use -v for more information)

any tips?  since makepkg -si starts from the beginning trial-and-error will be a bit difficult here.

thanks again,
max



On Apr 23, 2011, at 8:10 AM, Helgi Kristvin Sigurbjarnarson wrote:

> On Fri, Apr 22, 2011 at 08:48:54PM +0800, Max Cantor wrote:
>> Has anyone run into this bug (http://hackage.haskell.org/trac/ghc/ticket/5004) that prevents yesod from building on arch?
>> 
>> if so, whats the work around?
>> 
>> max
> 
> Use abs to get the latest ghc PKGBUILD* and edit the file by adding
> 
>    options=(!strip)
> 
> somewhere and rebuild it with makepkg -si (that sould rebuild ghc
> without stripping and reinstall with pacman afterwards).
> 
> Something like this:
> 
>    # pacman -S abs
>    # abs
>    $ cp -r /var/abs/extra/ghc /tmp/ghc
>    $ cd /tmp/ghc
>    $ vi PGKBUILD
>    [add the option]
>    $ makepkg -si
> 
> -- 
> Helgi Kristvin Sigurbjarnarson <helgikrs (at) gmail (dot) com>
> _______________________________________________
> web-devel mailing list
> web-devel at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel




More information about the web-devel mailing list