From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55288) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cymDm-0001Uw-B4 for guix-patches@gnu.org; Thu, 13 Apr 2017 17:24:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cymDi-00079p-8y for guix-patches@gnu.org; Thu, 13 Apr 2017 17:24:06 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:47949) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cymDi-00079k-5n for guix-patches@gnu.org; Thu, 13 Apr 2017 17:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cymDi-0008EQ-13 for guix-patches@gnu.org; Thu, 13 Apr 2017 17:24:02 -0400 Subject: bug#26366: [PATCH] doc: Specify that Guix should be built from within a container. Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <87inmjcn1o.fsf@lassieur.org> <20170405074943.27404-1-clement@lassieur.org> <87bms7qdhu.fsf@gnu.org> <87a87k46f3.fsf@lassieur.org> Date: Thu, 13 Apr 2017 23:23:06 +0200 In-Reply-To: <87a87k46f3.fsf@lassieur.org> ("=?UTF-8?Q?Cl=C3=A9ment?= Lassieur"'s message of "Thu, 13 Apr 2017 18:29:52 +0200") Message-ID: <87wpao80jp.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: =?UTF-8?Q?Cl=C3=A9ment?= Lassieur Cc: 26366@debbugs.gnu.org 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.