guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problems running 'check-system'


From: Chris Marusich
Subject: Re: Problems running 'check-system'
Date: Wed, 10 May 2017 00:26:20 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

address@hidden (Ludovic Courtès) writes:

> Hi Chris,
>
> Chris Marusich <address@hidden> 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 ‘--pure’, there’s no ‘git’ command in $PATH.  So my guess
> would be that this changes the content of (current-guix), which uses
> ‘git-predicate’.
>
> In particular, your ‘current-guix’ package ends up including
> guile-2.0.9.tar.xz file, because it cannot determine that it’s not under
> version control, and then the build process of the ‘guix’ package fails
> because this file already exists and is read-only.
>
> QED!  :-)
>
> That’s a limitation of ‘git-predicate’ in its current form.  Eventually
> we’ll require ‘guile-git’ and we won’t 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’.

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!

-- 
Chris

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]