From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: Problems running 'check-system' Date: Mon, 08 May 2017 16:20:01 +0200 Message-ID: <87pofjmnvy.fsf@gnu.org> References: <8737cn3jmj.fsf@gmail.com> <87k25zfjlz.fsf@gnu.org> <8737cl10xe.fsf@gmail.com> <87wp9v8ez3.fsf@gnu.org> <87r2zzc1jz.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d7jWC-0004eC-Hm for guix-devel@gnu.org; Mon, 08 May 2017 10:20:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d7jW8-000523-9Y for guix-devel@gnu.org; Mon, 08 May 2017 10:20:08 -0400 In-Reply-To: <87r2zzc1jz.fsf@gmail.com> (Chris Marusich's message of "Sun, 07 May 2017 23:20:16 -0700") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Chris Marusich Cc: guix-devel@gnu.org Hi Chris, Chris Marusich skribis: > I think I might have finally found the reason. When I remove the > "--pure" from the invocation, the "installed-os" test runs successfully > on my GuixSD machine. It seems that, for some reason, "--pure" was the > cause of the failure. That's surprising to me, since my expectation was > that Guix's tests should work just fine in a pure environment. Could > this be a bug? When using =E2=80=98--pure=E2=80=99, there=E2=80=99s no =E2=80=98git=E2=80= =99 command in $PATH. So my guess would be that this changes the content of (current-guix), which uses =E2=80=98git-predicate=E2=80=99. In particular, your =E2=80=98current-guix=E2=80=99 package ends up including guile-2.0.9.tar.xz file, because it cannot determine that it=E2=80=99s not = under version control, and then the build process of the =E2=80=98guix=E2=80=99 p= ackage fails because this file already exists and is read-only. QED! :-) That=E2=80=99s a limitation of =E2=80=98git-predicate=E2=80=99 in its curre= nt form. Eventually we=E2=80=99ll require =E2=80=98guile-git=E2=80=99 and we won=E2=80=99t have= that problem. In the meantime, the workaround is to add Git to your environment: guix environment guix --ad-hoc git --pure Thanks for debugging it, and I HTH! Ludo=E2=80=99.