[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#27529] Guix system tests
From: |
Danny Milosavljevic |
Subject: |
[bug#27529] Guix system tests |
Date: |
Thu, 27 Jul 2017 14:55:26 +0200 |
Hi Ludo,
On Wed, 26 Jul 2017 10:43:50 +0200
address@hidden (Ludovic Courtès) wrote:
> Hello,
>
> Mathieu Othacehe <address@hidden> skribis:
>
> >> That makes sense to me.
> >>
> >> Mathieu, WDYT?
> >
> > Sorry for the late answer. Yes, this patch LGTM too.
>
> So I think you can go ahead with this patch, Danny.
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
note: keeping build directory `/tmp/guix-build-guix-0.13.0-4.f1ddfe4+.drv-2'
cannot build derivation
`/gnu/store/qn63kv6kwjxp3azigm225ixpq18nsw8i-installed-os.drv': 1 dependencies
couldn't be built
----------------------------------------------
Please please can we disable the automatic ellipsisaztion ?
> ?: 0 [copy-file
> "/gnu/store/dgncc5wmw8prxq09y71hqjc6g7rxqvvb-guile-2.0.9.tar.xz" ...]
^^^ grr
So I manually checked the relevant parts of
./gnu/packages/package-management.scm :
(target (string-append "gnu/packages/bootstrap/"
arch "-linux/"
"/guile-"
(boot-guile-version arch)
".tar.xz")))
(mkdir-p (dirname target)) ;XXX: eventually unneeded
(copy-file guile target)))
(copy "i686")
(copy "x86_64")
(copy "mips64el")
(copy "armhf")
(copy "aarch64")
Not sure what the problem is. Help?