From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 15:53:57 2021 Received: (at submit) by debbugs.gnu.org; 19 Nov 2021 20:53:57 +0000 Received: from localhost ([127.0.0.1]:40635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moAtM-00077Y-9q for submit@debbugs.gnu.org; Fri, 19 Nov 2021 15:53:57 -0500 Received: from lists.gnu.org ([209.51.188.17]:50150) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moAtK-00077Q-Ua for submit@debbugs.gnu.org; Fri, 19 Nov 2021 15:53:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56200) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moAtK-0000Md-5M for bug-guix@gnu.org; Fri, 19 Nov 2021 15:53:50 -0500 Received: from [2a02:c205:2020:6054::1] (port=54232 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moAtE-0000zi-A3 for bug-guix@gnu.org; Fri, 19 Nov 2021 15:53:48 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=7ZTkrF+AJYYLa neHrorKNTwRTEevrKWAP4gw9teXx0E=; h=date:subject:to:from; d=tobias.gr; b=Je6IzyhIN4OcXf5G2R5lIlBRIo/MONyUsF/+JafHL9jiLlRO+XjxwJyH3xWnkDn/ruED g9y662QfzV2jItHMQ+viYIf4yN689alEGanRIH2OwGGt7aO+fRcQ0zGwSUvm7HsYXRkHt7 apfS5lrXjiKkkSZU1Zo44zYm7eRAOC6EMBugcD45Ek7qQaHar92RBn974w7Hy2Oib3lnKU 8yPdmDhTJKco18W8P3akq181NRxjaN4hfy5hdvaR8jCafS7pzpdTV+l+X0qH1wgmmlanaw 1ho0SUOBS5A860f8sUhZYJHicuFCwD/NPsXO9PTHb7mv8Mf+FoU2e2+1i8W2dUdg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id f0668fda (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for ; Fri, 19 Nov 2021 20:53:38 +0000 (UTC) From: Tobias Geerinckx-Rice To: bug-guix@gnu.org Subject: guix build: error: integer expected from stream Date: Fri, 19 Nov 2021 21:47:31 +0100 BIMI-Selector: v=BIMI1; s=default; Message-ID: <87h7c77toj.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit 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: -0.3 (/) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Guix, I saw this reported by jlicht on #guix but I'm pretty sure that=20 it's been reported a few times. Here's the error, with channel: (channel (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") (branch "core-updates-frozen") (introduction (make-channel-introduction "9edb3f66fd807b096b48283debdcddccfea34bad" (openpgp-fingerprint "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) And patch: =2D-8<---------------cut here---------------start------------->8--- From: Tobias Geerinckx-Rice Date: Fri, 19 Nov 2021 17:37:44 +0100 Subject: [PATCH] daemon: Print the line whence we expect an=20 integer. * nix/libstore/local-store.cc=20 (LocalStore::getLineFromSubstituter): Include the malformed substituter stream line in the error=20 message. =2D-- nix/libstore/local-store.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nix/libstore/local-store.cc=20 b/nix/libstore/local-store.cc index 675d1ba66f..83b6681122 100644 =2D-- a/nix/libstore/local-store.cc +++ b/nix/libstore/local-store.cc @@ -839,7 +839,8 @@ template T=20 LocalStore::getIntLineFromSubstituter(Agent & run) { string s =3D getLineFromSubstituter(run); T res; =2D if (!string2Int(s, res)) throw Error("integer expected from=20 stream"); + if (!string2Int(s, res)) + throw Error(format("integer expected from stream: %1%") %=20 s); return res; } =20 =2D-=20 2.34.0 =2D-8<---------------cut here---------------end--------------->8--- (=E2=80=A6which I'd like to merge if there are no objections=E2=80=A6) =2D-8<---------------cut here---------------start------------->8--- =CE=BB guix time-machine -C ~/channels.scm -- build texlive=20 =2D-substitute-urls=3D"https://guix.tobias.gr=20 https://bordeaux.guix.gnu.org https://ci.guix.gnu.org" [=E2=80=A6] substitute: updating substitutes from=20 'https://guix.tobias.gr'... 100.0% substitute: updating substitutes from=20 'https://bordeaux.guix.gnu.org'... 100.0% substitute: updating substitutes from=20 'https://ci.guix.gnu.org'... 100.0% substitute: updating substitutes from=20 'https://substitutes.nonguix.org'... 100.0% substitute: updating substitutes from=20 'https://mirror.brielmaier.net'... 100.0% The following derivations will be built: /gnu/store/i32vy0dhw00y59ajpfbzb66z7g5x5bmh-texlive-texmf-20210325.drv /gnu/store/z5r60zy9vmydf44fdyyc7hgc6q93aahm-texlive-20210325-texmf.tar.x= z.drv 100.5 MB will be downloaded: /gnu/store/0brdikxqk59hdr47qabcm3sya001d8vf-glibc-utf8-locales-2.33 /gnu/store/910a1558wknjm4687681kr0w2invish4-tcsh-6.22.03 /gnu/store/jazwfsj2v41yih2yzw5nydqgdz1hgfm4-file-5.39 /gnu/store/2ank6pw2lrybx24zyifkrc3bkxj8jpf4-lua-5.3.5 /gnu/store/0777brz2w8k5s4g53yfh34fyxp5r08sq-module-import-compiled /gnu/store/l8kxrs01lll3pzjrd590p45l8k045q6q-make-4.3 /gnu/store/l8l2y2dlya5rs9hfypmcb4saay7iwn0q-findutils-4.8.0 /gnu/store/6mag7gwl47gh7h2lp5byvxxw80x2zi72-ed-1.17 /gnu/store/m96snvbl92ivkd32giqh5f3d21bc2n5x-patch-2.7.6 /gnu/store/s49sxmz9g4xmzz222cay9k04ziy3qgmj-diffutils-3.8 /gnu/store/0v470agxfi4px58491h9932vwliljacr-teckit-2.5.10 /gnu/store/nafmw4krl0q6c1agaz55vz6ls35inw29-zziplib-0.13.72 /gnu/store/dswp2mfwb56xg57903cvhwcjj1fpdhqi-harfbuzz-2.8.2 /gnu/store/fl8vfhmwkg7k1d8qr9apwq5yb0iqa9k5-libpaper-1.1.24 /gnu/store/vbgd375j8p1iprljsizfwkfq56hi6mwi-jbig2dec-0.19 /gnu/store/1d1xbgmdqdsz5pzcmpky3mbgzhxgx7jl-libtiff-4.3.0 /gnu/store/1gn0gbzgqgj8x2vczfr2kgjkw1mlnz14-font-ghostscript-8.11 /gnu/store/hgi1jja24hsj9yjmr6zrpazhgy42v94f-ghostscript-9.54.0 /gnu/store/ic0ria97lvn16kg6jipzqq763rksvmhq-coreutils-minimal-8.32 /gnu/store/k18as85v9s0z66w40wg9sym4c5qz03l2-perl-5.34.0 /gnu/store/vhxayydx3y9n2gi2sc0dam26p7k1aaj8-libjpeg-turbo-2.0.5 /gnu/store/8wzdcc46j1brwgw2kvk5878f887msz6m-gd-2.3.2 /gnu/store/4inr1zm5334vz2p2shznc4iw1478bqan-libxaw-1.0.14 /gnu/store/x64cjzj368falclljlmy72lh5qdk5fdp-mpfr-4.1.0 /gnu/store/izcn0nn61pqf5p0j8073vrq8wyzrmkr4-graphite2-1.3.13 /gnu/store/3nxgh1pmqg44f0ccg16ny4fs81mmafvq-pixman-0.40.0 /gnu/store/53qn4zlhvsmn11lx5s15dqxsnjy59xfc-libxrender-0.9.10 /gnu/store/5ybvb5jxlbfa93znylyy1f68h11l9qla-libelf-0.8.13 /gnu/store/yqsj0ncmzxp4llcj74sj23wl11x3vigw-glib-2.70.0-bin /gnu/store/qqs98rxwjrji6aaf6dqwp7q4m545g2sn-glib-2.70.0 /gnu/store/2431gxx661891b15zcn5sf14616bh287-cairo-1.16.0 /gnu/store/7cddr79rydhc1m4hxr921mq17pz1jj3z-sed-4.8 /gnu/store/35n3whmk8il5k9mv4i94g3hhq0x5v0iv-config-0.0.0-1.c8ddc84 /gnu/store/72kpdqplq4nc87fm7ch47kxy3nlkzsyx-xz-5.2.5 /gnu/store/p5fgysbcnnp8b1d91mrvjvababmczga0-python-3.9.6 /gnu/store/m24fb3ig1wn7yfixp2cvsvik41fv325m-libxmu-1.1.3 /gnu/store/7sik9fp2ffvnr7l01s423x4r5pn75rf9-icu4c-69.1 /gnu/store/45xjw0k3mzpjkxhfhfganl0p8xnqgjq4-libxext-1.3.4 /gnu/store/i67d4yi1zclniycczhi63z4cp42jmqra-libxt-1.2.1 /gnu/store/04ccqq2y4khq38jvianwy9mw6zlr1vf4-libsm-1.2.3 /gnu/store/xb8ksrk21cslvh9pvm53q5qsrhz6613p-libice-1.0.10 /gnu/store/368cv23ggbgl91bw90hyhkqx5dzq0988-libxpm-3.5.13 /gnu/store/ch15pm3i78dvh66l8ds80ijf6kj850j8-libsigsegv-2.13 /gnu/store/v45pjc1yqmy59j9ff913p3ywn9qk4lqx-gawk-5.1.0 /gnu/store/25gv43v5rm05i26z39ajrd6nsxa5r461-coreutils-8.32 /gnu/store/f5jcpy9s4cxzphi0khrqvxhrqnnn9azm-ruby-2.7.4 /gnu/store/375858dr3cqbwry58xcgc0776205p0mf-freetype-2.10.4 /gnu/store/brpl5kly3c64ah2y9v3fgbwl32641c0f-libpng-1.6.37 /gnu/store/q6riv4m9d392dhxdw8jhrn5gsvbcamj9-font-dejavu-2.37 /gnu/store/2fk1gz2s7ppdicynscra9b19byrrr866-glibc-2.33 /gnu/store/3ywv7s8d38rgcq7ljmc1s084358a2m3h-glibc-2.33-static /gnu/store/w6zv2mz56wyxr471q38a3cmzm4iqimy8-bzip2-1.0.8 /gnu/store/379xr5pkxprcamhlcbqz9nghj90qxw86-fontconfig-minimal-2.13.94 /gnu/store/irzhgvy2zb6dd9g7a6b343pn4lvsn9n0-texlive-bin-20210325 /gnu/store/35xph93135j3l3l856b2504j1hll53vr-texlive-20210325 substitute: updating substitutes from=20 'https://guix.tobias.gr'... 100.0% substitute: updating substitutes from=20 'https://bordeaux.guix.gnu.org'... 100.0% substitute: updating substitutes from=20 'https://ci.guix.gnu.org'... 100.0% guix build: error: integer expected from stream:=20 18446744071924943736 =2D-8<---------------cut here---------------end--------------->8--- So this sounds like integer xerflow, which agains rings a bell=E2=80=A6=20 but I don't remember well enough which one. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYZgO/A0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15BI8BAJY4lWi237PkLuNUwt2WSwPToHBOjUCWRA1oGSU9 hGhBAQCL5arvjyitfv+8jxkAr/wMBKzDNFBB6y4Esbx8pIhjCQ== =Cwaa -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 19 16:03:23 2021 Received: (at submit) by debbugs.gnu.org; 19 Nov 2021 21:03:23 +0000 Received: from localhost ([127.0.0.1]:40652 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moB2Z-0001B9-N7 for submit@debbugs.gnu.org; Fri, 19 Nov 2021 16:03:23 -0500 Received: from lists.gnu.org ([209.51.188.17]:52450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1moB2Y-0001B2-Kr for submit@debbugs.gnu.org; Fri, 19 Nov 2021 16:03:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moB2Y-0002Rd-F5 for bug-guix@gnu.org; Fri, 19 Nov 2021 16:03:22 -0500 Received: from [2a02:c205:2020:6054::1] (port=54236 helo=tobias.gr) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moB2W-0002Mx-Jh for bug-guix@gnu.org; Fri, 19 Nov 2021 16:03:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=tZdyorPxylwVL K3+la0c6sGI/ZW89zWwnUFUibi3vlM=; h=in-reply-to:date:subject:cc:from: references; d=tobias.gr; b=MkfGLRUS8ZgYygEFo2eS44ZUnD40K0QinojkmdnkmF1 cn1qv8BWFd0AiQbHFdG2vKmSYKNNcSIaa3K5okLgXCaoJq4fyFLk2f2BwwrfggkKa1ty6G Wnb0ljAxwqf6h42nmKYeOvcApHZAge/PXfHIadvAgZJ34yk5T9Uo6sQzlKRN9S6yvTH7EH Fqx+kRvL5twryd60bVJHTLCV7uyi5Sw450sfj7uuH5HxFPjWEDYJpxWxrQquPzrvyPNDi2 2a0t24oSlU9H10sU4bIkIB15pKGoFxyIgU2AmgIIUeKU9jZFPX/9fYjiBiGPl8CkjCmF00 whpnmRpHcV4M9cGrWSQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 3d6da07e (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 19 Nov 2021 21:03:12 +0000 (UTC) References: <87h7c77toj.fsf@nckx> From: Tobias Geerinckx-Rice Subject: Re: bug#51983: guix build: error: integer expected from stream Date: Fri, 19 Nov 2021 22:03:11 +0100 In-reply-to: <87h7c77toj.fsf@nckx> BIMI-Selector: v=BIMI1; s=default; Message-ID: <87czmv7t8l.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a02:c205:2020:6054::1 (failed) Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, MISSING_HEADERS=1.021, RDNS_NONE=0.793, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, 51983@debbugs.gnu.org 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.4 (-) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice via Bug reports for GNU Guix =E5=86=99=E9=81=93=EF=BC= =9A > substitute: updating substitutes from=20 > 'https://ci.guix.gnu.org'... 100.0% > guix build: error: integer expected from stream:=20 > 18446744071924943736 And it is indeed specific to querying ci.guix. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYZgROg0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15U30BAKKkeS4IL6JP13x7zlrRkzBmseEFCzGi549d55X1 b1HzAQC+ksqG/BCXPEN3u7erqf+dpBS5rxn3xrfSHyKUX32zAQ== =B7AK -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 24 14:52:26 2021 Received: (at 51983) by debbugs.gnu.org; 24 Nov 2021 19:52:26 +0000 Received: from localhost ([127.0.0.1]:55027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpyJd-0007Ye-M0 for submit@debbugs.gnu.org; Wed, 24 Nov 2021 14:52:25 -0500 Received: from mail-qt1-f169.google.com ([209.85.160.169]:35810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpyJZ-0007YP-R6 for 51983@debbugs.gnu.org; Wed, 24 Nov 2021 14:52:24 -0500 Received: by mail-qt1-f169.google.com with SMTP id j17so3886132qtx.2 for <51983@debbugs.gnu.org>; Wed, 24 Nov 2021 11:52:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=Yk+WsSRvRl59jDB4/IaTi83aAUXsqEtUmTwQpFLNnVQ=; b=OaPuYnwDyle6Klj3p5VH0HtKiNQCKAgpZMp5QECoivGlLil3OAr1kvpQwjOaGu0H48 APh3aPxaOuRSsjAcf/HSNaE6YT+jo1Uh1nTkl+zDxczPVWfNZSGiZm0mrUaTX30lK61Y tSJ7xhTNrKB089TO++fsjZ+Z5+pVgHvHw2Gq88VWqdqpnUb+nzZCp+J8fE9jGJLZG40K KFluyvdt9x2NuPsGcEa4zpr9imN+AekQqaqV2z9iJtSvsT72THIYvC0jYdttq0j8OZiD BD6NpxiDunxq537FuKA+dpCKnVXLtG5R7JWt57YgeBeszfKbTdaGQIBMQTGv8Bs1WeyF JKTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=Yk+WsSRvRl59jDB4/IaTi83aAUXsqEtUmTwQpFLNnVQ=; b=08ZjpidM4fHx2TTTesZrHvc5goJwVngJn4rShoLHdrBAPdw9qKISunC1q6XmzxVxRE MIMX0E4f18tpU9pKpspVzsJAVbtQEUBVC/74aPtZot0Zu1Qs5U1ZyTxwtCMFUebKncKs +Liyyvs/zhJtiUISnYznyB18QMhg2NbWNDRnlWaY/tetSgTWRduVjxOJYK9nVA9xYA74 0aLYUFfsbicrqrFGbpmZZXzwHsereo7Ukrp9G2cLTk1pwy1/ePJH4+ERq8NkVD34skTk wZ/4NI4aCl4qAGYo8fnJNKlZR1ulwhFobnpZKziQ8lRjPbhtejcCiVq3s6it/h9lgff6 h8Tg== X-Gm-Message-State: AOAM5311TR5oPIFBCMZze39YBwwzLmz6pShHXrh6+w5TVLEZ+YN85fA4 49epVU5Yltd7EGkIVCIShm8WT/oEbT6enA== X-Google-Smtp-Source: ABdhPJzOmZT4Jt/fzZR463xs4HaSXz/FBEiSw1XaKU2MnXHISvKBYcNBURtAEYEvMApL/Edgyw7rEg== X-Received: by 2002:ac8:5888:: with SMTP id t8mr10331252qta.320.1637783536016; Wed, 24 Nov 2021 11:52:16 -0800 (PST) Received: from hurd ([207.35.95.55]) by smtp.gmail.com with ESMTPSA id w10sm375034qkp.121.2021.11.24.11.52.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Nov 2021 11:52:15 -0800 (PST) From: Maxim Cournoyer To: Tobias Geerinckx-Rice Subject: Re: bug#51983: guix build: error: integer expected from stream References: <87h7c77toj.fsf@nckx> Date: Wed, 24 Nov 2021 14:52:14 -0500 In-Reply-To: <87h7c77toj.fsf@nckx> (Tobias Geerinckx-Rice's message of "Fri, 19 Nov 2021 21:47:31 +0100") Message-ID: <87bl29z5zl.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 51983 Cc: 51983@debbugs.gnu.org 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 (-) Hello Tobias! Tobias Geerinckx-Rice writes: > Guix, > > I saw this reported by jlicht on #guix but I'm pretty sure that > it's been reported a few times. > > Here's the error, with channel: > > (channel > (name 'guix) (url "https://git.savannah.gnu.org/git/guix.git") > (branch "core-updates-frozen") > (introduction > (make-channel-introduction > "9edb3f66fd807b096b48283debdcddccfea34bad" > (openpgp-fingerprint > "BBB0 2DDF 2CEA F6A8 0D1D E643 A2A0 6DF2 A33A 54FA")))) > > And patch: > > From: Tobias Geerinckx-Rice > Date: Fri, 19 Nov 2021 17:37:44 +0100 > Subject: [PATCH] daemon: Print the line whence we expect an > integer. > > * nix/libstore/local-store.cc > (LocalStore::getLineFromSubstituter): > Include the malformed substituter stream line in the error > message. > > --- > nix/libstore/local-store.cc | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/nix/libstore/local-store.cc > b/nix/libstore/local-store.cc > index 675d1ba66f..83b6681122 100644 > --- a/nix/libstore/local-store.cc > +++ b/nix/libstore/local-store.cc > @@ -839,7 +839,8 @@ template T > LocalStore::getIntLineFromSubstituter(Agent & run) > { > string s = getLineFromSubstituter(run); > T res; > - if (!string2Int(s, res)) throw Error("integer expected from > stream"); > + if (!string2Int(s, res)) > + throw Error(format("integer expected from stream: %1%") % > s); > return res; > } I just stumbled on this. LGTM! Maxim From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 24 16:59:40 2021 Received: (at control) by debbugs.gnu.org; 24 Nov 2021 21:59:40 +0000 Received: from localhost ([127.0.0.1]:55129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq0Il-0004b4-V4 for submit@debbugs.gnu.org; Wed, 24 Nov 2021 16:59:40 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mq0Ik-0004as-Lz for control@debbugs.gnu.org; Wed, 24 Nov 2021 16:59:39 -0500 Received: from [2001:470:142:3::e] (port=50758 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 1mq0If-0006Lo-BH for control@debbugs.gnu.org; Wed, 24 Nov 2021 16:59:33 -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=RaXKNvVKI8pPvEoba8t/Mbe8dErFxu5JoZj0+qteakk=; b=EBKHj2I+L5SOmA Vg07o3/asBo7Jpd0g2BPM2caWqwGb7VEzPOtxcc3mvv7tObXtIFDX2leUzvTxpOm/sWz9awymPhc1 W1RgHfkNhwpqqGqrG8YF5Db5KYNQJNCz1y/wHpE2A0vMSsjPjMl99qZKDOumnzqJAzSG1xa+7r4rl wNNGHb5OsF8KH9OGmTrArX+qvDGDRsZCxfu7/Jj9xnM1COWZrpaWozpB+yU2vG6UJ/ePCjMSpky6i ngVs2kQCyyXTkgcjsQCN+gyAKB4HUz4olyTh+3hNqtTkNxUXXkYDWQw9ln71tbtrlUWXfQHsFYWxI gGLgssUNuRDkUV9MU+6g==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:55587 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mq0Id-0007A1-Sk for control@debbugs.gnu.org; Wed, 24 Nov 2021 16:59:33 -0500 Date: Wed, 24 Nov 2021 22:59:29 +0100 Message-Id: <87a6htgqpq.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #51983 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 (---) severity 51983 important quit From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 24 18:24:36 2021 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: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Tobias Geerinckx-Rice Subject: Re: bug#51983: guix build: error: integer expected from stream 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-Debbugs-Envelope-To: 51983-done Cc: 51983-done@debbugs.gnu.org, 46212@debbugs.gnu.org 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 Tue Jun 17 21:50:24 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 23 Dec 2021 12:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator