From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#17935: make check failed Date: Fri, 04 Jul 2014 22:23:25 +0400 Message-ID: <8738eht23m.fsf@gmail.com> References: <878uo9t9mq.fsf@gmail.com> <87a98pvyj5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42620) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X389Z-0001h4-Q3 for bug-guix@gnu.org; Fri, 04 Jul 2014 14:24:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X389S-0006Ve-5m for bug-guix@gnu.org; Fri, 04 Jul 2014 14:24:09 -0400 Received: from debbugs.gnu.org ([140.186.70.43]:51942) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X389S-0006VU-2S for bug-guix@gnu.org; Fri, 04 Jul 2014 14:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1X389R-0007H0-QW for bug-guix@gnu.org; Fri, 04 Jul 2014 14:24:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87a98pvyj5.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 04 Jul 2014 19:12:14 +0200") 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 17935@debbugs.gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s (2014-07-04 21:12 +0400) wrote: > Alex Kost 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 `(#> &nix-protocol-error [message: "derivation >> /home/alexx/src/guix/test-tmp/store/kaz0wkisszxrjh38znhgks2pc2g7dqgh-gui= le-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-gui= le-bootstrap-2.0'" >> status: 1] 9529090>)'. > > Can you confirm that the output of =E2=80=9Csha1sum > gnu/packages/bootstrap/i686-linux/*=E2=80=9D is (from our IRC discussion,= it > seems you=E2=80=99re on i686-linux): > > 87ebb7ed64a62467bae8afd60c30146d29b974dd gnu/packages/bootstrap/i686-lin= ux/bash > b0122cf4cf16e2b8a471163550178527b0306586 gnu/packages/bootstrap/i686-lin= ux/guile-2.0.9.tar.xz > 9df288907e9031e6cf1db6b3bdaf08c956da28da gnu/packages/bootstrap/i686-lin= ux/mkdir > 59b06438f6f673f3b7311277a256d164cb174337 gnu/packages/bootstrap/i686-lin= ux/tar > 0cfe1ecb8916c9e515c5f844671039a7fe76d261 gnu/packages/bootstrap/i686-lin= ux/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 o= utweigh 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: --=-=-= Content-Type: text/plain Content-Disposition: inline ;;; 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 --=-=-= Content-Type: text/plain 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 --=-=-=--