From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: bug#19512: Failed substitution yields incomplete store item Date: Sun, 04 Jan 2015 18:51:48 -0500 Message-ID: <87lhlikstn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33686) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7uxo-0001BX-Tm for bug-guix@gnu.org; Sun, 04 Jan 2015 18:52:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7uxn-0007as-4v for bug-guix@gnu.org; Sun, 04 Jan 2015 18:52:04 -0500 Received: from debbugs.gnu.org ([140.186.70.43]:55643) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7uxn-0007ao-1P for bug-guix@gnu.org; Sun, 04 Jan 2015 18:52:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y7uxm-0004Jc-RO for bug-guix@gnu.org; Sun, 04 Jan 2015 18:52:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33640) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7uxf-0001BC-9h for bug-guix@gnu.org; Sun, 04 Jan 2015 18:51:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7uxe-0007Yt-4I for bug-guix@gnu.org; Sun, 04 Jan 2015 18:51:55 -0500 Received: from mail.fsf.org ([208.118.235.13]:41831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7uxe-0007Yo-0z for bug-guix@gnu.org; Sun, 04 Jan 2015 18:51:54 -0500 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:39863 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Y7uxc-0002wY-Q0 for bug-guix@gnu.org; Sun, 04 Jan 2015 18:51:53 -0500 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: 19512@debbugs.gnu.org While working on 'guix publish', I managed to mess up the store. :( Here's the first substitution that failed due to an invalid eof marker for some reason: dave@labrys ~$ sudo _NIX_OPTIONS="substitute-urls=http://192.168.1.157:8080" guix substitute-binary --substitute /gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0 /tmp/guile-toxcore found valid signature for '/gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0', from 'http://192.168.1.157:8080/nar/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0' sha256:xl35awxl6kgl5b2eum7kfgqlnap7a7itczpyxptf4kq25pasafka downloading `/gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0' (0.1 MiB installed)... http://192.168.1.157/.../iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0 100.0% of 127.5 KiBguix substitute-binary: error: invalid nar end-of-file marker When the same command is run again, there's a new error: dave@labrys ~$ sudo _NIX_OPTIONS="substitute-urls=http://192.168.1.157:8080" guix substitute-binary --substitute /gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0 /tmp/guile-toxcore found valid signature for '/gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0', from 'http://192.168.1.157:8080/nar/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0' sha256:xl35awxl6kgl5b2eum7kfgqlnap7a7itczpyxptf4kq25pasafka downloading `/gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0' (0.1 MiB installed)... http://192.168.1.157/.../iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0 6.3% of 127.5 KiBguix substitute-binary: error: mkdir: File exists Any idea what could be going wrong? -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate