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

Helgi Kristvin Sigurbjarnarson helgikrs at gmail.com
Sat Apr 23 02:10:30 CEST 2011

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


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>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110423/7e8b1df9/attachment.pgp>

More information about the web-devel mailing list