[Haskell-cafe] Yesod 0.7.1 using GHC 7.0.2 on Arch Linux

Ertugrul Soeylemez es at ertes.de
Sat Mar 12 21:26:53 CET 2011


Hello there,

today I have upgraded to GHC 7.0.2 by doing a system update on my Arch
Linux box (x86, 32 bits), and I'm having difficulties to install Yesod.
Its dependencies seem to have been installed without problems, but the
Yesod package itself fails.  The complete build log follows:

    % cabal install yesod
    Resolving dependencies...
    Configuring yesod-0.7.1...
    Preprocessing library yesod-0.7.1...
    Preprocessing executables for yesod-0.7.1...
    Building yesod-0.7.1...
    [1 of 1] Compiling Yesod            ( Yesod.hs, dist/build/Yesod.o )
    Registering yesod-0.7.1...
    [1 of 2] Compiling CodeGen          ( CodeGen.hs, dist/build/yesod/yesod-tmp/CodeGen.o )
    [2 of 2] Compiling Main             ( scaffold.hs, dist/build/yesod/yesod-tmp/Main.o )
    Loading package ghc-prim ... linking ... done.
    Loading package integer-gmp ... linking ... done.
    Loading package base ... linking ... done.
    Loading package bytestring-0.9.1.10 ... linking ... done.
    Loading package base64-bytestring-0.1.0.2 ... linking ... done.
    Loading package array-0.3.0.2 ... linking ... done.
    Loading package containers-0.4.0.0 ... linking ... done.
    Loading package cereal-0.3.0.0 ... linking ... done.
    Loading package filepath-1.2.0.0 ... linking ... done.
    Loading package old-locale-1.0.0.2 ... linking ... done.
    Loading package old-time-1.0.0.6 ... linking ... done.
    Loading package unix-2.4.2.0 ... linking ... done.
    Loading package directory-1.1.0.0 ... linking ... done.
    Loading package binary-0.5.0.2 ... linking ... done.
    Loading package data-default-0.2.0.1 ... linking ... done.
    Loading package tagged-0.2 ... linking ... done.
    Loading package crypto-api-0.5.2 ... linking ... done.
    Loading package pureMD5-2.1.0.3 ... linking ... done.
    Loading package pretty-1.0.1.2 ... linking ... done.
    Loading package template-haskell ... linking ... done.
    Loading package transformers-0.2.2.0 ... linking ... done.
    Loading package deepseq-1.1.0.2 ... linking ... done.
    Loading package text-0.11.0.5 ... linking ... done.
    Loading package blaze-builder-0.2.1.4 ... linking ... done.
    Loading package blaze-html-0.4.1.0 ... linking ... done.
    Loading package file-embed-0.0.3.1 ... linking ... done.
    Loading package time-1.2.0.3 ... linking ... done.
    Loading package unix-compat-0.2.1.1 ... linking ... done.
    Loading package enumerator-0.4.7 ... linking ... done.
    Loading package mtl-2.0.1.0 ... linking ... done.
    Loading package parsec-3.1.1 ... linking ... done.
    Loading package network-2.2.1.10 ... linking ... done.
    Loading package wai-0.3.2 ... linking ... done.
    Loading package utf8-string-0.3.6 ... linking ... done.
    Loading package web-routes-0.23.4 ... linking ... done.
    Loading package wai-app-static-0.0.1.1 ... linking ... done.
    Loading package random-1.0.0.3 ... linking ... done.
    Loading package clientsession-0.4.1 ... linking ... done.
    Loading package cookie-0.0.0 ... linking ... done.
    Loading package failure-0.1.0.1 ... linking ... done.
    Loading package extensible-exceptions-0.1.1.2 ... linking ... done.
    Loading package QuickCheck-2.4.0.1 ... linking ... done.
    Loading package blaze-builder-enumerator-0.2.0.1 ... linking ... done.
    Loading package json-types-0.1 ... linking ... done.
    Loading package json-enumerator-0.0.1 ... linking ... done.
    Loading package hamlet-0.7.2 ... linking ... done.
    Loading package monad-peel-0.1 ... linking ... done.
    Loading package zlib-0.5.3.1 ... linking ... done.
    Loading package zlib-bindings-0.0.0 ... linking ... done.
    Loading package wai-extra-0.3.3 ... linking ... done.
    Loading package web-routes-quasi-0.6.3.1 ... linking ... done.
    Loading package yesod-core-0.7.0.1 ... linking ... done.
    Loading package yesod-static-0.0.0.1 ... linking ... done.
    Loading package SHA-1.4.1.3 ... linking ... done.
    Loading package RSA-1.0.6.1 ... linking ... done.
    Loading package data-object-0.3.1.6 ... linking ... done.
    Loading package attoparsec-0.8.5.0 ... linking ... done.
    Loading package bytestring-nums-0.3.2 ... linking ... done.
    Loading package bytestring-trie-0.2.3 ... linking ... done.
    Loading package JSONb-1.0.3 ... linking ... done.
    Loading package attempt-0.3.0 ... linking ... done.
    Loading package convertible-text-0.3.0.9 ... linking ... done.
    Loading package data-object-json-0.3.1.5 ... linking ... done.
    Loading package attoparsec-enumerator-0.2.0.3 ... linking ... done.
    Loading package network-bytestring-0.1.3.4 ... linking ... done.
    Loading package asn1-data-0.4.6 ... linking ... done.
    Loading package certificate-0.7.0 ... linking ... done.
    Loading package primitive-0.3.1 ... linking ... done.
    Loading package vector-0.7.0.1 ... linking ... done.
    Loading package cryptocipher-0.2.6 ... linking ... done.
    Loading package cryptohash-0.6.3 ... linking ... done.
    Loading package tls-0.3.3 ... linking ... done.
    Loading package http-enumerator-0.3.1 ... linking ... done.
    Loading package tagsoup-0.12 ... linking ... done.
    Loading package xml-1.3.7 ... linking ... done.
    Loading package authenticate-0.8.2.2 ... linking ... done.
    Loading package control-monad-attempt-0.3.0 ... linking ... done.
    Loading package dataenc-0.13.0.5 ... linking ... done.
    Loading package process-1.0.1.5 ... linking ... done.
    Loading package mime-mail-0.1.0.1 ... linking ... done.
    Loading package stm-2.2.0.1 ... linking ... done.
    Loading package pool-0.0.1 ... linking ... done.
    Loading package persistent-0.4.1 ... linking ... done.
    Loading package ranges-0.2.3 ... linking ... done.
    Loading package email-validate-0.2.6 ... linking ... done.
    Loading package xss-sanitize-0.2.6 ... linking ... done.
    Loading package yesod-persistent-0.0.0.1 ... linking ... done.
    Loading package yesod-form-0.0.0.2 ... linking ... done.
    Loading package yesod-json-0.0.0.1 ... linking ... done.
    Loading package yesod-auth-0.3.1 ... linking ... done.
    Loading package cmdargs-0.6.8 ... linking ... done.
    Loading package MonadCatchIO-mtl-0.3.0.2 ... linking ... done.
    Loading package Cabal-1.10.1.0 ... linking ... done.
    Loading package ghc-binary-0.5.0.2 ... linking ... done.
    Loading package bin-package-db-0.0.0.0 ... linking ... done.
    Loading package hpc-0.5.0.6 ... linking ... done.
    Loading package ghc-7.0.2 ... ghc: /usr/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a: no string tables, or too many
    ghc: panic! (the 'impossible' happened)
      (GHC version 7.0.2 for i386-unknown-linux):
    	loadArchive "/usr/lib/ghc-7.0.2/ghc-7.0.2/libHSghc-7.0.2.a": failed

    Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

    cabal: Error: some packages failed to install:
    yesod-0.7.1 failed during the building phase. The exception was:
    ExitFailure 1

Is this really a bug?  If yes, is it a known one?  I couldn't find
anything on the internet so far.

Many thanks in advance.


Greets,
Ertugrul


-- 
nightmare = unsafePerformIO (getWrongWife >>= sex)
http://ertes.de/





More information about the Haskell-Cafe mailing list