From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: othacehe@gnu.org, bug-guix@gnu.org Resent-Date: Sun, 31 Jan 2021 14:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46212@debbugs.gnu.org Cc: Mathieu Othacehe X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: Mathieu Othacehe Received: via spool by submit@debbugs.gnu.org id=B.161210447511522 (code B ref -1); Sun, 31 Jan 2021 14:48:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Jan 2021 14:47:55 +0000 Received: from localhost ([127.0.0.1]:56598 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6E13-0002zj-9X for submit@debbugs.gnu.org; Sun, 31 Jan 2021 09:47:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:40420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6E0z-0002zY-DT for submit@debbugs.gnu.org; Sun, 31 Jan 2021 09:47:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:52494) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6E0z-0004HB-5h for bug-guix@gnu.org; Sun, 31 Jan 2021 09:47:49 -0500 Received: from mira.cbaines.net ([212.71.252.8]:40250) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6E0x-0003Ud-2t for bug-guix@gnu.org; Sun, 31 Jan 2021 09:47:48 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id 2304127BC1D for ; Sun, 31 Jan 2021 14:47:45 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 73351296 for ; Sun, 31 Jan 2021 14:47:44 +0000 (UTC) User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines Date: Sun, 31 Jan 2021 14:47:42 +0000 Message-ID: <87zh0pf9ip.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -2.3 (--) --=-=-= Content-Type: text/plain I noticed through the Guix Data Service that some narinfo files from ci.guix.gnu.org have an excessive NarSize. These are the three that I've found, but there could be more. /gnu/store/qln574djfgl8h9glij9id8jips7nnrlw-flightgear-2018.3.5 NarSize: 18446744072099351584 /gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1 NarSize: 18446744071612438544 /gnu/store/wd9z64xpck56xzf52jwlpg8vb610b0ym-repeat-masker-4.1.1 NarSize: 18446744071612438544 There's additional information on IRC: http://logs.guix.gnu.org/guix/2021-01-31.log#152751 Cc'ing Mathieu in case this is related to the new offloading mechanism. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmAWww5fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XcpZxAAkBR7gl7a2vCi2Ag6iEZIGQrrDkWnE8KW 9IkLhfuDPJxvxo59Cu7D2EZ5cKCifC3xOtns3j76FngsbQOmMNXs2A6XzvNQA0jd HiVLg/JF/MthrOupDo2mfflbkIu0wOxei5MS2JP3dVXHzlvsP4Tw1hsyydI/67Hw dXa6r9ILvC61xjjx3Cq8kC4drQefpbtWWA3kMym0NJO7vLYGgKXAadZdJ6qsc9Zn ZffA9xixua56tTy/nceRNyaAaXbSG/FLKEhLMGug8ryDq0NqR7WODzAzRa7RxPyy wJAqQrGPtJ8BPnXJJNNc1L9QY6OnKT0C/Ayyi2AToE/nXp4DvC7iz+MQ6FnLK/7I esHhzFEnAJW8f2XvKQVcmgnSEolJqgc8zo4WqjFzEsfiPJsFhovJO8kjNrTj4VY4 W7qkexm/65k4Sosjp7PimSaLgKWJcG2jUKwmGJUlUGMDD3RSSGV6gLtVxM4eG+lB hbuvD0aW7wtzG15BORKCdv34RydvurKF1BHa80WbnTI8SNVmj5mfeFYVoS1Dq1rR 4K1fzEC6oworx34uyIvQMuDcE/Lq5DdqihjMYwFsrLbQHF2vdaeZa3enFwRK5xiH 3CtyrUmZmC0B3RHS5Kr8tRHkQAiYWFf6dO0sV2LQSBq5uhp9vuauCeHYd3o0zedv 0gVX/8By0q0= =qZAJ -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 31 10:17:45 2021 Received: (at control) by debbugs.gnu.org; 31 Jan 2021 15:17:45 +0000 Received: from localhost ([127.0.0.1]:57685 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6ETw-00040w-Tf for submit@debbugs.gnu.org; Sun, 31 Jan 2021 10:17:45 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6ETv-00040g-11 for control@debbugs.gnu.org; Sun, 31 Jan 2021 10:17:44 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34169) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6ETp-0008Vc-Qe for control@debbugs.gnu.org; Sun, 31 Jan 2021 10:17:37 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49928 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l6ETp-0007ob-DK for control@debbugs.gnu.org; Sun, 31 Jan 2021 10:17:37 -0500 Date: Sun, 31 Jan 2021 16:17:35 +0100 Message-Id: <874kixp240.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #46212 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) severity 46212 important quit From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 31 Jan 2021 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161210645015747 (code B ref 46212); Sun, 31 Jan 2021 15:21:02 +0000 Received: (at 46212) by debbugs.gnu.org; 31 Jan 2021 15:20:50 +0000 Received: from localhost ([127.0.0.1]:57693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6EWt-00045s-Lp for submit@debbugs.gnu.org; Sun, 31 Jan 2021 10:20:50 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6EWr-00045g-Qe for 46212@debbugs.gnu.org; Sun, 31 Jan 2021 10:20:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:34191) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6EWm-0001Rw-IY; Sun, 31 Jan 2021 10:20:40 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49932 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l6EWl-00083y-OO; Sun, 31 Jan 2021 10:20:40 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> Date: Sun, 31 Jan 2021 16:20:38 +0100 In-Reply-To: <87zh0pf9ip.fsf@cbaines.net> (Christopher Baines's message of "Sun, 31 Jan 2021 14:47:42 +0000") Message-ID: <87y2g9nneh.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Christopher Baines skribis: > /gnu/store/qln574djfgl8h9glij9id8jips7nnrlw-flightgear-2018.3.5 > NarSize: 18446744072099351584 > > /gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1 > NarSize: 18446744071612438544 > > /gnu/store/wd9z64xpck56xzf52jwlpg8vb610b0ym-repeat-masker-4.1.1 > NarSize: 18446744071612438544 The key point here is that =E2=80=98narSize=E2=80=99 in the database is neg= ative: --8<---------------cut here---------------start------------->8--- sqlite> select * from validpaths where path =3D '/gnu/store/qhix6afvy2a6n7h= lx4qgdns461p8kdnv-repeat-masker-4.1.1'; 43262123|/gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1|sh= a256:33328e16d8d83dcf1a6e031598dbc517aff18e6c7ccd55f7894102bab55fcdb9|16118= 49907|/gnu/store/rr532q5fmwj1gafdgk6nhxg9khnbsw3z-repeat-masker-4.1.1.drv|-= 2097113072 --8<---------------cut here---------------end--------------->8--- The actual nar size in this case is just above 2=C2=B3=C2=B9 so most likely= we=E2=80=99re seeing a signed integer wrapping error. I believe this is a very recent regression (the registration data for the item above is Jan. 28th); we have older store items with a correct =E2=80=98narSize=E2=80=99, such as . Thoughts? Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 01 Feb 2021 09:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161217096916325 (code B ref 46212); Mon, 01 Feb 2021 09:17:01 +0000 Received: (at 46212) by debbugs.gnu.org; 1 Feb 2021 09:16:09 +0000 Received: from localhost ([127.0.0.1]:58795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VJZ-0004F2-Af for submit@debbugs.gnu.org; Mon, 01 Feb 2021 04:16:09 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6VJV-00046U-6P for 46212@debbugs.gnu.org; Mon, 01 Feb 2021 04:16:07 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49320) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6VJP-0007Dc-Oq; Mon, 01 Feb 2021 04:15:59 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=54198 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l6VJO-00037N-R3; Mon, 01 Feb 2021 04:15:59 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87y2g9nneh.fsf@gnu.org> Date: Mon, 01 Feb 2021 10:15:56 +0100 In-Reply-To: <87y2g9nneh.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 31 Jan 2021 16:20:38 +0100") Message-ID: <87mtwoi1wz.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Ludovic Court=C3=A8s skribis: > The key point here is that =E2=80=98narSize=E2=80=99 in the database is n= egative: With commit 13a7d2a538b00aa0a8cf9b999f1a4ff3e5959af9, =E2=80=98register-ite= ms=E2=80=99 & co. will now detect invalid nar size values early on. Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 01 Feb 2021 19:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.16122094345453 (code B ref 46212); Mon, 01 Feb 2021 19:58:02 +0000 Received: (at 46212) by debbugs.gnu.org; 1 Feb 2021 19:57:14 +0000 Received: from localhost ([127.0.0.1]:33304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6fJy-0001Ps-6i for submit@debbugs.gnu.org; Mon, 01 Feb 2021 14:57:14 -0500 Received: from mira.cbaines.net ([212.71.252.8]:58306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l6fJv-0001Pi-0d for 46212@debbugs.gnu.org; Mon, 01 Feb 2021 14:57:13 -0500 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id D934427BC1D for <46212@debbugs.gnu.org>; Mon, 1 Feb 2021 19:57:09 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id 2315f1f9 for <46212@debbugs.gnu.org>; Mon, 1 Feb 2021 19:57:08 +0000 (UTC) References: <87zh0pf9ip.fsf@cbaines.net> User-agent: mu4e 1.4.14; emacs 27.1 From: Christopher Baines In-reply-to: <87zh0pf9ip.fsf@cbaines.net> Date: Mon, 01 Feb 2021 19:57:06 +0000 Message-ID: <87r1lzftnx.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (-) --=-=-= Content-Type: text/plain Christopher Baines writes: > I noticed through the Guix Data Service that some narinfo files from > ci.guix.gnu.org have an excessive NarSize. > > These are the three that I've found, but there could be more. > > > /gnu/store/qln574djfgl8h9glij9id8jips7nnrlw-flightgear-2018.3.5 > NarSize: 18446744072099351584 > > /gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1 > NarSize: 18446744071612438544 > > /gnu/store/wd9z64xpck56xzf52jwlpg8vb610b0ym-repeat-masker-4.1.1 > NarSize: 18446744071612438544 Guix gives the following error when it encounters one of these bad narinfos: error: integer expected from stream --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmAYXRJfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9XfnohAAuNiVFQGrybaWryk6qXtAq2nfelX0wx29 Ew5acRsqz3X8lXLQhsZqKM3JLK3jpuDfsgkhI5m2HLlILkwbq4VgMAgyHNCyASZU tjcghSEZ6inUmBe5S5V+GrCR7cvrh3pwL6X/XFxACdQzaRTtc5BfjS/tzt/gRIbN Yc4V/Avq4d7UhkNBTKsghiYeJz/hl1KDCvpEwFqdS1nc57RlaPBEfJ6LJ7geervD LRqg7dGx19A8lULFE2myJEyF9rkuNOgFSlMR4hoxwbi3qURyad77roFC6qf70zzj y4nGeQLQf6hFQPyLJusRraQc0KZsQWrBoutAcjcnE0Dkn30nEIDw2BsxsWk/ttUx xgZF+f7pWbrYNHxtakRoaO/Y0HRxfFkcq8VnHPJmiZJFLWPA7XwBOVmw8gG17Vh5 YfNvIT7y5xvaI0FvFFMeRPiLCy2pjEfMRWE46HHaP2HJmCobLy/UinuB24kGVIHS no8WCgn3rvb9ABWnKygHkT1Du+mHd2ldh27uQvxvUJltcYChrgQWm+C1gUUplwg4 J6VHeh+J/uqAvWQD9QlLjCsh4TODm1YT36E4leWvRHhvpkgoJgpd1GfltmBhpClr FeXDtKzFzjlcFj62a6qJP3KU5sPbGjxAjILAWMBCIQVteYHa2iP6Wl/Q8LRhhk8q XgNowRKvtto= =TA04 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Feb 2021 21:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161230251917771 (code B ref 46212); Tue, 02 Feb 2021 21:49:02 +0000 Received: (at 46212) by debbugs.gnu.org; 2 Feb 2021 21:48:39 +0000 Received: from localhost ([127.0.0.1]:36288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l73XK-0004cZ-NZ for submit@debbugs.gnu.org; Tue, 02 Feb 2021 16:48:38 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40924) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l73XG-0004cJ-JG for 46212@debbugs.gnu.org; Tue, 02 Feb 2021 16:48:37 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55903) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l73XB-00045s-83; Tue, 02 Feb 2021 16:48:29 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57008 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1l73XA-0002wP-Sf; Tue, 02 Feb 2021 16:48:29 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87r1lzftnx.fsf@cbaines.net> Date: Tue, 02 Feb 2021 22:48:27 +0100 In-Reply-To: <87r1lzftnx.fsf@cbaines.net> (Christopher Baines's message of "Mon, 01 Feb 2021 19:57:06 +0000") Message-ID: <87eehycf9w.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Christopher Baines skribis: > Christopher Baines writes: > >> I noticed through the Guix Data Service that some narinfo files from >> ci.guix.gnu.org have an excessive NarSize. >> >> These are the three that I've found, but there could be more. >> >> >> /gnu/store/qln574djfgl8h9glij9id8jips7nnrlw-flightgear-2018.3.5 >> NarSize: 18446744072099351584 >> >> /gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1 >> NarSize: 18446744071612438544 >> >> /gnu/store/wd9z64xpck56xzf52jwlpg8vb610b0ym-repeat-masker-4.1.1 >> NarSize: 18446744071612438544 > > Guix gives the following error when it encounters one of these bad > narinfos: > > error: integer expected from stream I guess =E2=80=98guix substitute --query=E2=80=99 reads the narinfo, passes= the negative integer as is to the daemon (for =E2=80=98query-path-info=E2=80=99 RPCs), w= hich rightfully complains. It would be nice for =E2=80=98guix publish=E2=80=99 to not emit broken nari= nfos, and perhaps we can also add extra checks in the (guix narinfo) reader. Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Feb 2021 15:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 46212@debbugs.gnu.org, Christopher Baines Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161374748415901 (code B ref 46212); Fri, 19 Feb 2021 15:12:02 +0000 Received: (at 46212) by debbugs.gnu.org; 19 Feb 2021 15:11:24 +0000 Received: from localhost ([127.0.0.1]:50117 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD7RE-00048P-8g for submit@debbugs.gnu.org; Fri, 19 Feb 2021 10:11:24 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lD7RC-00048B-GE for 46212@debbugs.gnu.org; Fri, 19 Feb 2021 10:11:23 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50403) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lD7R7-000509-1D; Fri, 19 Feb 2021 10:11:17 -0500 Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=49762 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lD7R5-0000WV-R8; Fri, 19 Feb 2021 10:11:16 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87y2g9nneh.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 1 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 19 Feb 2021 16:11:14 +0100 In-Reply-To: <87y2g9nneh.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 31 Jan 2021 16:20:38 +0100") Message-ID: <87blcgm6st.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Hi Mathieu, Did you eventually find out where the negative size comes from? https://issues.guix.gnu.org/46212 What should we do in your opinion with database entries that have a negative size? Thanks, Ludo=E2=80=99. Ludovic Court=C3=A8s skribis: > Christopher Baines skribis: > >> /gnu/store/qln574djfgl8h9glij9id8jips7nnrlw-flightgear-2018.3.5 >> NarSize: 18446744072099351584 >> >> /gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1 >> NarSize: 18446744071612438544 >> >> /gnu/store/wd9z64xpck56xzf52jwlpg8vb610b0ym-repeat-masker-4.1.1 >> NarSize: 18446744071612438544 > > The key point here is that =E2=80=98narSize=E2=80=99 in the database is n= egative: > > sqlite> select * from validpaths where path =3D '/gnu/store/qhix6afvy2a6n= 7hlx4qgdns461p8kdnv-repeat-masker-4.1.1'; > 43262123|/gnu/store/qhix6afvy2a6n7hlx4qgdns461p8kdnv-repeat-masker-4.1.1|= sha256:33328e16d8d83dcf1a6e031598dbc517aff18e6c7ccd55f7894102bab55fcdb9|161= 1849907|/gnu/store/rr532q5fmwj1gafdgk6nhxg9khnbsw3z-repeat-masker-4.1.1.drv= |-2097113072 > > The actual nar size in this case is just above 2=C2=B3=C2=B9 so most like= ly we=E2=80=99re > seeing a signed integer wrapping error. > > I believe this is a very recent regression (the registration data for > the item above is Jan. 28th); we have older store items with a correct > =E2=80=98narSize=E2=80=99, such as > . > > Thoughts? > > Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Feb 2021 09:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 46212@debbugs.gnu.org, Christopher Baines Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161398439610747 (code B ref 46212); Mon, 22 Feb 2021 09:00:02 +0000 Received: (at 46212) by debbugs.gnu.org; 22 Feb 2021 08:59:56 +0000 Received: from localhost ([127.0.0.1]:55603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE74N-0002nH-PP for submit@debbugs.gnu.org; Mon, 22 Feb 2021 03:59:56 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40732) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lE74M-0002n4-Eo for 46212@debbugs.gnu.org; Mon, 22 Feb 2021 03:59:54 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50677) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lE74G-0004o7-Qc; Mon, 22 Feb 2021 03:59:48 -0500 Received: from [2a01:e0a:19b:d9a0:d047:2c08:886f:ec31] (port=34462 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lE74F-0002sJ-AR; Mon, 22 Feb 2021 03:59:47 -0500 From: Mathieu Othacehe References: <87zh0pf9ip.fsf@cbaines.net> <87y2g9nneh.fsf@gnu.org> <87blcgm6st.fsf@gnu.org> Date: Mon, 22 Feb 2021 09:59:45 +0100 In-Reply-To: <87blcgm6st.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 19 Feb 2021 16:11:14 +0100") Message-ID: <87blcciike.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Hey Ludo, > Did you eventually find out where the negative size comes from? > > https://issues.guix.gnu.org/46212 > > What should we do in your opinion with database entries that have a > negative size? I didn't look closely to this problem yet. However, I fixed an issue with locales in the remote building mechanism that caused publish server crashes: https://lists.gnu.org/archive/html/bug-guix/2021-02/msg00231.html. That's maybe somehow related. Thanks, Mathieu From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 Feb 2021 13:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Mathieu Othacehe Cc: 46212@debbugs.gnu.org, Christopher Baines Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161399899226378 (code B ref 46212); Mon, 22 Feb 2021 13:04:02 +0000 Received: (at 46212) by debbugs.gnu.org; 22 Feb 2021 13:03:12 +0000 Received: from localhost ([127.0.0.1]:56002 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEArn-0006rO-TG for submit@debbugs.gnu.org; Mon, 22 Feb 2021 08:03:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:37848) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lEArm-0006rC-SS for 46212@debbugs.gnu.org; Mon, 22 Feb 2021 08:03:11 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53490) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lEArh-0003tP-DO; Mon, 22 Feb 2021 08:03:05 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43026 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lEArg-0001os-Fy; Mon, 22 Feb 2021 08:03:04 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87y2g9nneh.fsf@gnu.org> <87blcgm6st.fsf@gnu.org> <87blcciike.fsf@gnu.org> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 4 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 22 Feb 2021 14:03:03 +0100 In-Reply-To: <87blcciike.fsf@gnu.org> (Mathieu Othacehe's message of "Mon, 22 Feb 2021 09:59:45 +0100") Message-ID: <87a6rwb6go.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Hi, Mathieu Othacehe skribis: >> Did you eventually find out where the negative size comes from? >> >> https://issues.guix.gnu.org/46212 >> >> What should we do in your opinion with database entries that have a >> negative size? > > I didn't look closely to this problem yet. However, I fixed an issue > with locales in the remote building mechanism that caused publish server > crashes: > https://lists.gnu.org/archive/html/bug-guix/2021-02/msg00231.html. Hmm I don=E2=80=99t think so. The bug here is likely due to 32-bit signed integer wrapping. That can only happen in C code, so to me possible culprits would be guile-simple-zmq or the layer above it (if there=E2=80=99s a binary protocol involved) or the postgresql interface. Only a vague intuition, though. Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Feb 2021 10:27:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 46212@debbugs.gnu.org, Christopher Baines Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161416239712940 (code B ref 46212); Wed, 24 Feb 2021 10:27:01 +0000 Received: (at 46212) by debbugs.gnu.org; 24 Feb 2021 10:26:37 +0000 Received: from localhost ([127.0.0.1]:33435 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lErNM-0003Me-MI for submit@debbugs.gnu.org; Wed, 24 Feb 2021 05:26:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47408) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lErNL-0003MS-IP for 46212@debbugs.gnu.org; Wed, 24 Feb 2021 05:26:35 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:59128) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lErNF-0006II-KT; Wed, 24 Feb 2021 05:26:29 -0500 Received: from [2a01:e0a:19b:d9a0:79e5:7676:baff:d62] (port=58966 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lErNE-0003uq-Qe; Wed, 24 Feb 2021 05:26:29 -0500 From: Mathieu Othacehe References: <87zh0pf9ip.fsf@cbaines.net> <87y2g9nneh.fsf@gnu.org> <87blcgm6st.fsf@gnu.org> <87blcciike.fsf@gnu.org> <87a6rwb6go.fsf@gnu.org> Date: Wed, 24 Feb 2021 11:26:27 +0100 In-Reply-To: <87a6rwb6go.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 22 Feb 2021 14:03:03 +0100") Message-ID: <87blc9oj70.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Hey, > The bug here is likely due to 32-bit signed integer wrapping. That can > only happen in C code, so to me possible culprits would be > guile-simple-zmq or the layer above it (if there=E2=80=99s a binary proto= col > involved) or the postgresql interface. Only a vague intuition, though. Hmm, looks like you're right! There's a memory corruption in the remote-server process that's really hard to reproduce. I suspect the ZMQ library or its Guile bindings. I'm trying to valgrind the process to identify the issue, without much success for now. Thanks, Mathieu From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Mar 2021 14:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161633754911361 (code B ref 46212); Sun, 21 Mar 2021 14:40:02 +0000 Received: (at 46212) by debbugs.gnu.org; 21 Mar 2021 14:39:09 +0000 Received: from localhost ([127.0.0.1]:55238 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNzES-0002xB-Mp for submit@debbugs.gnu.org; Sun, 21 Mar 2021 10:39:08 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39530) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNzEQ-0002wg-K0 for 46212@debbugs.gnu.org; Sun, 21 Mar 2021 10:39:06 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40456) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNzEL-0003KW-Be; Sun, 21 Mar 2021 10:39:01 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37198 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lNzEK-0002lD-Hc; Sun, 21 Mar 2021 10:39:00 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87r1lzftnx.fsf@cbaines.net> Date: Sun, 21 Mar 2021 15:38:58 +0100 In-Reply-To: <87r1lzftnx.fsf@cbaines.net> (Christopher Baines's message of "Mon, 01 Feb 2021 19:57:06 +0000") Message-ID: <874kh43725.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Hi there! Christopher Baines skribis: > Guix gives the following error when it encounters one of these bad > narinfos: > > error: integer expected from stream I get this while attempting to install flightgear from 12c17b46f1464db5591572754c814c845a2057ad. It has the scary NarSize: --8<---------------cut here---------------start------------->8--- $ wget -qO - https://ci.guix.gnu.org/k094mjy3m1cyh85vd27l2gn0w5ikscya.narin= fo | head -9 StorePath: /gnu/store/k094mjy3m1cyh85vd27l2gn0w5ikscya-flightgear-2018.3.5 URL: nar/gzip/k094mjy3m1cyh85vd27l2gn0w5ikscya-flightgear-2018.3.5 Compression: gzip FileSize: 1797450320 URL: nar/lzip/k094mjy3m1cyh85vd27l2gn0w5ikscya-flightgear-2018.3.5 Compression: lzip FileSize: 1605734577 NarHash: sha256:0bwyhvqr7l5sk6fckymj41bivm6ws09aid8lg6lg0bmy513kn0aw NarSize: 18446744072099352280 --8<---------------cut here---------------end--------------->8--- The nar was baked on March 17th: --8<---------------cut here---------------start------------->8--- ludo@berlin ~$ ls -l /var/cache/guix/publish/lzip/k094mjy3m1cyh85vd27l2gn0w= 5ikscya-flightgear-2018.3.5.narinfo -rw-r--r-- 2 guix-publish guix-publish 2232 Mar 17 22:20 /var/cache/guix/pu= blish/lzip/k094mjy3m1cyh85vd27l2gn0w5ikscya-flightgear-2018.3.5.narinfo --8<---------------cut here---------------end--------------->8--- The nar size is indeed negative again: --8<---------------cut here---------------start------------->8--- ludo@berlin ~$ sudo sqlite3 /var/guix/db/db.sqlite SQLite version 3.28.0 2019-04-16 19:49:53 Enter ".help" for usage hints. sqlite> select * from validpaths where path=3D'/gnu/store/k094mjy3m1cyh85vd= 27l2gn0w5ikscya-flightgear-2018.3.5'; 45484766|/gnu/store/k094mjy3m1cyh85vd27l2gn0w5ikscya-flightgear-2018.3.5|sh= a256:5c013b4728be2ef0a87914b5a812d0dcd41d5720b2fac99c99bad093f1869e2f|16158= 25221|/gnu/store/r995zx36fm4k4r1mwyy22mg2syjdc0fj-flightgear-2018.3.5.drv|-= 1610199336 --8<---------------cut here---------------end--------------->8--- Registration date is: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (date->string (time-utc->date (make-time time-utc 0 16= 15825221) 3600)) $11 =3D "Mon Mar 15 17:20:21+0100 2021" --8<---------------cut here---------------end--------------->8--- Right now berlin is running guix-1.2.0-13.a53f711, which AFAICS includes the narsize bound checking added in 13a7d2a538b00aa0a8cf9b999f1a4ff3e5959af= 9. This only ensures that narsize is positive. Could it be that wrapping happens in sqlite itself? Or could it be that Cuirass itself uses an older version of (guix store database)? Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Mar 2021 14:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161633853712802 (code B ref 46212); Sun, 21 Mar 2021 14:56:01 +0000 Received: (at 46212) by debbugs.gnu.org; 21 Mar 2021 14:55:37 +0000 Received: from localhost ([127.0.0.1]:55248 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNzUO-0003KQ-R0 for submit@debbugs.gnu.org; Sun, 21 Mar 2021 10:55:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42036) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNzUN-0003KC-1q for 46212@debbugs.gnu.org; Sun, 21 Mar 2021 10:55:35 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40568) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNzUH-0004Tx-FB; Sun, 21 Mar 2021 10:55:29 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37214 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lNzTs-0003sD-Ao; Sun, 21 Mar 2021 10:55:06 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87r1lzftnx.fsf@cbaines.net> <874kh43725.fsf@gnu.org> Date: Sun, 21 Mar 2021 15:55:01 +0100 In-Reply-To: <874kh43725.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 21 Mar 2021 15:38:58 +0100") Message-ID: <87y2eg1rqy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Ludovic Court=C3=A8s skribis: > I get this while attempting to install flightgear from > 12c17b46f1464db5591572754c814c845a2057ad. Ah ha! A newer flightgear, baked today, doesn=E2=80=99t have this problem = (from commit 3c74dbb35f1ea0f43b02fd81e5afd24608f71c45): --8<---------------cut here---------------start------------->8--- $ wget -qO - https://ci.guix.gnu.org/58rpdzfh42xqq36dg25cgxzfw0alsm7w.narin= fo | head -12 StorePath: /gnu/store/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 URL: nar/gzip/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 Compression: gzip FileSize: 1797450279 URL: nar/lzip/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 Compression: lzip FileSize: 1605732816 URL: nar/zstd/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 Compression: zstd FileSize: 1668702713 NarHash: sha256:09804lw134f16k4pwwm8jpwiy9dvr4hjvz64wx74bl8g1jjf9i9w NarSize: 2684767960 --8<---------------cut here---------------end--------------->8--- And on berlin: --8<---------------cut here---------------start------------->8--- ludo@berlin ~$ sudo sqlite3 /var/guix/db/db.sqlite Password:=20 SQLite version 3.28.0 2019-04-16 19:49:53 Enter ".help" for usage hints. sqlite> select * from validpaths where path=3D'/gnu/store/58rpdzfh42xqq36dg= 25cgxzfw0alsm7w-flightgear-2018.3.5'; 45741398|/gnu/store/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5|sh= a256:3cc5e4a40c0fd1454ee7c4fc2d21c9bb251ff995a8727ec934c1911138250025|16162= 52839|/gnu/store/rzcviskbmy0x4hz15dki4a2aci9wrjxv-flightgear-2018.3.5.drv|2= 684767960 --8<---------------cut here---------------end--------------->8--- Registration date: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (date->string (time-utc->date (make-time time-utc 0 16= 16252839) 3600)) $15 =3D "Sat Mar 20 16:07:19+0100 2021" --8<---------------cut here---------------end--------------->8--- Could it be that the bug was fixed in the meantime? Or that this one was, say, built directly via Guix whereas the other one was built through Cuirass? Mystery! Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 21 Mar 2021 14:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161633854112818 (code B ref 46212); Sun, 21 Mar 2021 14:56:02 +0000 Received: (at 46212) by debbugs.gnu.org; 21 Mar 2021 14:55:41 +0000 Received: from localhost ([127.0.0.1]:55251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNzUT-0003Kg-3C for submit@debbugs.gnu.org; Sun, 21 Mar 2021 10:55:41 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lNzUP-0003KG-7L for 46212@debbugs.gnu.org; Sun, 21 Mar 2021 10:55:37 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40572) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lNzUJ-0004W1-QQ; Sun, 21 Mar 2021 10:55:31 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=37216 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lNzUI-0003uR-FP; Sun, 21 Mar 2021 10:55:31 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <874kh43725.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 21 Mar 2021 15:38:58 +0100") References: <87zh0pf9ip.fsf@cbaines.net> <87r1lzftnx.fsf@cbaines.net> <874kh43725.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) Date: Sun, 21 Mar 2021 15:55:29 +0100 Message-ID: <87wnu01rq6.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Ludovic Court=C3=A8s skribis: > I get this while attempting to install flightgear from > 12c17b46f1464db5591572754c814c845a2057ad. Ah ha! A newer flightgear, baked today, doesn=E2=80=99t have this problem = (from commit 3c74dbb35f1ea0f43b02fd81e5afd24608f71c45): --8<---------------cut here---------------start------------->8--- $ wget -qO - https://ci.guix.gnu.org/58rpdzfh42xqq36dg25cgxzfw0alsm7w.narin= fo | head -12 StorePath: /gnu/store/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 URL: nar/gzip/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 Compression: gzip FileSize: 1797450279 URL: nar/lzip/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 Compression: lzip FileSize: 1605732816 URL: nar/zstd/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5 Compression: zstd FileSize: 1668702713 NarHash: sha256:09804lw134f16k4pwwm8jpwiy9dvr4hjvz64wx74bl8g1jjf9i9w NarSize: 2684767960 --8<---------------cut here---------------end--------------->8--- And on berlin: --8<---------------cut here---------------start------------->8--- ludo@berlin ~$ sudo sqlite3 /var/guix/db/db.sqlite Password:=20 SQLite version 3.28.0 2019-04-16 19:49:53 Enter ".help" for usage hints. sqlite> select * from validpaths where path=3D'/gnu/store/58rpdzfh42xqq36dg= 25cgxzfw0alsm7w-flightgear-2018.3.5'; 45741398|/gnu/store/58rpdzfh42xqq36dg25cgxzfw0alsm7w-flightgear-2018.3.5|sh= a256:3cc5e4a40c0fd1454ee7c4fc2d21c9bb251ff995a8727ec934c1911138250025|16162= 52839|/gnu/store/rzcviskbmy0x4hz15dki4a2aci9wrjxv-flightgear-2018.3.5.drv|2= 684767960 --8<---------------cut here---------------end--------------->8--- Registration date: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> (date->string (time-utc->date (make-time time-utc 0 16= 16252839) 3600)) $15 =3D "Sat Mar 20 16:07:19+0100 2021" --8<---------------cut here---------------end--------------->8--- Could it be that the bug was fixed in the meantime? Or that this one was, say, built directly via Guix whereas the other one was built through Cuirass? Mystery! Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Mathieu Othacehe Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 29 Mar 2021 07:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 46212@debbugs.gnu.org, Christopher Baines Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.161700396117552 (code B ref 46212); Mon, 29 Mar 2021 07:46:02 +0000 Received: (at 46212) by debbugs.gnu.org; 29 Mar 2021 07:46:01 +0000 Received: from localhost ([127.0.0.1]:47725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQmb2-0004Z2-Kb for submit@debbugs.gnu.org; Mon, 29 Mar 2021 03:46:01 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lQmaz-0004Yo-Rv for 46212@debbugs.gnu.org; Mon, 29 Mar 2021 03:45:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:39307) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lQmau-0005ai-12; Mon, 29 Mar 2021 03:45:52 -0400 Received: from [2a01:e0a:19b:d9a0:f8a9:75d0:2054:75c6] (port=37866 helo=cervin) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lQmat-0006mA-DK; Mon, 29 Mar 2021 03:45:51 -0400 From: Mathieu Othacehe References: <87zh0pf9ip.fsf@cbaines.net> <87r1lzftnx.fsf@cbaines.net> <874kh43725.fsf@gnu.org> <87wnu01rq6.fsf@gnu.org> Date: Mon, 29 Mar 2021 09:45:50 +0200 In-Reply-To: <87wnu01rq6.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Sun, 21 Mar 2021 15:55:29 +0100") Message-ID: <8735we2yj5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) Hey, > Could it be that the bug was fixed in the meantime? Or that this one > was, say, built directly via Guix whereas the other one was built > through Cuirass? Mystery! That's strange. There's nothing really special about how Cuirass builds its stuff. It's a plain "build-derivations" call in the "cuirass remote-worker" process. This process only builds stuff and report it using (simple-zmq). A memory corruption in that module also seems unlikely, as there are almost 30 instances of this process running nicely for days. Thanks, Mathieu From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize References: <87zh0pf9ip.fsf@cbaines.net> In-Reply-To: <87zh0pf9ip.fsf@cbaines.net> Resent-From: Brendan Tildesley Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 07 Apr 2021 09:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: "46212@debbugs.gnu.org" <46212@debbugs.gnu.org> Cc: "ludo@gnu.org" Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.16177865798356 (code B ref 46212); Wed, 07 Apr 2021 09:10:01 +0000 Received: (at 46212) by debbugs.gnu.org; 7 Apr 2021 09:09:39 +0000 Received: from localhost ([127.0.0.1]:43093 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU4Bv-0002Ai-5c for submit@debbugs.gnu.org; Wed, 07 Apr 2021 05:09:39 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:43150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lU4Bt-0002AT-Fm for 46212@debbugs.gnu.org; Wed, 07 Apr 2021 05:09:37 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4FFdrC2LXbzQk1X; Wed, 7 Apr 2021 11:09:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-type:content-type:mime-version:subject:subject :message-id:from:from:date:date:received; s=mail20150812; t= 1617786565; bh=8WdSkHXPRDWYiASV8CKFHZeERAd5y1+BDXykbnFdi3o=; b=k 2XkBTbJkfH/dCf+CfGgyaZyxrgv0lwDtf8Ima632tlouxUaqyotzO2XvqCx99y28 YfvqQxDKCb8Cnbc1um1hZkELcmt7nraTwnpNwzU14xTVVIGvNJBggHn32kAGIpi6 UDtDUyiFs798l9TStkYSJHMmfP8X0NIbGXc0moAdqGh2x2AcE3NzW6cqU7aw38mR qDIIqfNC8gVyzjx8TwBl07nWydUyey0d4btwUOrpKfR+cbsOkNEOwLRfp8R8pf7s m4+pbWu6ENh5ATAaR55JWS5hIbYx+QyhsmceC3cY8swv+VFeN7D9k1DRZSrxQNB/ 5OiymYGSzanuZ8UWsD1Hw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1617786569; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type; bh=F14qBW9u1Q+t6XsnC5vSKYfP+SrR7xdezKqoGC0VKJ0=; b=R+3KgoTApZNAfctULNTb0Z10su+6cNHA3tVEKZx8+Q6ZyKX+rrO8lEauyJaAqB4/YKO26F lZ8tHpDwUawEEe8tbAFMaWu0IpNwLCalURP06qWjqbFCGO7nwjcfisUv8Z3s1UBYJbzNgI fTUIfb42efXsEAXLH8szaOCJrvd1q/jq8jBPeJjQ/Fhb1RMP/PR8b63Cr8JkyTnSEHguGk i+mJqaRNkG5TVARRdcEvikPrcRtJlQsPu5d7fVP7dh80hKcuC3tdl6xht5ZAz3pMdrReQE GMw/9+sdbyhBNbQQw7pfHbZijSEaip3PrqagmnGaL3yG3n2Lj4AC5gTehdgjMQ== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by hefe.heinlein-support.de (hefe.heinlein-support.de [91.198.250.172]) (amavisd-new, port 10030) with ESMTP id 2Gi1nerTLQDN; Wed, 7 Apr 2021 11:09:25 +0200 (CEST) Date: Wed, 7 Apr 2021 11:09:24 +0200 (CEST) From: Brendan Tildesley Message-ID: <839241594.45677.1617786564789@office.mailbox.org> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_45676_1646610765.1617786564787" X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: X-Rspamd-Score: -3.31 / 15.00 / 15.00 X-Rspamd-Queue-Id: 392731802 X-Rspamd-UID: db9558 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.7 (-) ------=_Part_45676_1646610765.1617786564787 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit I just had the same bug with flightgear as Ludo. Running `guix build flightgear', guix showed it was downloading substitute information, and then errored with guix build: error: integer expected from stream Possibly helpful strace info: write(14, "\36\0\0\0\0\0\0\0\3\0\0\0\0\0\0\0?\0\0\0\0\0\0\0/gnu/store/ssdka48kwx9f2z54j63mjxvn6bg502mm-flightgear-2018.3.5\0@\0\0\0\0\0\0\0/gnu/store/pr6xy604hg7yhcinnlymrkc958kl0bnn-openscenegraph-3.4.1<\0\0\0\0\0\0\0/gnu/store/g8g4paw3q3z8hkl441ddhdn0in54gi3f-simgear-2018.3.5\0\0\0\0", 232) = 232 read(14, "ptxc\0\0\0\0", 8) = 8 read(14, "\34\0\0\0\0\0\0\0", 8) = 8 read(14, "integer expected from stream\0\0\0\0", 32) = 32 read(14, "\1", 1) = 1 read(14, "\0\0\0\0\0\0\0", 7) = 7 close(14) ------=_Part_45676_1646610765.1617786564787 MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit
I just had the same bug with flightgear as Ludo.

