From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 19 10:11:24 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#46212: ci.guix.gnu.org narinfos with excessive NarSize 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?= =?utf-8?Q?=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=22'?= =?utf-8?Q?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-Debbugs-Envelope-To: 46212 Cc: 46212@debbugs.gnu.org, Christopher Baines 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.