From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41184) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvfgh-0007Cr-Tj for guix-patches@gnu.org; Wed, 05 Apr 2017 03:49:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvfge-00060Q-35 for guix-patches@gnu.org; Wed, 05 Apr 2017 03:49:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34955) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cvfgd-00060K-VV for guix-patches@gnu.org; Wed, 05 Apr 2017 03:49:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cvfgd-0003Hf-PG for guix-patches@gnu.org; Wed, 05 Apr 2017 03:49:03 -0400 Subject: bug#26366: Building Guix from within a container Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41049) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cvfgJ-00073Y-8b for guix-patches@gnu.org; Wed, 05 Apr 2017 03:48:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvfgF-0005nd-DB for guix-patches@gnu.org; Wed, 05 Apr 2017 03:48:43 -0400 Received: from mail.lassieur.org ([83.152.10.219]:44980) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cvfgF-0005ly-5c for guix-patches@gnu.org; Wed, 05 Apr 2017 03:48:39 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id a08b3250 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Wed, 5 Apr 2017 07:48:35 +0000 (UTC) From: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Date: Wed, 05 Apr 2017 09:48:35 +0200 Message-ID: <87inmjcn1o.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 26366@debbugs.gnu.org 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.