Running `guix build flightgear', guix showed it was downloading substitute information, and then errored with

guix build: error: integer expected from stream

Possibly helpful strace info:

write(14, "\36\0\0\0\0\0\0\0\3\0\0\0\0\0\0\0?\0\0\0\0\0\0\0/gnu/store/ssdka48kwx9f2z54j63mjxvn6bg502mm-flightgear-2018.3.5\0@\0\0\0\0\0\0\0/gnu/store/pr6xy604hg7yhcinnlymrkc958kl0bnn-openscenegraph-3.4.1<\0\0\0\0\0\0\0/gnu/store/g8g4paw3q3z8hkl441ddhdn0in54gi3f-simgear-2018.3.5\0\0\0\0", 232) = 232
read(14, "ptxc\0\0\0\0", 8)             = 8
read(14, "\34\0\0\0\0\0\0\0", 8)        = 8
read(14, "integer expected from stream\0\0\0\0", 32) = 32
read(14, "\1", 1)                       = 1
read(14, "\0\0\0\0\0\0\0", 7)           = 7
close(14)
------=_Part_45676_1646610765.1617786564787-- From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 11 Jun 2021 12:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.16234130577563 (code B ref 46212); Fri, 11 Jun 2021 12:05:02 +0000 Received: (at 46212) by debbugs.gnu.org; 11 Jun 2021 12:04:17 +0000 Received: from localhost ([127.0.0.1]:38336 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrftY-0001xu-Lt for submit@debbugs.gnu.org; Fri, 11 Jun 2021 08:04:16 -0400 Received: from mira.cbaines.net ([212.71.252.8]:40970) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lrftW-0001xk-TX for 46212@debbugs.gnu.org; Fri, 11 Jun 2021 08:04:16 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:8ac0:b4c7:f5c8:7caa]) by mira.cbaines.net (Postfix) with ESMTPSA id D569127BC78; Fri, 11 Jun 2021 13:04:13 +0100 (BST) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id a6cf7ba1; Fri, 11 Jun 2021 12:04:13 +0000 (UTC) References: <87zh0pf9ip.fsf@cbaines.net> User-agent: mu4e 1.4.15; emacs 27.2 From: Christopher Baines In-reply-to: <87zh0pf9ip.fsf@cbaines.net> Date: Fri, 11 Jun 2021 13:04:10 +0100 Message-ID: <87tum4sj45.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (-) --=-=-= Content-Type: text/plain Christopher Baines writes: > I noticed through the Guix Data Service that some narinfo files from > ci.guix.gnu.org have an excessive NarSize. Since I've scanned all the narinfos for a recent revision, I thought I'd update this issue with the broken narinfos that ci.guix.gnu.org is currently serving (just for a recent revision): /gnu/store/s18pfbv3a9sf61rh29m1i8vdznwjlny7-repeat-masker-4.1.1 /gnu/store/4lm1wa8m9n84vh29d6pa3ygy29iwyz2v-flightgear-2018.3.5 /gnu/store/q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5 I think there were safeguards put in place to avoid bad data making it's way in to the store database? If so, maybe the store item could be gc'd on berlin, and the cached narinfos deleted, and that would clean things up? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmDDUTpfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xf/jg//WBQ5JtPXC6XYVRxbYXcPPsukdSYd8OhH +eJlTfsat/xcX60Ny1qsOrIwwzxqEml1re01Dt2u3pvG4Hv9fUnMlKH6Utolxt71 LYw+X4LEdIERjHKWVweAEHVG6OzffKWvhMDU5ZS2TeS9Y1JXaNeYhU3/mYbBh9au drtgsaG6iQh1i9b3XLaCxD+Z0mToQmuRD8o5afGovmp4gefkU42znhn25qdBuKwm hx1GS+lRBzR3CKIRoejWYNA4fP25x52gFwycmqw3LYLsKFjxoBB9q9YS0qwWuHfN WhkH/jgbrH9RJI5XYpbFI+snSq6Xa5MagMXNEE0GXBapJGFGuLTSk77zC6R0TYM8 baobKJfrB2C9YqVo98BONL6cATDzXuD6zat3BUTVNHy+Ka+pbytCt8DEeil+QWh9 l1kN/bHOxdObk7kPy+c97e3F6uXDsb7QOW6bm5SwyPLkhlaAwgb8YqW8yGeqoWpE zFxhjZcMyvKqMq6x03FMAwyP/2G0HOrr6WEsiouktRbggxt3ANc2BMwJOXj/HPgH uh+I+jsqPPD/DRZX1oF/V+DuRT9EbC/TuLydjwKQ5B38rJq6B+OigLVWcG/93k8H 7Umb2tXZwgoIbmYvtpfdB4zVEoOauuAmCGhblFjTITW6EebTIWOfKSa0ehnS7l12 7u7zoC5+MXs= =us0O -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Jun 2021 09:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.162400972318182 (code B ref 46212); Fri, 18 Jun 2021 09:49:02 +0000 Received: (at 46212) by debbugs.gnu.org; 18 Jun 2021 09:48:43 +0000 Received: from localhost ([127.0.0.1]:55802 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luB7C-0004jB-Uz for submit@debbugs.gnu.org; Fri, 18 Jun 2021 05:48:43 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luB78-0004ik-Py for 46212@debbugs.gnu.org; Fri, 18 Jun 2021 05:48:39 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51168) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luB73-0004oS-9Y; Fri, 18 Jun 2021 05:48:33 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=52998 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luB72-0003Df-Ga; Fri, 18 Jun 2021 05:48:33 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87tum4sj45.fsf@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 Prairial an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 18 Jun 2021 11:48:31 +0200 In-Reply-To: <87tum4sj45.fsf@cbaines.net> (Christopher Baines's message of "Fri, 11 Jun 2021 13:04:10 +0100") Message-ID: <87pmwjh5ao.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Christopher Baines skribis: > Christopher Baines writes: > >> I noticed through the Guix Data Service that some narinfo files from >> ci.guix.gnu.org have an excessive NarSize. > > Since I've scanned all the narinfos for a recent revision, I thought I'd > update this issue with the broken narinfos that ci.guix.gnu.org is > currently serving (just for a recent revision): > > /gnu/store/s18pfbv3a9sf61rh29m1i8vdznwjlny7-repeat-masker-4.1.1 > /gnu/store/4lm1wa8m9n84vh29d6pa3ygy29iwyz2v-flightgear-2018.3.5 > /gnu/store/q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5 This is what I get for the last one: --8<---------------cut here---------------start------------->8--- sqlite> select * from validpaths where path =3D '/gnu/store/q6qa5s2z2l20q25= qpxyfv1wni5wwhk24-flightgear-2018.3.5'; 48732920|/gnu/store/q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5|sh= a256:86426115e1f49835a24612ae89a180e87ac835332b4e83d19ecbd43211336cd2|16233= 60391|/gnu/store/722yyaa1qvkaakn6p7ywwr4dnm5wmddz-flightgear-2018.3.5.drv|-= 1610199336 --8<---------------cut here---------------end--------------->8--- The registration date is: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,use(srfi srfi-19) scheme@(guile-user)> (date->string (time-utc->date (make-time time-utc 0 16= 23360391)) "~1" ) $164 =3D "2021-06-10" --8<---------------cut here---------------end--------------->8--- > I think there were safeguards put in place to avoid bad data making it's > way in to the store database? I thought so too (commit 13a7d2a538b00aa0a8cf9b999f1a4ff3e5959af9)! So we must be using another code path. Mathieu, these store items get registered via an RPC, or via (guix store database)? Thanks, Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: bug#51983: guix build: error: integer expected from stream Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Nov 2021 23:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Cc: 51983-done@debbugs.gnu.org, 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.16377962761690 (code B ref 46212); Wed, 24 Nov 2021 23:25:02 +0000 Received: (at 46212) by debbugs.gnu.org; 24 Nov 2021 23:24:36 +0000 Received: from localhost ([127.0.0.1]:55188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1cx-0000RB-TU for submit@debbugs.gnu.org; Wed, 24 Nov 2021 18:24:36 -0500 Received: from eggs.gnu.org ([209.51.188.92]:34324) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1cu-0000Qu-Rw; Wed, 24 Nov 2021 18:24:34 -0500 Received: from [2001:470:142:3::e] (port=52180 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1cp-0000J8-LG; Wed, 24 Nov 2021 18:24:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=eQPSDj27lB1b4c0dxEqjRw3QVcLhtz9m1sQi+Vy2bSo=; b=QyFQ9lWWUNsU37rcjt08 Qf+YeDrrXsWbg6x70WtTwGhPCRHY17/OmbYRWB+J1GTY/7of/fA2vqzCeSWkmraxIV4RrfOmZSM4f dBjBFaI1ZMe8HjUiybuuxTGIqADi4hyft27bwd7GacKa+lKYVKOzfsZcZJ0WSb5geKI1Z7vj6inM2 NQb2YryG2YQOUUrfFykFPCJ1X6AHIsS4RrNb5D2ktSOpgO2d86ySms1woGWlPYBYARn+rr+epQ3Ts /4N9r4PL/7l5rsOb4EgjCdf6DGW5bUpSkCGk03DfDNcfypqk6twDUkRBZTCNWDVjoQMyFxWecj9Mg 4nF+H8EyPRaM9Q==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:57656 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1cp-0004Gd-Fa; Wed, 24 Nov 2021 18:24:27 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87h7c77toj.fsf@nckx> <87czmv7t8l.fsf@nckx> Date: Thu, 25 Nov 2021 00:24:24 +0100 In-Reply-To: <87czmv7t8l.fsf@nckx> (Tobias Geerinckx-Rice's message of "Fri, 19 Nov 2021 22:03:11 +0100") Message-ID: <877dcxgms7.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Hi, Tobias Geerinckx-Rice skribis: > Tobias Geerinckx-Rice via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF= =BC=9A >> substitute: updating substitutes from >> 'https://ci.guix.gnu.org'... 100.0% >> guix build: error: integer expected from stream: >> 18446744071924943736 > > And it is indeed specific to querying ci.guix. This reminds me of: https://issues.guix.gnu.org/46212 and indeed: --8<---------------cut here---------------start------------->8--- $ guix build flightgear -n --no-grafts substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from 'https://bayfront.guix.gnu.org'... 10= 0.0% guix build: error: integer expected from stream $ guix describe Generacio 195 Nov 22 2021 00:37:58 (nuna) guix 24aa7b3 repository URL: https://git.savannah.gnu.org/git/guix.git branch: master commit: 24aa7b3c21309b63cc6e8e18d6417d2cddccf6c6 --8<---------------cut here---------------end--------------->8--- The =E2=80=98NarSize=E2=80=99 field is still broken on ci.guix: --8<---------------cut here---------------start------------->8--- $ wget -qO - https://ci.guix.gnu.org/ashmi6vr9d0k03z9q6ncbb2wf36p9nyk.narin= fo |grep Size FileSize: 1876560180 FileSize: 1715771086 FileSize: 1753645085 NarSize: 18446744072093825552 $ wget -qO - https://bordeaux.guix.gnu.org/ashmi6vr9d0k03z9q6ncbb2wf36p9nyk= .narinfo |grep Size FileSize: 1715771086 NarSize: 2679241232 --8<---------------cut here---------------end--------------->8--- and again the database on berlin has a negative size: --8<---------------cut here---------------start------------->8--- $ sudo sqlite3 /var/guix/db/db.sqlite SQLite version 3.32.3 2020-06-18 14:00:33 Enter ".help" for usage hints. sqlite> select * from validpaths where path =3D '/gnu/store/ashmi6vr9d0k03z= 9q6ncbb2wf36p9nyk-flightgear-2020.3.11'; 56551239|/gnu/store/ashmi6vr9d0k03z9q6ncbb2wf36p9nyk-flightgear-2020.3.11|s= ha256:1c68105efd8ee4677085a2cecaa5859f1f5f213d52e213ef4949384717dc493a|1636= 968959|/gnu/store/xvyar43mcfw0r7jfm1x0a2i9rhnsdh87-flightgear-2020.3.11.drv= |-1615726064 --8<---------------cut here---------------end--------------->8--- [Time passes=E2=80=A6] OK, this one is now fixed by commit 1eb40a6dc4917f5a2e915f8b31b750dba3d378c6m, which means you now get: --8<---------------cut here---------------start------------->8--- $ guix build flightgear --no-grafts -n 1,715.8 MB would be downloaded: /gnu/store/ashmi6vr9d0k03z9q6ncbb2wf36p9nyk-flightgear-2020.3.11 guix build: warning: at least 18,446,744,072,093.8 MB needed but only 4,753= .4 MB available in /gnu/store --8<---------------cut here---------------end--------------->8--- Fun, no? :-) Also, after substitution, the size in the store database would be the wrong one, so =E2=80=98guix size=E2=80=99 would keep telling you it=E2=80= =99s this big. Not great but harmless as the nar size is used for UI purposes only. Ludo=E2=80=99. From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 24 Nov 2021 23:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.16377965462139 (code B ref 46212); Wed, 24 Nov 2021 23:30:02 +0000 Received: (at 46212) by debbugs.gnu.org; 24 Nov 2021 23:29:06 +0000 Received: from localhost ([127.0.0.1]:55202 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1hK-0000YQ-0f for submit@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:06 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35190) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1hI-0000Xv-J9 for 46212@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:04 -0500 Received: from [2001:470:142:3::e] (port=52264 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1hD-00015E-AI; Wed, 24 Nov 2021 18:28:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=fijOmcduZ0JUaN1Yv8qrX23ptXuPPRqNYAiTd5eS2oo=; b=F93WCCWU65qDvqLfWWJS 2sgRV1ngNNk06VnOf9de+xE5FWtVGPhYMSETwsHPCiSw3eQDSLLCJf7xtFxneJ2a5cM9aq2aSJ+2P /LGYMbeRQcnYED38kqvXpl4A3MNbcFL8QtBHrdheB+jU7sXKgHL9S/3wrYtaI3MpK3l1SoEBjveUM gs1o5xzyc+6U8UFroHhAUtNdVi5Nmm8kP/Sq2z1e/KgHBO73DaEi+DLbth+/231sJeu14Y0FezZlG EFfEnNr/06zE0sq7QpT3wRWZ7/LnNmGXJfOARC0lh2RkNLOBALHrOdp7w1O5Fa8kArWBMOMVH1ncL rVerkd7bhrJyQw==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:65086 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1hC-0001wO-UX; Wed, 24 Nov 2021 18:28:59 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87tum4sj45.fsf@cbaines.net> <87pmwjh5ao.fsf@gnu.org> Date: Thu, 25 Nov 2021 00:28:57 +0100 In-Reply-To: <87pmwjh5ao.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 18 Jun 2021 11:48:31 +0200") Message-ID: <87zgptf806.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Hi, Ludovic Court=C3=A8s skribis: > This is what I get for the last one: > > sqlite> select * from validpaths where path =3D '/gnu/store/q6qa5s2z2l20q= 25qpxyfv1wni5wwhk24-flightgear-2018.3.5'; > 48732920|/gnu/store/q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5|= sha256:86426115e1f49835a24612ae89a180e87ac835332b4e83d19ecbd43211336cd2|162= 3360391|/gnu/store/722yyaa1qvkaakn6p7ywwr4dnm5wmddz-flightgear-2018.3.5.drv= |-1610199336 > > > The registration date is: > > scheme@(guile-user)> ,use(srfi srfi-19) > scheme@(guile-user)> (date->string (time-utc->date (make-time time-utc 0 = 1623360391)) "~1" ) > $164 =3D "2021-06-10" > >> I think there were safeguards put in place to avoid bad data making it's >> way in to the store database? > > I thought so too (commit 13a7d2a538b00aa0a8cf9b999f1a4ff3e5959af9)! > So we must be using another code path. At last I found the culprit (me! :-)). This is fixed by commit f9b1bb916c284bea00dd5549a43e0894b219d650. The reason ci.guix would experience it and not bayfront is because the Cuirass worker mechanism relies on substitutes to retrieve files from a worker, and this is how it would end up storing a negative size. We=E2=80=99ll have to upgrade the =E2=80=98guix=E2=80=99 package and deploy= it on berlin. I don=E2=80=99t think it=E2=80=99s easily feasible to fix existing entries in= the store database and (more importantly) narinfos so I=E2=80=99d just leave them aro= und; the bogus nar size propagates but it=E2=80=99s harmless and doesn=E2=80=99t= prevent substitution. Thoughts? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 24 18:29:19 2021 Received: (at control) by debbugs.gnu.org; 24 Nov 2021 23:29:19 +0000 Received: from localhost ([127.0.0.1]:55206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1hX-0000Yt-91 for submit@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:19 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1hV-0000Yf-Cl for control@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:17 -0500 Received: from [2001:470:142:3::e] (port=52268 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1hQ-00016Z-4g for control@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=u8qr9CYgs9nSGy6hqQ6V98nudMmABT6onzlQ3PuujBc=; b=muKHEssJuVNe4A aTKKF3IOcmJRKC0kDEuYqf8rWL7fnddWJinryoLKmnPzDyoL64DEn5sU7R04eBZJFnC1aDDlt+lX+ O1eOtUmx/GpraH1wLe7myUTRKtkW113aF707nveV4AMeUjORzp+KQrFhMIlWqyE4UplvCjU49lzEx 8OqXMPIsd/kwQcGg2IzD2aZAbsFIOQlBblqowx1gnkdyU+8POCucUOVBjj/7LGijgXu0KCmcysEDo PpNadvJdWhduYHzZ/1Gn3kDwseU9uki0E31nmO0mv5iEezl8hnsi+cx/yUm/sJxtUorKFRDV5GzZ4 jdbXuTNJ6eADehZ7MBUQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:60695 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1hP-0002oB-U7 for control@debbugs.gnu.org; Wed, 24 Nov 2021 18:29:12 -0500 Date: Thu, 25 Nov 2021 00:29:10 +0100 Message-Id: <87y25df7zt.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #46212 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) close 46212 quit From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 25 Nov 2021 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.163782982815988 (code B ref 46212); Thu, 25 Nov 2021 08:44:01 +0000 Received: (at 46212) by debbugs.gnu.org; 25 Nov 2021 08:43:48 +0000 Received: from localhost ([127.0.0.1]:55696 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqAM8-00049o-Bz for submit@debbugs.gnu.org; Thu, 25 Nov 2021 03:43:48 -0500 Received: from mira.cbaines.net ([212.71.252.8]:47048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqAM4-00049d-Pn for 46212@debbugs.gnu.org; Thu, 25 Nov 2021 03:43:46 -0500 Received: from localhost (unknown [217.155.61.229]) by mira.cbaines.net (Postfix) with ESMTPSA id EA0F827BBE9; Thu, 25 Nov 2021 08:43:43 +0000 (GMT) Received: from capella (localhost [127.0.0.1]) by localhost (OpenSMTPD) with ESMTP id d8567111; Thu, 25 Nov 2021 08:43:41 +0000 (UTC) References: <87zh0pf9ip.fsf@cbaines.net> <87tum4sj45.fsf@cbaines.net> <87pmwjh5ao.fsf@gnu.org> <87zgptf806.fsf@gnu.org> User-agent: mu4e 1.6.6; emacs 27.2 From: Christopher Baines Date: Thu, 25 Nov 2021 08:42:25 +0000 In-reply-to: <87zgptf806.fsf@gnu.org> Message-ID: <875ysg39s2.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s writes: > Hi, > > Ludovic Court=C3=A8s skribis: > >> This is what I get for the last one: >> >> sqlite> select * from validpaths where path =3D '/gnu/store/q6qa5s2z2l20= q25qpxyfv1wni5wwhk24-flightgear-2018.3.5'; >> 48732920|/gnu/store/q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5= |sha256:86426115e1f49835a24612ae89a180e87ac835332b4e83d19ecbd43211336cd2|16= 23360391|/gnu/store/722yyaa1qvkaakn6p7ywwr4dnm5wmddz-flightgear-2018.3.5.dr= v|-1610199336 >> >> >> The registration date is: >> >> scheme@(guile-user)> ,use(srfi srfi-19) >> scheme@(guile-user)> (date->string (time-utc->date (make-time time-utc 0= 1623360391)) "~1" ) >> $164 =3D "2021-06-10" >> >>> I think there were safeguards put in place to avoid bad data making it's >>> way in to the store database? >> >> I thought so too (commit 13a7d2a538b00aa0a8cf9b999f1a4ff3e5959af9)! >> So we must be using another code path. > > At last I found the culprit (me! :-)). This is fixed by commit > f9b1bb916c284bea00dd5549a43e0894b219d650. Awesome :) > The reason ci.guix would experience it and not bayfront is because the > Cuirass worker mechanism relies on substitutes to retrieve files from a > worker, and this is how it would end up storing a negative size. > > We=E2=80=99ll have to upgrade the =E2=80=98guix=E2=80=99 package and depl= oy it on berlin. I > don=E2=80=99t think it=E2=80=99s easily feasible to fix existing entries = in the store > database and (more importantly) narinfos so I=E2=80=99d just leave them a= round; > the bogus nar size propagates but it=E2=80=99s harmless and doesn=E2=80= =99t prevent > substitution. > > Thoughts? I thought this did prevent substitution, at least I have problems: =E2=86=92 guix build --substitute-urls=3Dhttps://ci.guix.gnu.org /gnu/store= /q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5 substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% guix build: error: integer expected from stream Maybe the database could be queried to find the affected items, then they could be GC'd? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKlBAEBCgCPFiEEPonu50WOcg2XVOCyXiijOwuE9XcFAmGfTL1fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcRHG1haWxAY2Jh aW5lcy5uZXQACgkQXiijOwuE9Xc0tw/+MYQlRA8NY0RSRbiOPWZwpeqh88OjwDkd DxGPISERNI/JE+aIYwf4YUHr1cIlY6IUZV4os4F+yq/C03VbGU24vmFklyTjOztA h1cmW65srs4xMCEpqbXZMG0dvolQKtIM+k7oVX27OJfMFB6wbfmJp+rJ9oT/jBrC GtcKKr55wBkuJ4YgYGf7vE56eL48fXf+g8wq35HcLgyKjnH3pSndXRYpeIVsUUIa PTVVvbO9Qtlh8NvaMxgjgnFlTCHPnvkWpehqt0TflhRHxAThn9ErqP8fjWcSmXDV P/Y+plo4fg2mmaUOe6pr/HE+5AxKU681RQcq17NDwHcck9GHBgwNXeq6z5CHCD+w PLBPPBgNKgR+xBkIuWSIiEjMxmiIRvlF4vT85fkqUe/IOlkGJG8Xa0rMVpuQ8xsg ORpH0DxnZj8dOL9qurmoLnk0vs6VekyHt5SDAAuulyey/3sLvCfLXMGM3xTVANZN d6LD9O/wihJv6OEUn+VnCCNjfg1evRKx6tTSgH9UdH92yVhcR6JM5WVd1HS0NVRC queIxiMIN/HQUltmZVfZRcmCcBFoG3VPhsopWs2jJ2KmBtNANSu7AQJ7CFEijs3q TKXMoWiujj+8ZL4dYQiPkaTaEbJ1UNkc/xhiTfkqGkwPOyR1ua8YXptF96jXVrej 1ffHTB9Wq8g= =llN1 -----END PGP SIGNATURE----- --=-=-=-- From unknown Sat Jun 14 19:44:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 26 Nov 2021 10:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46212 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: Mathieu Othacehe , 46212@debbugs.gnu.org Received: via spool by 46212-submit@debbugs.gnu.org id=B46212.16379215138871 (code B ref 46212); Fri, 26 Nov 2021 10:12:01 +0000 Received: (at 46212) by debbugs.gnu.org; 26 Nov 2021 10:11:53 +0000 Received: from localhost ([127.0.0.1]:58739 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqYCv-0002J1-5e for submit@debbugs.gnu.org; Fri, 26 Nov 2021 05:11:53 -0500 Received: from eggs.gnu.org ([209.51.188.92]:36898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mqYCt-0002Im-HM for 46212@debbugs.gnu.org; Fri, 26 Nov 2021 05:11:51 -0500 Received: from [2001:470:142:3::e] (port=53046 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqYCo-0002At-9A; Fri, 26 Nov 2021 05:11:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=CX4i+WlOTxVJThWrJzMYGMq+KJjLWEKEybF0OOak6wY=; b=GOQU/v25U1ULoEHBUJ9S b7Qf80dw/+6h2v9ywhRvgkaCLONrYL/yMFhhVq8sVNZthqGxbayq1bf7FGHw0xBcy3+oFcCQ1+sUC AZpRGkNrCMl01d+eSjZu3myGKoGRrztZyv2sXWCLviXln25jROmkIn+XU+TAFFMe5GFYuAxNsPF4V NY3dPe5tlZoCpta+9C//rv04+xXJzNkkRSHI0JPx1IwvaM0a7gfsDrswrGCBJjgu+e2ZtoA6TtbZn Khx92fa/twSnU/sF5DVTzVAAYcV5XcB2gZjGokuZzsYWAYnjVd5ruaZlEShSOJRopNPxWtHGUFAth 18S3f82X2POf8g==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=49510 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mqYCk-000270-HE; Fri, 26 Nov 2021 05:11:43 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87zh0pf9ip.fsf@cbaines.net> <87tum4sj45.fsf@cbaines.net> <87pmwjh5ao.fsf@gnu.org> <87zgptf806.fsf@gnu.org> <875ysg39s2.fsf@cbaines.net> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 Frimaire an 230 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 26 Nov 2021 11:11:40 +0100 In-Reply-To: <875ysg39s2.fsf@cbaines.net> (Christopher Baines's message of "Thu, 25 Nov 2021 08:42:25 +0000") Message-ID: <87y25b9qg3.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -3.3 (---) Hi! Christopher Baines skribis: > I thought this did prevent substitution, at least I have problems: > > =E2=86=92 guix build --substitute-urls=3Dhttps://ci.guix.gnu.org /gnu/sto= re/q6qa5s2z2l20q25qpxyfv1wni5wwhk24-flightgear-2018.3.5 > substitute: updating substitutes from 'https://ci.guix.gnu.org'... 100.0% > guix build: error: integer expected from stream This one is fixed here: https://issues.guix.gnu.org/51983 We have yet to update the =E2=80=98guix=E2=80=99 package though. > Maybe the database could be queried to find the affected items, then > they could be GC'd? We could do that, but then /var/cache/guix/publish would needed to be cleaned up as well. It=E2=80=99s a bit tedious doable. (I don=E2=80=99t p= lan to work on it right now because I=E2=80=99m trying to focus on other things.) Thanks, Ludo=E2=80=99.