From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#17935: make check failed Date: Fri, 04 Jul 2014 23:30:22 +0200 Message-ID: <87tx6wvmkx.fsf@gnu.org> References: <878uo9t9mq.fsf@gmail.com> <87a98pvyj5.fsf@gnu.org> <8738eht23m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49334) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3B4W-0001YK-PF for bug-guix@gnu.org; Fri, 04 Jul 2014 17:31:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3B4R-0003Eq-6f for bug-guix@gnu.org; Fri, 04 Jul 2014 17:31:08 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:52026) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3B4R-0003Em-34 for bug-guix@gnu.org; Fri, 04 Jul 2014 17:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X3B4Q-0005y9-IL for bug-guix@gnu.org; Fri, 04 Jul 2014 17:31:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <8738eht23m.fsf@gmail.com> (Alex Kost's message of "Fri, 04 Jul 2014 22:23:25 +0400") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Alex Kost Cc: 17935@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Alex Kost skribis: > guix build: error: build failed: derivation `/home/alexx/src/guix/test-tm= p/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-guile-bootstrap-2.0.drv' has incor= rect output `/media/storage/src/guix/test-tmp/store/ym7nnqd4yqk3mn8pg52d19x= yy2j3hz54-guile-bootstrap-2.0', should be `/home/alexx/src/guix/test-tmp/st= ore/zlj0z1dpwl2qccb56rwgdk3k8qnwwaz8-guile-bootstrap-2.0' > 9 operations > ./test-env: line 1: 9833 Terminated "/home/alexx/src/guix/p= re-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=E2=80=99t noticed that in the error message, but this is a s= ource of confusion for the daemon. Could you try that command again with this patch: --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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 . + 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" --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > 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=E2=80=99. --=-=-=--