From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Marusich Subject: Re: Problems running 'check-system' Date: Wed, 10 May 2017 00:26:20 -0700 Message-ID: <87a86lp3z7.fsf@gmail.com> References: <8737cn3jmj.fsf@gmail.com> <87k25zfjlz.fsf@gnu.org> <8737cl10xe.fsf@gmail.com> <87wp9v8ez3.fsf@gnu.org> <87r2zzc1jz.fsf@gmail.com> <87pofjmnvy.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8M0x-00059i-MC for guix-devel@gnu.org; Wed, 10 May 2017 03:26:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8M0u-0006sv-I2 for guix-devel@gnu.org; Wed, 10 May 2017 03:26:27 -0400 In-Reply-To: <87pofjmnvy.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 08 May 2017 16:20:01 +0200") 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: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ludo@gnu.org (Ludovic Court=C3=A8s) writes: > 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 includ= ing > guile-2.0.9.tar.xz file, because it cannot determine that it=E2=80=99s no= t under > version control, and then the build process of the =E2=80=98guix=E2=80=99= package 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 cur= rent form. Eventually > we=E2=80=99ll require =E2=80=98guile-git=E2=80=99 and we won=E2=80=99t ha= ve 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. You're right. The test passed when I added "--ad-hoc git". Your explanation makes sense. Thank you for bearing with me and taking the time to help me figure this out! =2D-=20 Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEy/WXVcvn5+/vGD+x3UCaFdgiRp0FAlkSwJwACgkQ3UCaFdgi Rp2Jmg/9Fbd+y06j17/DNFezk4ZLS4iNHDG01+p5bTfDTYZ40l3gy8x/fayyco7D /i0Ci/2fojRr/VTENczU3kr2oad7bgPquAwj37s5TrWmjpKE1LEkhBUp2+7u0L06 S7NDdEeQsL69rIEgA01PyAUC6k9vFETg0IyNrM+gyY9edqJqik2TUTa1qnQc5bax 7h/HV5iWuUe36wORYdnpBIK41Aah59Ptlh2Nu9s2ikFVNcb3sPCUSbc5vnhPDGjf ZRqAqugnKvDAb35ssiKk4OfIJ6a7xO5Rmu6VzDT6wayaiUt9ideaF/1miBI/pPMM an798AdQZPlgH8NoRhzgL+i0Lcw4gUe7aJfXZUeiFKzqpR7MgVHiNQtcaMk2zWcm ee08tAujOTIxriOnOjwcH02fticdQUnf02FKbWNlO/9dJ90KJHp0b/xTiPbePcs7 W2lmJKv/mDajXo5/7glbLd3TYs31+0WQVgNIEKnJmhpUTpM24dve0yWXM3lkpKSo JKvmpALNfdSQnjTYknDYEo7iVBNauXZj/JbrkV/ofMX/+h3cuc1rEsNEW07fmiKf XCHRp4XZZQvi8v5EOBvY2nvveExJQ6ifEsBRueUx78nCgMTfE/nKqmbyW1lsNlSQ ogNX6V1I9QDBf1KdheHEttNzPlF6xvPP+f3/8gRpgUjE6+3L75k= =TgJp -----END PGP SIGNATURE----- --=-=-=--