From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 05 03:48:52 2017 Received: (at submit) by debbugs.gnu.org; 5 Apr 2017 07:48:52 +0000 Received: from localhost ([127.0.0.1]:33154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvfgS-0003H9-3w for submit@debbugs.gnu.org; Wed, 05 Apr 2017 03:48:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50106) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvfgQ-0003Gv-Ow for submit@debbugs.gnu.org; Wed, 05 Apr 2017 03:48:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cvfgK-0005rq-NY for submit@debbugs.gnu.org; Wed, 05 Apr 2017 03:48:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55475) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cvfgK-0005rl-KN for submit@debbugs.gnu.org; Wed, 05 Apr 2017 03:48:44 -0400 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) User-agent: mu4e 0.9.18; emacs 25.2.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: guix-patches@gnu.org Subject: Building Guix from within a container 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 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) 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. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 05 03:50:09 2017 Received: (at 26366) by debbugs.gnu.org; 5 Apr 2017 07:50:09 +0000 Received: from localhost ([127.0.0.1]:33159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvfhh-0003Jq-Fg for submit@debbugs.gnu.org; Wed, 05 Apr 2017 03:50:09 -0400 Received: from mail.lassieur.org ([83.152.10.219]:40118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvfhg-0003Jd-7N for 26366@debbugs.gnu.org; Wed, 05 Apr 2017 03:50:08 -0400 Received: from localhost.localdomain (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id d5528f21 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for <26366@debbugs.gnu.org>; Wed, 5 Apr 2017 07:50:06 +0000 (UTC) From: =?UTF-8?q?Cl=C3=A9ment=20Lassieur?= To: 26366@debbugs.gnu.org Subject: [PATCH] doc: Specify that Guix should be built from within a container. Date: Wed, 5 Apr 2017 09:49:43 +0200 Message-Id: <20170405074943.27404-1-clement@lassieur.org> X-Mailer: git-send-email 2.12.2 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * doc/contributing.texi: add '--container' and '--network' options to the 'guix environment guix' command. --- doc/contributing.texi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/contributing.texi b/doc/contributing.texi index bbc93424b..dbafa4139 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi @@ -45,19 +45,19 @@ the installation instructions (@pxref{Requirements}). @end itemize The easiest way to set up a development environment for Guix is, of -course, by using Guix! The following command starts a new shell where -all the dependencies and appropriate environment variables are set up to -hack on Guix: +course, by using Guix! The following command starts a new shell within +an isolated container where all the dependencies and appropriate +environment variables are set up to hack on Guix: @example -guix environment guix +guix environment --container --network guix @end example @xref{Invoking guix environment}, for more information on that command. Extra dependencies can be added with @option{--ad-hoc}: @example -guix environment guix --ad-hoc help2man git strace +guix environment --container --network guix --ad-hoc help2man git strace @end example Run @command{./bootstrap} to generate the build system infrastructure -- 2.12.2 From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 05 08:26:39 2017 Received: (at 26366) by debbugs.gnu.org; 5 Apr 2017 12:26:39 +0000 Received: from localhost ([127.0.0.1]:33289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvk1H-0003kt-7m for submit@debbugs.gnu.org; Wed, 05 Apr 2017 08:26:39 -0400 Received: from mail.lassieur.org ([83.152.10.219]:40130) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cvk1F-0003kl-Sw for 26366@debbugs.gnu.org; Wed, 05 Apr 2017 08:26:38 -0400 Received: from newt (46.218.109.88 [46.218.109.88]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 4897d106 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <26366@debbugs.gnu.org>; Wed, 5 Apr 2017 12:26:35 +0000 (UTC) References: <87inmjcn1o.fsf@lassieur.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: 26366@debbugs.gnu.org Subject: Re: bug#26366: Building Guix from within a container In-reply-to: <87inmjcn1o.fsf@lassieur.org> Date: Wed, 05 Apr 2017 14:26:35 +0200 Message-ID: <87y3vfvy4k.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Clément Lassieur 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 06 11:10:30 2017 Received: (at 26366) by debbugs.gnu.org; 6 Apr 2017 15:10:30 +0000 Received: from localhost ([127.0.0.1]:35067 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cw93O-00089c-Fe for submit@debbugs.gnu.org; Thu, 06 Apr 2017 11:10:30 -0400 Received: from mail.lassieur.org ([83.152.10.219]:40152) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cw93N-00089T-1g for 26366@debbugs.gnu.org; Thu, 06 Apr 2017 11:10:29 -0400 Received: from newt (46.218.109.88 [46.218.109.88]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 64382b15 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <26366@debbugs.gnu.org>; Thu, 6 Apr 2017 15:10:27 +0000 (UTC) References: <87inmjcn1o.fsf@lassieur.org> <87y3vfvy4k.fsf@lassieur.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: 26366@debbugs.gnu.org Subject: Re: bug#26366: Building Guix from within a container In-reply-to: <87y3vfvy4k.fsf@lassieur.org> Date: Thu, 06 Apr 2017 17:10:26 +0200 Message-ID: <87pogpwp0d.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Clément Lassieur writes: > Clément Lassieur 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 08 08:38:54 2017 Received: (at 26366) by debbugs.gnu.org; 8 Apr 2017 12:38:54 +0000 Received: from localhost ([127.0.0.1]:37190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwpdl-0005Vq-R3 for submit@debbugs.gnu.org; Sat, 08 Apr 2017 08:38:54 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51555) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwpdk-0005Vf-U2 for 26366@debbugs.gnu.org; Sat, 08 Apr 2017 08:38:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwpdb-0008FK-09 for 26366@debbugs.gnu.org; Sat, 08 Apr 2017 08:38:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwpda-0008F7-So; Sat, 08 Apr 2017 08:38:42 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:59982 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cwpda-0007u2-8N; Sat, 08 Apr 2017 08:38:42 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#26366: Building Guix from within a container References: <87inmjcn1o.fsf@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 08 Apr 2017 14:38:40 +0200 In-Reply-To: <87inmjcn1o.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Wed, 05 Apr 2017 09:48:35 +0200") Message-ID: <87fuhjqdkf.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi Cl=C3=A9ment, Cl=C3=A9ment Lassieur skribis: > 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=EF=BF=BD\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=EF=BF=BD\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=EF=BF=BD\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 These warnings come from Guile 2.0 trying to load Guile 2.2 .go files (in 2.2, .go files are ELF files; in 2.0, it=E2=80=99s a custom format.) They=E2=80=99re annoying but harmless and just mean that you have a mixture= of 2.2 and 2.0 files in GUILE_LOAD_COMPILED_PATH. HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 08 08:40:26 2017 Received: (at 26366) by debbugs.gnu.org; 8 Apr 2017 12:40:26 +0000 Received: from localhost ([127.0.0.1]:37194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwpfG-0005Ya-5n for submit@debbugs.gnu.org; Sat, 08 Apr 2017 08:40:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51769) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwpfE-0005YM-Is for 26366@debbugs.gnu.org; Sat, 08 Apr 2017 08:40:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwpf6-00014o-E6 for 26366@debbugs.gnu.org; Sat, 08 Apr 2017 08:40:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40696) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwpf6-00014i-Ah; Sat, 08 Apr 2017 08:40:16 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:60072 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cwpf5-0007xt-Jj; Sat, 08 Apr 2017 08:40:16 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#26366: [PATCH] doc: Specify that Guix should be built from within a container. References: <87inmjcn1o.fsf@lassieur.org> <20170405074943.27404-1-clement@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 08 Apr 2017 14:40:13 +0200 In-Reply-To: <20170405074943.27404-1-clement@lassieur.org> (=?utf-8?Q?=22C?= =?utf-8?Q?l=C3=A9ment?= Lassieur"'s message of "Wed, 5 Apr 2017 09:49:43 +0200") Message-ID: <87bms7qdhu.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Cl=C3=A9ment Lassieur skribis: > * doc/contributing.texi: add '--container' and '--network' options to the > 'guix environment guix' command. [...] > +course, by using Guix! The following command starts a new shell within > +an isolated container where all the dependencies and appropriate > +environment variables are set up to hack on Guix: >=20=20 > @example > -guix environment guix > +guix environment --container --network guix > @end example What=E2=80=99s the rationale? Was this to address the warnings in your fir= st message? It=E2=80=99s possible and a good way to silence the warnings you were seein= g, but it should work fine without it too. Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 08 08:57:55 2017 Received: (at 26366) by debbugs.gnu.org; 8 Apr 2017 12:57:56 +0000 Received: from localhost ([127.0.0.1]:37204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwpwB-0005yY-NS for submit@debbugs.gnu.org; Sat, 08 Apr 2017 08:57:55 -0400 Received: from mail.thebird.nl ([95.154.246.10]:39979) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwpwA-0005yJ-3r for 26366@debbugs.gnu.org; Sat, 08 Apr 2017 08:57:54 -0400 Received: by mail.thebird.nl (Postfix, from userid 502) id 515D6136719; Sat, 8 Apr 2017 14:57:46 +0200 (CEST) Date: Sat, 8 Apr 2017 12:57:46 +0000 From: Pjotr Prins To: Ludovic =?iso-8859-1?Q?Court=E8s?= Subject: Re: bug#26366: Building Guix from within a container Message-ID: <20170408125746.GA14578@mail.thebird.nl> References: <87inmjcn1o.fsf@lassieur.org> <87fuhjqdkf.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87fuhjqdkf.fsf@gnu.org> User-Agent: Mutt/1.6.2 (2016-07-01) X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org, =?iso-8859-1?Q?Cl=E9ment?= Lassieur X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) On Sat, Apr 08, 2017 at 02:38:40PM +0200, Ludovic Courtès wrote: > These warnings come from Guile 2.0 trying to load Guile 2.2 .go files > (in 2.2, .go files are ELF files; in 2.0, it’s a custom format.) > > They’re annoying but harmless and just mean that you have a mixture of > 2.2 and 2.0 files in GUILE_LOAD_COMPILED_PATH. To be honest I think we should get rid of harmless messages - or only show the first or last one (perhaps state that there are more similar messages which can be seen in debug mode). I understand that this is a guile thing, but the same holds for guix with all the warnings we get when sylinks/files are duplicated in the store. Irony is that sometimes we don't get warnings when we need them. Such as when you specify a substitute-url and if the server does not exist there is no indication. I have wasted many a time on figuring that problem out. It would be nice to have a policy where we do not show all harmless warnings by default, but only in debug mode, as well as missing services etc. I am happy to run --debug when I actually face a problem. Pj. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 08 09:55:08 2017 Received: (at 26366) by debbugs.gnu.org; 8 Apr 2017 13:55:08 +0000 Received: from localhost ([127.0.0.1]:37492 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwqpX-0000pn-Nz for submit@debbugs.gnu.org; Sat, 08 Apr 2017 09:55:08 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44505) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cwqpW-0000m3-FQ for 26366@debbugs.gnu.org; Sat, 08 Apr 2017 09:55:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cwqpL-0005zP-Kx for 26366@debbugs.gnu.org; Sat, 08 Apr 2017 09:55:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41717) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cwqpL-0005zL-HL; Sat, 08 Apr 2017 09:54:55 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:35914 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cwqpK-0003GW-Qk; Sat, 08 Apr 2017 09:54:55 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: Pjotr Prins Subject: Re: bug#26366: Building Guix from within a container References: <87inmjcn1o.fsf@lassieur.org> <87fuhjqdkf.fsf@gnu.org> <20170408125746.GA14578@mail.thebird.nl> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Sat, 08 Apr 2017 15:54:52 +0200 In-Reply-To: <20170408125746.GA14578@mail.thebird.nl> (Pjotr Prins's message of "Sat, 8 Apr 2017 12:57:46 +0000") Message-ID: <87d1cnovgz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org, =?utf-8?Q?Cl=C3=A9ment?= Lassieur X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Heya, Pjotr Prins skribis: > To be honest I think we should get rid of harmless messages - or only > show the first or last one (perhaps state that there are more similar > messages which can be seen in debug mode). I understand that this is a > guile thing, but the same holds for guix with all the warnings we get > when sylinks/files are duplicated in the store.=20 So, one thing at a time. :-) I think this specific Guile warning makes some sense, but it=E2=80=99s not a discussion for Guix here. The =E2=80=9Csylinks/files are duplicated in the store=E2=80=9D thing you= =E2=80=99re referring to is when you have the same file multiple times in a profile and you get a warning (=E2=80=9Carbitrarily choosing=E2=80=A6=E2=80=9D) when buildi= ng the profile right? I=E2=80=99ve discussed a fix long ago that would raise an error when you ha= ve real conflicts in a profile (e.g., same package twice but with different versions), rather than having these warnings. I haven=E2=80=99t gotten aro= und to implementing it yet. > Irony is that sometimes we don't get warnings when we need them. Such > as when you specify a substitute-url and if the server does not exist > there is no indication. I have wasted many a time on figuring that > problem out. The idea here is that --substitute-urls=3D"https://foo https://bar" would pick whichever of these servers is available, and silently ignore the other one (for the DNS resolution and the initial HTTP request; subsequent HTTP requests do lead to an error/warning if they fail.) We could revisit that, but no discussion will take place if there=E2=80=99s= not a bug report in the first place. :-) > It would be nice to have a policy where we do not show all harmless > warnings by default, but only in debug mode, as well as missing > services etc. I am happy to run --debug when I actually face a > problem. =E2=80=9CMissing services=E2=80=9D? I think everyone agrees on the goal. What we need is to precise list of these issues and discuss possible solutions for each of them. Thanks in advance for the upcoming bug reports! ;-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 13 12:29:56 2017 Received: (at 26366) by debbugs.gnu.org; 13 Apr 2017 16:29:56 +0000 Received: from localhost ([127.0.0.1]:45871 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyhd6-00060R-FC for submit@debbugs.gnu.org; Thu, 13 Apr 2017 12:29:56 -0400 Received: from mail.lassieur.org ([83.152.10.219]:40260) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyhd4-00060J-VK for 26366@debbugs.gnu.org; Thu, 13 Apr 2017 12:29:55 -0400 Received: from newt (46.218.109.88 [46.218.109.88]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 784a3399 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 13 Apr 2017 16:29:53 +0000 (UTC) References: <87inmjcn1o.fsf@lassieur.org> <20170405074943.27404-1-clement@lassieur.org> <87bms7qdhu.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26366: [PATCH] doc: Specify that Guix should be built from within a container. In-reply-to: <87bms7qdhu.fsf@gnu.org> Date: Thu, 13 Apr 2017 18:29:52 +0200 Message-ID: <87a87k46f3.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Ludovic Courtès writes: > Clément Lassieur skribis: > >> * doc/contributing.texi: add '--container' and '--network' options to the >> 'guix environment guix' command. > > [...] > >> +course, by using Guix! The following command starts a new shell within >> +an isolated container where all the dependencies and appropriate >> +environment variables are set up to hack on Guix: >> >> @example >> -guix environment guix >> +guix environment --container --network guix >> @end example > > What’s the rationale? Was this to address the warnings in your first > message? This was both to address the warnings in my first message, and my build error. I apologize if my message is (still) not clear, but it is difficult to reproduce those bugs, since they are state-dependent. > It’s possible and a good way to silence the warnings you were seeing, > but it should work fine without it too. I don't understand why it should work fine. Guix (or Guile-SSH, for example) both depend on Guile 2.0 (which is an input). But let's say that on my system, Guile 2.2 is installed instead. I want to build Guix (or Guile-SSH). I usually do 'guix environment guix' (or 'guix environment guile-ssh'). Then, in my opinion, 'guile --version' should output 2.0, but it outputs 2.2. Is it supposed to build with the wrong Guile? (If I do 'guix environment -C guix', then 'guile --version' outputs 2.0.) From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 13 12:45:36 2017 Received: (at 26366) by debbugs.gnu.org; 13 Apr 2017 16:45:36 +0000 Received: from localhost ([127.0.0.1]:45890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyhsG-0006OR-5X for submit@debbugs.gnu.org; Thu, 13 Apr 2017 12:45:36 -0400 Received: from mail.lassieur.org ([83.152.10.219]:40266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyhsD-0006OH-W0 for 26366@debbugs.gnu.org; Thu, 13 Apr 2017 12:45:34 -0400 Received: from newt (46.218.109.88 [46.218.109.88]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 3e523f62 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 13 Apr 2017 16:45:32 +0000 (UTC) References: <87inmjcn1o.fsf@lassieur.org> <87y3vfvy4k.fsf@lassieur.org> <87pogpwp0d.fsf@lassieur.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: 26366@debbugs.gnu.org Subject: Re: bug#26366: Building Guix from within a container In-reply-to: <87pogpwp0d.fsf@lassieur.org> Date: Thu, 13 Apr 2017 18:45:32 +0200 Message-ID: <878tn445oz.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Clément Lassieur writes: > Clément Lassieur writes: >> Clément Lassieur 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 13 17:23:21 2017 Received: (at 26366) by debbugs.gnu.org; 13 Apr 2017 21:23:21 +0000 Received: from localhost ([127.0.0.1]:46148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymD3-0008DX-9u for submit@debbugs.gnu.org; Thu, 13 Apr 2017 17:23:21 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymD0-0008DK-SH for 26366@debbugs.gnu.org; Thu, 13 Apr 2017 17:23:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cymCr-0006T1-LU for 26366@debbugs.gnu.org; Thu, 13 Apr 2017 17:23:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cymCr-0006Sx-HK; Thu, 13 Apr 2017 17:23:09 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:44862 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cymCq-0001lx-VH; Thu, 13 Apr 2017 17:23:09 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#26366: [PATCH] doc: Specify that Guix should be built from within a container. References: <87inmjcn1o.fsf@lassieur.org> <20170405074943.27404-1-clement@lassieur.org> <87bms7qdhu.fsf@gnu.org> <87a87k46f3.fsf@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 13 Apr 2017 23:23:06 +0200 In-Reply-To: <87a87k46f3.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Thu, 13 Apr 2017 18:29:52 +0200") Message-ID: <87wpao80jp.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hello! Cl=C3=A9ment Lassieur skribis: > Ludovic Court=C3=A8s writes: > >> Cl=C3=A9ment Lassieur skribis: >> >>> * doc/contributing.texi: add '--container' and '--network' options to t= he >>> 'guix environment guix' command. >> >> [...] >> >>> +course, by using Guix! The following command starts a new shell within >>> +an isolated container where all the dependencies and appropriate >>> +environment variables are set up to hack on Guix: >>>=20=20 >>> @example >>> -guix environment guix >>> +guix environment --container --network guix >>> @end example >> >> What=E2=80=99s the rationale? Was this to address the warnings in your = first >> message? > > This was both to address the warnings in my first message, and my build > error. I apologize if my message is (still) not clear, but it is > difficult to reproduce those bugs, since they are state-dependent. Yeah, I see. >> It=E2=80=99s possible and a good way to silence the warnings you were se= eing, >> but it should work fine without it too. > > I don't understand why it should work fine. Guix (or Guile-SSH, for > example) both depend on Guile 2.0 (which is an input). But let's say > that on my system, Guile 2.2 is installed instead. I want to build Guix > (or Guile-SSH). I usually do 'guix environment guix' (or 'guix > environment guile-ssh'). Then, in my opinion, 'guile --version' should > output 2.0, but it outputs 2.2. Is it supposed to build with the wrong > Guile? (If I do 'guix environment -C guix', then 'guile --version' > outputs 2.0.) =E2=80=98guix environment=E2=80=99 definitely prepends things to PATH et al. Could it be that you have variable definitions in the wrong Bash init files as noted in ? HTH! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 13 17:24:24 2017 Received: (at 26366) by debbugs.gnu.org; 13 Apr 2017 21:24:24 +0000 Received: from localhost ([127.0.0.1]:46152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymE4-0008FC-LH for submit@debbugs.gnu.org; Thu, 13 Apr 2017 17:24:24 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36143) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymE3-0008Ez-1Z for 26366@debbugs.gnu.org; Thu, 13 Apr 2017 17:24:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cymDu-0007IZ-Hv for 26366@debbugs.gnu.org; Thu, 13 Apr 2017 17:24:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38862) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cymDu-0007IM-Ey; Thu, 13 Apr 2017 17:24:14 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:44864 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cymDt-0001og-UM; Thu, 13 Apr 2017 17:24:14 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#26366: Building Guix from within a container References: <87inmjcn1o.fsf@lassieur.org> <87y3vfvy4k.fsf@lassieur.org> <87pogpwp0d.fsf@lassieur.org> <878tn445oz.fsf@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Thu, 13 Apr 2017 23:24:12 +0200 In-Reply-To: <878tn445oz.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Thu, 13 Apr 2017 18:45:32 +0200") Message-ID: <87shlc80hv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Cl=C3=A9ment Lassieur skribis: > 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 Could you send config.log? I=E2=80=99m not sure what=E2=80=99s happening h= ere. TIA, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 13 17:27:14 2017 Received: (at 26366) by debbugs.gnu.org; 13 Apr 2017 21:27:14 +0000 Received: from localhost ([127.0.0.1]:46166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymGo-0008Jd-9g for submit@debbugs.gnu.org; Thu, 13 Apr 2017 17:27:14 -0400 Received: from mail.lassieur.org ([83.152.10.219]:40362) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymGm-0008JQ-8Z for 26366@debbugs.gnu.org; Thu, 13 Apr 2017 17:27:12 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 90ee4a54 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 13 Apr 2017 21:27:10 +0000 (UTC) References: <87inmjcn1o.fsf@lassieur.org> <87y3vfvy4k.fsf@lassieur.org> <87pogpwp0d.fsf@lassieur.org> <878tn445oz.fsf@lassieur.org> <87shlc80hv.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26366: Building Guix from within a container In-reply-to: <87shlc80hv.fsf@gnu.org> Date: Thu, 13 Apr 2017 23:27:08 +0200 Message-ID: <87h91s9exf.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366 Cc: 26366@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Ludovic Courtès writes: > Clément Lassieur skribis: > >> 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 > > Could you send config.log? I’m not sure what’s happening here. This was a quote from the chat (#guix) from today. I can't reproduce this issue. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 13 17:32:35 2017 Received: (at 26366-close) by debbugs.gnu.org; 13 Apr 2017 21:32:35 +0000 Received: from localhost ([127.0.0.1]:46174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymLz-0008So-92 for submit@debbugs.gnu.org; Thu, 13 Apr 2017 17:32:35 -0400 Received: from mail.lassieur.org ([83.152.10.219]:40366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cymLw-0008Sg-PR for 26366-close@debbugs.gnu.org; Thu, 13 Apr 2017 17:32:33 -0400 Received: from rodion (88.191.118.83 [88.191.118.83]) by mail.lassieur.org (OpenSMTPD) with ESMTPSA id 2c35a976 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Thu, 13 Apr 2017 21:32:31 +0000 (UTC) References: <87inmjcn1o.fsf@lassieur.org> <20170405074943.27404-1-clement@lassieur.org> <87bms7qdhu.fsf@gnu.org> <87a87k46f3.fsf@lassieur.org> <87wpao80jp.fsf@gnu.org> User-agent: mu4e 0.9.18; emacs 25.2.1 From: =?utf-8?Q?Cl=C3=A9ment?= Lassieur To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#26366: [PATCH] doc: Specify that Guix should be built from within a container. In-reply-to: <87wpao80jp.fsf@gnu.org> Date: Thu, 13 Apr 2017 23:32:31 +0200 Message-ID: <87fuhc9eog.fsf@lassieur.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 26366-close Cc: 26366-close@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) Ludovic Courtès writes: > Hello! > > Clément Lassieur skribis: > >> Ludovic Courtès writes: >> >>> Clément Lassieur skribis: >>> >>>> * doc/contributing.texi: add '--container' and '--network' options to the >>>> 'guix environment guix' command. >>> >>> [...] >>> >>>> +course, by using Guix! The following command starts a new shell within >>>> +an isolated container where all the dependencies and appropriate >>>> +environment variables are set up to hack on Guix: >>>> >>>> @example >>>> -guix environment guix >>>> +guix environment --container --network guix >>>> @end example >>> >>> What’s the rationale? Was this to address the warnings in your first >>> message? >> >> This was both to address the warnings in my first message, and my build >> error. I apologize if my message is (still) not clear, but it is >> difficult to reproduce those bugs, since they are state-dependent. > > Yeah, I see. > >>> It’s possible and a good way to silence the warnings you were seeing, >>> but it should work fine without it too. >> >> I don't understand why it should work fine. Guix (or Guile-SSH, for >> example) both depend on Guile 2.0 (which is an input). But let's say >> that on my system, Guile 2.2 is installed instead. I want to build Guix >> (or Guile-SSH). I usually do 'guix environment guix' (or 'guix >> environment guile-ssh'). Then, in my opinion, 'guile --version' should >> output 2.0, but it outputs 2.2. Is it supposed to build with the wrong >> Guile? (If I do 'guix environment -C guix', then 'guile --version' >> outputs 2.0.) > > ‘guix environment’ definitely prepends things to PATH et al. > > Could it be that you have variable definitions in the wrong Bash init > files as noted in > ? Oh... yes that's it :) Sorry the waste of time, I should have followed the documentation. I close the bug, since I think it's all related to this. Thanks, Clément From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 14 03:54:31 2017 Received: (at 26366-done) by debbugs.gnu.org; 14 Apr 2017 07:54:31 +0000 Received: from localhost ([127.0.0.1]:46413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyw3r-000868-1R for submit@debbugs.gnu.org; Fri, 14 Apr 2017 03:54:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59207) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cyw3p-00085v-3n for 26366-done@debbugs.gnu.org; Fri, 14 Apr 2017 03:54:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cyw3f-00085V-Uw for 26366-done@debbugs.gnu.org; Fri, 14 Apr 2017 03:54:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44409) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cyw3f-00085R-RK; Fri, 14 Apr 2017 03:54:19 -0400 Received: from [193.50.110.181] (port=59748 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1cyw3e-0003VL-W6; Fri, 14 Apr 2017 03:54:19 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: =?utf-8?Q?Cl=C3=A9ment?= Lassieur Subject: Re: bug#26366: [PATCH] doc: Specify that Guix should be built from within a container. References: <87inmjcn1o.fsf@lassieur.org> <20170405074943.27404-1-clement@lassieur.org> <87bms7qdhu.fsf@gnu.org> <87a87k46f3.fsf@lassieur.org> <87wpao80jp.fsf@gnu.org> <87fuhc9eog.fsf@lassieur.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 25 Germinal an 225 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Fri, 14 Apr 2017 09:54:15 +0200 In-Reply-To: <87fuhc9eog.fsf@lassieur.org> (=?utf-8?Q?=22Cl=C3=A9ment?= Lassieur"'s message of "Thu, 13 Apr 2017 23:32:31 +0200") Message-ID: <87y3v3h1aw.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26366-done Cc: 26366-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Cl=C3=A9ment Lassieur skribis: > Ludovic Court=C3=A8s writes: [...] >> =E2=80=98guix environment=E2=80=99 definitely prepends things to PATH et= al. >> >> Could it be that you have variable definitions in the wrong Bash init >> files as noted in >> ? > > Oh... yes that's it :) Sorry the waste of time, I should have followed > the documentation. I close the bug, since I think it's all related to > this. No problem! This one often bites people=E2=80=A6 Ludo=E2=80=99. From unknown Sat Sep 06 17:05:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 12 May 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator