From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id gDlWGNnJnmG1wgAAgWs5BA (envelope-from ) for ; Thu, 25 Nov 2021 00:25:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OJrOE9nJnmH+PQAAbx9fmQ (envelope-from ) for ; Wed, 24 Nov 2021 23:25:13 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 205442DC35 for ; Thu, 25 Nov 2021 00:25:13 +0100 (CET) Received: from localhost ([::1]:34422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mq1dY-0001ci-6h for larch@yhetil.org; Wed, 24 Nov 2021 18:25:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35162) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq1dQ-0001ay-8E for bug-guix@gnu.org; Wed, 24 Nov 2021 18:25:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43650) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mq1dP-0000Mw-Vi for bug-guix@gnu.org; Wed, 24 Nov 2021 18:25:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mq1dP-0000SW-Sc for bug-guix@gnu.org; Wed, 24 Nov 2021 18:25:03 -0500 Subject: bug#51983: guix build: error: integer expected from stream Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Wed, 24 Nov 2021 23:25:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 51983 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Tobias Geerinckx-Rice Mail-Followup-To: 51983@debbugs.gnu.org, ludo@gnu.org, me@tobias.gr Received: via spool by 51983-done@debbugs.gnu.org id=D51983.16377962761697 (code D ref 51983); Wed, 24 Nov 2021 23:25:03 +0000 Received: (at 51983-done) by debbugs.gnu.org; 24 Nov 2021 23:24:36 +0000 Received: from localhost ([127.0.0.1]:55190 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq1cy-0000RD-9H 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 51983-done@debbugs.gnu.org, 46212@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637796313; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-to: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=eQPSDj27lB1b4c0dxEqjRw3QVcLhtz9m1sQi+Vy2bSo=; b=JSBTgR2+2psuilt77O+mSnbVS6cWS4FbvTiuKT4mG0ly7WgmEwwKjeSqR7wX+VS4o99NKy GAzvjIiLzatMmB3v873U2uKDo/F9DNYWMei7ItjBOW7wY6+Y3d/u3102lzSts11Y2lEQgM 5wnjZk09mrJtQ5TKgMyB93zKTf2VaSrXYNoOt3BC+B/cpamhlHiUXczwFftp5yh7PLEn61 ViWwVE+S2y4Q3Q0+uM5NWUt1M8mEs7mXIOy/x66zvVNzqP4XsJG53vQp24TYxmigTpjCyM 5iDuxjzF6I5nFISSDR28It6yl3hFMKKDitene0J6P6Y8BduDMqCPggfuoTHogw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637796313; a=rsa-sha256; cv=none; b=gmARVFeHpInSj8YnC8UnHw1YReRIqmfy7huVxn1SSP6y2FQLem6DRCiAQLE6PAab+T4WaB VkTOrlA1CxPDcInsDdelOttCKVABNhC9amfO4BdrHELzKtHVG2C2cOrIqi3CU7Dp4kzZ9Q m6Oe8WpqG4oSVNzcPuJ3LD8R/PdZ2Fsxu2z7q9WL1ZHUnTcCFZBotPFC8TrJ0p7gYNH6ll 86w9wL+VfWBzz0aZY/JZSpmyV+uoOKYceIkyEdxSdqRHjKLgbvT8vKLpE1HJ3oqu1yTJSQ Xg37w4/QTA70NLpyd07vQL7xhHvbj83H/7V5IAqcnrwGiP9S3XDwNGKFiePycQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QyFQ9lWW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -3.59 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=QyFQ9lWW; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 205442DC35 X-Spam-Score: -3.59 X-Migadu-Scanner: scn1.migadu.com X-TUID: pmFoQso3EEi1 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.