unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#17935: make check failed
@ 2014-07-04 15:40 Alex Kost
  2014-07-04 17:12 ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Kost @ 2014-07-04 15:40 UTC (permalink / raw)
  To: 17935

[-- Attachment #1: Type: text/plain, Size: 147 bytes --]

Hello,

I am on i686 and I tried to build guix from git like this:
1) ./configure  (successful)
2) "make check" failed; "test-suite.log" attached


[-- Attachment #2: test-suite.log --]
[-- Type: text/plain, Size: 26440 bytes --]

====================================
   GNU Guix 0.7: ./test-suite.log
====================================

# TOTAL: 31
# PASS:  17
# SKIP:  0
# XFAIL: 0
# FAIL:  14
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/builders
====================

accepted connection from pid 6042, uid 1000
spurious SIGPOLL
spurious SIGPOLL
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
Backtrace:
In ice-9/boot-9.scm:
1724: 19 [%start-stack load-stack ...]
1729: 18 [#<procedure 8ffa5b8 ()>]
In unknown file:
   ?: 17 [primitive-load "/media/storage/src/guix/./tests/builders.scm"]
In ice-9/eval.scm:
 453: 16 [eval # ()]
In srfi/srfi-1.scm:
 578: 15 [map #<procedure 9529e40 at ice-9/eval.scm:416:20 (a)> (# # # # ...)]
In ice-9/eval.scm:
 387: 14 [eval # #]
In guix/packages.scm:
 513: 13 [cache # "i686-linux" #<procedure thunk ()>]
 588: 12 [thunk]
In srfi/srfi-1.scm:
 578: 11 [map #<procedure 9529be8 at guix/packages.scm:589:39 (t-7239)> (# # # ...)]
In guix/packages.scm:
 550: 10 [expand-input # # # ...]
 513: 9 [cache # "i686-linux" #<procedure thunk ()>]
 588: 8 [thunk]
In srfi/srfi-1.scm:
 578: 7 [map #<procedure 9529b70 at guix/packages.scm:589:39 (t-7239)> (# # #)]
In guix/packages.scm:
 565: 6 [expand-input # # # ...]
In guix/download.scm:
 208: 5 [url-fetch # # sha256 ...]
In guix/packages.scm:
 513: 4 [cache # "i686-linux" #<procedure thunk ()>]
 600: 3 [thunk]
In guix/derivations.scm:
 700: 2 [derivation #<build-daemon 256.14 9616060> "guile-bootstrap-2.0" ...]
In guix/store.scm:
 536: 1 [#<procedure 92a0600 at guix/store.scm:529:4 (server name text #:optional references)> # ...]
 525: 0 [add-text-to-store # "guile-bootstrap-2.0.drv" ...]

guix/store.scm:525:9: In procedure add-text-to-store:
guix/store.scm:525:9: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'" status: 1] 9529090>)'.
10 operations
./test-env: line 1:  6041 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/derivations
=======================

accepted connection from pid 6064, uid 1000
spurious SIGPOLL
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
Backtrace:
In ice-9/boot-9.scm:
 157: 14 [catch #t #<catch-closure 987fc60> ...]
In unknown file:
   ?: 13 [apply-smob/1 #<catch-closure 987fc60>]
In ice-9/boot-9.scm:
  63: 12 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 11 [eval # #]
In ice-9/boot-9.scm:
2401: 10 [save-module-excursion #<procedure 988ec20 at ice-9/boot-9.scm:4045:3 ()>]
4052: 9 [#<procedure 988ec20 at ice-9/boot-9.scm:4045:3 ()>]
1724: 8 [%start-stack load-stack ...]
1729: 7 [#<procedure 98945b8 ()>]
In unknown file:
   ?: 6 [primitive-load "/media/storage/src/guix/./tests/derivations.scm"]
In ice-9/eval.scm:
 411: 5 [eval # ()]
In guix/packages.scm:
 513: 4 [cache # "i686-linux" #<procedure thunk ()>]
 600: 3 [thunk]
In guix/derivations.scm:
 700: 2 [derivation #<build-daemon 256.14 a031620> "guile-bootstrap-2.0" ...]
In guix/store.scm:
 536: 1 [#<procedure 9c0cd00 at guix/store.scm:529:4 (server name text #:optional references)> # ...]
 525: 0 [add-text-to-store # "guile-bootstrap-2.0.drv" ...]

guix/store.scm:525:9: In procedure add-text-to-store:
guix/store.scm:525:9: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'" status: 1] 9e9f240>)'.
10 operations
./test-env: line 1:  6063 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/packages
====================

accepted connection from pid 6180, uid 1000
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
%%%% Starting test packages  (Writing full log to "packages.log")
/media/storage/src/guix/./tests/packages.scm:85: FAIL package-field-location, relative file name

;;; (x (("b" #<package b-0 /media/storage/src/guix/./tests/packages.scm:92 a8b1210>) ("b/a" #<package a-0 /media/storage/src/guix/./tests/packages.scm:91 a8b1268>) ("c" #<package c-0 /media/storage/src/guix/./tests/packages.scm:94 a8b11b8>) ("d" #<package d-0 /media/storage/src/guix/./tests/packages.scm:96 a8b1160>) ("d/x" "something.drv")))
/media/storage/src/guix/./tests/packages.scm:111: FAIL package-source-derivation, file
/media/storage/src/guix/./tests/packages.scm:122: FAIL package-source-derivation, store path
/media/storage/src/guix/./tests/packages.scm:131: FAIL package-source-derivation, indirect store path

;;; (fetch "./gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz" sha256 #vu8(183 87 205 70 191 19 236 172 131 251 142 149 95 181 0 150 172 45 23 187 97 12 168 235 129 111 41 48 42 0 168 70) #f "i686-linux")
/media/storage/src/guix/./tests/packages.scm:144: FAIL package-source-derivation, snippet
/media/storage/src/guix/./tests/packages.scm:203: FAIL return value
/media/storage/src/guix/./tests/packages.scm:208: FAIL package-output
/media/storage/src/guix/./tests/packages.scm:215: FAIL trivial
/media/storage/src/guix/./tests/packages.scm:233: FAIL trivial with local file as input
/media/storage/src/guix/./tests/packages.scm:249: FAIL trivial with source
/media/storage/src/guix/./tests/packages.scm:264: FAIL trivial with system-dependent input
/media/storage/src/guix/./tests/packages.scm:317: FAIL package-cross-derivation
/media/storage/src/guix/./tests/packages.scm:323: FAIL package-cross-derivation, trivial-build-system
/media/storage/src/guix/./tests/packages.scm:342: FAIL GNU Make, bootstrap
# of expected passes      7
# of unexpected failures  14
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
25 operations
./test-env: line 1:  6179 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/store
=================

accepted connection from pid 6221, uid 1000
spurious SIGPOLL
accepted connection from pid 6221, uid 1000
spurious SIGPOLL
1 operations
accepted connection from pid 6221, uid 1000
spurious SIGPOLL
6 operations
unexpected Nix daemon error: implementation cannot deal with > 32-bit integers
./test-env: line 1:  6220 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/monads
==================

accepted connection from pid 6243, uid 1000
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
%%%% Starting test monads  (Writing full log to "monads.log")
/media/storage/src/guix/./tests/monads.scm:58: FAIL left identity
/media/storage/src/guix/./tests/monads.scm:70: FAIL right identity
/media/storage/src/guix/./tests/monads.scm:79: FAIL associativity
/media/storage/src/guix/./tests/monads.scm:93: FAIL lift
/media/storage/src/guix/./tests/monads.scm:103: FAIL mlet* + text-file + package-file
/media/storage/src/guix/./tests/monads.scm:114: FAIL mlet* + derivation-expression
/media/storage/src/guix/./tests/monads.scm:132: FAIL text-file*
/media/storage/src/guix/./tests/monads.scm:156: FAIL mapm
/media/storage/src/guix/./tests/monads.scm:164: FAIL sequence
/media/storage/src/guix/./tests/monads.scm:183: FAIL listm
/media/storage/src/guix/./tests/monads.scm:193: FAIL anym
# of expected passes      1
# of unexpected failures  11
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
20 operations
./test-env: line 1:  6242 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/gexp
================

accepted connection from pid 6263, uid 1000
spurious SIGPOLL
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
Backtrace:
In ice-9/boot-9.scm:
 157: 14 [catch #t #<catch-closure 98a7c60> ...]
In unknown file:
   ?: 13 [apply-smob/1 #<catch-closure 98a7c60>]
In ice-9/boot-9.scm:
  63: 12 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 11 [eval # #]
In ice-9/boot-9.scm:
2401: 10 [save-module-excursion #<procedure 98b6c20 at ice-9/boot-9.scm:4045:3 ()>]
4052: 9 [#<procedure 98b6c20 at ice-9/boot-9.scm:4045:3 ()>]
1724: 8 [%start-stack load-stack ...]
1729: 7 [#<procedure 98bc5b8 ()>]
In unknown file:
   ?: 6 [primitive-load "/media/storage/src/guix/./tests/gexp.scm"]
In ice-9/eval.scm:
 453: 5 [eval # ()]
In guix/packages.scm:
 513: 4 [cache # "i686-linux" #<procedure thunk ()>]
 600: 3 [thunk]
In guix/derivations.scm:
 700: 2 [derivation #<build-daemon 256.14 a143ee0> "guile-bootstrap-2.0" ...]
In guix/store.scm:
 536: 1 [#<procedure 9c3e650 at guix/store.scm:529:4 (server name text #:optional references)> # ...]
 525: 0 [add-text-to-store # "guile-bootstrap-2.0.drv" ...]

guix/store.scm:525:9: In procedure add-text-to-store:
guix/store.scm:525:9: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'" status: 1] a07e270>)'.
9 operations
./test-env: line 1:  6262 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/nar
===============

accepted connection from pid 6283, uid 1000
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
finding garbage collector roots...
cannot read potential root `/home/alexx/src/guix/test-tmp/var/6278/manifests'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/alexx/src/guix/nix/scripts/list-runtime-roots
;;; compiled /home/alexx/src/guix/test-tmp/var/6278/cache-6278/guile/ccache/2.0-LE-4-2.0/media/storage/src/guix/nix/scripts/list-runtime-roots.go
removing stale temporary roots file `/home/alexx/src/guix/test-tmp/var/6278/temproots/6288'
deleting `/home/alexx/src/guix/test-tmp/store/358rz14fxmc7ayngq0c7f2wa0cgcqjg9-text'
deleting `/home/alexx/src/guix/test-tmp/store/4nvv9xjg6gqzly2p196vcvby6p6pqb2a-text'
deleting `/home/alexx/src/guix/test-tmp/store/804c4hfy0xj5lrzkma3wfb48k6flk8x6-text'
deleting `/home/alexx/src/guix/test-tmp/store/8y9ah8k1qzg9whimj55dmxp8svivrd5n-text'
deleting `/home/alexx/src/guix/test-tmp/store/fzc15d0zhsq1rqmxm39y2mi3zg27cd36-text'
deleting `/home/alexx/src/guix/test-tmp/store/hjnj4il3zwyi8kkmjics4nnh0rn6npi0-text'
deleting `/home/alexx/src/guix/test-tmp/store/kj59c1xmrj4j0mw4q8lrlryn4h5dh56b-text'
deleting `/home/alexx/src/guix/test-tmp/store/l4966z0ibh56aplfykkxsr9pfyl72h6g-text'
deleting `/home/alexx/src/guix/test-tmp/store/m4hyjylf3kfh9vgpx0ndpnl15xhd4f3w-text'
deleting `/home/alexx/src/guix/test-tmp/store/s82jqvfwgaa6xs4k0jsqs5w7v5akfz8l-text'
deleting `/home/alexx/src/guix/test-tmp/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB
accepted connection from pid 6283, uid 1000
spurious SIGPOLL
error processing client input: path `/media/storage/src/guix/test-tmp/store/guix-TKq0ez' is not in the Nix store
1 operations
31 operations
accepted connection from pid 6283, uid 1000
spurious SIGPOLL
finding garbage collector roots...
cannot read potential root `/home/alexx/src/guix/test-tmp/var/6278/manifests'
removing stale temporary roots file `/home/alexx/src/guix/test-tmp/var/6278/temproots/6314'
deleting `/home/alexx/src/guix/test-tmp/store/h2gx6g458i88dngggz3dvgkwqkqwppy6-foo'
deleting `/home/alexx/src/guix/test-tmp/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB
accepted connection from pid 6283, uid 1000
spurious SIGPOLL
error processing client input: path `/media/storage/src/guix/test-tmp/store/guix-kuNnZH' is not in the Nix store
1 operations
4 operations
accepted connection from pid 6283, uid 1000
spurious SIGPOLL
finding garbage collector roots...
cannot read potential root `/home/alexx/src/guix/test-tmp/var/6278/manifests'
removing stale temporary roots file `/home/alexx/src/guix/test-tmp/var/6278/temproots/6319'
deleting `/home/alexx/src/guix/test-tmp/store/jjpwgj6l0vsagwpi86a3qx9q6iap8rvb-foo'
deleting `/home/alexx/src/guix/test-tmp/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB
accepted connection from pid 6283, uid 1000
spurious SIGPOLL
error processing client input: path `/media/storage/src/guix/test-tmp/store/guix-d03HW6' is not in the Nix store
1 operations
4 operations
%%%% Starting test nar  (Writing full log to "nar.log")
/media/storage/src/guix/./tests/nar.scm:267: FAIL restore-file-set (signed, valid)
/media/storage/src/guix/./tests/nar.scm:291: FAIL restore-file-set (missing signature)
/media/storage/src/guix/./tests/nar.scm:311: FAIL restore-file-set (corrupt)
# of expected passes      4
# of unexpected failures  3
./test-env: line 1:  6282 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/union
=================

accepted connection from pid 6340, uid 1000
spurious SIGPOLL
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
Backtrace:
In ice-9/boot-9.scm:
 157: 14 [catch #t #<catch-closure 901ac60> ...]
In unknown file:
   ?: 13 [apply-smob/1 #<catch-closure 901ac60>]
In ice-9/boot-9.scm:
  63: 12 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 11 [eval # #]
In ice-9/boot-9.scm:
2401: 10 [save-module-excursion #<procedure 9029c20 at ice-9/boot-9.scm:4045:3 ()>]
4052: 9 [#<procedure 9029c20 at ice-9/boot-9.scm:4045:3 ()>]
1724: 8 [%start-stack load-stack ...]
1729: 7 [#<procedure 902f5b8 ()>]
In unknown file:
   ?: 6 [primitive-load "/media/storage/src/guix/./tests/union.scm"]
In ice-9/eval.scm:
 411: 5 [eval # ()]
In guix/packages.scm:
 513: 4 [cache # "i686-linux" #<procedure thunk ()>]
 600: 3 [thunk]
In guix/derivations.scm:
 700: 2 [derivation #<build-daemon 256.14 9787b00> "guile-bootstrap-2.0" ...]
In guix/store.scm:
 536: 1 [#<procedure 93b3620 at guix/store.scm:529:4 (server name text #:optional references)> # ...]
 525: 0 [add-text-to-store # "guile-bootstrap-2.0.drv" ...]

guix/store.scm:525:9: In procedure add-text-to-store:
guix/store.scm:525:9: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'" status: 1] 95b86c0>)'.
9 operations
./test-env: line 1:  6339 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/guix-build
======================

+ guix build --version
guix build (GNU Guix) 0.7
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ guix build -e +
accepted connection from pid 6405, uid 1000
spurious SIGPOLL
guix build: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
+ true
+ guix build -e '(@ (gnu packages bootstrap) %bootstrap-glibc)' -S
accepted connection from pid 6408, uid 1000
spurious SIGPOLL
Backtrace:
In ice-9/boot-9.scm:
 157: 14 [catch #t #<catch-closure 951dc60> ...]
In unknown file:
   ?: 13 [apply-smob/1 #<catch-closure 951dc60>]
In ice-9/boot-9.scm:
  63: 12 [call-with-prompt prompt0 ...]
In ice-9/eval.scm:
 432: 11 [eval # #]
In ice-9/boot-9.scm:
2401: 10 [save-module-excursion #<procedure 952cca0 at ice-9/boot-9.scm:4045:3 ()>]
4050: 9 [#<procedure 952cca0 at ice-9/boot-9.scm:4045:3 ()>]
1724: 8 [%start-stack load-stack ...]
1729: 7 [#<procedure 9532708 ()>]
In unknown file:
   ?: 6 [primitive-load "/home/alexx/src/guix/scripts/guix"]
In guix/ui.scm:
 648: 5 [run-guix-command build "-e" ...]
In ice-9/boot-9.scm:
 157: 4 [catch srfi-34 #<procedure 94da0a0 at guix/ui.scm:205:2 ()> ...]
 157: 3 [catch system-error ...]
In guix/scripts/build.scm:
 406: 2 [#<procedure 94da160 at guix/scripts/build.scm:402:2 ()>]
In srfi/srfi-1.scm:
 664: 1 [filter-map #<procedure 99cc6a0 at guix/scripts/build.scm:309:16 (expr)> #]
In guix/packages.scm:
 429: 0 [package-source-derivation #<build-daemon 256.14 98919a0> #f "i686-linux"]

guix/packages.scm:429:2: In procedure package-source-derivation:
guix/packages.scm:429:2: Throw to key `match-error' with args `("match" "no matching pattern" #f)'.
0 operations
+ true
+ grep -e -guile-
+ guix build -e '(@@ (gnu packages base) %bootstrap-guile)'
accepted connection from pid 6411, uid 1000
spurious SIGPOLL
guix build: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
./test-env: line 1:  6397 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/guix-gc
===================

+ guix gc --version
guix gc (GNU Guix) 0.7
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ trap 'rm -f guix-gc-root' EXIT
+ rm -f guix-gc-root
++ guix build guile-bootstrap -d
accepted connection from pid 6673, uid 1000
spurious SIGPOLL
guix build: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
+ drv=
+ rm -f guix-gc-root
./test-env: line 1:  6664 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/guix-package
========================

+ guix package --version
guix package (GNU Guix) 0.7
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ profile=t-profile-6503
+ rm -f t-profile-6503
+ trap 'rm "$profile" "$profile-"[0-9]* ; rm -rf t-home-6503' EXIT
+ guix package --bootstrap -e +
guix package: error: expression "+" does not evaluate to a package
+ true
+ guix package --bootstrap -p t-profile-6503 -i guile-bootstrap
accepted connection from pid 6513, uid 1000
spurious SIGPOLL
spurious SIGPOLL
guix package: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
10 operations
+ rm t-profile-6503 't-profile-6503-[0-9]*'
rm: cannot remove ‘t-profile-6503’: No such file or directory
rm: cannot remove ‘t-profile-6503-[0-9]*’: No such file or directory
./test-env: line 1:  6502 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/guix-archive
========================

+ guix archive --version
guix build (GNU Guix) 0.7
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
+ archive=t-archive-6557
+ archive_alt=t-archive-alt-6557
+ rm -f t-archive-6557 t-archive-alt-6557
+ trap 'rm -f "$archive" "$archive_alt"' EXIT
+ guix archive --export guile-bootstrap
accepted connection from pid 6565, uid 1000
spurious SIGPOLL
guix archive: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
+ rm -f t-archive-6557 t-archive-alt-6557
./test-env: line 1:  6556 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/guix-register
=========================

+ guix-register --version
guix-register (GNU Guix) 0.7
+ new_store=t-register-6630
+ closure=t-register-closure-6630
+ rm -rf t-register-6630
+ exit_hook=:
+ trap 'chmod -R +w t-register-6630 ; rm -rf t-register-6630 t-register-closure-6630 ; $exit_hook' EXIT
+ new_file=/home/alexx/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-6630
+ echo 'Fake store file to test registration.'
+ guix-register
+ guile -c '
   (use-modules (guix store))
   (define s (open-connection))
   (exit (and (valid-path? s "/home/alexx/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-6630")
              (null? (references s "/home/alexx/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-6630"))
              (pair? (delete-paths s (list "/home/alexx/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-6630")))))'
accepted connection from pid 6638, uid 1000
spurious SIGPOLL
finding garbage collector roots...
cannot read potential root `/home/alexx/src/guix/test-tmp/var/6625/manifests'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/alexx/src/guix/nix/scripts/list-runtime-roots
;;; compiled /home/alexx/src/guix/test-tmp/var/6625/cache-6625/guile/ccache/2.0-LE-4-2.0/media/storage/src/guix/nix/scripts/list-runtime-roots.go
deleting `/home/alexx/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-6630'
deleting `/home/alexx/src/guix/test-tmp/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB
3 operations
+ mkdir -p t-register-6630//gnu/store
++ cd t-register-6630//gnu/store
++ pwd
+ new_store_dir=/media/storage/src/guix/t-register-6630/gnu/store
++ cd t-register-6630
++ pwd
+ new_store=/media/storage/src/guix/t-register-6630
++ guix build guile-bootstrap
accepted connection from pid 6646, uid 1000
spurious SIGPOLL
guix build: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
+ to_copy=
+ chmod -R +w t-register-6630
+ rm -rf t-register-6630 t-register-closure-6630
+ :
./test-env: line 1:  6629 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/guix-daemon
=======================

+ set -e
+ guix-daemon --version
guix-daemon (GNU Guix) 0.7
+ guix build --version
guix build (GNU Guix) 0.7
Copyright (C) 2014 the Guix authors
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
++ guix build emacs -d
accepted connection from pid 6699, uid 1000
spurious SIGPOLL
guix build: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
+ drv=
./test-env: line 1:  6690 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot


^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-04 15:40 bug#17935: make check failed Alex Kost
@ 2014-07-04 17:12 ` Ludovic Courtès
  2014-07-04 18:23   ` Alex Kost
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-07-04 17:12 UTC (permalink / raw)
  To: Alex Kost; +Cc: 17935

[-- Attachment #1: Type: text/plain, Size: 1528 bytes --]

Alex Kost <alezost@gmail.com> skribis:

>  525: 0 [add-text-to-store # "guile-bootstrap-2.0.drv" ...]
>
> guix/store.scm:525:9: In procedure add-text-to-store:
> guix/store.scm:525:9: Throw to key `srfi-34' with args `(#<condition &nix-protocol-error [message: "derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'" status: 1] 9529090>)'.

Can you confirm that the output of “sha1sum
gnu/packages/bootstrap/i686-linux/*” is (from our IRC discussion, it
seems you’re on i686-linux):

--8<---------------cut here---------------start------------->8---
87ebb7ed64a62467bae8afd60c30146d29b974dd  gnu/packages/bootstrap/i686-linux/bash
b0122cf4cf16e2b8a471163550178527b0306586  gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
9df288907e9031e6cf1db6b3bdaf08c956da28da  gnu/packages/bootstrap/i686-linux/mkdir
59b06438f6f673f3b7311277a256d164cb174337  gnu/packages/bootstrap/i686-linux/tar
0cfe1ecb8916c9e515c5f844671039a7fe76d261  gnu/packages/bootstrap/i686-linux/xz
--8<---------------cut here---------------end--------------->8---

Could you try running this command:

  ./test-env guix build guile-bootstrap

Assuming it fails as above, could you apply the patch below, run the
command again, and send its standard output?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 605 bytes --]

diff --git a/guix/derivations.scm b/guix/derivations.scm
index 5ca516a..eb758b1 100644
--- a/guix/derivations.scm
+++ b/guix/derivations.scm
@@ -701,7 +701,7 @@ derivations where the costs of data transfers would outweigh the benefits."
                                    (derivation->string drv)
                                    (map derivation-input-path
                                         inputs))))
-      (set-file-name drv file))))
+      (pk 'debug-drv (set-file-name drv file)))))
 
 (define* (map-derivation store drv mapping
                          #:key (system (%current-system)))

[-- Attachment #3: Type: text/plain, Size: 34 bytes --]


Thanks in advance!

Ludo’.

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-04 17:12 ` Ludovic Courtès
@ 2014-07-04 18:23   ` Alex Kost
  2014-07-04 21:30     ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Kost @ 2014-07-04 18:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 17935

[-- Attachment #1: Type: text/plain, Size: 2301 bytes --]

Ludovic Courtès (2014-07-04 21:12 +0400) wrote:

> Alex Kost <alezost@gmail.com> skribis:
>
>>  525: 0 [add-text-to-store # "guile-bootstrap-2.0.drv" ...]
>>
>> guix/store.scm:525:9: In procedure add-text-to-store:
>> guix/store.scm:525:9: Throw to key `srfi-34' with args `(#<condition
>> &nix-protocol-error [message: "derivation
>> /home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv'
>> has incorrect output
>> /media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0',
>> should be
>> /home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'"
>> status: 1] 9529090>)'.
>
> Can you confirm that the output of “sha1sum
> gnu/packages/bootstrap/i686-linux/*” is (from our IRC discussion, it
> seems you’re on i686-linux):
>
> 87ebb7ed64a62467bae8afd60c30146d29b974dd  gnu/packages/bootstrap/i686-linux/bash
> b0122cf4cf16e2b8a471163550178527b0306586  gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz
> 9df288907e9031e6cf1db6b3bdaf08c956da28da  gnu/packages/bootstrap/i686-linux/mkdir
> 59b06438f6f673f3b7311277a256d164cb174337  gnu/packages/bootstrap/i686-linux/tar
> 0cfe1ecb8916c9e515c5f844671039a7fe76d261  gnu/packages/bootstrap/i686-linux/xz

Yes the sums are the same.

> Could you try running this command:
>
>   ./test-env guix build guile-bootstrap
>
> Assuming it fails as above, could you apply the patch below, run the
> command again, and send its standard output?

Yes, it failed.

> diff --git a/guix/derivations.scm b/guix/derivations.scm
> index 5ca516a..eb758b1 100644
> --- a/guix/derivations.scm
> +++ b/guix/derivations.scm
> @@ -701,7 +701,7 @@ derivations where the costs of data transfers would outweigh the benefits."
>                                     (derivation->string drv)
>                                     (map derivation-input-path
>                                          inputs))))
> -      (set-file-name drv file))))
> +      (pk 'debug-drv (set-file-name drv file)))))
>
>  (define* (map-derivation store drv mapping
>                           #:key (system (%current-system)))

After applying the patch and running "./test-env guix build
guile-bootstrap" I got the following:


[-- Attachment #2: Type: text/plain, Size: 721 bytes --]

;;; note: source file /home/alexx/src/guix/guix/derivations.scm
;;;       newer than compiled /home/alexx/src/guix/guix/derivations.go
accepted connection from pid 9834, uid 1000
spurious SIGPOLL
spurious SIGPOLL
guix build: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
9 operations
./test-env: line 1:  9833 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot


[-- Attachment #3: Type: text/plain, Size: 229 bytes --]


I don't know if it relates, but my "/home/alexx/src" is a symlink to
"/media/storage/src".

Also I have tried guix 0.6 (from ftp://alpha.gnu.org/gnu/guix/) and it
was built successfully (no fails in "make check").

--
Alex Kost

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-04 18:23   ` Alex Kost
@ 2014-07-04 21:30     ` Ludovic Courtès
  2014-07-05  8:48       ` Alex Kost
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-07-04 21:30 UTC (permalink / raw)
  To: Alex Kost; +Cc: 17935

[-- Attachment #1: Type: text/plain, Size: 824 bytes --]

Alex Kost <alezost@gmail.com> skribis:

> guix build: error: build failed: derivation `/home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incorrect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
> 9 operations
> ./test-env: line 1:  9833 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot
>
>
> I don't know if it relates, but my "/home/alexx/src" is a symlink to
> "/media/storage/src".

Ah yes, I hadn’t noticed that in the error message, but this is a source
of confusion for the daemon.

Could you try that command again with this patch:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 711 bytes --]

diff --git a/test-env.in b/test-env.in
index a3b3536..f11c014 100644
--- a/test-env.in
+++ b/test-env.in
@@ -27,8 +27,11 @@
 if [ -x "@abs_top_builddir@/guix-daemon" ]
 then
     NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
-    NIX_IGNORE_SYMLINK_STORE=1	# in case the store is a symlink
-    NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
+
+    # Canonicalize the store directory name in an attempt to avoid symlinks in
+    # it or its parent directories.  See <http://bugs.gnu.org/17935>.
+    NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
+
     NIX_LOCALSTATE_DIR="@GUIX_TEST_ROOT@/var"
     NIX_LOG_DIR="@GUIX_TEST_ROOT@/var/log/guix"
     NIX_DB_DIR="@GUIX_TEST_ROOT@/db"

[-- Attachment #3: Type: text/plain, Size: 201 bytes --]


> Also I have tried guix 0.6 (from ftp://alpha.gnu.org/gnu/guix/) and it
> was built successfully (no fails in "make check").

But was it also from this symlinked directory?

Thanks,
Ludo’.

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-04 21:30     ` Ludovic Courtès
@ 2014-07-05  8:48       ` Alex Kost
  2014-07-05  9:42         ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Kost @ 2014-07-05  8:48 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 17935

Ludovic Courtès (2014-07-05 01:30 +0400) wrote:

> Alex Kost <alezost@gmail.com> skribis:
>
>> guix build: error: build failed: derivation
>> /home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv'
>> has incorrect output
>> /media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0',
>> should be
>> /home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
>> 9 operations
>> ./test-env: line 1: 9833 Terminated
>> "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon"
>> --disable-chroot
>>
>>
>> I don't know if it relates, but my "/home/alexx/src" is a symlink to
>> "/media/storage/src".
>
> Ah yes, I hadn’t noticed that in the error message, but this is a source
> of confusion for the daemon.
>
> Could you try that command again with this patch:
>
> diff --git a/test-env.in b/test-env.in
> index a3b3536..f11c014 100644
> --- a/test-env.in
> +++ b/test-env.in
> @@ -27,8 +27,11 @@
>  if [ -x "@abs_top_builddir@/guix-daemon" ]
>  then
>      NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
> -    NIX_IGNORE_SYMLINK_STORE=1	# in case the store is a symlink
> -    NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
> +
> +    # Canonicalize the store directory name in an attempt to avoid symlinks in
> +    # it or its parent directories.  See <http://bugs.gnu.org/17935>.
> +    NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
> +
>      NIX_LOCALSTATE_DIR="@GUIX_TEST_ROOT@/var"
>      NIX_LOG_DIR="@GUIX_TEST_ROOT@/var/log/guix"
>      NIX_DB_DIR="@GUIX_TEST_ROOT@/db"
>
>> Also I have tried guix 0.6 (from ftp://alpha.gnu.org/gnu/guix/) and it
>> was built successfully (no fails in "make check").
>
> But was it also from this symlinked directory?

No, it was compiled from a direct path (no symlinks).

I tried to compile guix from git from a path without symlinks and it was
successful as well.  So apparently the problem is with symlinked paths.

As for the symlinked directory, with your patch, "./test-env guix build
guile-bootstrap" also failed.  Then I tried to start a build process
with your patch from the beginning (from "./bootstrap" in a fresh git
tree), and I have got 3 fails (without your patch there were 14).

"test-suite.log" tells:

    ./test-env: line 33: cd: /home/alexx/src/guix/test-tmp/store: No such file or directory

So I think the problem with the patch is that “@GUIX_TEST_ROOT@/store”
directory does not exist when “`cd "@GUIX_TEST_ROOT@/store"; pwd -P`” is
being invoked.

>
> Thanks,
> Ludo’.

--
Alex Kost

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-05  8:48       ` Alex Kost
@ 2014-07-05  9:42         ` Ludovic Courtès
  2014-07-05 13:33           ` Alex Kost
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-07-05  9:42 UTC (permalink / raw)
  To: Alex Kost; +Cc: 17935

[-- Attachment #1: Type: text/plain, Size: 2553 bytes --]

Alex Kost <alezost@gmail.com> skribis:

> Ludovic Courtès (2014-07-05 01:30 +0400) wrote:
>
>> Alex Kost <alezost@gmail.com> skribis:
>>
>>> guix build: error: build failed: derivation
>>> /home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv'
>>> has incorrect output
>>> /media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19xyy2j3hz54-guile-bootstrap-2.0',
>>> should be
>>> /home/alexx/src/guix/test-tmp/store/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0'
>>> 9 operations
>>> ./test-env: line 1: 9833 Terminated
>>> "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon"
>>> --disable-chroot
>>>
>>>
>>> I don't know if it relates, but my "/home/alexx/src" is a symlink to
>>> "/media/storage/src".
>>
>> Ah yes, I hadn’t noticed that in the error message, but this is a source
>> of confusion for the daemon.
>>
>> Could you try that command again with this patch:
>>
>> diff --git a/test-env.in b/test-env.in
>> index a3b3536..f11c014 100644
>> --- a/test-env.in
>> +++ b/test-env.in
>> @@ -27,8 +27,11 @@
>>  if [ -x "@abs_top_builddir@/guix-daemon" ]
>>  then
>>      NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
>> -    NIX_IGNORE_SYMLINK_STORE=1	# in case the store is a symlink
>> -    NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
>> +
>> +    # Canonicalize the store directory name in an attempt to avoid symlinks in
>> +    # it or its parent directories.  See <http://bugs.gnu.org/17935>.
>> +    NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
>> +
>>      NIX_LOCALSTATE_DIR="@GUIX_TEST_ROOT@/var"
>>      NIX_LOG_DIR="@GUIX_TEST_ROOT@/var/log/guix"
>>      NIX_DB_DIR="@GUIX_TEST_ROOT@/db"
>>
>>> Also I have tried guix 0.6 (from ftp://alpha.gnu.org/gnu/guix/) and it
>>> was built successfully (no fails in "make check").
>>
>> But was it also from this symlinked directory?
>
> No, it was compiled from a direct path (no symlinks).
>
> I tried to compile guix from git from a path without symlinks and it was
> successful as well.  So apparently the problem is with symlinked paths.

Yes.

> As for the symlinked directory, with your patch, "./test-env guix build
> guile-bootstrap" also failed.

[...]

> So I think the problem with the patch is that “@GUIX_TEST_ROOT@/store”
> directory does not exist when “`cd "@GUIX_TEST_ROOT@/store"; pwd -P`” is
> being invoked.

Oops, indeed.  Could you try this version, again from a directory with
symlinks?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1197 bytes --]

diff --git a/test-env.in b/test-env.in
index a3b3536..9d0c8cc 100644
--- a/test-env.in
+++ b/test-env.in
@@ -27,8 +27,15 @@
 if [ -x "@abs_top_builddir@/guix-daemon" ]
 then
     NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
-    NIX_IGNORE_SYMLINK_STORE=1	# in case the store is a symlink
     NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
+
+    # Do that because store.scm calls `canonicalize-path' on it.
+    mkdir -p "$NIX_STORE_DIR"
+
+    # Canonicalize the store directory name in an attempt to avoid symlinks in
+    # it or its parent directories.  See <http://bugs.gnu.org/17935>.
+    NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
+
     NIX_LOCALSTATE_DIR="@GUIX_TEST_ROOT@/var"
     NIX_LOG_DIR="@GUIX_TEST_ROOT@/var/log/guix"
     NIX_DB_DIR="@GUIX_TEST_ROOT@/db"
@@ -71,9 +78,6 @@ then
         GUIX_ALLOW_UNAUTHENTICATED_SUBSTITUTES				\
         NIX_CONF_DIR XDG_CACHE_HOME
 
-    # Do that because store.scm calls `canonicalize-path' on it.
-    mkdir -p "$NIX_STORE_DIR"
-
     # Launch the daemon without chroot support because is may be
     # unavailable, for instance if we're not running as root.
     "@abs_top_builddir@/pre-inst-env"				\

[-- Attachment #3: Type: text/plain, Size: 32 bytes --]


Thanks in advance,
Ludo’.

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-05  9:42         ` Ludovic Courtès
@ 2014-07-05 13:33           ` Alex Kost
  2014-07-05 13:59             ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Kost @ 2014-07-05 13:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 17935

[-- Attachment #1: Type: text/plain, Size: 2078 bytes --]

Ludovic Courtès (2014-07-05 13:42 +0400) wrote:
>
> [...]
>
>> So I think the problem with the patch is that “@GUIX_TEST_ROOT@/store”
>> directory does not exist when “`cd "@GUIX_TEST_ROOT@/store"; pwd -P`” is
>> being invoked.
>
> Oops, indeed.  Could you try this version, again from a directory with
> symlinks?
>
> diff --git a/test-env.in b/test-env.in
> index a3b3536..9d0c8cc 100644
> --- a/test-env.in
> +++ b/test-env.in
> @@ -27,8 +27,15 @@
>  if [ -x "@abs_top_builddir@/guix-daemon" ]
>  then
>      NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
> -    NIX_IGNORE_SYMLINK_STORE=1	# in case the store is a symlink
>      NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
> +
> +    # Do that because store.scm calls `canonicalize-path' on it.
> +    mkdir -p "$NIX_STORE_DIR"
> +
> +    # Canonicalize the store directory name in an attempt to avoid symlinks in
> +    # it or its parent directories.  See <http://bugs.gnu.org/17935>.
> +    NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
> +
>      NIX_LOCALSTATE_DIR="@GUIX_TEST_ROOT@/var"
>      NIX_LOG_DIR="@GUIX_TEST_ROOT@/var/log/guix"
>      NIX_DB_DIR="@GUIX_TEST_ROOT@/db"
> @@ -71,9 +78,6 @@ then
>          GUIX_ALLOW_UNAUTHENTICATED_SUBSTITUTES				\
>          NIX_CONF_DIR XDG_CACHE_HOME
>
> -    # Do that because store.scm calls `canonicalize-path' on it.
> -    mkdir -p "$NIX_STORE_DIR"
> -
>      # Launch the daemon without chroot support because is may be
>      # unavailable, for instance if we're not running as root.
>      "@abs_top_builddir@/pre-inst-env"				\
>
> Thanks in advance,
> Ludo’.

I have tried that.  Unfortunately 2 tests failed.  I'm attaching
"test-suite.log" and 2 "package.log"-s: the first "package.log" is the
one from the failed built (from a symlinked path) and the second one is
from the succeeded built (from a real path).

Also I think
    NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
may be replaced with:
    NIX_STORE_DIR="`realpath "@GUIX_TEST_ROOT@/store"`"


[-- Attachment #2: test-suite.log --]
[-- Type: text/plain, Size: 36192 bytes --]

====================================
   GNU Guix 0.7: ./test-suite.log
====================================

# TOTAL: 31
# PASS:  29
# SKIP:  0
# XFAIL: 0
# FAIL:  2
# XPASS: 0
# ERROR: 0

.. contents:: :depth: 2

FAIL: tests/packages
====================

accepted connection from pid 5432, uid 1000
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
;;; note: source file ./srfi/srfi-64.scm
;;;       newer than compiled /usr/lib/guile/2.0/ccache/srfi/srfi-64.go
@ build-started /media/storage/src/guix/test-tmp/store/7xic7l3qxzrq826yclja9bp51gi8vppq-guile-2.0.9.tar.xz.drv - i686-linux /home/alexx/src/guix/test-tmp/var/log/guix/drvs/7x//ic7l3qxzrq826yclja9bp51gi8vppq-guile-2.0.9.tar.xz.drv.bz2
./
./share/
./share/guile/
./share/guile/2.0/
./share/guile/2.0/system/
./share/guile/2.0/system/xref.scm
./share/guile/2.0/system/foreign.scm
./share/guile/2.0/system/repl/
./share/guile/2.0/system/repl/error-handling.scm
./share/guile/2.0/system/repl/debug.scm
./share/guile/2.0/system/repl/describe.scm
./share/guile/2.0/system/repl/common.scm
./share/guile/2.0/system/repl/command.scm
./share/guile/2.0/system/repl/server.scm
./share/guile/2.0/system/repl/repl.scm
./share/guile/2.0/system/base/
./share/guile/2.0/system/base/lalr.upstream.scm
./share/guile/2.0/system/base/pmatch.scm
./share/guile/2.0/system/base/lalr.scm
./share/guile/2.0/system/base/language.scm
./share/guile/2.0/system/base/syntax.scm
./share/guile/2.0/system/base/compile.scm
./share/guile/2.0/system/base/ck.scm
./share/guile/2.0/system/base/message.scm
./share/guile/2.0/system/base/target.scm
./share/guile/2.0/system/vm/
./share/guile/2.0/system/vm/trace.scm
./share/guile/2.0/system/vm/trap-state.scm
./share/guile/2.0/system/vm/vm.scm
./share/guile/2.0/system/vm/coverage.scm
./share/guile/2.0/system/vm/program.scm
./share/guile/2.0/system/vm/objcode.scm
./share/guile/2.0/system/vm/traps.scm
./share/guile/2.0/system/vm/inspect.scm
./share/guile/2.0/system/vm/instruction.scm
./share/guile/2.0/system/vm/frame.scm
./share/guile/2.0/scripts/
./share/guile/2.0/scripts/scan-api.scm
./share/guile/2.0/scripts/autofrisk.scm
./share/guile/2.0/scripts/snarf-check-and-output-texi.scm
./share/guile/2.0/scripts/read-rfc822.scm
./share/guile/2.0/scripts/read-text-outline.scm
./share/guile/2.0/scripts/help.scm
./share/guile/2.0/scripts/frisk.scm
./share/guile/2.0/scripts/punify.scm
./share/guile/2.0/scripts/lint.scm
./share/guile/2.0/scripts/disassemble.scm
./share/guile/2.0/scripts/summarize-guile-TODO.scm
./share/guile/2.0/scripts/generate-autoload.scm
./share/guile/2.0/scripts/display-commentary.scm
./share/guile/2.0/scripts/compile.scm
./share/guile/2.0/scripts/api-diff.scm
./share/guile/2.0/scripts/use2dot.scm
./share/guile/2.0/scripts/doc-snarf.scm
./share/guile/2.0/scripts/read-scheme-source.scm
./share/guile/2.0/scripts/snarf-guile-m4-docs.scm
./share/guile/2.0/scripts/list.scm
./share/guile/2.0/texinfo/
./share/guile/2.0/texinfo/indexing.scm
./share/guile/2.0/texinfo/html.scm
./share/guile/2.0/texinfo/docbook.scm
./share/guile/2.0/texinfo/serialize.scm
./share/guile/2.0/texinfo/reflection.scm
./share/guile/2.0/texinfo/plain-text.scm
./share/guile/2.0/texinfo/string-utils.scm
./share/guile/2.0/ice-9/
./share/guile/2.0/ice-9/documentation.scm
./share/guile/2.0/ice-9/scm-style-repl.scm
./share/guile/2.0/ice-9/time.scm
./share/guile/2.0/ice-9/format.scm
./share/guile/2.0/ice-9/networking.scm
./share/guile/2.0/ice-9/getopt-long.scm
./share/guile/2.0/ice-9/vlist.scm
./share/guile/2.0/ice-9/psyntax.scm
./share/guile/2.0/ice-9/gap-buffer.scm
./share/guile/2.0/ice-9/and-let-star.scm
./share/guile/2.0/ice-9/posix.scm
./share/guile/2.0/ice-9/ls.scm
./share/guile/2.0/ice-9/syncase.scm
./share/guile/2.0/ice-9/save-stack.scm
./share/guile/2.0/ice-9/stack-catch.scm
./share/guile/2.0/ice-9/futures.scm
./share/guile/2.0/ice-9/debug.scm
./share/guile/2.0/ice-9/pretty-print.scm
./share/guile/2.0/ice-9/mapping.scm
./share/guile/2.0/ice-9/occam-channel.scm
./share/guile/2.0/ice-9/top-repl.scm
./share/guile/2.0/ice-9/boot-9.scm
./share/guile/2.0/ice-9/string-fun.scm
./share/guile/2.0/ice-9/i18n.scm
./share/guile/2.0/ice-9/match.upstream.scm
./share/guile/2.0/ice-9/streams.scm
./share/guile/2.0/ice-9/lineio.scm
./share/guile/2.0/ice-9/threads.scm
./share/guile/2.0/ice-9/weak-vector.scm
./share/guile/2.0/ice-9/history.scm
./share/guile/2.0/ice-9/expect.scm
./share/guile/2.0/ice-9/poll.scm
./share/guile/2.0/ice-9/popen.scm
./share/guile/2.0/ice-9/control.scm
./share/guile/2.0/ice-9/session.scm
./share/guile/2.0/ice-9/ftw.scm
./share/guile/2.0/ice-9/local-eval.scm
./share/guile/2.0/ice-9/receive.scm
./share/guile/2.0/ice-9/safe-r5rs.scm
./share/guile/2.0/ice-9/calling.scm
./share/guile/2.0/ice-9/curried-definitions.scm
./share/guile/2.0/ice-9/eval-string.scm
./share/guile/2.0/ice-9/q.scm
./share/guile/2.0/ice-9/serialize.scm
./share/guile/2.0/ice-9/quasisyntax.scm
./share/guile/2.0/ice-9/slib.scm
./share/guile/2.0/ice-9/hcons.scm
./share/guile/2.0/ice-9/rw.scm
./share/guile/2.0/ice-9/regex.scm
./share/guile/2.0/ice-9/match.scm
./share/guile/2.0/ice-9/buffered-input.scm
./share/guile/2.0/ice-9/iconv.scm
./share/guile/2.0/ice-9/poe.scm
./share/guile/2.0/ice-9/common-list.scm
./share/guile/2.0/ice-9/r5rs.scm
./share/guile/2.0/ice-9/command-line.scm
./share/guile/2.0/ice-9/deprecated.scm
./share/guile/2.0/ice-9/psyntax-pp.scm
./share/guile/2.0/ice-9/null.scm
./share/guile/2.0/ice-9/optargs.scm
./share/guile/2.0/ice-9/rdelim.scm
./share/guile/2.0/ice-9/runq.scm
./share/guile/2.0/ice-9/safe.scm
./share/guile/2.0/ice-9/channel.scm
./share/guile/2.0/ice-9/readline.scm
./share/guile/2.0/ice-9/binary-ports.scm
./share/guile/2.0/ice-9/eval.scm
./share/guile/2.0/ice-9/r4rs.scm
./share/guile/2.0/ice-9/r6rs-libraries.scm
./share/guile/2.0/ice-9/list.scm
./share/guile/2.0/language/
./share/guile/2.0/language/elisp/
./share/guile/2.0/language/elisp/compile-tree-il.scm
./share/guile/2.0/language/elisp/bindings.scm
./share/guile/2.0/language/elisp/runtime.scm
./share/guile/2.0/language/elisp/lexer.scm
./share/guile/2.0/language/elisp/spec.scm
./share/guile/2.0/language/elisp/runtime/
./share/guile/2.0/language/elisp/runtime/macros.scm
./share/guile/2.0/language/elisp/runtime/function-slot.scm
./share/guile/2.0/language/elisp/runtime/subrs.scm
./share/guile/2.0/language/elisp/runtime/value-slot.scm
./share/guile/2.0/language/elisp/parser.scm
./share/guile/2.0/language/assembly/
./share/guile/2.0/language/assembly/compile-bytecode.scm
./share/guile/2.0/language/assembly/disassemble.scm
./share/guile/2.0/language/assembly/spec.scm
./share/guile/2.0/language/assembly/decompile-bytecode.scm
./share/guile/2.0/language/scheme/
./share/guile/2.0/language/scheme/compile-tree-il.scm
./share/guile/2.0/language/scheme/decompile-tree-il.scm
./share/guile/2.0/language/scheme/spec.scm
./share/guile/2.0/language/brainfuck/
./share/guile/2.0/language/brainfuck/compile-tree-il.scm
./share/guile/2.0/language/brainfuck/compile-scheme.scm
./share/guile/2.0/language/brainfuck/spec.scm
./share/guile/2.0/language/brainfuck/parse.scm
./share/guile/2.0/language/objcode/
./share/guile/2.0/language/objcode/spec.scm
./share/guile/2.0/language/assembly.scm
./share/guile/2.0/language/bytecode/
./share/guile/2.0/language/bytecode/spec.scm
./share/guile/2.0/language/glil/
./share/guile/2.0/language/glil/spec.scm
./share/guile/2.0/language/glil/compile-assembly.scm
./share/guile/2.0/language/tree-il/
./share/guile/2.0/language/tree-il/analyze.scm
./share/guile/2.0/language/tree-il/inline.scm
./share/guile/2.0/language/tree-il/debug.scm
./share/guile/2.0/language/tree-il/primitives.scm
./share/guile/2.0/language/tree-il/optimize.scm
./share/guile/2.0/language/tree-il/fix-letrec.scm
./share/guile/2.0/language/tree-il/spec.scm
./share/guile/2.0/language/tree-il/peval.scm
./share/guile/2.0/language/tree-il/compile-glil.scm
./share/guile/2.0/language/tree-il/cse.scm
./share/guile/2.0/language/tree-il/canonicalize.scm
./share/guile/2.0/language/tree-il/effects.scm
./share/guile/2.0/language/ecmascript/
./share/guile/2.0/language/ecmascript/base.scm
./share/guile/2.0/language/ecmascript/compile-tree-il.scm
./share/guile/2.0/language/ecmascript/function.scm
./share/guile/2.0/language/ecmascript/array.scm
./share/guile/2.0/language/ecmascript/tokenize.scm
./share/guile/2.0/language/ecmascript/spec.scm
./share/guile/2.0/language/ecmascript/impl.scm
./share/guile/2.0/language/ecmascript/parse.scm
./share/guile/2.0/language/value/
./share/guile/2.0/language/value/spec.scm
./share/guile/2.0/language/glil.scm
./share/guile/2.0/language/tree-il.scm
./share/guile/2.0/rnrs.scm
./share/guile/2.0/statprof.scm
./share/guile/2.0/web/
./share/guile/2.0/web/client.scm
./share/guile/2.0/web/response.scm
./share/guile/2.0/web/uri.scm
./share/guile/2.0/web/server/
./share/guile/2.0/web/server/http.scm
./share/guile/2.0/web/request.scm
./share/guile/2.0/web/server.scm
./share/guile/2.0/web/http.scm
./share/guile/2.0/oop/
./share/guile/2.0/oop/goops.scm
./share/guile/2.0/oop/goops/
./share/guile/2.0/oop/goops/save.scm
./share/guile/2.0/oop/goops/stklos.scm
./share/guile/2.0/oop/goops/accessors.scm
./share/guile/2.0/oop/goops/describe.scm
./share/guile/2.0/oop/goops/dispatch.scm
./share/guile/2.0/oop/goops/active-slot.scm
./share/guile/2.0/oop/goops/composite-slot.scm
./share/guile/2.0/oop/goops/compile.scm
./share/guile/2.0/oop/goops/internal.scm
./share/guile/2.0/oop/goops/util.scm
./share/guile/2.0/oop/goops/simple.scm
./share/guile/2.0/guile-procedures.txt
./share/guile/2.0/texinfo.scm
./share/guile/2.0/rnrs/
./share/guile/2.0/rnrs/base.scm
./share/guile/2.0/rnrs/records/
./share/guile/2.0/rnrs/records/syntactic.scm
./share/guile/2.0/rnrs/records/inspection.scm
./share/guile/2.0/rnrs/records/procedural.scm
./share/guile/2.0/rnrs/arithmetic/
./share/guile/2.0/rnrs/arithmetic/bitwise.scm
./share/guile/2.0/rnrs/arithmetic/fixnums.scm
./share/guile/2.0/rnrs/arithmetic/flonums.scm
./share/guile/2.0/rnrs/unicode.scm
./share/guile/2.0/rnrs/enums.scm
./share/guile/2.0/rnrs/hashtables.scm
./share/guile/2.0/rnrs/control.scm
./share/guile/2.0/rnrs/syntax-case.scm
./share/guile/2.0/rnrs/sorting.scm
./share/guile/2.0/rnrs/lists.scm
./share/guile/2.0/rnrs/mutable-strings.scm
./share/guile/2.0/rnrs/conditions.scm
./share/guile/2.0/rnrs/r5rs.scm
./share/guile/2.0/rnrs/mutable-pairs.scm
./share/guile/2.0/rnrs/programs.scm
./share/guile/2.0/rnrs/exceptions.scm
./share/guile/2.0/rnrs/eval.scm
./share/guile/2.0/rnrs/files.scm
./share/guile/2.0/rnrs/io/
./share/guile/2.0/rnrs/io/ports.scm
./share/guile/2.0/rnrs/io/simple.scm
./share/guile/2.0/rnrs/bytevectors.scm
./share/guile/2.0/sxml/
./share/guile/2.0/sxml/sxml-match.ss
./share/guile/2.0/sxml/fold.scm
./share/guile/2.0/sxml/ssax.scm
./share/guile/2.0/sxml/apply-templates.scm
./share/guile/2.0/sxml/xpath.scm
./share/guile/2.0/sxml/upstream/
./share/guile/2.0/sxml/upstream/SSAX.scm
./share/guile/2.0/sxml/upstream/assert.scm
./share/guile/2.0/sxml/upstream/SXPath-old.scm
./share/guile/2.0/sxml/upstream/input-parse.scm
./share/guile/2.0/sxml/upstream/SXML-tree-trans.scm
./share/guile/2.0/sxml/transform.scm
./share/guile/2.0/sxml/match.scm
./share/guile/2.0/sxml/simple.scm
./share/guile/2.0/sxml/ssax/
./share/guile/2.0/sxml/ssax/input-parse.scm
./share/guile/2.0/srfi/
./share/guile/2.0/srfi/srfi-88.scm
./share/guile/2.0/srfi/srfi-14.scm
./share/guile/2.0/srfi/srfi-6.scm
./share/guile/2.0/srfi/srfi-67.scm
./share/guile/2.0/srfi/srfi-42/
./share/guile/2.0/srfi/srfi-42/ec.scm
./share/guile/2.0/srfi/srfi-19.scm
./share/guile/2.0/srfi/srfi-31.scm
./share/guile/2.0/srfi/srfi-41.scm
./share/guile/2.0/srfi/srfi-35.scm
./share/guile/2.0/srfi/srfi-34.scm
./share/guile/2.0/srfi/srfi-60.scm
./share/guile/2.0/srfi/srfi-18.scm
./share/guile/2.0/srfi/srfi-37.scm
./share/guile/2.0/srfi/srfi-4/
./share/guile/2.0/srfi/srfi-4/gnu.scm
./share/guile/2.0/srfi/srfi-16.scm
./share/guile/2.0/srfi/srfi-69.scm
./share/guile/2.0/srfi/srfi-17.scm
./share/guile/2.0/srfi/srfi-2.scm
./share/guile/2.0/srfi/srfi-27.scm
./share/guile/2.0/srfi/srfi-26.scm
./share/guile/2.0/srfi/srfi-8.scm
./share/guile/2.0/srfi/srfi-4.scm
./share/guile/2.0/srfi/srfi-11.scm
./share/guile/2.0/srfi/srfi-13.scm
./share/guile/2.0/srfi/srfi-67/
./share/guile/2.0/srfi/srfi-67/compare.scm
./share/guile/2.0/srfi/srfi-45.scm
./share/guile/2.0/srfi/srfi-9.scm
./share/guile/2.0/srfi/srfi-9/
./share/guile/2.0/srfi/srfi-9/gnu.scm
./share/guile/2.0/srfi/srfi-10.scm
./share/guile/2.0/srfi/srfi-42.scm
./share/guile/2.0/srfi/srfi-39.scm
./share/guile/2.0/srfi/srfi-1.scm
./share/guile/2.0/srfi/srfi-38.scm
./share/guile/2.0/srfi/srfi-98.scm
./lib/
./lib/guile/
./lib/guile/2.0/
./lib/guile/2.0/ccache/
./lib/guile/2.0/ccache/system/
./lib/guile/2.0/ccache/system/foreign.go
./lib/guile/2.0/ccache/system/repl/
./lib/guile/2.0/ccache/system/repl/command.go
./lib/guile/2.0/ccache/system/repl/error-handling.go
./lib/guile/2.0/ccache/system/repl/repl.go
./lib/guile/2.0/ccache/system/repl/debug.go
./lib/guile/2.0/ccache/system/repl/server.go
./lib/guile/2.0/ccache/system/repl/common.go
./lib/guile/2.0/ccache/system/xref.go
./lib/guile/2.0/ccache/system/base/
./lib/guile/2.0/ccache/system/base/ck.go
./lib/guile/2.0/ccache/system/base/lalr.go
./lib/guile/2.0/ccache/system/base/pmatch.go
./lib/guile/2.0/ccache/system/base/message.go
./lib/guile/2.0/ccache/system/base/syntax.go
./lib/guile/2.0/ccache/system/base/language.go
./lib/guile/2.0/ccache/system/base/target.go
./lib/guile/2.0/ccache/system/base/compile.go
./lib/guile/2.0/ccache/system/vm/
./lib/guile/2.0/ccache/system/vm/traps.go
./lib/guile/2.0/ccache/system/vm/frame.go
./lib/guile/2.0/ccache/system/vm/objcode.go
./lib/guile/2.0/ccache/system/vm/program.go
./lib/guile/2.0/ccache/system/vm/instruction.go
./lib/guile/2.0/ccache/system/vm/coverage.go
./lib/guile/2.0/ccache/system/vm/vm.go
./lib/guile/2.0/ccache/system/vm/trap-state.go
./lib/guile/2.0/ccache/system/vm/inspect.go
./lib/guile/2.0/ccache/system/vm/trace.go
./lib/guile/2.0/ccache/scripts/
./lib/guile/2.0/ccache/scripts/scan-api.go
./lib/guile/2.0/ccache/scripts/use2dot.go
./lib/guile/2.0/ccache/scripts/autofrisk.go
./lib/guile/2.0/ccache/scripts/api-diff.go
./lib/guile/2.0/ccache/scripts/read-text-outline.go
./lib/guile/2.0/ccache/scripts/punify.go
./lib/guile/2.0/ccache/scripts/snarf-guile-m4-docs.go
./lib/guile/2.0/ccache/scripts/read-scheme-source.go
./lib/guile/2.0/ccache/scripts/frisk.go
./lib/guile/2.0/ccache/scripts/summarize-guile-TODO.go
./lib/guile/2.0/ccache/scripts/lint.go
./lib/guile/2.0/ccache/scripts/display-commentary.go
./lib/guile/2.0/ccache/scripts/disassemble.go
./lib/guile/2.0/ccache/scripts/generate-autoload.go
./lib/guile/2.0/ccache/scripts/snarf-check-and-output-texi.go
./lib/guile/2.0/ccache/scripts/read-rfc822.go
./lib/guile/2.0/ccache/scripts/doc-snarf.go
./lib/guile/2.0/ccache/scripts/compile.go
./lib/guile/2.0/ccache/scripts/help.go
./lib/guile/2.0/ccache/scripts/list.go
./lib/guile/2.0/ccache/texinfo/
./lib/guile/2.0/ccache/texinfo/docbook.go
./lib/guile/2.0/ccache/texinfo/serialize.go
./lib/guile/2.0/ccache/texinfo/html.go
./lib/guile/2.0/ccache/texinfo/reflection.go
./lib/guile/2.0/ccache/texinfo/indexing.go
./lib/guile/2.0/ccache/texinfo/plain-text.go
./lib/guile/2.0/ccache/texinfo/string-utils.go
./lib/guile/2.0/ccache/ice-9/
./lib/guile/2.0/ccache/ice-9/r4rs.go
./lib/guile/2.0/ccache/ice-9/poll.go
./lib/guile/2.0/ccache/ice-9/syncase.go
./lib/guile/2.0/ccache/ice-9/common-list.go
./lib/guile/2.0/ccache/ice-9/stack-catch.go
./lib/guile/2.0/ccache/ice-9/control.go
./lib/guile/2.0/ccache/ice-9/binary-ports.go
./lib/guile/2.0/ccache/ice-9/regex.go
./lib/guile/2.0/ccache/ice-9/safe.go
./lib/guile/2.0/ccache/ice-9/buffered-input.go
./lib/guile/2.0/ccache/ice-9/boot-9.go
./lib/guile/2.0/ccache/ice-9/and-let-star.go
./lib/guile/2.0/ccache/ice-9/expect.go
./lib/guile/2.0/ccache/ice-9/gap-buffer.go
./lib/guile/2.0/ccache/ice-9/pretty-print.go
./lib/guile/2.0/ccache/ice-9/time.go
./lib/guile/2.0/ccache/ice-9/serialize.go
./lib/guile/2.0/ccache/ice-9/debug.go
./lib/guile/2.0/ccache/ice-9/rw.go
./lib/guile/2.0/ccache/ice-9/command-line.go
./lib/guile/2.0/ccache/ice-9/networking.go
./lib/guile/2.0/ccache/ice-9/posix.go
./lib/guile/2.0/ccache/ice-9/psyntax-pp.go
./lib/guile/2.0/ccache/ice-9/format.go
./lib/guile/2.0/ccache/ice-9/optargs.go
./lib/guile/2.0/ccache/ice-9/history.go
./lib/guile/2.0/ccache/ice-9/vlist.go
./lib/guile/2.0/ccache/ice-9/threads.go
./lib/guile/2.0/ccache/ice-9/safe-r5rs.go
./lib/guile/2.0/ccache/ice-9/streams.go
./lib/guile/2.0/ccache/ice-9/readline.go
./lib/guile/2.0/ccache/ice-9/slib.go
./lib/guile/2.0/ccache/ice-9/scm-style-repl.go
./lib/guile/2.0/ccache/ice-9/session.go
./lib/guile/2.0/ccache/ice-9/top-repl.go
./lib/guile/2.0/ccache/ice-9/channel.go
./lib/guile/2.0/ccache/ice-9/q.go
./lib/guile/2.0/ccache/ice-9/string-fun.go
./lib/guile/2.0/ccache/ice-9/r5rs.go
./lib/guile/2.0/ccache/ice-9/calling.go
./lib/guile/2.0/ccache/ice-9/futures.go
./lib/guile/2.0/ccache/ice-9/null.go
./lib/guile/2.0/ccache/ice-9/occam-channel.go
./lib/guile/2.0/ccache/ice-9/eval.go
./lib/guile/2.0/ccache/ice-9/receive.go
./lib/guile/2.0/ccache/ice-9/ftw.go
./lib/guile/2.0/ccache/ice-9/runq.go
./lib/guile/2.0/ccache/ice-9/rdelim.go
./lib/guile/2.0/ccache/ice-9/save-stack.go
./lib/guile/2.0/ccache/ice-9/local-eval.go
./lib/guile/2.0/ccache/ice-9/getopt-long.go
./lib/guile/2.0/ccache/ice-9/ls.go
./lib/guile/2.0/ccache/ice-9/lineio.go
./lib/guile/2.0/ccache/ice-9/i18n.go
./lib/guile/2.0/ccache/ice-9/deprecated.go
./lib/guile/2.0/ccache/ice-9/hcons.go
./lib/guile/2.0/ccache/ice-9/popen.go
./lib/guile/2.0/ccache/ice-9/curried-definitions.go
./lib/guile/2.0/ccache/ice-9/eval-string.go
./lib/guile/2.0/ccache/ice-9/match.go
./lib/guile/2.0/ccache/ice-9/weak-vector.go
./lib/guile/2.0/ccache/ice-9/poe.go
./lib/guile/2.0/ccache/ice-9/mapping.go
./lib/guile/2.0/ccache/ice-9/list.go
./lib/guile/2.0/ccache/ice-9/documentation.go
./lib/guile/2.0/ccache/ice-9/iconv.go
./lib/guile/2.0/ccache/language/
./lib/guile/2.0/ccache/language/assembly.go
./lib/guile/2.0/ccache/language/elisp/
./lib/guile/2.0/ccache/language/elisp/compile-tree-il.go
./lib/guile/2.0/ccache/language/elisp/spec.go
./lib/guile/2.0/ccache/language/elisp/parser.go
./lib/guile/2.0/ccache/language/elisp/runtime.go
./lib/guile/2.0/ccache/language/elisp/bindings.go
./lib/guile/2.0/ccache/language/elisp/lexer.go
./lib/guile/2.0/ccache/language/elisp/runtime/
./lib/guile/2.0/ccache/language/elisp/runtime/value-slot.go
./lib/guile/2.0/ccache/language/elisp/runtime/function-slot.go
./lib/guile/2.0/ccache/language/elisp/runtime/subrs.go
./lib/guile/2.0/ccache/language/elisp/runtime/macros.go
./lib/guile/2.0/ccache/language/assembly/
./lib/guile/2.0/ccache/language/assembly/decompile-bytecode.go
./lib/guile/2.0/ccache/language/assembly/spec.go
./lib/guile/2.0/ccache/language/assembly/compile-bytecode.go
./lib/guile/2.0/ccache/language/assembly/disassemble.go
./lib/guile/2.0/ccache/language/tree-il.go
./lib/guile/2.0/ccache/language/glil.go
./lib/guile/2.0/ccache/language/scheme/
./lib/guile/2.0/ccache/language/scheme/compile-tree-il.go
./lib/guile/2.0/ccache/language/scheme/spec.go
./lib/guile/2.0/ccache/language/scheme/decompile-tree-il.go
./lib/guile/2.0/ccache/language/brainfuck/
./lib/guile/2.0/ccache/language/brainfuck/compile-tree-il.go
./lib/guile/2.0/ccache/language/brainfuck/spec.go
./lib/guile/2.0/ccache/language/brainfuck/parse.go
./lib/guile/2.0/ccache/language/brainfuck/compile-scheme.go
./lib/guile/2.0/ccache/language/objcode/
./lib/guile/2.0/ccache/language/objcode/spec.go
./lib/guile/2.0/ccache/language/bytecode/
./lib/guile/2.0/ccache/language/bytecode/spec.go
./lib/guile/2.0/ccache/language/glil/
./lib/guile/2.0/ccache/language/glil/compile-assembly.go
./lib/guile/2.0/ccache/language/glil/spec.go
./lib/guile/2.0/ccache/language/tree-il/
./lib/guile/2.0/ccache/language/tree-il/debug.go
./lib/guile/2.0/ccache/language/tree-il/compile-glil.go
./lib/guile/2.0/ccache/language/tree-il/optimize.go
./lib/guile/2.0/ccache/language/tree-il/spec.go
./lib/guile/2.0/ccache/language/tree-il/canonicalize.go
./lib/guile/2.0/ccache/language/tree-il/inline.go
./lib/guile/2.0/ccache/language/tree-il/analyze.go
./lib/guile/2.0/ccache/language/tree-il/peval.go
./lib/guile/2.0/ccache/language/tree-il/cse.go
./lib/guile/2.0/ccache/language/tree-il/fix-letrec.go
./lib/guile/2.0/ccache/language/tree-il/effects.go
./lib/guile/2.0/ccache/language/tree-il/primitives.go
./lib/guile/2.0/ccache/language/ecmascript/
./lib/guile/2.0/ccache/language/ecmascript/compile-tree-il.go
./lib/guile/2.0/ccache/language/ecmascript/spec.go
./lib/guile/2.0/ccache/language/ecmascript/parse.go
./lib/guile/2.0/ccache/language/ecmascript/tokenize.go
./lib/guile/2.0/ccache/language/ecmascript/array.go
./lib/guile/2.0/ccache/language/ecmascript/impl.go
./lib/guile/2.0/ccache/language/ecmascript/function.go
./lib/guile/2.0/ccache/language/ecmascript/base.go
./lib/guile/2.0/ccache/language/value/
./lib/guile/2.0/ccache/language/value/spec.go
./lib/guile/2.0/ccache/web/
./lib/guile/2.0/ccache/web/http.go
./lib/guile/2.0/ccache/web/server/
./lib/guile/2.0/ccache/web/server/http.go
./lib/guile/2.0/ccache/web/client.go
./lib/guile/2.0/ccache/web/request.go
./lib/guile/2.0/ccache/web/server.go
./lib/guile/2.0/ccache/web/uri.go
./lib/guile/2.0/ccache/web/response.go
./lib/guile/2.0/ccache/oop/
./lib/guile/2.0/ccache/oop/goops.go
./lib/guile/2.0/ccache/oop/goops/
./lib/guile/2.0/ccache/oop/goops/composite-slot.go
./lib/guile/2.0/ccache/oop/goops/internal.go
./lib/guile/2.0/ccache/oop/goops/stklos.go
./lib/guile/2.0/ccache/oop/goops/save.go
./lib/guile/2.0/ccache/oop/goops/dispatch.go
./lib/guile/2.0/ccache/oop/goops/util.go
./lib/guile/2.0/ccache/oop/goops/active-slot.go
./lib/guile/2.0/ccache/oop/goops/simple.go
./lib/guile/2.0/ccache/oop/goops/describe.go
./lib/guile/2.0/ccache/oop/goops/compile.go
./lib/guile/2.0/ccache/oop/goops/accessors.go
./lib/guile/2.0/ccache/rnrs/
./lib/guile/2.0/ccache/rnrs/mutable-pairs.go
./lib/guile/2.0/ccache/rnrs/control.go
./lib/guile/2.0/ccache/rnrs/records/
./lib/guile/2.0/ccache/rnrs/records/procedural.go
./lib/guile/2.0/ccache/rnrs/records/syntactic.go
./lib/guile/2.0/ccache/rnrs/records/inspection.go
./lib/guile/2.0/ccache/rnrs/arithmetic/
./lib/guile/2.0/ccache/rnrs/arithmetic/fixnums.go
./lib/guile/2.0/ccache/rnrs/arithmetic/bitwise.go
./lib/guile/2.0/ccache/rnrs/arithmetic/flonums.go
./lib/guile/2.0/ccache/rnrs/enums.go
./lib/guile/2.0/ccache/rnrs/programs.go
./lib/guile/2.0/ccache/rnrs/exceptions.go
./lib/guile/2.0/ccache/rnrs/files.go
./lib/guile/2.0/ccache/rnrs/syntax-case.go
./lib/guile/2.0/ccache/rnrs/lists.go
./lib/guile/2.0/ccache/rnrs/mutable-strings.go
./lib/guile/2.0/ccache/rnrs/unicode.go
./lib/guile/2.0/ccache/rnrs/r5rs.go
./lib/guile/2.0/ccache/rnrs/hashtables.go
./lib/guile/2.0/ccache/rnrs/eval.go
./lib/guile/2.0/ccache/rnrs/conditions.go
./lib/guile/2.0/ccache/rnrs/bytevectors.go
./lib/guile/2.0/ccache/rnrs/sorting.go
./lib/guile/2.0/ccache/rnrs/base.go
./lib/guile/2.0/ccache/rnrs/io/
./lib/guile/2.0/ccache/rnrs/io/ports.go
./lib/guile/2.0/ccache/rnrs/io/simple.go
./lib/guile/2.0/ccache/sxml/
./lib/guile/2.0/ccache/sxml/transform.go
./lib/guile/2.0/ccache/sxml/ssax.go
./lib/guile/2.0/ccache/sxml/simple.go
./lib/guile/2.0/ccache/sxml/apply-templates.go
./lib/guile/2.0/ccache/sxml/xpath.go
./lib/guile/2.0/ccache/sxml/match.go
./lib/guile/2.0/ccache/sxml/fold.go
./lib/guile/2.0/ccache/sxml/ssax/
./lib/guile/2.0/ccache/sxml/ssax/input-parse.go
./lib/guile/2.0/ccache/rnrs.go
./lib/guile/2.0/ccache/srfi/
./lib/guile/2.0/ccache/srfi/srfi-4.go
./lib/guile/2.0/ccache/srfi/srfi-14.go
./lib/guile/2.0/ccache/srfi/srfi-26.go
./lib/guile/2.0/ccache/srfi/srfi-17.go
./lib/guile/2.0/ccache/srfi/srfi-27.go
./lib/guile/2.0/ccache/srfi/srfi-38.go
./lib/guile/2.0/ccache/srfi/srfi-34.go
./lib/guile/2.0/ccache/srfi/srfi-13.go
./lib/guile/2.0/ccache/srfi/srfi-41.go
./lib/guile/2.0/ccache/srfi/srfi-19.go
./lib/guile/2.0/ccache/srfi/srfi-67.go
./lib/guile/2.0/ccache/srfi/srfi-9.go
./lib/guile/2.0/ccache/srfi/srfi-2.go
./lib/guile/2.0/ccache/srfi/srfi-4/
./lib/guile/2.0/ccache/srfi/srfi-4/gnu.go
./lib/guile/2.0/ccache/srfi/srfi-60.go
./lib/guile/2.0/ccache/srfi/srfi-11.go
./lib/guile/2.0/ccache/srfi/srfi-69.go
./lib/guile/2.0/ccache/srfi/srfi-6.go
./lib/guile/2.0/ccache/srfi/srfi-37.go
./lib/guile/2.0/ccache/srfi/srfi-39.go
./lib/guile/2.0/ccache/srfi/srfi-1.go
./lib/guile/2.0/ccache/srfi/srfi-8.go
./lib/guile/2.0/ccache/srfi/srfi-9/
./lib/guile/2.0/ccache/srfi/srfi-9/gnu.go
./lib/guile/2.0/ccache/srfi/srfi-45.go
./lib/guile/2.0/ccache/srfi/srfi-42.go
./lib/guile/2.0/ccache/srfi/srfi-16.go
./lib/guile/2.0/ccache/srfi/srfi-31.go
./lib/guile/2.0/ccache/srfi/srfi-18.go
./lib/guile/2.0/ccache/srfi/srfi-88.go
./lib/guile/2.0/ccache/srfi/srfi-10.go
./lib/guile/2.0/ccache/srfi/srfi-35.go
./lib/guile/2.0/ccache/srfi/srfi-98.go
./lib/guile/2.0/ccache/texinfo.go
./lib/guile/2.0/ccache/statprof.go
./bin/
./bin/guile
bin/
bin/scripts/
bin/scripts/scan-api.scm
bin/scripts/autofrisk.scm
bin/scripts/snarf-check-and-output-texi.scm
bin/scripts/read-rfc822.scm
bin/scripts/read-text-outline.scm
bin/scripts/help.scm
bin/scripts/frisk.scm
bin/scripts/punify.scm
bin/scripts/lint.scm
bin/scripts/disassemble.scm
bin/scripts/summarize-guile-TODO.scm
bin/scripts/generate-autoload.scm
bin/scripts/display-commentary.scm
bin/scripts/compile.scm
bin/scripts/api-diff.scm
bin/scripts/use2dot.scm
bin/scripts/doc-snarf.scm
bin/scripts/read-scheme-source.scm
bin/scripts/snarf-guile-m4-docs.scm
bin/scripts/list.scm
bin/guile-rocks
bin/guile
`../share/guile/2.0/scripts/list.scm' -> `scripts/list.scm'
`../share/guile/2.0/scripts/snarf-guile-m4-docs.scm' -> `scripts/snarf-guile-m4-docs.scm'
`../share/guile/2.0/scripts/read-scheme-source.scm' -> `scripts/read-scheme-source.scm'
`../share/guile/2.0/scripts/doc-snarf.scm' -> `scripts/doc-snarf.scm'
`../share/guile/2.0/scripts/use2dot.scm' -> `scripts/use2dot.scm'
`../share/guile/2.0/scripts/api-diff.scm' -> `scripts/api-diff.scm'
`../share/guile/2.0/scripts/compile.scm' -> `scripts/compile.scm'
`../share/guile/2.0/scripts/display-commentary.scm' -> `scripts/display-commentary.scm'
`../share/guile/2.0/scripts/generate-autoload.scm' -> `scripts/generate-autoload.scm'
`../share/guile/2.0/scripts/summarize-guile-TODO.scm' -> `scripts/summarize-guile-TODO.scm'
`../share/guile/2.0/scripts/disassemble.scm' -> `scripts/disassemble.scm'
`../share/guile/2.0/scripts/lint.scm' -> `scripts/lint.scm'
`../share/guile/2.0/scripts/punify.scm' -> `scripts/punify.scm'
`../share/guile/2.0/scripts/frisk.scm' -> `scripts/frisk.scm'
`../share/guile/2.0/scripts/help.scm' -> `scripts/help.scm'
`../share/guile/2.0/scripts/read-text-outline.scm' -> `scripts/read-text-outline.scm'
`../share/guile/2.0/scripts/read-rfc822.scm' -> `scripts/read-rfc822.scm'
`../share/guile/2.0/scripts/snarf-check-and-output-texi.scm' -> `scripts/snarf-check-and-output-texi.scm'
`../share/guile/2.0/scripts/autofrisk.scm' -> `scripts/autofrisk.scm'
`../share/guile/2.0/scripts/scan-api.scm' -> `scripts/scan-api.scm'

;;; ((("source" . "/media/storage/src/guix/test-tmp/store/mf78wyqiikfc73kcfvclaw1p9jb52vcj-guile-2.0.9.tar.xz") ("tar" . "/media/storage/src/guix/test-tmp/store/gfxmm893yf0gqbc1yxx2hhaaggxc165g-bootstrap-binaries-0") ("xz" . "/media/storage/src/guix/test-tmp/store/gfxmm893yf0gqbc1yxx2hhaaggxc165g-bootstrap-binaries-0") ("patch" . "/media/storage/src/guix/test-tmp/store/gfxmm893yf0gqbc1yxx2hhaaggxc165g-bootstrap-binaries-0")) (("out" . "/media/storage/src/guix/test-tmp/store/hmgnbv307v2j6f28z6hvl9dq4zsakp05-guile-2.0.9.tar.xz")))
source is under 'bin'
@ build-succeeded /media/storage/src/guix/test-tmp/store/7xic7l3qxzrq826yclja9bp51gi8vppq-guile-2.0.9.tar.xz.drv -
@ build-started /media/storage/src/guix/test-tmp/store/1nrb1g94cgwqrbccxr5x52zfam7vmj48-with-snippet-0.drv - i686-linux /home/alexx/src/guix/test-tmp/var/log/guix/drvs/1n//rb1g94cgwqrbccxr5x52zfam7vmj48-with-snippet-0.drv.bz2
bin/
bin/scripts/
bin/scripts/scan-api.scm
bin/scripts/autofrisk.scm
bin/scripts/snarf-check-and-output-texi.scm
bin/scripts/read-rfc822.scm
bin/scripts/read-text-outline.scm
bin/scripts/help.scm
bin/scripts/frisk.scm
bin/scripts/punify.scm
bin/scripts/lint.scm
bin/scripts/disassemble.scm
bin/scripts/summarize-guile-TODO.scm
bin/scripts/generate-autoload.scm
bin/scripts/display-commentary.scm
bin/scripts/compile.scm
bin/scripts/api-diff.scm
bin/scripts/use2dot.scm
bin/scripts/doc-snarf.scm
bin/scripts/read-scheme-source.scm
bin/scripts/snarf-guile-m4-docs.scm
bin/scripts/list.scm
bin/guile-rocks
bin/guile
@ build-succeeded /media/storage/src/guix/test-tmp/store/1nrb1g94cgwqrbccxr5x52zfam7vmj48-with-snippet-0.drv -
killing process 5438
spurious SIGPOLL
spurious SIGPOLL
@ build-started /media/storage/src/guix/test-tmp/store/ml4kq2sfqlsrvlzldxh0qfcdghjw27c3-trivial-0.drv - i686-linux /home/alexx/src/guix/test-tmp/var/log/guix/drvs/ml//4kq2sfqlsrvlzldxh0qfcdghjw27c3-trivial-0.drv.bz2
@ build-succeeded /media/storage/src/guix/test-tmp/store/ml4kq2sfqlsrvlzldxh0qfcdghjw27c3-trivial-0.drv -
killing process 5450
spurious SIGPOLL
@ build-started /media/storage/src/guix/test-tmp/store/2aynq4mk33ywxcbv9pyhr0hwfd3nds29-trivial-with-input-file-0.drv - i686-linux /home/alexx/src/guix/test-tmp/var/log/guix/drvs/2a//ynq4mk33ywxcbv9pyhr0hwfd3nds29-trivial-with-input-file-0.drv.bz2
@ build-succeeded /media/storage/src/guix/test-tmp/store/2aynq4mk33ywxcbv9pyhr0hwfd3nds29-trivial-with-input-file-0.drv -
killing process 5453
@ build-started /media/storage/src/guix/test-tmp/store/iqbv9jqqa4kxqp7niyw4afmmrdj1lglj-trivial-with-source-0.drv - i686-linux /home/alexx/src/guix/test-tmp/var/log/guix/drvs/iq//bv9jqqa4kxqp7niyw4afmmrdj1lglj-trivial-with-source-0.drv.bz2
@ build-succeeded /media/storage/src/guix/test-tmp/store/iqbv9jqqa4kxqp7niyw4afmmrdj1lglj-trivial-with-source-0.drv -
killing process 5456
spurious SIGPOLL
@ build-started /media/storage/src/guix/test-tmp/store/g9srimblavp5irk8qdbfn31f4y9ldchl-trivial-system-dependent-input-0.drv - i686-linux /home/alexx/src/guix/test-tmp/var/log/guix/drvs/g9//srimblavp5irk8qdbfn31f4y9ldchl-trivial-system-dependent-input-0.drv.bz2
@ build-succeeded /media/storage/src/guix/test-tmp/store/g9srimblavp5irk8qdbfn31f4y9ldchl-trivial-system-dependent-input-0.drv -
killing process 5459
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
spurious SIGPOLL
%%%% Starting test packages  (Writing full log to "packages.log")
/media/storage/src/guix/./tests/packages.scm:85: FAIL package-field-location, relative file name

;;; (x (("b" #<package b-0 /media/storage/src/guix/./tests/packages.scm:92 9a0c210>) ("b/a" #<package a-0 /media/storage/src/guix/./tests/packages.scm:91 9a0c268>) ("c" #<package c-0 /media/storage/src/guix/./tests/packages.scm:94 9a0c1b8>) ("d" #<package d-0 /media/storage/src/guix/./tests/packages.scm:96 9a0c160>) ("d/x" "something.drv")))

;;; (fetch "./gnu/packages/bootstrap/i686-linux/guile-2.0.9.tar.xz" sha256 #vu8(183 87 205 70 191 19 236 172 131 251 142 149 95 181 0 150 172 45 23 187 97 12 168 235 129 111 41 48 42 0 168 70) #f "i686-linux")

;;; (snippet-drv #<derivation /media/storage/src/guix/test-tmp/store/1nrb1g94cgwqrbccxr5x52zfam7vmj48-with-snippet-0.drv => /media/storage/src/guix/test-tmp/store/45pbklnj9ry8niii09ynsilrp6cqdbnl-with-snippet-0 9f0eca8>)

;;; (drv #<derivation /media/storage/src/guix/test-tmp/store/ml4kq2sfqlsrvlzldxh0qfcdghjw27c3-trivial-0.drv => /media/storage/src/guix/test-tmp/store/p5x3bc0azf45lxa63r92krxajdfixq5p-trivial-0 a34dd20> "/media/storage/src/guix/test-tmp/store/p5x3bc0azf45lxa63r92krxajdfixq5p-trivial-0")

;;; (drv #<derivation /media/storage/src/guix/test-tmp/store/2aynq4mk33ywxcbv9pyhr0hwfd3nds29-trivial-with-input-file-0.drv => /media/storage/src/guix/test-tmp/store/hfcm3qs2fv7djjl2gqhs1q0jjl36n22j-trivial-with-input-file-0 9e30988> "/media/storage/src/guix/test-tmp/store/hfcm3qs2fv7djjl2gqhs1q0jjl36n22j-trivial-with-input-file-0")

;;; (drv #<derivation /media/storage/src/guix/test-tmp/store/g9srimblavp5irk8qdbfn31f4y9ldchl-trivial-system-dependent-input-0.drv => /media/storage/src/guix/test-tmp/store/11rm7zqpdpyinyff7gdr4psykpv01hdg-trivial-system-dependent-input-0 a7affa0> "/media/storage/src/guix/test-tmp/store/11rm7zqpdpyinyff7gdr4psykpv01hdg-trivial-system-dependent-input-0")
# of expected passes      20
# of unexpected failures  1
376 operations
./test-env: line 1:  5431 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot

FAIL: tests/guix-register
=========================

+ guix-register --version
guix-register (GNU Guix) 0.7
+ new_store=t-register-7895
+ closure=t-register-closure-7895
+ rm -rf t-register-7895
+ exit_hook=:
+ trap 'chmod -R +w t-register-7895 ; rm -rf t-register-7895 t-register-closure-7895 ; $exit_hook' EXIT
+ new_file=/media/storage/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-7895
+ echo 'Fake store file to test registration.'
+ guix-register
+ guile -c '
   (use-modules (guix store))
   (define s (open-connection))
   (exit (and (valid-path? s "/media/storage/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-7895")
              (null? (references s "/media/storage/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-7895"))
              (pair? (delete-paths s (list "/media/storage/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-7895")))))'
accepted connection from pid 7903, uid 1000
spurious SIGPOLL
finding garbage collector roots...
cannot read potential root `/home/alexx/src/guix/test-tmp/var/7889/manifests'
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /home/alexx/src/guix/nix/scripts/list-runtime-roots
;;; compiled /home/alexx/src/guix/test-tmp/var/7889/cache-7889/guile/ccache/2.0-LE-4-2.0/media/storage/src/guix/nix/scripts/list-runtime-roots.go
deleting `/media/storage/src/guix/test-tmp/store/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-guix-register-7895'
deleting `/media/storage/src/guix/test-tmp/store/trash'
deleting unused links...
note: currently hard linking saves -0.00 MiB
3 operations
+ mkdir -p t-register-7895//gnu/store
++ cd t-register-7895//gnu/store
++ pwd
+ new_store_dir=/home/alexx/src/guix/t-register-7895/gnu/store
++ cd t-register-7895
++ pwd
+ new_store=/home/alexx/src/guix/t-register-7895
++ guix build guile-bootstrap
accepted connection from pid 7911, uid 1000
spurious SIGPOLL
spurious SIGPOLL
substitute-binary: warning: authentication and authorization of substitutes disabled!
substitute-binary: guix substitute-binary: warning: ACL for archive imports seems to be uninitialized, substitutes may be unavailable
13 operations
+ to_copy=/media/storage/src/guix/test-tmp/store/ji5iz2fl2idfqb3qz7zihr02l90lmgbw-guile-bootstrap-2.0
+ cp -r /media/storage/src/guix/test-tmp/store/ji5iz2fl2idfqb3qz7zihr02l90lmgbw-guile-bootstrap-2.0 /home/alexx/src/guix/t-register-7895/gnu/store
++ basename /media/storage/src/guix/test-tmp/store/ji5iz2fl2idfqb3qz7zihr02l90lmgbw-guile-bootstrap-2.0
+ copied=/home/alexx/src/guix/t-register-7895/gnu/store/ji5iz2fl2idfqb3qz7zihr02l90lmgbw-guile-bootstrap-2.0
+ cat
+ guix-register -p /home/alexx/src/guix/t-register-7895
error: the path `/home/alexx/src' is a symlink; this is not allowed for the Nix store and its parent directories
+ chmod -R +w t-register-7895
+ rm -rf t-register-7895 t-register-closure-7895
+ :
./test-env: line 1:  7894 Terminated              "/home/alexx/src/guix/pre-inst-env" "/home/alexx/src/guix/guix-daemon" --disable-chroot


[-- Attachment #3: bad packages.log --]
[-- Type: text/plain, Size: 15072 bytes --]

%%%% Starting test packages
Group begin: packages
Test begin:
  test-name: "package-field-location"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 58
  source-form: (test-assert "package-field-location" (let () (define (goto port line column) (unless (and (= (port-column port) (- column 1)) (= (port-line port) (- line 1))) (unless (eof-object? (get-char port)) (goto port line column)))) (define read-at (match-lambda (($ <location> file line column) (call-with-input-file (search-path %load-path file) (lambda (port) (goto port line column) (read port)))))) (and (member (read-at (package-field-location %bootstrap-guile (quote name))) (let ((name (package-name %bootstrap-guile))) (list name (quasiquote (name (unquote name)))))) (member (read-at (package-field-location %bootstrap-guile (quote version))) (let ((version (package-version %bootstrap-guile))) (list version (quasiquote (version (unquote version)))))) (not (package-field-location %bootstrap-guile (quote does-not-exist))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-field-location, relative file name"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 85
  source-form: (test-equal "package-field-location, relative file name" (location-file (package-location %bootstrap-guile)) (with-fluids ((%file-port-name-canonicalization (quote absolute))) (location-file (package-field-location %bootstrap-guile (quote version)))))
Test end:
  result-kind: fail
  actual-value: "./gnu/packages/bootstrap.scm"
  expected-value: "gnu/packages/bootstrap.scm"
Test begin:
  test-name: "package-transitive-inputs"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 90
  source-form: (test-assert "package-transitive-inputs" (let* ((a (dummy-package "a")) (b (dummy-package "b" (propagated-inputs (quasiquote (("a" (unquote a))))))) (c (dummy-package "c" (inputs (quasiquote (("a" (unquote a))))))) (d (dummy-package "d" (propagated-inputs (quasiquote (("x" "something.drv")))))) (e (dummy-package "e" (inputs (quasiquote (("b" (unquote b)) ("c" (unquote c)) ("d" (unquote d)))))))) (and (null? (package-transitive-inputs a)) (equal? (quasiquote (("a" (unquote a)))) (package-transitive-inputs b)) (equal? (quasiquote (("a" (unquote a)))) (package-transitive-inputs c)) (equal? (package-propagated-inputs d) (package-transitive-inputs d)) (equal? (quasiquote (("b" (unquote b)) ("b/a" (unquote a)) ("c" (unquote c)) ("d" (unquote d)) ("d/x" "something.drv"))) (pk (quote x) (package-transitive-inputs e))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, file"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 111
  source-form: (test-assert "package-source-derivation, file" (let* ((file (search-path %load-path "guix.scm")) (package (package (inherit (dummy-package "p")) (source file))) (source (package-source-derivation %store (package-source package)))) (and (store-path? source) (valid-path? %store source) (equal? (call-with-input-file source get-bytevector-all) (call-with-input-file file get-bytevector-all)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, store path"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 122
  source-form: (test-assert "package-source-derivation, store path" (let* ((file (add-to-store %store "guix.scm" #t "sha256" (search-path %load-path "guix.scm"))) (package (package (inherit (dummy-package "p")) (source file))) (source (package-source-derivation %store (package-source package)))) (string=? file source)))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, indirect store path"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 131
  source-form: (test-assert "package-source-derivation, indirect store path" (let* ((dir (add-to-store %store "guix-build" #t "sha256" (dirname (search-path %load-path "guix/build/utils.scm")))) (package (package (inherit (dummy-package "p")) (source (string-append dir "/utils.scm")))) (source (package-source-derivation %store (package-source package)))) (and (direct-store-path? source) (string-suffix? "utils.scm" source))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, snippet"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 144
  source-form: (test-equal "package-source-derivation, snippet" "OK" (let* ((file (search-bootstrap-binary "guile-2.0.9.tar.xz" (%current-system))) (sha256 (call-with-input-file file port-sha256)) (fetch (lambda* (store url hash-algo hash #:optional name #:key system) (pk (quote fetch) url hash-algo hash name system) (add-to-store store (basename url) #f "sha256" url))) (source (bootstrap-origin (origin (method fetch) (uri file) (sha256 sha256) (patch-inputs (quasiquote (("tar" (unquote %bootstrap-coreutils&co)) ("xz" (unquote %bootstrap-coreutils&co)) ("patch" (unquote %bootstrap-coreutils&co))))) (patch-guile %bootstrap-guile) (modules (quote ((guix build utils)))) (imported-modules modules) (snippet (quote (begin (chmod "." 511) (symlink "guile" "guile-rocks") (copy-recursively "../share/guile/2.0/scripts" "scripts") (pk %build-inputs %outputs))))))) (package (package (inherit (dummy-package "with-snippet")) (source source) (build-system trivial-build-system) (inputs (quasiquote (("tar" (unquote (search-bootstrap-binary "tar" (%current-system)))) ("xz" (unquote (search-bootstrap-binary "xz" (%current-system))))))) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (let ((tar (assoc-ref %build-inputs "tar")) (xz (assoc-ref %build-inputs "xz")) (source (assoc-ref %build-inputs "source"))) (and (zero? (system* tar "xvf" source "--use-compress-program" xz)) (string=? "guile" (readlink "bin/guile-rocks")) (file-exists? "bin/scripts/compile.scm") (let ((out (assoc-ref %outputs "out"))) (call-with-output-file out (lambda (p) (display "OK" p))))))))))) (drv (package-derivation %store package)) (out (derivation->output-path drv))) (and (build-derivations %store (list (pk (quote snippet-drv) drv))) (call-with-input-file out get-string-all))))
Test end:
  result-kind: pass
  actual-value: "OK"
  expected-value: "OK"
Test begin:
  test-name: "return value"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 203
  source-form: (test-assert "return value" (let ((drv (package-derivation %store (dummy-package "p")))) (and (derivation? drv) (file-exists? (derivation-file-name drv)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-output"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 208
  source-form: (test-assert "package-output" (let* ((package (dummy-package "p")) (drv (package-derivation %store package))) (and (derivation? drv) (string=? (derivation->output-path drv) (package-output %store package "out")))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 215
  source-form: (test-assert "trivial" (let* ((p (package (inherit (dummy-package "trivial")) (build-system trivial-build-system) (source #f) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (begin (mkdir %output) (call-with-output-file (string-append %output "/test") (lambda (p) (display (quote (hello guix)) p))))))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (pk (quote drv) d (derivation->output-path d)))) (equal? (quote (hello guix)) (call-with-input-file (string-append p "/test") read))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial with local file as input"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 233
  source-form: (test-assert "trivial with local file as input" (let* ((i (search-path %load-path "ice-9/boot-9.scm")) (p (package (inherit (dummy-package "trivial-with-input-file")) (build-system trivial-build-system) (source #f) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (copy-file (assoc-ref %build-inputs "input") %output)))) (inputs (quasiquote (("input" (unquote i))))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (pk (quote drv) d (derivation->output-path d)))) (equal? (call-with-input-file p get-bytevector-all) (call-with-input-file i get-bytevector-all))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial with source"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 249
  source-form: (test-assert "trivial with source" (let* ((i (search-path %load-path "ice-9/boot-9.scm")) (p (package (inherit (dummy-package "trivial-with-source")) (build-system trivial-build-system) (source i) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (copy-file (assoc-ref %build-inputs "source") %output)))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (derivation->output-path d))) (equal? (call-with-input-file p get-bytevector-all) (call-with-input-file i get-bytevector-all))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial with system-dependent input"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 264
  source-form: (test-assert "trivial with system-dependent input" (let* ((p (package (inherit (dummy-package "trivial-system-dependent-input")) (build-system trivial-build-system) (source #f) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (let ((out (assoc-ref %outputs "out")) (bash (assoc-ref %build-inputs "bash"))) (zero? (system* bash "-c" (format #f "echo hello > ~a" out))))))) (inputs (quasiquote (("bash" (unquote (search-bootstrap-binary "bash" (%current-system))))))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (pk (quote drv) d (derivation->output-path d)))) (eq? (quote hello) (call-with-input-file p read))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "search paths"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 282
  source-form: (test-assert "search paths" (let* ((p (make-prompt-tag "return-search-paths")) (s (build-system (name "raw") (description "Raw build system with direct store access") (build (lambda* (store name source inputs #:key outputs system search-paths) search-paths)))) (x (list (search-path-specification (variable "GUILE_LOAD_PATH") (directories (quote ("share/guile/site/2.0")))) (search-path-specification (variable "GUILE_LOAD_COMPILED_PATH") (directories (quote ("share/guile/site/2.0")))))) (a (package (inherit (dummy-package "guile")) (build-system s) (native-search-paths x))) (b (package (inherit (dummy-package "guile-foo")) (build-system s) (inputs (quasiquote (("guile" (unquote a))))))) (c (package (inherit (dummy-package "guile-bar")) (build-system s) (inputs (quasiquote (("guile" (unquote a)) ("guile-foo" (unquote b)))))))) (let-syntax ((collect (syntax-rules () ((_ body ...) (call-with-prompt p (lambda () body ...) (lambda (k search-paths) search-paths)))))) (and (null? (collect (package-derivation %store a))) (equal? x (collect (package-derivation %store b))) (equal? x (collect (package-derivation %store c)))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-cross-derivation"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 317
  source-form: (test-assert "package-cross-derivation" (let ((drv (package-cross-derivation %store (dummy-package "p") "mips64el-linux-gnu"))) (and (derivation? drv) (file-exists? (derivation-file-name drv)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-cross-derivation, trivial-build-system"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 323
  source-form: (test-assert "package-cross-derivation, trivial-build-system" (let ((p (package (inherit (dummy-package "p")) (build-system trivial-build-system) (arguments (quote (#:builder (exit 1))))))) (let ((drv (package-cross-derivation %store p "mips64el-linux-gnu"))) (derivation? drv))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-cross-derivation, no cross builder"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 330
  source-form: (test-assert "package-cross-derivation, no cross builder" (let* ((b (build-system (inherit trivial-build-system) (cross-build #f))) (p (package (inherit (dummy-package "p")) (build-system b)))) (guard (c ((package-cross-build-system-error? c) (eq? (package-error-package c) p))) (package-cross-derivation %store p "mips64el-linux-gnu") #f)))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "GNU Make, bootstrap"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 342
  source-form: (test-assert "GNU Make, bootstrap" (let ((gnu-make (@@ (gnu packages base) gnu-make-boot0))) (and (package? gnu-make) (or (location? (package-location gnu-make)) (not (package-location gnu-make))) (let* ((drv (package-derivation %store gnu-make)) (out (derivation->output-path drv))) (and (build-derivations %store (list drv)) (file-exists? (string-append out "/bin/make")))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "fold-packages"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 354
  source-form: (test-eq "fold-packages" hello (fold-packages (lambda (p r) (if (string=? (package-name p) "hello") p r)) #f))
Test end:
  result-kind: pass
  actual-value: #<package hello-2.9 gnu/packages/base.scm:55 9a79210>
  expected-value: #<package hello-2.9 gnu/packages/base.scm:55 9a79210>
Test begin:
  test-name: "find-packages-by-name"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 361
  source-form: (test-assert "find-packages-by-name" (match (find-packages-by-name "hello") (((? (cut eq? hello <>))) #t) (wrong (pk (quote find-packages-by-name) wrong #f))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "find-packages-by-name with version"
  source-file: "/media/storage/src/guix/./tests/packages.scm"
  source-line: 366
  source-form: (test-assert "find-packages-by-name with version" (match (find-packages-by-name "hello" (package-version hello)) (((? (cut eq? hello <>))) #t) (wrong (pk (quote find-packages-by-name) wrong #f))))
Test end:
  result-kind: pass
  actual-value: #t
Group end: packages
# of expected passes      20
# of unexpected failures  1

[-- Attachment #4: good packages.log --]
[-- Type: text/plain, Size: 14495 bytes --]

%%%% Starting test packages
Group begin: packages
Test begin:
  test-name: "package-field-location"
  source-file: "tests/packages.scm"
  source-line: 58
  source-form: (test-assert "package-field-location" (let () (define (goto port line column) (unless (and (= (port-column port) (- column 1)) (= (port-line port) (- line 1))) (unless (eof-object? (get-char port)) (goto port line column)))) (define read-at (match-lambda (($ <location> file line column) (call-with-input-file (search-path %load-path file) (lambda (port) (goto port line column) (read port)))))) (and (member (read-at (package-field-location %bootstrap-guile (quote name))) (let ((name (package-name %bootstrap-guile))) (list name (quasiquote (name (unquote name)))))) (member (read-at (package-field-location %bootstrap-guile (quote version))) (let ((version (package-version %bootstrap-guile))) (list version (quasiquote (version (unquote version)))))) (not (package-field-location %bootstrap-guile (quote does-not-exist))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-field-location, relative file name"
  source-file: "tests/packages.scm"
  source-line: 85
  source-form: (test-equal "package-field-location, relative file name" (location-file (package-location %bootstrap-guile)) (with-fluids ((%file-port-name-canonicalization (quote absolute))) (location-file (package-field-location %bootstrap-guile (quote version)))))
Test end:
  result-kind: pass
  actual-value: "gnu/packages/bootstrap.scm"
  expected-value: "gnu/packages/bootstrap.scm"
Test begin:
  test-name: "package-transitive-inputs"
  source-file: "tests/packages.scm"
  source-line: 90
  source-form: (test-assert "package-transitive-inputs" (let* ((a (dummy-package "a")) (b (dummy-package "b" (propagated-inputs (quasiquote (("a" (unquote a))))))) (c (dummy-package "c" (inputs (quasiquote (("a" (unquote a))))))) (d (dummy-package "d" (propagated-inputs (quasiquote (("x" "something.drv")))))) (e (dummy-package "e" (inputs (quasiquote (("b" (unquote b)) ("c" (unquote c)) ("d" (unquote d)))))))) (and (null? (package-transitive-inputs a)) (equal? (quasiquote (("a" (unquote a)))) (package-transitive-inputs b)) (equal? (quasiquote (("a" (unquote a)))) (package-transitive-inputs c)) (equal? (package-propagated-inputs d) (package-transitive-inputs d)) (equal? (quasiquote (("b" (unquote b)) ("b/a" (unquote a)) ("c" (unquote c)) ("d" (unquote d)) ("d/x" "something.drv"))) (pk (quote x) (package-transitive-inputs e))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, file"
  source-file: "tests/packages.scm"
  source-line: 111
  source-form: (test-assert "package-source-derivation, file" (let* ((file (search-path %load-path "guix.scm")) (package (package (inherit (dummy-package "p")) (source file))) (source (package-source-derivation %store (package-source package)))) (and (store-path? source) (valid-path? %store source) (equal? (call-with-input-file source get-bytevector-all) (call-with-input-file file get-bytevector-all)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, store path"
  source-file: "tests/packages.scm"
  source-line: 122
  source-form: (test-assert "package-source-derivation, store path" (let* ((file (add-to-store %store "guix.scm" #t "sha256" (search-path %load-path "guix.scm"))) (package (package (inherit (dummy-package "p")) (source file))) (source (package-source-derivation %store (package-source package)))) (string=? file source)))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, indirect store path"
  source-file: "tests/packages.scm"
  source-line: 131
  source-form: (test-assert "package-source-derivation, indirect store path" (let* ((dir (add-to-store %store "guix-build" #t "sha256" (dirname (search-path %load-path "guix/build/utils.scm")))) (package (package (inherit (dummy-package "p")) (source (string-append dir "/utils.scm")))) (source (package-source-derivation %store (package-source package)))) (and (direct-store-path? source) (string-suffix? "utils.scm" source))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-source-derivation, snippet"
  source-file: "tests/packages.scm"
  source-line: 144
  source-form: (test-equal "package-source-derivation, snippet" "OK" (let* ((file (search-bootstrap-binary "guile-2.0.9.tar.xz" (%current-system))) (sha256 (call-with-input-file file port-sha256)) (fetch (lambda* (store url hash-algo hash #:optional name #:key system) (pk (quote fetch) url hash-algo hash name system) (add-to-store store (basename url) #f "sha256" url))) (source (bootstrap-origin (origin (method fetch) (uri file) (sha256 sha256) (patch-inputs (quasiquote (("tar" (unquote %bootstrap-coreutils&co)) ("xz" (unquote %bootstrap-coreutils&co)) ("patch" (unquote %bootstrap-coreutils&co))))) (patch-guile %bootstrap-guile) (modules (quote ((guix build utils)))) (imported-modules modules) (snippet (quote (begin (chmod "." 511) (symlink "guile" "guile-rocks") (copy-recursively "../share/guile/2.0/scripts" "scripts") (pk %build-inputs %outputs))))))) (package (package (inherit (dummy-package "with-snippet")) (source source) (build-system trivial-build-system) (inputs (quasiquote (("tar" (unquote (search-bootstrap-binary "tar" (%current-system)))) ("xz" (unquote (search-bootstrap-binary "xz" (%current-system))))))) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (let ((tar (assoc-ref %build-inputs "tar")) (xz (assoc-ref %build-inputs "xz")) (source (assoc-ref %build-inputs "source"))) (and (zero? (system* tar "xvf" source "--use-compress-program" xz)) (string=? "guile" (readlink "bin/guile-rocks")) (file-exists? "bin/scripts/compile.scm") (let ((out (assoc-ref %outputs "out"))) (call-with-output-file out (lambda (p) (display "OK" p))))))))))) (drv (package-derivation %store package)) (out (derivation->output-path drv))) (and (build-derivations %store (list (pk (quote snippet-drv) drv))) (call-with-input-file out get-string-all))))
Test end:
  result-kind: pass
  actual-value: "OK"
  expected-value: "OK"
Test begin:
  test-name: "return value"
  source-file: "tests/packages.scm"
  source-line: 203
  source-form: (test-assert "return value" (let ((drv (package-derivation %store (dummy-package "p")))) (and (derivation? drv) (file-exists? (derivation-file-name drv)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-output"
  source-file: "tests/packages.scm"
  source-line: 208
  source-form: (test-assert "package-output" (let* ((package (dummy-package "p")) (drv (package-derivation %store package))) (and (derivation? drv) (string=? (derivation->output-path drv) (package-output %store package "out")))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial"
  source-file: "tests/packages.scm"
  source-line: 215
  source-form: (test-assert "trivial" (let* ((p (package (inherit (dummy-package "trivial")) (build-system trivial-build-system) (source #f) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (begin (mkdir %output) (call-with-output-file (string-append %output "/test") (lambda (p) (display (quote (hello guix)) p))))))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (pk (quote drv) d (derivation->output-path d)))) (equal? (quote (hello guix)) (call-with-input-file (string-append p "/test") read))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial with local file as input"
  source-file: "tests/packages.scm"
  source-line: 233
  source-form: (test-assert "trivial with local file as input" (let* ((i (search-path %load-path "ice-9/boot-9.scm")) (p (package (inherit (dummy-package "trivial-with-input-file")) (build-system trivial-build-system) (source #f) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (copy-file (assoc-ref %build-inputs "input") %output)))) (inputs (quasiquote (("input" (unquote i))))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (pk (quote drv) d (derivation->output-path d)))) (equal? (call-with-input-file p get-bytevector-all) (call-with-input-file i get-bytevector-all))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial with source"
  source-file: "tests/packages.scm"
  source-line: 249
  source-form: (test-assert "trivial with source" (let* ((i (search-path %load-path "ice-9/boot-9.scm")) (p (package (inherit (dummy-package "trivial-with-source")) (build-system trivial-build-system) (source i) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (copy-file (assoc-ref %build-inputs "source") %output)))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (derivation->output-path d))) (equal? (call-with-input-file p get-bytevector-all) (call-with-input-file i get-bytevector-all))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "trivial with system-dependent input"
  source-file: "tests/packages.scm"
  source-line: 264
  source-form: (test-assert "trivial with system-dependent input" (let* ((p (package (inherit (dummy-package "trivial-system-dependent-input")) (build-system trivial-build-system) (source #f) (arguments (quasiquote (#:guile (unquote %bootstrap-guile) #:builder (let ((out (assoc-ref %outputs "out")) (bash (assoc-ref %build-inputs "bash"))) (zero? (system* bash "-c" (format #f "echo hello > ~a" out))))))) (inputs (quasiquote (("bash" (unquote (search-bootstrap-binary "bash" (%current-system))))))))) (d (package-derivation %store p))) (and (build-derivations %store (list d)) (let ((p (pk (quote drv) d (derivation->output-path d)))) (eq? (quote hello) (call-with-input-file p read))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "search paths"
  source-file: "tests/packages.scm"
  source-line: 282
  source-form: (test-assert "search paths" (let* ((p (make-prompt-tag "return-search-paths")) (s (build-system (name "raw") (description "Raw build system with direct store access") (build (lambda* (store name source inputs #:key outputs system search-paths) search-paths)))) (x (list (search-path-specification (variable "GUILE_LOAD_PATH") (directories (quote ("share/guile/site/2.0")))) (search-path-specification (variable "GUILE_LOAD_COMPILED_PATH") (directories (quote ("share/guile/site/2.0")))))) (a (package (inherit (dummy-package "guile")) (build-system s) (native-search-paths x))) (b (package (inherit (dummy-package "guile-foo")) (build-system s) (inputs (quasiquote (("guile" (unquote a))))))) (c (package (inherit (dummy-package "guile-bar")) (build-system s) (inputs (quasiquote (("guile" (unquote a)) ("guile-foo" (unquote b)))))))) (let-syntax ((collect (syntax-rules () ((_ body ...) (call-with-prompt p (lambda () body ...) (lambda (k search-paths) search-paths)))))) (and (null? (collect (package-derivation %store a))) (equal? x (collect (package-derivation %store b))) (equal? x (collect (package-derivation %store c)))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-cross-derivation"
  source-file: "tests/packages.scm"
  source-line: 317
  source-form: (test-assert "package-cross-derivation" (let ((drv (package-cross-derivation %store (dummy-package "p") "mips64el-linux-gnu"))) (and (derivation? drv) (file-exists? (derivation-file-name drv)))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-cross-derivation, trivial-build-system"
  source-file: "tests/packages.scm"
  source-line: 323
  source-form: (test-assert "package-cross-derivation, trivial-build-system" (let ((p (package (inherit (dummy-package "p")) (build-system trivial-build-system) (arguments (quote (#:builder (exit 1))))))) (let ((drv (package-cross-derivation %store p "mips64el-linux-gnu"))) (derivation? drv))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "package-cross-derivation, no cross builder"
  source-file: "tests/packages.scm"
  source-line: 330
  source-form: (test-assert "package-cross-derivation, no cross builder" (let* ((b (build-system (inherit trivial-build-system) (cross-build #f))) (p (package (inherit (dummy-package "p")) (build-system b)))) (guard (c ((package-cross-build-system-error? c) (eq? (package-error-package c) p))) (package-cross-derivation %store p "mips64el-linux-gnu") #f)))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "GNU Make, bootstrap"
  source-file: "tests/packages.scm"
  source-line: 342
  source-form: (test-assert "GNU Make, bootstrap" (let ((gnu-make (@@ (gnu packages base) gnu-make-boot0))) (and (package? gnu-make) (or (location? (package-location gnu-make)) (not (package-location gnu-make))) (let* ((drv (package-derivation %store gnu-make)) (out (derivation->output-path drv))) (and (build-derivations %store (list drv)) (file-exists? (string-append out "/bin/make")))))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "fold-packages"
  source-file: "tests/packages.scm"
  source-line: 354
  source-form: (test-eq "fold-packages" hello (fold-packages (lambda (p r) (if (string=? (package-name p) "hello") p r)) #f))
Test end:
  result-kind: pass
  actual-value: #<package hello-2.9 gnu/packages/base.scm:55 a9d8210>
  expected-value: #<package hello-2.9 gnu/packages/base.scm:55 a9d8210>
Test begin:
  test-name: "find-packages-by-name"
  source-file: "tests/packages.scm"
  source-line: 361
  source-form: (test-assert "find-packages-by-name" (match (find-packages-by-name "hello") (((? (cut eq? hello <>))) #t) (wrong (pk (quote find-packages-by-name) wrong #f))))
Test end:
  result-kind: pass
  actual-value: #t
Test begin:
  test-name: "find-packages-by-name with version"
  source-file: "tests/packages.scm"
  source-line: 366
  source-form: (test-assert "find-packages-by-name with version" (match (find-packages-by-name "hello" (package-version hello)) (((? (cut eq? hello <>))) #t) (wrong (pk (quote find-packages-by-name) wrong #f))))
Test end:
  result-kind: pass
  actual-value: #t
Group end: packages
# of expected passes      21

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-05 13:33           ` Alex Kost
@ 2014-07-05 13:59             ` Ludovic Courtès
  2014-07-05 15:30               ` Alex Kost
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-07-05 13:59 UTC (permalink / raw)
  To: Alex Kost; +Cc: 17935

[-- Attachment #1: Type: text/plain, Size: 2411 bytes --]

Alex Kost <alezost@gmail.com> skribis:

> Ludovic Courtès (2014-07-05 13:42 +0400) wrote:
>>
>> [...]
>>
>>> So I think the problem with the patch is that “@GUIX_TEST_ROOT@/store”
>>> directory does not exist when “`cd "@GUIX_TEST_ROOT@/store"; pwd -P`” is
>>> being invoked.
>>
>> Oops, indeed.  Could you try this version, again from a directory with
>> symlinks?
>>
>> diff --git a/test-env.in b/test-env.in
>> index a3b3536..9d0c8cc 100644
>> --- a/test-env.in
>> +++ b/test-env.in
>> @@ -27,8 +27,15 @@
>>  if [ -x "@abs_top_builddir@/guix-daemon" ]
>>  then
>>      NIX_SETUID_HELPER="@abs_top_builddir@/nix-setuid-helper" # normally unused
>> -    NIX_IGNORE_SYMLINK_STORE=1	# in case the store is a symlink
>>      NIX_STORE_DIR="@GUIX_TEST_ROOT@/store"
>> +
>> +    # Do that because store.scm calls `canonicalize-path' on it.
>> +    mkdir -p "$NIX_STORE_DIR"
>> +
>> +    # Canonicalize the store directory name in an attempt to avoid symlinks in
>> +    # it or its parent directories.  See <http://bugs.gnu.org/17935>.
>> +    NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
>> +
>>      NIX_LOCALSTATE_DIR="@GUIX_TEST_ROOT@/var"
>>      NIX_LOG_DIR="@GUIX_TEST_ROOT@/var/log/guix"
>>      NIX_DB_DIR="@GUIX_TEST_ROOT@/db"
>> @@ -71,9 +78,6 @@ then
>>          GUIX_ALLOW_UNAUTHENTICATED_SUBSTITUTES				\
>>          NIX_CONF_DIR XDG_CACHE_HOME
>>
>> -    # Do that because store.scm calls `canonicalize-path' on it.
>> -    mkdir -p "$NIX_STORE_DIR"
>> -
>>      # Launch the daemon without chroot support because is may be
>>      # unavailable, for instance if we're not running as root.
>>      "@abs_top_builddir@/pre-inst-env"				\
>>
>> Thanks in advance,
>> Ludo’.
>
> I have tried that.  Unfortunately 2 tests failed.

OK, we’re making progress.  ;-)

> Also I think
>     NIX_STORE_DIR="`cd "@GUIX_TEST_ROOT@/store"; pwd -P`"
> may be replaced with:
>     NIX_STORE_DIR="`realpath "@GUIX_TEST_ROOT@/store"`"

This is virtually equivalent, but probably less portable.

> FAIL: tests/guix-register
> =========================

[...]

> + guix-register -p /home/alexx/src/guix/t-register-7895
> error: the path `/home/alexx/src' is a symlink; this is not allowed for the Nix store and its parent directories

Can you check whether the patch below (in addition to the previous one)
solves the problem?


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 684 bytes --]

diff --git a/tests/guix-register.sh b/tests/guix-register.sh
index 019a451..f18de8d 100644
--- a/tests/guix-register.sh
+++ b/tests/guix-register.sh
@@ -58,7 +58,7 @@ guile -c "
 
 mkdir -p "$new_store/$storedir"
 new_store_dir="`cd "$new_store/$storedir" ; pwd`"
-new_store="`cd "$new_store" ; pwd`"
+new_store="`cd "$new_store" ; pwd -P`"
 
 to_copy="`guix build guile-bootstrap`"
 cp -r "$to_copy" "$new_store_dir"
@@ -81,7 +81,6 @@ guix-register --prefix "$new_store" "$closure"
 
 # Now make sure this is recognized as valid.
 
-NIX_IGNORE_SYMLINK_STORE=1
 NIX_STORE_DIR="$new_store_dir"
 NIX_STATE_DIR="$new_store$localstatedir"
 NIX_LOG_DIR="$new_store$localstatedir/log/guix"

[-- Attachment #3: Type: text/plain, Size: 680 bytes --]


> Test begin:
>   test-name: "package-field-location, relative file name"
>   source-file: "/media/storage/src/guix/./tests/packages.scm"
>   source-line: 85
>   source-form: (test-equal "package-field-location, relative file name" (location-file (package-location %bootstrap-guile)) (with-fluids ((%file-port-name-canonicalization (quote absolute))) (location-file (package-field-location %bootstrap-guile (quote version)))))
> Test end:
>   result-kind: fail
>   actual-value: "./gnu/packages/bootstrap.scm"
>   expected-value: "gnu/packages/bootstrap.scm"

I’m not sure if this one relates to the symlink story, but it’s harmless
anyway.

Thanks,
Ludo’.

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-05 13:59             ` Ludovic Courtès
@ 2014-07-05 15:30               ` Alex Kost
  2014-07-05 17:20                 ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Kost @ 2014-07-05 15:30 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 17935

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

Ludovic Courtès (2014-07-05 17:59 +0400) wrote:

> Alex Kost <alezost@gmail.com> skribis:
>
>> FAIL: tests/guix-register
>> =========================
>
> [...]
>
>> + guix-register -p /home/alexx/src/guix/t-register-7895
>> error: the path `/home/alexx/src' is a symlink; this is not allowed for the Nix store and its parent directories
>
> Can you check whether the patch below (in addition to the previous one)
> solves the problem?
>
> diff --git a/tests/guix-register.sh b/tests/guix-register.sh
> index 019a451..f18de8d 100644
> --- a/tests/guix-register.sh
> +++ b/tests/guix-register.sh
> @@ -58,7 +58,7 @@ guile -c "
>
>  mkdir -p "$new_store/$storedir"
>  new_store_dir="`cd "$new_store/$storedir" ; pwd`"
> -new_store="`cd "$new_store" ; pwd`"
> +new_store="`cd "$new_store" ; pwd -P`"
>
>  to_copy="`guix build guile-bootstrap`"
>  cp -r "$to_copy" "$new_store_dir"
> @@ -81,7 +81,6 @@ guix-register --prefix "$new_store" "$closure"
>
>  # Now make sure this is recognized as valid.
>
> -NIX_IGNORE_SYMLINK_STORE=1
>  NIX_STORE_DIR="$new_store_dir"
>  NIX_STATE_DIR="$new_store$localstatedir"
>  NIX_LOG_DIR="$new_store$localstatedir/log/guix"

After this patch “guix-register” test failed again, but when I modified
“new_store_dir” in the same way, it passed.  Here is the modified patch:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 742 bytes --]

diff --git a/tests/guix-register.sh b/tests/guix-register.sh
index 019a451..28b799b 100644
--- a/tests/guix-register.sh
+++ b/tests/guix-register.sh
@@ -57,8 +57,8 @@ guile -c "
 #
 
 mkdir -p "$new_store/$storedir"
-new_store_dir="`cd "$new_store/$storedir" ; pwd`"
-new_store="`cd "$new_store" ; pwd`"
+new_store_dir="`cd "$new_store/$storedir" ; pwd -P`"
+new_store="`cd "$new_store" ; pwd -P`"
 
 to_copy="`guix build guile-bootstrap`"
 cp -r "$to_copy" "$new_store_dir"
@@ -81,7 +81,6 @@ guix-register --prefix "$new_store" "$closure"
 
 # Now make sure this is recognized as valid.
 
-NIX_IGNORE_SYMLINK_STORE=1
 NIX_STORE_DIR="$new_store_dir"
 NIX_STATE_DIR="$new_store$localstatedir"
 NIX_LOG_DIR="$new_store$localstatedir/log/guix"


[-- Attachment #3: Type: text/plain, Size: 1024 bytes --]


>> Test begin:
>>   test-name: "package-field-location, relative file name"
>>   source-file: "/media/storage/src/guix/./tests/packages.scm"
>>   source-line: 85
>>   source-form: (test-equal "package-field-location, relative file
>> name" (location-file (package-location %bootstrap-guile)) (with-fluids
>> ((%file-port-name-canonicalization (quote absolute))) (location-file
>> (package-field-location %bootstrap-guile (quote version)))))
>> Test end:
>>   result-kind: fail
>>   actual-value: "./gnu/packages/bootstrap.scm"
>>   expected-value: "gnu/packages/bootstrap.scm"
>
> I’m not sure if this one relates to the symlink story, but it’s harmless
> anyway.

It's harmless but “make check” fails because of this and now it's the
only fail left unsolved.  I don't understand why those paths become so
fancy, but it happens only when I build from a symlinked directory and
doesn't happen in an absolute directory.  I don't insist but perhaps it
would be better to make a less strict test.

^ permalink raw reply related	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-05 15:30               ` Alex Kost
@ 2014-07-05 17:20                 ` Ludovic Courtès
  2014-07-05 18:01                   ` Alex Kost
  0 siblings, 1 reply; 12+ messages in thread
From: Ludovic Courtès @ 2014-07-05 17:20 UTC (permalink / raw)
  To: Alex Kost; +Cc: 17935

Alex Kost <alezost@gmail.com> skribis:

> Ludovic Courtès (2014-07-05 17:59 +0400) wrote:
>
>> Alex Kost <alezost@gmail.com> skribis:
>>
>>> FAIL: tests/guix-register
>>> =========================
>>
>> [...]
>>
>>> + guix-register -p /home/alexx/src/guix/t-register-7895
>>> error: the path `/home/alexx/src' is a symlink; this is not allowed for the Nix store and its parent directories
>>
>> Can you check whether the patch below (in addition to the previous one)
>> solves the problem?
>>
>> diff --git a/tests/guix-register.sh b/tests/guix-register.sh
>> index 019a451..f18de8d 100644
>> --- a/tests/guix-register.sh
>> +++ b/tests/guix-register.sh
>> @@ -58,7 +58,7 @@ guile -c "
>>
>>  mkdir -p "$new_store/$storedir"
>>  new_store_dir="`cd "$new_store/$storedir" ; pwd`"
>> -new_store="`cd "$new_store" ; pwd`"
>> +new_store="`cd "$new_store" ; pwd -P`"
>>
>>  to_copy="`guix build guile-bootstrap`"
>>  cp -r "$to_copy" "$new_store_dir"
>> @@ -81,7 +81,6 @@ guix-register --prefix "$new_store" "$closure"
>>
>>  # Now make sure this is recognized as valid.
>>
>> -NIX_IGNORE_SYMLINK_STORE=1
>>  NIX_STORE_DIR="$new_store_dir"
>>  NIX_STATE_DIR="$new_store$localstatedir"
>>  NIX_LOG_DIR="$new_store$localstatedir/log/guix"
>
> After this patch “guix-register” test failed again, but when I modified
> “new_store_dir” in the same way, it passed.  Here is the modified patch:

Excellent, thanks.  Committed in 8ad4949.

>>> Test begin:
>>>   test-name: "package-field-location, relative file name"
>>>   source-file: "/media/storage/src/guix/./tests/packages.scm"
>>>   source-line: 85
>>>   source-form: (test-equal "package-field-location, relative file
>>> name" (location-file (package-location %bootstrap-guile)) (with-fluids
>>> ((%file-port-name-canonicalization (quote absolute))) (location-file
>>> (package-field-location %bootstrap-guile (quote version)))))
>>> Test end:
>>>   result-kind: fail
>>>   actual-value: "./gnu/packages/bootstrap.scm"
>>>   expected-value: "gnu/packages/bootstrap.scm"
>>
>> I’m not sure if this one relates to the symlink story, but it’s harmless
>> anyway.
>
> It's harmless but “make check” fails because of this and now it's the
> only fail left unsolved.  I don't understand why those paths become so
> fancy, but it happens only when I build from a symlinked directory and
> doesn't happen in an absolute directory.  I don't insist but perhaps it
> would be better to make a less strict test.

Could you run “./pre-inst-env guile”, type these 3 expressions at the
prompt, and send the result:

  (with-fluids ((%file-port-name-canonicalization 'relative))
    (call-with-input-file (search-path %load-path "gnu/packages/bootstrap.scm")
       port-filename))

  (search-path %load-path "gnu/packages/bootstrap.scm")

  (version)

TIA,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-05 17:20                 ` Ludovic Courtès
@ 2014-07-05 18:01                   ` Alex Kost
  2014-07-06 19:31                     ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Kost @ 2014-07-05 18:01 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 17935

Ludovic Courtès (2014-07-05 21:20 +0400) wrote:
>
> Could you run “./pre-inst-env guile”, type these 3 expressions at the
> prompt, and send the result:
>
>   (with-fluids ((%file-port-name-canonicalization 'relative))
>     (call-with-input-file (search-path %load-path "gnu/packages/bootstrap.scm")
>        port-filename))
>
>   (search-path %load-path "gnu/packages/bootstrap.scm")
>
>   (version)
>
> TIA,
> Ludo’.

Here it is:

scheme@(guile-user)> (with-fluids ((%file-port-name-canonicalization 'relative))
    (call-with-input-file (search-path %load-path "gnu/packages/bootstrap.scm")
       port-filename))
$1 = "/home/alexx/src/guix/gnu/packages/bootstrap.scm"
scheme@(guile-user)> (search-path %load-path "gnu/packages/bootstrap.scm")
$2 = "/home/alexx/src/guix/gnu/packages/bootstrap.scm"
scheme@(guile-user)> (version)
$3 = "2.0.11"

^ permalink raw reply	[flat|nested] 12+ messages in thread

* bug#17935: make check failed
  2014-07-05 18:01                   ` Alex Kost
@ 2014-07-06 19:31                     ` Ludovic Courtès
  0 siblings, 0 replies; 12+ messages in thread
From: Ludovic Courtès @ 2014-07-06 19:31 UTC (permalink / raw)
  To: Alex Kost; +Cc: 17935-done

I’ve reproduced the setup here, and found out a couple of issues, now
fixed with commits c2d7747, 6171070, and 59c51be.

I think we’re all set, but let me know if you encounter other problems!

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-07-06 19:32 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-04 15:40 bug#17935: make check failed Alex Kost
2014-07-04 17:12 ` Ludovic Courtès
2014-07-04 18:23   ` Alex Kost
2014-07-04 21:30     ` Ludovic Courtès
2014-07-05  8:48       ` Alex Kost
2014-07-05  9:42         ` Ludovic Courtès
2014-07-05 13:33           ` Alex Kost
2014-07-05 13:59             ` Ludovic Courtès
2014-07-05 15:30               ` Alex Kost
2014-07-05 17:20                 ` Ludovic Courtès
2014-07-05 18:01                   ` Alex Kost
2014-07-06 19:31                     ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).