guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#26366: Building Guix from within a container


From: Clément Lassieur
Subject: bug#26366: Building Guix from within a container
Date: Thu, 13 Apr 2017 18:45:32 +0200
User-agent: mu4e 0.9.18; emacs 25.2.1

Clément Lassieur <address@hidden> writes:
> Clément Lassieur <address@hidden> writes:
>> Clément Lassieur <address@hidden> 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.

Another example just happened here:
https://gnunet.org/bot/log/guix/2017-04-13#T1353026.

--8<---------------cut here---------------start------------->8---
I'm trying to build guix from git. I use 'guix environment guix', and
get 'configure: error: C preprocessor "/lib/cpp" fails sanity
check'. Anything else I need? I'm trying to follow
https://www.gnu.org/software/guix/manual/html_node/Building-from-Git.html
--8<---------------cut here---------------end--------------->8---

To be clear, it seems that there are different bugs, with one solution
(--container).  That's why I talk about it in this thread.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]