Subject: Re: bug#19056: Guix 0.7 fails to build in Debian Wheezy mipsel

From: [email-masked] (Ludovic Courtès)
Date: Sat, 15 Nov 2014 19:02:04 +0100

Bruno Félix Rezende Ribeiro <[email-masked]> skribis:

> This machine is a Lemote Yeeloong 8101B (Loongson 2F processor --
> MIPS64), running Debian Wheezy mipsel port.
>
> Building Guix 0.7 on it fails with the following error:
>
>   ice-9/boot-9.scm:106:20: In procedure make_objcode_from_file: 
>     bad header on object file: "GOOF----LE-8-2.0"
>
> Configuration and build logs are attached (config.log and make.log,
> respectively).
>
> This bug seems to be related to a bug reported by Andreas:
>
> http://lists.gnu.org/archive/html/bug-guix/2013-02/msg00192.html 
>
> Shouldn't it have been fixed by now?

This was fixed in Guile commit cc2948a, which appeared in Guile 2.0.9
(April 2013).

I’m reluctant to adding a workaround for it in Guix because it’s already
been fixed in pretty old Guile versions (although we still support as
old as 2.0.5.)

Thus, for now, I’d recommend either upgrading Guile, or removing
--target= in Guix’s Makefile.am.

Does that work for you?

Thanks,
Ludo’.