From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 4NT8AvUOmGGCgQEAgWs5BA (envelope-from ) for ; Fri, 19 Nov 2021 21:54:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UBYjOvQOmGFvEAAAbx9fmQ (envelope-from ) for ; Fri, 19 Nov 2021 20:54:12 +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 4CA55AAC2 for ; Fri, 19 Nov 2021 21:54:12 +0100 (CET) Received: from localhost ([::1]:48494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1moAtf-0000Ol-1b for larch@yhetil.org; Fri, 19 Nov 2021 15:54:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:56292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1moAtX-0000OL-GI for bug-guix@gnu.org; Fri, 19 Nov 2021 15:54:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:57322) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1moAtW-00012J-76 for bug-guix@gnu.org; Fri, 19 Nov 2021 15:54:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1moAtW-000781-6C for bug-guix@gnu.org; Fri, 19 Nov 2021 15:54:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#51983: guix build: error: integer expected from stream Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Nov 2021 20:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51983 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51983@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163735523727386 (code B ref -1); Fri, 19 Nov 2021 20:54:01 +0000 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) 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-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: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" Reply-to: Tobias Geerinckx-Rice From: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637355252; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=7ZTkrF+AJYYLaneHrorKNTwRTEevrKWAP4gw9teXx0E=; b=Ji3ynbSP6vVg8LCml0z0KrEQByvMf3yPCBLv3xQWF+tHQKgdteVs4+orDzNpT8hTXjdOvX 2xuL+vE+Vht/GbwNkcCWQkhYX9jhWCuyHGowSpO9M0DMcL8VFmfs2IFxh4eARIX7fQYVv1 ouCxXP8FrB0QLvoxwy4GMtRj+VPgo5Kl/NIORv69CASJKjuv4sp7IqtcUjjSohq9V5TaXC Wz7SF3WcSy4thZ1z9MBfEXfsGzmKABerbKAylA6Vq66A50AErh+wYnNi64FruKBY0v+fmL vqTVYk2sCM4PnzSVqUhuC8k7rJTSZR7R2lhgFwN/Z9darZrOmrvwv7N6xa1Ruw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637355252; a=rsa-sha256; cv=none; b=XAOFOvgC/A7Iv2afXOS53XpMtZZkB/ozpTKAvZW83fEzIADT8YBg83TxU6q0mRb7invYIw wcMq791igg/OVWXhi1Joagtv2LbAASXP1cjwKB0PvWWJCsWI4OJNIAkEI6RyopIJHX+eye vDTBhkDWzGc3DMx+We05N2zk3RHwByB3a1MpbU/H5sFFK9uNb14JQkWI1TvC6GhkGAB8U+ cmkeFkMsQMYuyH/hNqVu/yeLzYPUSLswnt5khO1+AkkorvUTswuJcNiYDLGeV2ERNyjBk9 sF/Lky4tA5HjrPuDiiX3lXVw76Xj3WSk3vdFgQwd9b7bO3HLBoXtRRUHwciW/g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=Je6IzyhI; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.67 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=Je6IzyhI; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4CA55AAC2 X-Spam-Score: -3.67 X-Migadu-Scanner: scn0.migadu.com X-TUID: 1PiAm5GlsLPT --=-=-= 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----- --=-=-=--