guix-patches
[Top][All Lists]
Advanced

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

[bug#27529] Guix system tests


From: Ludovic Courtès
Subject: [bug#27529] Guix system tests
Date: Thu, 27 Jul 2017 16:57:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Hi,

Danny Milosavljevic <address@hidden> skribis:

> Yes, but I'd like the system tests to run successfully first.
>
> Even without the patch, lots and lots of system tests, including 
> installed-os, failed for me (in guix environment guix --fallback --pure).
>
> So next I tried to isolate the environment more and more, using a networked 
> container.
>
> $ guix environment guix --fallback --pure -C -N --expose=/var/guix 
> --expose=/gnu/store
> [env]$ ln -s /var/guix /etc/guix
> [env]$ make check-system
>
> I get:
> ----------------------------------------------
> phase `patch-source-shebangs' succeeded after 5.6 seconds
> starting phase `copy-bootstrap-guile'
> Backtrace:
> In ice-9/boot-9.scm:
>  160: 13 [catch #t #<catch-closure 8c5b40> ...]
> In unknown file:
>    ?: 12 [apply-smob/1 #<catch-closure 8c5b40>]
> In ice-9/boot-9.scm:
>   66: 11 [call-with-prompt prompt0 ...]
> In ice-9/eval.scm:
>  432: 10 [eval # #]
> In ice-9/boot-9.scm:
> 2412: 9 [save-module-excursion #<procedure 8e6840 at ice-9/boot-9.scm:4084:3 
> ()>]
> 4089: 8 [#<procedure 8e6840 at ice-9/boot-9.scm:4084:3 ()>]
> 1734: 7 [%start-stack load-stack #<procedure 8f6ba0 at 
> ice-9/boot-9.scm:4080:10 ()>]
> 1739: 6 [#<procedure 8f8960 ()>]
> In unknown file:
>    ?: 5 [primitive-load 
> "/gnu/store/i079v3fgvxkxwz2ml0islbz2dyphkzqh-guix-0.13.0-4.f1ddfe4+-guile-builder"]
> In ice-9/eval.scm:
>  387: 4 [eval # ()]
> In srfi/srfi-1.scm:
>  827: 3 [every1 #<procedure aca140 at 
> /gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/gnu-build-system.scm:649:9
>  (expr)> ...]
> In 
> /gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/gnu-build-system.scm:
>  653: 2 [#<procedure aca140 at 
> /gnu/store/a42pfdz8w5qxdkp6xz8783ydywmp0p8p-module-import/guix/build/gnu-build-system.scm:649:9
>  (expr)> #]
> In ice-9/eval.scm:
>  432: 1 [eval # #]
> In unknown file:
>    ?: 0 [copy-file 
> "/gnu/store/dgncc5wmw8prxq09y71hqjc6g7rxqvvb-guile-2.0.9.tar.xz" ...]
>
> ERROR: In procedure copy-file:
> ERROR: In procedure copy-file: Permission denied

Someone reported it before: this error happens while building
‘current-guix’, and it happens because guile-2.0.9.tar.xz is already
present in the source tree under gnu/packages/bootstrap, and it’s
read-only.

Why is it already present?  Because the environment you created above
lacks Git, and thus ‘git-predicate’ cannot determine which files are
part of the Guix checkout and which files are byproducts.  Thus, it
considers that all the files present in your directory are part of the
checkout, including that guile-2.0.9.tar.xz file.  Hence the error.

The fix is to add Git to the environment.

HTH!

Ludo’.





reply via email to

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