From: ludo@gnu.org (Ludovic Courtès)
To: Alex Kost <alezost@gmail.com>
Cc: 17935@debbugs.gnu.org
Subject: bug#17935: make check failed
Date: Fri, 04 Jul 2014 23:30:22 +0200 [thread overview]
Message-ID: <87tx6wvmkx.fsf@gnu.org> (raw)
In-Reply-To: <8738eht23m.fsf@gmail.com> (Alex Kost's message of "Fri, 04 Jul 2014 22:23:25 +0400")
[-- 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’.
next prev parent reply other threads:[~2014-07-04 21:31 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87tx6wvmkx.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=17935@debbugs.gnu.org \
--cc=alezost@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).