From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 04 18:52:01 2015 Received: (at submit) by debbugs.gnu.org; 4 Jan 2015 23:52:02 +0000 Received: from localhost ([127.0.0.1]:36775 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7uxl-0004JE-HG for submit@debbugs.gnu.org; Sun, 04 Jan 2015 18:52:01 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60155) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y7uxk-0004J6-13 for submit@debbugs.gnu.org; Sun, 04 Jan 2015 18:52:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y7uxg-0007ZV-GR for submit@debbugs.gnu.org; Sun, 04 Jan 2015 18:51:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y7uxg-0007ZR-Cl for submit@debbugs.gnu.org; Sun, 04 Jan 2015 18:51:56 -0500 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 From: David Thompson To: bug-guix@gnu.org Subject: Failed substitution yields incomplete store item User-Agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) 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 X-detected-operating-system: by mail.fsf.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 05 10:28:47 2015 Received: (at 19512) by debbugs.gnu.org; 5 Jan 2015 15:28:47 +0000 Received: from localhost ([127.0.0.1]:37592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y89aJ-0006Me-09 for submit@debbugs.gnu.org; Mon, 05 Jan 2015 10:28:47 -0500 Received: from hera.aquilenet.fr ([141.255.128.1]:35502) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y89aF-0006MT-IA for 19512@debbugs.gnu.org; Mon, 05 Jan 2015 10:28:44 -0500 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id 359704207; Mon, 5 Jan 2015 16:28:42 +0100 (CET) Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KUOe2kkTaGlz; Mon, 5 Jan 2015 16:28:42 +0100 (CET) Received: from pluto (pluto.bordeaux.inria.fr [193.50.110.57]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 02042768; Mon, 5 Jan 2015 16:28:41 +0100 (CET) From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: David Thompson Subject: Re: bug#19512: Failed substitution yields incomplete store item References: <87lhlikstn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Date: Mon, 05 Jan 2015 16:28:41 +0100 In-Reply-To: <87lhlikstn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Sun, 04 Jan 2015 18:51:48 -0500") Message-ID: <87vbklqmae.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19512 Cc: 19512@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) David Thompson skribis: > 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=3D"substitute-urls=3Dhttp://192.168.1.= 157:8080" guix substitute-binary --substitute /gnu/store/iw3jn6a1avv78pp5v2= cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0 /tmp/guile-toxcore >=20=20=20 > found valid signature for '/gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-= guile-toxcore-0.1-6a9fbe0', from 'http://192.168.1.157:8080/nar/iw3jn6a1avv= 78pp5v2cv42vyh0d8zi0g-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=3D"substitute-urls=3Dhttp://192.168.1.= 157:8080" guix substitute-binary --substitute /gnu/store/iw3jn6a1avv78pp5v2= cv42vyh0d8zi0g-guile-toxcore-0.1-6a9fbe0 /tmp/guile-toxcore >=20=20=20 > found valid signature for '/gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-= guile-toxcore-0.1-6a9fbe0', from 'http://192.168.1.157:8080/nar/iw3jn6a1avv= 78pp5v2cv42vyh0d8zi0g-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: F= ile exists > > Any idea what could be going wrong? Nothing! :-) The store item that substitute-binary created on the first run is actually invalid. You can see that from the fact that you get an error if you run, say: guix gc --references /gnu/store/iw3jn6a1avv78pp5v2cv42vyh0d8zi0g-guile-to= xcore-0.1-6a9fbe0 So you can either =E2=80=9Crm -rf=E2=80=9D it (use with care!), or, better,= run =E2=80=98guix gc=E2=80=99, which will automatically remove it and other invalid items. (A store item is considered valid iff guix-daemon or guix-register has added it to db.sqlite. guix-daemon does that upon successful substitution or build.) HTH, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 13:19:58 2015 Received: (at 19512) by debbugs.gnu.org; 8 Feb 2015 18:19:58 +0000 Received: from localhost ([127.0.0.1]:37542 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKWSc-0004xV-75 for submit@debbugs.gnu.org; Sun, 08 Feb 2015 13:19:58 -0500 Received: from fencepost.gnu.org ([208.118.235.10]:36248 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKWSa-0004xN-Vg for 19512@debbugs.gnu.org; Sun, 08 Feb 2015 13:19:57 -0500 Received: from reverse-83.fdn.fr ([80.67.176.83]:47924 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YKWSa-0000Fc-DI; Sun, 08 Feb 2015 13:19:56 -0500 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: David Thompson Subject: Re: bug#19512: Failed substitution yields incomplete store item References: <87lhlikstn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87vbklqmae.fsf@gnu.org> Date: Sun, 08 Feb 2015 19:19:54 +0100 In-Reply-To: <87vbklqmae.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 05 Jan 2015 16:28:41 +0100") Message-ID: <87k2zsp8ol.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19512 Cc: 19512@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Hi! Did you eventually salvage the store? What lessons should be taken on the Guix side? TIA, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 08 14:45:45 2015 Received: (at 19512) by debbugs.gnu.org; 8 Feb 2015 19:45:45 +0000 Received: from localhost ([127.0.0.1]:37618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKXnd-0008Ty-9R for submit@debbugs.gnu.org; Sun, 08 Feb 2015 14:45:45 -0500 Received: from mail.fsf.org ([208.118.235.13]:41702) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YKXna-0008Tk-S5 for 19512@debbugs.gnu.org; Sun, 08 Feb 2015 14:45:43 -0500 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:46526 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1YKXnV-0005OP-89; Sun, 08 Feb 2015 14:45:37 -0500 From: David Thompson To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#19512: Failed substitution yields incomplete store item In-Reply-To: <87k2zsp8ol.fsf@gnu.org> References: <87lhlikstn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87vbklqmae.fsf@gnu.org> <87k2zsp8ol.fsf@gnu.org> User-Agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu) Date: Sun, 08 Feb 2015 14:45:36 -0500 Message-ID: <87vbjcgpb3.fsf@fsf.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by mail.fsf.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 19512 Cc: 19512@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Ludovic Court=C3=A8s writes: > Did you eventually salvage the store? What lessons should be taken on > the Guix side? I haven't gotten to the bottom of it, sorry. --=20 David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 04 18:03:51 2015 Received: (at 19512-done) by debbugs.gnu.org; 4 Apr 2015 22:03:51 +0000 Received: from localhost ([127.0.0.1]:44974 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeWAR-0004ck-3v for submit@debbugs.gnu.org; Sat, 04 Apr 2015 18:03:51 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40070 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YeWAP-0004cb-Vr for 19512-done@debbugs.gnu.org; Sat, 04 Apr 2015 18:03:50 -0400 Received: from reverse-83.fdn.fr ([80.67.176.83]:46841 helo=pluto) by fencepost.gnu.org with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1YeWAP-0003xF-4E; Sat, 04 Apr 2015 18:03:49 -0400 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) To: David Thompson Subject: Re: bug#19512: Failed substitution yields incomplete store item References: <87lhlikstn.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> <87vbklqmae.fsf@gnu.org> <87k2zsp8ol.fsf@gnu.org> <87vbjcgpb3.fsf@fsf.org> Date: Sun, 05 Apr 2015 00:03:47 +0200 In-Reply-To: <87vbjcgpb3.fsf@fsf.org> (David Thompson's message of "Sun, 08 Feb 2015 14:45:36 -0500") Message-ID: <878ue7h7p8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 19512-done Cc: 19512-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Closing this bug, thanks. Ludo=E2=80=99. From unknown Thu Aug 14 21:53:39 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 03 May 2015 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator