unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Lassieur" <clement@lassieur.org>
To: 26366@debbugs.gnu.org
Subject: bug#26366: Building Guix from within a container
Date: Thu, 06 Apr 2017 17:10:26 +0200	[thread overview]
Message-ID: <87pogpwp0d.fsf@lassieur.org> (raw)
In-Reply-To: <87y3vfvy4k.fsf@lassieur.org>

Clément Lassieur <clement@lassieur.org> writes:
> Clément Lassieur <clement@lassieur.org> writes:
>
>> Hi,
>>
>> I had a lot of trouble building Guix recently (is it related with Guile
>> 2.2?).  Or it did build but then 'guix' command produced things like:
>>
>> ;;; WARNING: loading compiled file /home/clement/.config/guix/latest/guix/ui.go failed:
>> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01�\x00\x00\x00\x00\x00\x00\x00\x00"
>> ;;; note: source file /home/clement/.config/guix/latest/guix/ui.scm
>> ;;;       newer than compiled /gnu/store/my64yq4r2ii0bblvsbfnjq5bnkivvn07-guix-0.12.0-5.1162/share/guile/site/2.0/guix/ui.go
>> ;;; WARNING: loading compiled file /home/clement/.config/guix/latest/guix/utils.go failed:
>> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01�\x00\x00\x00\x00\x00\x00\x00\x00"
>> ;;; note: source file /home/clement/.config/guix/latest/guix/utils.scm
>> ;;;       newer than compiled /gnu/store/my64yq4r2ii0bblvsbfnjq5bnkivvn07-guix-0.12.0-5.1162/share/guile/site/2.0/guix/utils.go
>> ;;; WARNING: loading compiled file /home/clement/.config/guix/latest/guix/config.go failed:
>> ;;; ERROR: In procedure make_objcode_from_file: bad header on object file: "\x7fELF\x02\x01\x01�\x00\x00\x00\x00\x00\x00\x00\x00"
>> ;;; note: source file /home/clement/.config/guix/latest/guix/config.scm
>> ;;;       newer than compiled /gnu/store/my64yq4r2ii0bblvsbfnjq5bnkivvn07-guix-0.12.0-5.1162/share/guile/site/2.0/guix/config.go
>>
>> I finally got it to work by using 'guix environment -C -N guix'.  Is it
>> the right way to build Guix?  If so, here is a patch that updates the
>> documentation.
>
> I forgot to say that I can't reproduce those issues anymore.  I'm pretty
> confident --container helped, but I can't say why for sure.

Actually, the error described here on #guix
(https://gnunet.org/bot/log/guix/2017-04-06#T1346052) might be the one I
had:

checking how to run the C preprocessor... /lib/cpp” -> configure: error. 

It seems that --pure solved it, which might be an alternative solution.
But anyway it looks like there are a few corner cases for which just
running 'guix environment guix' won't work.

  reply	other threads:[~2017-04-06 15:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-05  7:48 bug#26366: Building Guix from within a container Clément Lassieur
2017-04-05  7:49 ` bug#26366: [PATCH] doc: Specify that Guix should be built " Clément Lassieur
2017-04-08 12:40   ` Ludovic Courtès
2017-04-13 16:29     ` Clément Lassieur
2017-04-13 21:23       ` Ludovic Courtès
2017-04-13 21:32         ` Clément Lassieur
2017-04-14  7:54           ` Ludovic Courtès
2017-04-05 12:26 ` bug#26366: Building Guix " Clément Lassieur
2017-04-06 15:10   ` Clément Lassieur [this message]
2017-04-13 16:45     ` Clément Lassieur
2017-04-13 21:24       ` Ludovic Courtès
2017-04-13 21:27         ` Clément Lassieur
2017-04-08 12:38 ` Ludovic Courtès
2017-04-08 12:57   ` Pjotr Prins
2017-04-08 13:54     ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87pogpwp0d.fsf@lassieur.org \
    --to=clement@lassieur.org \
    --cc=26366@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).