From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 05:42:16 2019 Received: (at submit) by debbugs.gnu.org; 12 Jul 2019 09:42:16 +0000 Received: from localhost ([127.0.0.1]:39286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hls4E-000748-Go for submit@debbugs.gnu.org; Fri, 12 Jul 2019 05:42:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:50960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hls4C-000740-FC for submit@debbugs.gnu.org; Fri, 12 Jul 2019 05:42:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46953) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hls4B-0003HG-Cf for bug-guix@gnu.org; Fri, 12 Jul 2019 05:42:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hls4A-0002fj-AO for bug-guix@gnu.org; Fri, 12 Jul 2019 05:42:11 -0400 Received: from mout.gmx.net ([212.227.15.18]:53559) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hls49-0002cK-Mq for bug-guix@gnu.org; Fri, 12 Jul 2019 05:42:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562924523; bh=szbacRfWhQ0teYlNC6Q9bRBuWl+ygOkPbMOcPIGy7R0=; h=X-UI-Sender-Class:From:To:Subject:CC:Date; b=dp9k/3oX/cHh4f6FbqCwGVxY35RAbER/+Y0kWIHPD0lBAOjVJ1RQ/130nKmJcBQ2p T9GveeZiqH2SNZRXD7iIwjwz3l0LOhKe/zCL9HjaNDvVcs08pGupp8GUFU/q3fAaNI xCsDJUvFzzd9a0K71yEg0XOXVroRciO2XxW6DKtM= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([2.99.195.183]) by mail.gmx.com (mrgmx001 [212.227.17.184]) with ESMTPSA (Nemesis) id 0MVeCF-1hykTd36Qp-00YwB1; Fri, 12 Jul 2019 11:42:02 +0200 User-agent: mu4e 1.2.0; emacs 26.2 From: Pierre Langlois To: Bug guix Subject: rust@1.36's hash is incorrect. Date: Fri, 12 Jul 2019 10:41:59 +0100 Message-ID: <8736jby4go.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:gt0Yzeo76Jhdju4JN6RwFq1snFmXzwacEpKC+HmR4C0ivifUc2y jaxyqS7Vw1v7PZLO+7bhci2n5tL5OZJkA2+4tHzRCev27gK4C3qxSvd8OOoM4Zwd4/nF40R vcXJtubpZWvt+UtUktv0if65IxDLe9qanzV4nSP2enGoG7TCz6pW00mL9Hni/BSOhh5oR1b d6MakiRlV/RPg3PdQJHKQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:84FBX5gPlbc=:2juR/bmQcO9FUGUaW4nYl3 WcHH30u+q8i4Mvqq6SqyLBcPwRKq+zKISGYjSVA8/TBloFMc4Zs9WtNAOxrkPLVm+VKoanP9L ZpNM9+Y3Nl2DJdFq1bNfPwjT8RctHDNSz/jhVj3LlOPlNZ9fHMHQ7s5qm6psxwmSijgnBkMHz igXgB/5O7JT7SwSaIUQ0ioZ6DFtzN0Sle9KCf0yIV+rhGXTBz0CTGCAEy7vOzH0a5U0tVo5CT QcpMKfsZrvRN80mlo670SMp9711WzsvUKou3p19wqyEhjPnnRE21DyaDXFySyP2Dzq/lo1WTw NDDk27QSQDcogt5qpQrxDHNL+W/k6bxAjJSjlxUMgoSOJPQ40tozHZ9KIElGQaasIHoFKyh3+ 3QH+jIYJHrFzshyDUSd4iN+8Irs6jLZbmWKRKs24wXU6nGc2n9ha4yQ0Y/52234jT6AAREr/T Ts2/aRI1aGi7rUD/Yxe2xMvz3P+BGhsRcxCKAytRhBLFPiOoihZLhDZfgezuIObHe9BV6y5Lq acxY9EUEfvK5//I4ZnH5qfjgc8isi62vRq5OXoc+A6dnKPmGN8QvMtfmtL+mIMbQSYKQSE4bT fcrubZHD6Qw7CevXB0uki+Vp8Boxo6H8DlfaH2CBbgqYaJWnseHk5gkVaGKeixW6G02JQVgIz cNW1RADsygWFeZWQGTUUr3QIsfgYuwaVci0PWWd9y6JT6US/yttXohcgvlHjcf8q5DONnwFay 5rn9ugCzc20oer3NZsjDjOnKONlCo7s2QrrYxnIsKYBS815a/g6JnspHcMr2Mxz1MBos0OU0E SvHWfn5qAklFwLnxK0KZklfkT1AG/qOUOE0nB7ZIgLm02IBrAx5ZqONkuC9OwCH2zoAXrWIqk l1PaWr+T+lm7sAv/1Yq2DjwiM1dRL6icbGe8JC3VD+dU1cBYR6tzk5dznGCIrLwwmYvJmB9dn 3vjKqQXuo/YZ34bN+Cx5ALb06j3foOm9p07qZ9PMk0vZGi6ORbp7fyFzx/UK0LFr+TSJxBtF6 T9hAtOoEHSWr+0D9Egkw0bZ3c2hE+d3N3LMcsywAksOPW7CMSC2+VSfeCY6Lfg2Yti17m7l4+ nPe95UgyTkWNXw6jucVIkq5nYMwhbIxB/2p X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.18 X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: Pierre Langlois , Ivan Petkov 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.4 (--) Hello Guix! It looks like the hash for the new rust 1.36 is wrong, I get the following: ~~~ $ guix build rust building /gnu/store/37wfhzp1yqm9w4vq0dhmy6bg3ajaa9yh-rustc-1.36.0-src.tar.gz.drv... Starting download of /gnu/store/jm9xvf6qy4zxkb7rkmpz8ygf55l8v8v5-rustc-1.36.0-src.tar.gz >From https://static.rust-lang.org/dist/rustc-1.36.0-src.tar.gz... downloading from https://static.rust-lang.org/dist/rustc-1.36.0-src.tar.gz... rustc-1.36.0-src.tar.gz 147.5MiB 1.6MiB/s 01:35 [##################] 100.0% sha256 hash mismatch for /gnu/store/jm9xvf6qy4zxkb7rkmpz8ygf55l8v8v5-rustc-1.36.0-src.tar.gz: expected hash: 18r688ih4xi9m8gv55g1amb8inrwkdxp5fbcqb6i4gqxi90l3i0m actual hash: 06xv2p6zq03lidr0yaf029ii8wnjjqa894nkmrm6s0rx47by9i04 hash mismatch for store item '/gnu/store/jm9xvf6qy4zxkb7rkmpz8ygf55l8v8v5-rustc-1.36.0-src.tar.gz' build of /gnu/store/37wfhzp1yqm9w4vq0dhmy6bg3ajaa9yh-rustc-1.36.0-src.tar.gz.drv failed View build log at '/var/log/guix/drvs/37/wfhzp1yqm9w4vq0dhmy6bg3ajaa9yh-rustc-1.36.0-src.tar.gz.drv.bz2'. cannot build derivation `/gnu/store/wzslkk72p8g9l5zymcb4hqfmq4zg29q7-rustc-1.36.0-src.tar.xz.drv': 1 dependencies couldn't be built cannot build derivation `/gnu/store/61660f8p8xxdrhl267402yzq2d4c89ix-rust-1.36.0.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/61660f8p8xxdrhl267402yzq2d4c89ix-rust-1.36.0.drv' failed ~~~ Can you also reproduce this? Hopefully it's not unstable :-/. Thanks, Pierre From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 09:12:08 2019 Received: (at 36614-done) by debbugs.gnu.org; 12 Jul 2019 13:12:08 +0000 Received: from localhost ([127.0.0.1]:39372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlvLJ-0005if-Up for submit@debbugs.gnu.org; Fri, 12 Jul 2019 09:12:06 -0400 Received: from mout.gmx.net ([212.227.17.22]:40007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlvLH-0005iA-FB for 36614-done@debbugs.gnu.org; Fri, 12 Jul 2019 09:12:04 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1562937101; bh=zn/veu2S0u84ZadsDOsMRxU1ly8I8Q08iP27ZO5Ytu4=; h=X-UI-Sender-Class:References:From:To:Subject:In-reply-to:CC:Date; b=Y2f+5BV7h1aaE2GHjyvrVfz66lxs+dLc8Nt6vQCp9zLYYOXhf0t+aE9C4H6ct12Xc oal/NxhJikAJnBJu+ENfDm4+9QWDbgkruStDmqNp+zCtOoBvRfPvKBrPSFzkY148Bt tNrSZ8as1ZvFWWTiWqit+OKHzqvHcgpgpPk17OGQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([2.99.195.183]) by mail.gmx.com (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MGz1f-1hiOi62DGl-00E3R1; Fri, 12 Jul 2019 15:11:41 +0200 References: <8736jby4go.fsf@gmx.com> User-agent: mu4e 1.2.0; emacs 26.2 From: Pierre Langlois To: 36614-done@debbugs.gnu.org Subject: Re: bug#36614: Acknowledgement (rust@1.36's hash is incorrect.) In-reply-to: Date: Fri, 12 Jul 2019 14:11:37 +0100 Message-ID: <871ryvxura.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K1:AE+O8stMo5M7bs5+a85EHR0rzKWmQf/kqa1kOle1gyEQYlA4D9Z NQKk2M6NYWWbj2JIPTZKXQB+loi2/AFcinssevaa3Dj14+zWckogkLuQYUu1vTzVazLsb5S tp7ooxHttKqBP8XBfoMRIpkIl73Ta+e3+20yyLBid78HjUKuOtL8FvQxlnvhyYorsdXA5Da cLD7/18zOVLDGTN/Cbn7w== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:of+f+k0CPS8=:D/uEFa0MyTC0ra8JmnpSiV hINMI/ylI0gP4y3ebB6l77UeDBayTgryCtP1/L0CHUto5f1zkkt9c+jSiChh3+CL7bDfyQ9VX GqRnVBIi+zLmKrIQic2eVcP+QAH8bVbB97Uzackaxlb0kB+TkThfANgF9K3AHjJwRi2P6pHBy DI0LzNAeIC/bmrQxUe7zKoNQ6gTMjBmCWvFaDUwpu/gTK6HLghZS6gcWlQDhmWFUFtojZ+1ic ai3Z6GrYYAk4E4D7WaKEvVRhMqZbjCV93AGIAhMOKEzYKChYMX4THHtDqvz99wXtVZUUllQtJ 6PoMwi/ubNMXZdEvjZnRjDpCggzMsFE0ym/6Lml9HKbZ5u5CmyvBcrLF7ajBaxSDsvaSZHKn4 Slsi5Ubb1uG3wAulrT67tihKluuch+BJfI69b4Q61WTblBeNDEUUb8Hz3djvmVBmUZUtmQwgm 7vb0S6ZiQ3dWzp4dvaFDH1BAWrKmqt1JdBqDiFHvDdD9kKs3yC5dmQHwN2rWHfWH5Dlh6wfwb 8wIGOHaBpZFxDrjaOEYExS2U53FBYjjOH8GYzzrNxVMgqd1+fTePOu9L4xA5Bcdgqp5pY4Bak 6lQeP+WDlxG09TnEf9y1QuTPvIX4roTqh2H4AyojqF8snPmGG419CWiq7Hw0DZ50EdKknH0K1 E468JveaOsMpkQBjnlOjgonwqvG4w5vNy6d/9mbL9ya6UCV0ZLLhYru0WucI3y0SCnFC+G0ff zwKoKGUpsqmyC80A3YCJ9LlGhgXmnfSUvFVsBWIFaZ7dv6+K4aDvwMDOlwiaTCLvm0zga9Siq eyv70Dp3NuXqtXBBbA6MlVCg1z6NYVYpcgUO1oz+aHePFf8LQ+U6bzwDxcySsrz/d4lO1Tyy7 cZMON0mxvveOh2mP90B1BYaoe4M3t/gfjjzgDxngs2QZ6PIX/ROqHJxFtn9EztTZ/MQ50Y3OS vDgPaloTh88JfYJDTCnMLjKRwZ3FrP/1UeR2FjzNMwfezNxvjCCyEfZ0QDmQ3hf1qlQc2Aaho JJNl9c7vuRsBFz8m6e4Jljq/UI2pzlEqtFCOVRvVm4xW+xn0rvNEW4mrevLFMhfnl0lBjYZ+Z n2yDfdL9FYrcvf4Jxa3bZZnIn4U/vLd/cWK X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36614-done Cc: Pierre Langlois , Tobias Geerinckx-Rice 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 (-) Thanks Tobias for fixing this! Pierre From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 09:16:31 2019 Received: (at 36614-done) by debbugs.gnu.org; 12 Jul 2019 13:16:31 +0000 Received: from localhost ([127.0.0.1]:39380 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlvPb-0005q9-4b for submit@debbugs.gnu.org; Fri, 12 Jul 2019 09:16:31 -0400 Received: from tobias.gr ([80.241.217.52]:35278) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlvPX-0005pw-SK for 36614-done@debbugs.gnu.org; Fri, 12 Jul 2019 09:16:30 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f4874f2f; Fri, 12 Jul 2019 13:16:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=r9XfijfLc/AWZsshEnHCU1 j40rMoMk5Rh6gyjyIUHfQ=; b=FAJTSWiwNJCxoPHd+NC69REm0+bjkOsZeJ0K3z g4KUbzGq7TE3XEurWRCRQg4h9RJLOslKEH/woMbI2Vj+fXUm+Q0G0f93rpBu1YxY us3UKqU/ctnDWJlSp4ag65AxrpzQ3fkkK4+gSXKmLBjsRisMSm5ITk4s5cpGgtrT u1/LxiqsS8fdQepH4I6kXb3iIGVB8RtDKZLwxMCeVD44kDVhOveMW543dMeysjCR Y9Y3aUIyweCQNTAEtCnn3OMco6lyOFYqP04CMRg/O6pl4tnsd+vQN/WxCvTjXYyQ F/ZY/CzGPXzC/Yo6fZ29okfuT8UPw+ee9xqTAVxkmu6VlRGw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 7ca012f6 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 12 Jul 2019 13:16:21 +0000 (UTC) From: Tobias Geerinckx-Rice To: 36614-done@debbugs.gnu.org Subject: Re: bug#36614: rust@1.36's hash is incorrect. References: <8736jby4go.fsf@gmx.com> In-reply-to: <8736jby4go.fsf@gmx.com> Date: Fri, 12 Jul 2019 15:16:20 +0200 Message-ID: <87pnmf2y1n.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36614-done Cc: Ivan Petkov 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 (---) --=-=-= Content-Type: text/plain; format=flowed Pierre, Ivan, Pierre Langlois wrote: > From > https://static.rust-lang.org/dist/rustc-1.36.0-src.tar.gz... > downloading from > https://static.rust-lang.org/dist/rustc-1.36.0-src.tar.gz... > rustc-1.36.0-src.tar.gz 147.5MiB > 1.6MiB/s 01:35 [##################] 100.0% > sha256 hash mismatch for > /gnu/store/jm9xvf6qy4zxkb7rkmpz8ygf55l8v8v5-rustc-1.36.0-src.tar.gz: > expected hash: > 18r688ih4xi9m8gv55g1amb8inrwkdxp5fbcqb6i4gqxi90l3i0m > actual hash: > 06xv2p6zq03lidr0yaf029ii8wnjjqa894nkmrm6s0rx47by9i04 I get that too. > Hopefully it's not unstable :-/. Since release archives are signed that would imply some horrible things about their key management, so I doubt it very much. I guess we'll find out. I've gone ahead and pushed a fix since the signature checked out. I'm closing this bug for now... However, I'd be interested to know what the previous hash described. Do you still have that file around, Ivan? Thanks, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXSiIJQAKCRANsP+IT1Vt eUmBAQDwjDsgA7PRQN70d8DlWSPTcOSIfOTlD6GG8GCrU3u+UAD+OtelZpz5Ho8k z67V8wclwbHIOhKjfLHE1QwKfb1XqAE= =wSV5 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 12:34:04 2019 Received: (at 36614-done) by debbugs.gnu.org; 12 Jul 2019 16:34:04 +0000 Received: from localhost ([127.0.0.1]:40606 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlyUm-0006oD-4k for submit@debbugs.gnu.org; Fri, 12 Jul 2019 12:34:04 -0400 Received: from mail-pg1-f172.google.com ([209.85.215.172]:41591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlyUj-0006nj-Ln for 36614-done@debbugs.gnu.org; Fri, 12 Jul 2019 12:34:03 -0400 Received: by mail-pg1-f172.google.com with SMTP id q4so4762599pgj.8 for <36614-done@debbugs.gnu.org>; Fri, 12 Jul 2019 09:34:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc:message-id:references :to; bh=jP8hed3eFX/PBpNxxLdHZsqrtTqeYXIUdm3/cYoWRNs=; b=pS20Y77NcbGPdiyAeVKW7goO+fVLcYPkcELznxArMZohXp3Al3UYCw0hI3KwtXlzcU Epzzq94feR3rmaxPIcidG34qEytQHGJZSf3JekhU2S0yGimf1UScMGemxC+6o0Dk5ZGE T941KirroOjGEjYHAcBaeAxviyPwToYfJIDMdcaglAPersAscbGKiVJt7ZvaiLHncRfh n2pTkPjysxYFB4/0Q8g2u1CtOqVQNvk6K8F5ucMngWfaSNQhjiUN9Jzea5nS244QNkKT ZUhLngMNSqcDG8vtQKn8vh55IfDx9rihVjuMm4RXPZoqzzHReiv9LYgt7zvqanh55XPZ Rrmg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=jP8hed3eFX/PBpNxxLdHZsqrtTqeYXIUdm3/cYoWRNs=; b=pMvCtcE2ysHXNYmaV1tKDPCHNviXqQmbe4A7N1A2NImaPgERF4QRqmNy2OLqBILDHI q9P2gHLbkSlKjNsfrzN50KH4GefOePSUz2n5k0n8IX77PrrOzhxAr9jdLMAAx0bEq1Ep mmqL3io9O2kp/HovHneW22RT20FQtuEJG722AD83PMJZTgN+y58zLA4riHx3SuMQgTlr IT5RDhTt/ON8rZBk4pCqFdRhRcVUQomkx7+dfs+fkQFwjVJjgNCSHmFVKtPzNj6CaJnR UlCig+vhDjBjhsFTLcqHqBrwPXhidU9brouqmqadSjAHA4R2ftIaXvyfeUOxA+XefkJK Hs9A== X-Gm-Message-State: APjAAAUVjU2jZ6xRAfnClI+PxUlpuTw13b7/4O6PzYnAXxZuubFC57WI GuZiT9+klrip9KLohIftdS4= X-Google-Smtp-Source: APXvYqwteclWjoh6dPM0W/i705JTLrjFdcdV/JRXzIxWDIrAaWeotvEv1iqsrDy81eU+sxleRFstbQ== X-Received: by 2002:a63:6d8d:: with SMTP id i135mr11636882pgc.303.1562949235733; Fri, 12 Jul 2019 09:33:55 -0700 (PDT) Received: from ?IPv6:2601:602:9a00:1784:e572:68ee:6a4f:1c6b? ([2601:602:9a00:1784:e572:68ee:6a4f:1c6b]) by smtp.gmail.com with ESMTPSA id bg3sm8791819pjb.9.2019.07.12.09.33.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2019 09:33:54 -0700 (PDT) Content-Type: multipart/mixed; boundary="Apple-Mail=_8A428289-B228-405A-9236-33B5320F53AD" Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: bug#36614: rust@1.36's hash is incorrect. From: Ivan Petkov In-Reply-To: <87pnmf2y1n.fsf@nckx> Date: Fri, 12 Jul 2019 09:33:50 -0700 Message-Id: References: <8736jby4go.fsf@gmx.com> <87pnmf2y1n.fsf@nckx> To: Tobias Geerinckx-Rice X-Mailer: Apple Mail (2.3445.9.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36614-done Cc: 36614-done@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 (-) --Apple-Mail=_8A428289-B228-405A-9236-33B5320F53AD Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jul 12, 2019, at 6:16 AM, Tobias Geerinckx-Rice = wrote: >=20 > Since release archives are signed that would imply some horrible = things about their key management, so I doubt it very much. I guess = we'll find out. >=20 > I've gone ahead and pushed a fix since the signature checked out. I'm = closing this bug for now... >=20 > However, I'd be interested to know what the previous hash described. = Do you still have that file around, Ivan? My apologies, this was all partly my fault. I do have the old source = lying around, diffing the two (attached) reveals that the changelog and one = source file actually changed. A bit more detailed context: The rust project makes pre-release sources available for testing ahead = of the formal release, and the process is meant to shake out any potential = bugs. I tested with the prerelease build originally, and after the real = release came out I updated the package URL to the formal release and immediately rebuilt successfully. I'm not 100% sure if maybe guix reused the cached tarball I had from = earlier, or whether the prerelease source was immediately upgraded to the formal = release and fixed shortly after. (I did try rebuilding right before pushing the = change out which succeeded with no changes, which I'm guessing is because guix = did not redownload the tarball and why I didn't notice the hash mismatch). =E2=80=94Ivan --Apple-Mail=_8A428289-B228-405A-9236-33B5320F53AD Content-Disposition: attachment; filename=rust-src.diff Content-Type: application/octet-stream; x-unix-mode=0644; name="rust-src.diff" Content-Transfer-Encoding: quoted-printable ---=20rustc-1.36.0-src-old/=0A+++=20rustc-1.36.0-src/=0A=E2=94=9C=E2=94=80= =E2=94=80=20RELEASES.md=0A=E2=94=82=20@@=20-1,7=20+1,111=20@@=0A=E2=94=82=20= +Version=201.36.0=20(2019-07-04)=0A=E2=94=82=20= +=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=0A=E2=94=82=20+=0A=E2=94=82=20+Language=0A=E2=94=82=20+--------=0A= =E2=94=82=20+-=20[Non-Lexical=20Lifetimes=20are=20now=20enabled=20on=20= the=202015=20edition.][59114]=0A=E2=94=82=20+-=20[The=20order=20of=20= traits=20in=20trait=20objects=20no=20longer=20affects=20the=20semantics=20= of=20that=0A=E2=94=82=20+=20=20object.][59445]=20e.g.=20`dyn=20Send=20+=20= fmt::Debug`=20is=20now=20equivalent=20to=0A=E2=94=82=20+=20=20`dyn=20= fmt::Debug=20+=20Send`,=20where=20this=20was=20previously=20not=20the=20= case.=0A=E2=94=82=20+=0A=E2=94=82=20+Libraries=0A=E2=94=82=20+---------=0A= =E2=94=82=20+-=20[`HashMap`'s=20implementation=20has=20been=20replaced=20= with=20`hashbrown::HashMap`=20implementation.][58623]=0A=E2=94=82=20+-=20= [`TryFromSliceError`=20now=20implements=20`From`.][60318]=0A= =E2=94=82=20+-=20[`mem::needs_drop`=20is=20now=20available=20as=20a=20= const=20fn.][60364]=0A=E2=94=82=20+-=20= [`alloc::Layout::from_size_align_unchecked`=20is=20now=20available=20as=20= a=20const=20fn.][60370]=0A=E2=94=82=20+-=20[`String`=20now=20implements=20= `BorrowMut`.][60404]=0A=E2=94=82=20+-=20[`io::Cursor`=20now=20= implements=20`Default`.][60234]=0A=E2=94=82=20+-=20[Both=20= `NonNull::{dangling,=20cast}`=20are=20now=20const=20fns.][60244]=0A=E2=94=82= =20+-=20[The=20`alloc`=20crate=20is=20now=20stable.][59675]=20`alloc`=20= allows=20you=20to=20use=20a=20subset=0A=E2=94=82=20+=20=20of=20`std`=20= (e.g.=20`Vec`,=20`Box`,=20`Arc`)=20in=20`#![no_std]`=20environments=20if=20= the=0A=E2=94=82=20+=20=20environment=20has=20access=20to=20heap=20memory=20= allocation.=0A=E2=94=82=20+-=20[`String`=20now=20implements=20= `From<&String>`.][59825]=0A=E2=94=82=20+-=20[You=20can=20now=20pass=20= multiple=20arguments=20to=20the=20`dbg!`=20macro.][59826]=20`dbg!`=20= will=0A=E2=94=82=20+=20=20return=20a=20tuple=20of=20each=20argument=20= when=20there=20is=20multiple=20arguments.=0A=E2=94=82=20+-=20= [`Result::{is_err,=20is_ok}`=20are=20now=20`#[must_use]`=20and=20will=20= produce=20a=20warning=20if=0A=E2=94=82=20+=20=20not=20used.][59648]=0A= =E2=94=82=20+=0A=E2=94=82=20+Stabilized=20APIs=0A=E2=94=82=20= +---------------=0A=E2=94=82=20+-=20[`VecDeque::rotate_left`]=0A=E2=94=82=20= +-=20[`VecDeque::rotate_right`]=0A=E2=94=82=20+-=20[`Iterator::copied`]=0A= =E2=94=82=20+-=20[`io::IoSlice`]=0A=E2=94=82=20+-=20[`io::IoSliceMut`]=0A= =E2=94=82=20+-=20[`Read::read_vectored`]=0A=E2=94=82=20+-=20= [`Write::write_vectored`]=0A=E2=94=82=20+-=20[`str::as_mut_ptr`]=0A=E2=94=82= =20+-=20[`mem::MaybeUninit`]=0A=E2=94=82=20+-=20= [`pointer::align_offset`]=0A=E2=94=82=20+-=20[`future::Future`]=0A=E2=94=82= =20+-=20[`task::Context`]=0A=E2=94=82=20+-=20[`task::RawWaker`]=0A=E2=94=82= =20+-=20[`task::RawWakerVTable`]=0A=E2=94=82=20+-=20[`task::Waker`]=0A= =E2=94=82=20+-=20[`task::Poll`]=0A=E2=94=82=20+=0A=E2=94=82=20+Cargo=0A= =E2=94=82=20+-----=0A=E2=94=82=20+-=20[Cargo=20will=20now=20produce=20an=20= error=20if=20you=20attempt=20to=20use=20the=20name=20of=20a=20required=20= dependency=20as=20a=20feature.][cargo/6860]=0A=E2=94=82=20+-=20[You=20= can=20now=20pass=20the=20`--offline`=20flag=20to=20run=20cargo=20without=20= accessing=20the=20network.][cargo/6934]=0A=E2=94=82=20+=0A=E2=94=82=20= +You=20can=20find=20further=20change's=20in=20[Cargo's=201.36.0=20= release=20notes][cargo-1-36-0].=0A=E2=94=82=20+=0A=E2=94=82=20+Clippy=0A= =E2=94=82=20+------=0A=E2=94=82=20+There=20have=20been=20numerous=20= additions=20and=20fixes=20to=20clippy,=20see=20[Clippy's=201.36.0=20= release=20notes][clippy-1-36-0]=20for=20more=20details.=0A=E2=94=82=20+=0A= =E2=94=82=20+Misc=0A=E2=94=82=20+----=0A=E2=94=82=20+=0A=E2=94=82=20= +Compatibility=20Notes=0A=E2=94=82=20+-------------------=0A=E2=94=82=20= +-=20[`std::arch::x86::_rdtsc`=20returns=20`u64`=20instead=20of=20= `i64`][stdsimd/559]=0A=E2=94=82=20+-=20= [`std::arch::x86_64::_mm_shuffle_ps`=20takes=20an=20`i32`=20instead=20of=20= `u32`=20for=20`mask`][stdsimd/522]=0A=E2=94=82=20+-=20With=20the=20= stabilisation=20of=20`mem::MaybeUninit`,=20`mem::uninitialized`=20use=20= is=20no=0A=E2=94=82=20+=20=20longer=20recommended,=20and=20will=20be=20= deprecated=20in=201.38.0.=0A=E2=94=82=20+=0A=E2=94=82=20+[60318]:=20= https://github.com/rust-lang/rust/pull/60318/=0A=E2=94=82=20+[60364]:=20= https://github.com/rust-lang/rust/pull/60364/=0A=E2=94=82=20+[60370]:=20= https://github.com/rust-lang/rust/pull/60370/=0A=E2=94=82=20+[60404]:=20= https://github.com/rust-lang/rust/pull/60404/=0A=E2=94=82=20+[60234]:=20= https://github.com/rust-lang/rust/pull/60234/=0A=E2=94=82=20+[60244]:=20= https://github.com/rust-lang/rust/pull/60244/=0A=E2=94=82=20+[58623]:=20= https://github.com/rust-lang/rust/pull/58623/=0A=E2=94=82=20+[59648]:=20= https://github.com/rust-lang/rust/pull/59648/=0A=E2=94=82=20+[59675]:=20= https://github.com/rust-lang/rust/pull/59675/=0A=E2=94=82=20+[59825]:=20= https://github.com/rust-lang/rust/pull/59825/=0A=E2=94=82=20+[59826]:=20= https://github.com/rust-lang/rust/pull/59826/=0A=E2=94=82=20+[59445]:=20= https://github.com/rust-lang/rust/pull/59445/=0A=E2=94=82=20+[59114]:=20= https://github.com/rust-lang/rust/pull/59114/=0A=E2=94=82=20= +[cargo/6860]:=20https://github.com/rust-lang/cargo/pull/6860/=0A=E2=94=82= =20+[cargo/6934]:=20https://github.com/rust-lang/cargo/pull/6934/=0A=E2=94= =82=20+[`VecDeque::rotate_left`]:=20= https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.rota= te_left=0A=E2=94=82=20+[`VecDeque::rotate_right`]:=20= https://doc.rust-lang.org/std/collections/struct.VecDeque.html#method.rota= te_right=0A=E2=94=82=20+[`Iterator::copied`]:=20= https://doc.rust-lang.org/std/iter/trait.Iterator.html#tymethod.copied=0A= =E2=94=82=20+[`io::IoSlice`]:=20= https://doc.rust-lang.org/std/io/struct.IoSlice.html=0A=E2=94=82=20= +[`io::IoSliceMut`]:=20= https://doc.rust-lang.org/std/io/struct.IoSliceMut.html=0A=E2=94=82=20= +[`Read::read_vectored`]:=20= https://doc.rust-lang.org/std/io/trait.Read.html#method.read_vectored=0A= =E2=94=82=20+[`Write::write_vectored`]:=20= https://doc.rust-lang.org/std/io/trait.Write.html#method.write_vectored=0A= =E2=94=82=20+[`str::as_mut_ptr`]:=20= https://doc.rust-lang.org/std/primitive.str.html#method.as_mut_ptr=0A=E2=94= =82=20+[`mem::MaybeUninit`]:=20= https://doc.rust-lang.org/std/mem/union.MaybeUninit.html=0A=E2=94=82=20= +[`pointer::align_offset`]:=20= https://doc.rust-lang.org/std/primitive.pointer.html#method.align_offset=0A= =E2=94=82=20+[`future::Future`]:=20= https://doc.rust-lang.org/std/future/trait.Future.html=0A=E2=94=82=20= +[`task::Context`]:=20= https://doc.rust-lang.org/beta/std/task/struct.Context.html=0A=E2=94=82=20= +[`task::RawWaker`]:=20= https://doc.rust-lang.org/beta/std/task/struct.RawWaker.html=0A=E2=94=82=20= +[`task::RawWakerVTable`]:=20= https://doc.rust-lang.org/beta/std/task/struct.RawWakerVTable.html=0A=E2=94= =82=20+[`task::Waker`]:=20= https://doc.rust-lang.org/beta/std/task/struct.Waker.html=0A=E2=94=82=20= +[`task::Poll`]:=20= https://doc.rust-lang.org/beta/std/task/enum.Poll.html=0A=E2=94=82=20= +[clippy-1-36-0]:=20= https://github.com/rust-lang/rust-clippy/blob/master/CHANGELOG.md#rust-136= =0A=E2=94=82=20+[cargo-1-36-0]:=20= https://github.com/rust-lang/cargo/blob/master/CHANGELOG.md#cargo-136-2019= -07-04=0A=E2=94=82=20+[stdsimd/522]:=20= https://github.com/rust-lang-nursery/stdsimd/issues/522=0A=E2=94=82=20= +[stdsimd/559]:=20= https://github.com/rust-lang-nursery/stdsimd/issues/559=0A=E2=94=82=20+=0A= =E2=94=82=20=20Version=201.35.0=20(2019-05-23)=0A=E2=94=82=20=20= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=0A=E2=94=82=20=20=0A=E2=94=82=20=20Language=0A=E2=94=82=20=20= --------=0A=E2=94=82=20=20-=20[`FnOnce`,=20`FnMut`,=20and=20the=20`Fn`=20= traits=20are=20now=20implemented=20for=20`Box`,=0A=E2=94=82=20=20= =20=20`Box`,=20and=20`Box`=20respectively.][59500]=0A=E2=94=82=20= @@=20-58,15=20+162,15=20@@=0A=E2=94=82=20=20-=20[`Option::copied`]=0A=E2=94= =82=20=20=0A=E2=94=82=20=20Cargo=0A=E2=94=82=20=20-----=0A=E2=94=82=20=20= -=20[You=20can=20now=20set=20`cargo:rustc-cdylib-link-arg`=20at=20build=20= time=20to=20pass=20custom=0A=E2=94=82=20=20=20=20linker=20arguments=20= when=20building=20a=20`cdylib`.][cargo/6298]=20Its=20usage=20is=20highly=0A= =E2=94=82=20=20=20=20platform=20specific.=0A=E2=94=82=20-=20=20=0A=E2=94=82= =20+=0A=E2=94=82=20=20Misc=0A=E2=94=82=20=20----=0A=E2=94=82=20=20-=20= [The=20Rust=20toolchain=20is=20now=20available=20natively=20for=20musl=20= based=20distros.][58575]=0A=E2=94=82=20=20=0A=E2=94=82=20=20[59460]:=20= https://github.com/rust-lang/rust/pull/59460/=0A=E2=94=82=20=20[59464]:=20= https://github.com/rust-lang/rust/pull/59464/=0A=E2=94=82=20=20[59500]:=20= https://github.com/rust-lang/rust/pull/59500/=0A=E2=94=9C=E2=94=80=E2=94=80= =20git-commit-hash=0A=E2=94=82=20@@=20-1=20+1=20@@=0A=E2=94=82=20= -9d98f8f319eaa1a40f76fb15b52ee2a179e5286a=0A=E2=94=82=20= +a53f9df32fbb0b5f4382caaad8f1a46f36ea887c=0A=E2=94=9C=E2=94=80=E2=94=80=20= src=0A=E2=94=82=20=E2=94=9C=E2=94=80=E2=94=80=20libstd=0A=E2=94=82=20=E2=94= =82=20=E2=94=9C=E2=94=80=E2=94=80=20collections=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20=E2=94=9C=E2=94=80=E2=94=80=20hash=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=9C=E2=94=80=E2=94=80=20map.rs=0A=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20@@=20-2604,14=20+2604,20=20= @@=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20= =20=20use=20super::HashMap;=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82= =20=E2=94=82=20=20=20=20=20=20use=20super::RandomState;=0A=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20=20=20use=20= crate::cell::RefCell;=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20= =E2=94=82=20=20=20=20=20=20use=20rand::{thread_rng,=20Rng};=0A=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20=20=20use=20= realstd::collections::CollectionAllocErr::*;=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20=20=20use=20realstd::usize;=0A= =E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=0A=E2=94=82= =20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20+=20=20=20=20//=20= https://github.com/rust-lang/rust/issues/62301=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20+=20=20=20=20fn=20= _assert_hashmap_is_unwind_safe()=20{=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20= =E2=94=82=20=E2=94=82=20+=20=20=20=20=20=20=20=20fn=20= assert_unwind_safe()=20{}=0A=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20+=20=20=20=20=20=20=20=20= assert_unwind_safe::>>();=0A= =E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20+=20=20=20=20= }=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20+=0A=E2=94= =82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20=20=20= #[test]=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=20= =20=20=20=20fn=20test_zero_capacities()=20{=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20=20=20=20=20=20=20type=20HM=20= =3D=20HashMap;=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82= =20=E2=94=82=20=20=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94= =82=20=20=20=20=20=20=20=20=20=20let=20m=20=3D=20HM::new();=0A=E2=94=82=20= =E2=94=82=20=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20=20=20=20=20=20=20= assert_eq!(m.capacity(),=200);=0A=E2=94=82=20=E2=94=82=20=E2=94=9C=E2=94=80= =E2=94=80=20panic.rs=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20@@=20-1,13=20= +1,14=20@@=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20//!=20Panic=20= support=20in=20the=20standard=20library.=0A=E2=94=82=20=E2=94=82=20=E2=94=82= =20=20=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20#![stable(feature=20=3D=20= "std_panic",=20since=20=3D=20"1.9.0")]=0A=E2=94=82=20=E2=94=82=20=E2=94=82= =20=20=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20use=20crate::any::Any;=0A= =E2=94=82=20=E2=94=82=20=E2=94=82=20=20use=20crate::cell::UnsafeCell;=0A= =E2=94=82=20=E2=94=82=20=E2=94=82=20+use=20crate::collections;=0A=E2=94=82= =20=E2=94=82=20=E2=94=82=20=20use=20crate::fmt;=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20=20use=20crate::future::Future;=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20=20use=20crate::pin::Pin;=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20= =20use=20crate::ops::{Deref,=20DerefMut};=0A=E2=94=82=20=E2=94=82=20=E2=94= =82=20=20use=20crate::panicking;=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20= use=20crate::ptr::{Unique,=20NonNull};=0A=E2=94=82=20=E2=94=82=20=E2=94=82= =20=20use=20crate::rc::Rc;=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20@@=20= -281,14=20+282,19=20@@=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20= #[stable(feature=20=3D=20"unwind_safe_atomic_refs",=20since=20=3D=20= "1.14.0")]=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20impl=20RefUnwindSafe=20= for=20atomic::AtomicBool=20{}=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=0A= =E2=94=82=20=E2=94=82=20=E2=94=82=20=20#[cfg(target_has_atomic=20=3D=20= "ptr")]=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20#[stable(feature=20=3D=20= "unwind_safe_atomic_refs",=20since=20=3D=20"1.14.0")]=0A=E2=94=82=20=E2=94= =82=20=E2=94=82=20=20impl=20RefUnwindSafe=20for=20= atomic::AtomicPtr=20{}=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=0A= =E2=94=82=20=E2=94=82=20=E2=94=82=20+//=20= https://github.com/rust-lang/rust/issues/62301=0A=E2=94=82=20=E2=94=82=20= =E2=94=82=20+#[stable(feature=20=3D=20"hashbrown",=20since=20=3D=20= "1.36.0")]=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20+impl=20= UnwindSafe=20for=20collections::HashMap=0A=E2=94=82=20=E2=94=82= =20=E2=94=82=20+=20=20=20=20where=20K:=20UnwindSafe,=20V:=20UnwindSafe,=20= S:=20UnwindSafe=20{}=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20+=0A=E2=94=82=20= =E2=94=82=20=E2=94=82=20=20#[stable(feature=20=3D=20"catch_unwind",=20= since=20=3D=20"1.9.0")]=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20impl=20= Deref=20for=20AssertUnwindSafe=20{=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20= =20=20=20=20=20type=20Target=20=3D=20T;=0A=E2=94=82=20=E2=94=82=20=E2=94=82= =20=20=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20=20=20fn=20= deref(&self)=20->=20&T=20{=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20= =20=20=20=20=20=20&self.0=0A=E2=94=82=20=E2=94=82=20=E2=94=82=20=20=20=20= =20=20}=0A=E2=94=9C=E2=94=80=E2=94=80=20version=0A=E2=94=82=20@@=20-1=20= +1=20@@=0A=E2=94=82=20-1.36.0=20(9d98f8f31=202019-06-29)=0A=E2=94=82=20= +1.36.0=20(a53f9df32=202019-07-03)=0A= --Apple-Mail=_8A428289-B228-405A-9236-33B5320F53AD-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 13:24:00 2019 Received: (at 36614-done) by debbugs.gnu.org; 12 Jul 2019 17:24:00 +0000 Received: from localhost ([127.0.0.1]:40654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzH6-00087s-6w for submit@debbugs.gnu.org; Fri, 12 Jul 2019 13:24:00 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:49159) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzH4-00087e-Fh for 36614-done@debbugs.gnu.org; Fri, 12 Jul 2019 13:23:58 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 0244622178; Fri, 12 Jul 2019 13:23:53 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Fri, 12 Jul 2019 13:23:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=mesmtp; bh=GTKvvve06v0s0p9XO4qvZDja F83nHS9RVaYkATfQNW8=; b=jADJOsxHTtb/9qHD5CDfDAGmvt/9UfGO1YUzja3p qIvr/6INl0cOZfBuHVBLUMQjv+FDlc5RayjXBHs5b7bDEWuFpvnYYdjd5seXAQ4x Jv5zs8O8Wdtj67oWAu8nOyt2lPvdMtA1hDasXf/UwZ7PJriMyF6uc+frJH1J6CjR /z0= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=GTKvvv e06v0s0p9XO4qvZDjaF83nHS9RVaYkATfQNW8=; b=dZbjXBxt3VKG/FgLGWTImG G6flAqJLECWdzpArknuwRgkBlZkzYB0dD8TpQr7aarpr98U+1kT+RHkO6a78WzyX XJn7AaXx56GC0GmuPfUJc6tDm9zKnyMzMnp94iqVnYNFCzig7q66Xehdq4nPbrkq Nt806wdPZvRviL63Hs0umdzhoultBoQnRqPcniHZdgZE4NSo9niWl8p+iVMz8v6N FpYrCx2JGMlZKtMLQMjITnXA0SNfXSwPOs7btpFM4OR0UQTYx7U1cXDB2vhhXBfG lBZKxkHsPdFUJCNLAf660/pusrIQzdy4hhNKFXIcmidDyn3r90uB1J4wU5vGDWkg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduvddrhedtgdduudduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtuggjfgesghdtreertdervdenucfhrhhomhepnfgvohcu hfgrmhhulhgrrhhiuceolhgvohesfhgrmhhulhgrrhhirdhnrghmvgeqnecukfhppeejie druddvgedrudefkedrieefnecurfgrrhgrmhepmhgrihhlfhhrohhmpehlvghosehfrghm uhhlrghrihdrnhgrmhgvnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Received: from localhost (c-76-124-138-63.hsd1.pa.comcast.net [76.124.138.63]) by mail.messagingengine.com (Postfix) with ESMTPA id DF87D380076; Fri, 12 Jul 2019 13:23:51 -0400 (EDT) Date: Fri, 12 Jul 2019 13:23:50 -0400 From: Leo Famulari To: Ivan Petkov Subject: Re: bug#36614: rust@1.36's hash is incorrect. Message-ID: <20190712172350.GA27603@jasmine.lan> References: <8736jby4go.fsf@gmx.com> <87pnmf2y1n.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="vtzGhvizbBRQ85DL" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.12.1 (2019-06-15) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 36614-done Cc: Tobias Geerinckx-Rice , 36614-done@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.7 (-) --vtzGhvizbBRQ85DL Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jul 12, 2019 at 09:33:50AM -0700, Ivan Petkov wrote: > A bit more detailed context: > The rust project makes pre-release sources available for testing ahead of > the formal release, and the process is meant to shake out any potential b= ugs. > I tested with the prerelease build originally, and after the real release > came out I updated the package URL to the formal release and immediately > rebuilt successfully. >=20 > I'm not 100% sure if maybe guix reused the cached tarball I had from earl= ier, > or whether the prerelease source was immediately upgraded to the formal r= elease > and fixed shortly after. (I did try rebuilding right before pushing the c= hange > out which succeeded with no changes, which I'm guessing is because guix d= id > not redownload the tarball and why I didn't notice the hash mismatch). Right, Guix looks up the sources locally by hash. So, if you change a URL but not the hash, and you have the old file with the same hash in /gnu/store, Guix will use the old file and you will not notice that the URL / hash pair is incorrect. --vtzGhvizbBRQ85DL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAl0owiMACgkQJkb6MLrK fwhpTA//eh7R/Fy0kbnS+A/SKBwupJhSChmXYVheZAqTka6FrRLSq42brAgeh7Zb FtcaFmMXzDe8dezeL7kJ0GqGrOFo5KHOWGqFDHH0Bhe/MP9GLtgeIx5s0EksWVow CDPBe5jw4yEg5xo0abh47cj+q6Fmwu4tXb4KhnlQtviRQEI+tuipGd1WFeRxX9es WdJ9YjWzBTEOnrp8/wAT5LqS+JPcl3kM99A3UOIkQslaDy5QB3u9NK1HP0Urm4y+ +AtsEclJTD3h0yumg1Vi5ZkorwV5mwp/vp9FluzBT+TXIXOPEME28rNfCbIS8WJh 6ey4q5WhWr1wwQblvQbrvrNKuy11WFtF542yqeULi/uw4t41trFVGR2Nyv4IiJEZ iEebbsBmGcWhMGJGatHOAc2MTTunKs9Ce/z8MItjnfaJNAwVHahi7ZfJc2Pm/kED NtOd5eNrkReyX8vOXXEcO/WAo1mKKMup363jdSoAfc97cPDFuv8Y5ozEglYF5FkI yTSqDdsrrA3rN6pGaPQJ7HEogY1C+u2hck2eZfl40KNUd0JFkgZP0w85Yix3Oxka slqybwdyqXm1rgYhfHSFyhUFDf9KjUEiH4U0Kd9GxDyGmTHAE2h7Tc/o8ONKtTxG lAf727T/yqxxBe+A7CgzZuXOpt+1BJpRSMWfnxa4wsJad68N8Us= =eWfp -----END PGP SIGNATURE----- --vtzGhvizbBRQ85DL-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 13:26:18 2019 Received: (at 36614-done) by debbugs.gnu.org; 12 Jul 2019 17:26:18 +0000 Received: from localhost ([127.0.0.1]:40662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzJI-0008D3-Ni for submit@debbugs.gnu.org; Fri, 12 Jul 2019 13:26:18 -0400 Received: from tobias.gr ([80.241.217.52]:42764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzJF-0008Ct-MA for 36614-done@debbugs.gnu.org; Fri, 12 Jul 2019 13:26:15 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f28ad1ac; Fri, 12 Jul 2019 17:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=1Ltr29GC/blCc5x/vT5N29 ZXza5ntRbyL6JlitKrYPo=; b=FJjz0xgS2NGvV6ud87Rqko0H3GLYBMPili3GFl tu6ZiNr+rGpuoOksxZGPIGhdFpBDiDzjaJGY5KPBXT88slZwlx00lHOPqVk0D/2W zgWX0S/Cd3KPimSZYdACJxrERvfod7AqPmpfMo0E6Xdr7zO+9Rmf5orBwtuQ38nd a4CK7YwMXdhaZ/ld2JOvwiGoSGWGZohrAnZT5fqybWXYQZ8YsQrcEnvzDrRRn/2s QB295zNqR8MFR2Zy5Blj4AYnNK/Ldcmm/gmVVYE8pk1nPKj6f8ZNxafpCcb0AtX0 kogtQ2XJ1rf7rh3fiv/Te5CKtaHCcfmaJ314xNXMhVr3SBDw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 3361a132 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 12 Jul 2019 17:26:08 +0000 (UTC) From: Tobias Geerinckx-Rice To: Ivan Petkov Subject: Re: bug#36614: rust@1.36's hash is incorrect. References: <8736jby4go.fsf@gmx.com> <87pnmf2y1n.fsf@nckx> In-reply-to: Date: Fri, 12 Jul 2019 19:26:07 +0200 Message-ID: <87k1cn411s.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36614-done Cc: 36614-done@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 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ivan, Ivan Petkov wrote: > My apologies, this was all partly my fault. I do have the old=20 > source lying > around, diffing the two (attached) reveals that the changelog=20 > and one source > file actually changed. > > A bit more detailed context: > The rust project makes pre-release sources available for testing=20 > ahead of > the formal release, and the process is meant to shake out any=20 > potential bugs. > I tested with the prerelease build originally, and after the=20 > real release > came out I updated the package URL to the formal release and=20 > immediately > rebuilt successfully. No apologies necessary. It's nice to know that our Rust updates=20 will always follow swiftly on the heels of upstream as long as you=20 take care of them. However, please make sure to check the=20 signature (.asc) once the final release is cut; one never knows... > I'm not 100% sure if maybe guix reused the cached tarball I had=20 > from earlier, > or whether the prerelease source was immediately upgraded to the=20 > formal release > and fixed shortly after. (I did try rebuilding right before=20 > pushing the change > out which succeeded with no changes, which I'm guessing is=20 > because guix did > not redownload the tarball and why I didn't notice the hash=20 > mismatch). Yes, this is exactly what happened. I consider this is a feature=20 of Guix, even though it can feel like a gotcha sometimes. :-) We often tend to think of the source URL(s) as an =E2=80=98identifier=E2=80= =99 of=20 the source file. However, it is nothing more than a hint about=20 its *location*. The only authoritative identifier of its=20 *content* is the hash: to get *this file* (content hash), try=20 looking *here* (location: URL). One origin may have 0 or more source URLs: Guix will try them all=20 until it downloads something matching the hash (and if even that=20 fails it will try some implicit ones like tarballs.nixos.org). =E2=80=98Unique=E2=80=99 identifier (hash) =E2=94=9C maybe you can *find* it here (URL) =E2=94=9C or here (another URL) =E2=94=9C hell maybe here I don't know (yet another URL) =E2=8B=AE =20=20=20=20=20=20 Guix cares only about the content of the file; it doesn't care or=20 even remember how it got it. Or: if you change the download hint=20 (release URL in this case), Guix won't care, because you didn't=20 change the hash. I hope that makes some sense, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXSjCrwAKCRANsP+IT1Vt eVfVAPsExTEWFNENW6r31eSeZaFLUcmbov+8+pqKhXr1v5YtIgD+MOrXWoPyJ1bN D8LWAyHuQvcPlBlUP7c76e8SP7q7rQA= =elMm -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 13:27:58 2019 Received: (at 36614) by debbugs.gnu.org; 12 Jul 2019 17:27:58 +0000 Received: from localhost ([127.0.0.1]:40678 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzKw-0008G8-6Q for submit@debbugs.gnu.org; Fri, 12 Jul 2019 13:27:58 -0400 Received: from tobias.gr ([80.241.217.52]:42844) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzKt-0008Fz-Qc for 36614@debbugs.gnu.org; Fri, 12 Jul 2019 13:27:56 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 2dd46a67; Fri, 12 Jul 2019 17:27:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=aaQm1Uqei4gt1iVyJhxEdd wQWApIL0CsDBwd/QIa+V8=; b=MJozZ7nKqMsNC3L0uYy/oYnn0JnlfwZ3zVz23X wvSvCLz4cDbRCskjyqrTbbGZfEmqsRBGtHi3KbIGGOh60xN8NGi2t2cWfobuVOfS KoU5k7JtEFxLn3p6w7tLexKbdacdicf0dJgHkDDeqy13/yRIKSNtgHqVcBP3yMmK V9PaqzqPONN1Qds5bnRZAJYC5AN6pWRakZJkwUt+h1vYWJbzYRx5HFLKlafATitv GqHVTDFfNJfgMrWfAXMEAbjLfF0WBSIpekykWzBrCrlF6jWdyUDFuVH9EWYvvfcY f4zAFqM9fUmStJOilYWEQM1EkJZnZd9UKdJbMllaDi4Rj9dA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id ed8a42b5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 12 Jul 2019 17:27:55 +0000 (UTC) From: Tobias Geerinckx-Rice To: Ivan Petkov Subject: Re: bug#36614: rust@1.36's hash is incorrect. References: <8736jby4go.fsf@gmx.com> <87pnmf2y1n.fsf@nckx> In-reply-to: Date: Fri, 12 Jul 2019 19:27:54 +0200 Message-ID: <87ims740yt.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36614 Cc: 36614@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 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Ivan, On Jul 12, 2019, at 6:16 AM, Tobias Geerinckx-Rice =20 wrote: > I've gone ahead and pushed a fix since the signature checked=20 > out. I'm closing this bug for now... Unfortunately, the build still fails for me. See below. Kind regards, T G-R =2D-8<---------------cut here---------------start------------->8--- |=20 ||_____________________________________________________________________= ___-=20 in this macro invocation (#5) 4 | | types { ... | 7 | / | impl_error_chain_processed ! { 8 | | | types { $ error_name , $ error_kind_name , $=20 result_ext_name ; } $ ( $ rest ) 9 | | | * } /// Convenient wrapper around `std::Result`. | |_|________- in this macro invocation (#6) ... | 91 | | ( ref foreign_err ) =3D> { foreign_err . cause ( ) }=20 ) * _ =3D> None } } } } } | | ^^^^^ ... | 154 | | move || { $ crate :: ChainedError :: from_kind (=20 callback ( ) . into ( ) ) } 155 | | ) } } } ; | | - | | | | | in this expansion of=20 `impl_error_chain_processed!` (#4) | |______________in this expansion of=20 `impl_error_chain_processed!` (#5) | in this expansion of=20 `impl_error_chain_processed!` (#6) |=20 ::: <::error_chain::error_chain::error_chain macros>:1:1 | 1 | / ( $ ( $ block_name : ident { $ ( $ block_content :=20 tt ) * } ) * ) =3D> { 2 | | error_chain_processing ! { | ______|_- 3 | | | ( { } , { } , { } , { } ) $ ( $ block_name { $=20 ( $ block_content ) * } ) * 4 | | | } } ; | | |_-___- in this expansion of `error_chain!` (#1) | |________| | in this macro invocation (#2) |=20 ::: src/tools/rust-installer/src/lib.rs:21:5 | 21 | / error_chain!{ 22 | | foreign_links { 23 | | Io(::std::io::Error); 24 | |=20 StripPrefix(::std::path::StripPrefixError); 25 | | WalkDir(::walkdir::Error); 26 | | } 27 | | } | |____________- in this macro invocation (#1) Finished release [optimized] target(s) in 1m 36s Error: failed to generate installer Caused by: failed to copy=20 '/tmp/guix-build-rust-1.36.0.drv-0/rustc-1.36.0-src/build/tmp/dist/rust-doc= s-1.36.0-x86_64-unknown-linux-gnu-image/share/doc/rust/html/unstable-book/l= ibrary-features/weak-counts.html'=20 to=20 '/tmp/guix-build-rust-1.36.0.drv-0/rustc-1.36.0-src/build/tmp/dist/rust-doc= s-1.36.0-x86_64-unknown-linux-gnu/rust-docs/share/doc/rust/html/unstable-bo= ok/library-features/weak-counts.html' Caused by: No space left on device (os error 28) command did not execute successfully:=20 "/tmp/guix-build-rust-1.36.0.drv-0/rustc-1.36.0-src/build/x86_64-unknown-li= nux-gnu/stage0-tools-bin/fabricate"=20 "generate" "--product-name=3DRust-Documentation"=20 "--rel-manifest-dir=3Drustlib"=20 "--success-message=3DRust-documentation-is-installed." "--image-dir"=20 "/tmp/guix-build-rust-1.36.0.drv-0/rustc-1.36.0-src/build/tmp/dist/rust-doc= s-1.36.0-x86_64-unknown-linux-gnu-image"=20 "--work-dir"=20 "/tmp/guix-build-rust-1.36.0.drv-0/rustc-1.36.0-src/build/tmp/dist"=20 "--output-dir"=20 "/tmp/guix-build-rust-1.36.0.drv-0/rustc-1.36.0-src/build/dist"=20 "--package-name=3Drust-docs-1.36.0-x86_64-unknown-linux-gnu"=20 "--component-name=3Drust-docs"=20 "--legacy-manifest-dirs=3Drustlib,cargo"=20 "--bulk-dirs=3Dshare/doc/rust/html" expected success, got: exit code: 1 failed to run:=20 /tmp/guix-build-rust-1.36.0.drv-0/rustc-1.36.0-src/build/bootstrap/debug/bo= otstrap=20 install Build completed unsuccessfully in 0:01:54 Backtrace: 5 (primitive-load=20 "/gnu/store/n6nh9mqsd8grd10f532z8nswnlj=E2=80=A6") In ice-9/eval.scm: 191:35 4 (_ _) In srfi/srfi-1.scm: 863:16 3 (every1 # =E2=80=A6) In=20 /gnu/store/cmlwy3sxnq9yfp75w80par5imvyg143f-module-import/guix/build/gnu-bu= ild-system.scm: 799:28 2 (_ _) In ice-9/eval.scm: 619:8 1 (_ #(#(#) (("o=E2=80=A6" . #)=20 =E2=80=A6))) In=20 /gnu/store/cmlwy3sxnq9yfp75w80par5imvyg143f-module-import/guix/build/utils.= scm: 616:6 0 (invoke _ . _) /gnu/store/cmlwy3sxnq9yfp75w80par5imvyg143f-module-import/guix/build/utils.= scm:616:6:=20 In procedure invoke: Throw to key `srfi-34' with args `(#)'. note: build failure may have been caused by lack of free disk=20 space builder for=20 `/gnu/store/cknk6wa34h04vqb7qwdlzx36xx2j4n54-rust-1.36.0.drv'=20 failed with exit code 1 build of=20 /gnu/store/cknk6wa34h04vqb7qwdlzx36xx2j4n54-rust-1.36.0.drv failed View build log at=20 '/var/log/guix/drvs/ck/nk6wa34h04vqb7qwdlzx36xx2j4n54-rust-1.36.0.drv.bz2'. guix build: error: build of=20 `/gnu/store/cknk6wa34h04vqb7qwdlzx36xx2j4n54-rust-1.36.0.drv'=20 failed ~/guix =E2=91=82nckx-master=E2=9C=B1 =CE=BB=20 =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXSjDGgAKCRANsP+IT1Vt ea1KAQCF06p/cprZxuN+Dp6poZH2FTunnl71guQk5aOBjVkAhAD/YqOQvEgw08ha AAHr+A7Hq9CNMJ8YlaE252RiCTLpJg8= =L6tp -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 13:35:03 2019 Received: (at 36614) by debbugs.gnu.org; 12 Jul 2019 17:35:03 +0000 Received: from localhost ([127.0.0.1]:40683 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzRn-0008Ru-5e for submit@debbugs.gnu.org; Fri, 12 Jul 2019 13:35:03 -0400 Received: from tobias.gr ([80.241.217.52]:43088) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hlzRj-0008RO-Mj for 36614@debbugs.gnu.org; Fri, 12 Jul 2019 13:35:02 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id bf4fd4ae; Fri, 12 Jul 2019 17:34:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=l36Xz8dvp8SFkloHOxn6no 6zKyaaVX6BWO2zmX+MgTU=; b=C5vP1tH8e1sQJqCQEAmNhpn42a+vAurj4BllvK 8NxKyi7ULL9YVAT71xBY2EkzYGF8JhX3O+HWqkwCLeo3fBAcpv3otAZ3xF8evln0 YZDQxEGjNA+pYioYF31TPphT4x8cwV4XpbPhG9paqZAMD58VWnTNpumDOrzdypYr WToUhR49EEm7QFalqCQrVV4FguUVgrYClzk5DyjblAWZ6nuNl+g1TaFX0lZQ4hVa sA3PWlXVE7G35PL34yKG8pu2lVy5VUVthZ62vQb45FUxHg0vt0U0qcOR54tI2fSg f3Z/6kwHzrcJ8Q4lrZ5xsnfFsM1o01oPUtFsqsgkWz9e2jFA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 63d6b941 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 12 Jul 2019 17:34:54 +0000 (UTC) From: Tobias Geerinckx-Rice To: Ivan Petkov Subject: Re: bug#36614: rust@1.36's hash is incorrect. References: <8736jby4go.fsf@gmx.com> <87pnmf2y1n.fsf@nckx> <87ims740yt.fsf@nckx> In-reply-to: <87ims740yt.fsf@nckx> Date: Fri, 12 Jul 2019 19:34:53 +0200 Message-ID: <87h87r40n6.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36614 Cc: 36614@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 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice wrote: > Caused by: No space left on device (os error 28) Eh, never mind, I managed to copy, paste, & send an entire e-mail=20 while missing this line. =F0=9F=91=8D, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXSjEvQAKCRANsP+IT1Vt eV6/AP9w//b9rHZNAzyw9G1I3hGZMekqiTOIFvmJAxj0RO3dTwEAum+a1C3rvfAE j7bUO0tJwY/uzY4cpNk160gPfykflQo= =gx6S -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 12 20:59:43 2019 Received: (at 36614-done) by debbugs.gnu.org; 13 Jul 2019 00:59:43 +0000 Received: from localhost ([127.0.0.1]:40993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm6O6-0000nX-SJ for submit@debbugs.gnu.org; Fri, 12 Jul 2019 20:59:43 -0400 Received: from mail-pg1-f176.google.com ([209.85.215.176]:34014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hm6O1-0000nC-Qa for 36614-done@debbugs.gnu.org; Fri, 12 Jul 2019 20:59:41 -0400 Received: by mail-pg1-f176.google.com with SMTP id p10so5280336pgn.1 for <36614-done@debbugs.gnu.org>; Fri, 12 Jul 2019 17:59:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vAxZspZY/QSN+Strf1GVo+IfFF6DHp+HQp30SatzssU=; b=fduy8javGkLEAS3+uqSGZjntpovVz2QnIR50SD37LHqS3eRdXj0o5xRyu/neF7j1ZI 4J0oObmJ+eKkJVDSrfc0gmqV5Xh1KEC1DSI4+MfLAvnv4Nxk/k59vXK+IVLoLhpdOdxd oO+kPrgh5KFHJA5EE4/vVJpdtFCSUVsspuVCzW2mWKiivWGjoL/6tRAV50vc3Ueu6/DA vtnlkoz/IR0cW5hm+tcx2j8pdYXD1F2P0ByfMHIZ8zez9/bKxyApB8T+e1Zeh6o+ykK6 G0VUbIj8sUZhkSqx3ChK53+zMa82Bq7F8pUOh1HtsLjVO76X+Qk8idlw2o1njxRJCNPb GCRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=vAxZspZY/QSN+Strf1GVo+IfFF6DHp+HQp30SatzssU=; b=d4yK4pMLSuvR+sqk/FxCuu3IdXZ7fco13MDzDZHBJFJjX2dV8/AneW30iFVW7/DvFF MdymfoRfID9ijI78sa6oTQEQn1/T9HG5r18PdPYbG1nckcHl7bMOG5i78JXf+sDq2OTC f9/mBrFQ5rVwGvC99TT2qc9fdd12qs4186c75zIpLcBDgg7bPJnYFRwxlLCqtaqVCNiE ydxjZwSaRK9WQuIF443rUaYbqCb9xqDRAPRQK5iqyH2TosJ8vtKoXoOp1Zv0eSDiCGYP 03jbc5RYp939tld5XV40IHdpj8rKOArsBDGQsGxAXZyFV1uNU5ABJckeHiBZOpmVCM/o FtPQ== X-Gm-Message-State: APjAAAWSMxGM647oZLvPgp0Z0of3u/vWPPQsGMRXtzq+qLMPpvJbN33S 9l6n/q5JLxwGwRLSCi8x1JA= X-Google-Smtp-Source: APXvYqzLgIb+HibveRgYws8ZtFXXwyUMnKher5LuH7kT5rS9A/+24L/eVvoXJvSCmQhES969h0yulw== X-Received: by 2002:a17:90a:bb0c:: with SMTP id u12mr15752981pjr.132.1562979571531; Fri, 12 Jul 2019 17:59:31 -0700 (PDT) Received: from ?IPv6:2601:602:9a00:1784:e572:68ee:6a4f:1c6b? ([2601:602:9a00:1784:e572:68ee:6a4f:1c6b]) by smtp.gmail.com with ESMTPSA id 1sm10520533pfe.102.2019.07.12.17.59.30 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 12 Jul 2019 17:59:30 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 11.5 \(3445.9.1\)) Subject: Re: bug#36614: rust@1.36's hash is incorrect. From: Ivan Petkov In-Reply-To: <87k1cn411s.fsf@nckx> Date: Fri, 12 Jul 2019 17:59:29 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <4F732059-C44D-45CA-B077-7CDB5C8C5569@gmail.com> References: <8736jby4go.fsf@gmx.com> <87pnmf2y1n.fsf@nckx> <87k1cn411s.fsf@nckx> To: Tobias Geerinckx-Rice X-Mailer: Apple Mail (2.3445.9.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 36614-done Cc: 36614-done@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 (-) > On Jul 12, 2019, at 10:26 AM, Tobias Geerinckx-Rice = wrote: >=20 > Yes, this is exactly what happened. I consider this is a feature of = Guix, even though it can feel like a gotcha sometimes. :-) >=20 > We often tend to think of the source URL(s) as an =E2=80=98identifier=E2= =80=99 of the source file. However, it is nothing more than a hint = about its *location*. The only authoritative identifier of its = *content* is the hash: to get *this file* (content hash), try looking = *here* (location: URL). >=20 > One origin may have 0 or more source URLs: Guix will try them all = until it downloads something matching the hash (and if even that fails = it will try some implicit ones like tarballs.nixos.org). >=20 > =E2=80=98Unique=E2=80=99 identifier (hash) > =E2=94=9C maybe you can *find* it here (URL) > =E2=94=9C or here (another URL) > =E2=94=9C hell maybe here I don't know (yet another URL) > =E2=8B=AE > Guix cares only about the content of the file; it doesn't care or = even remember how it got it. Or: if you change the download hint = (release URL in this case), Guix won't care, because you didn't change = the hash. >=20 > I hope that makes some sense, This is a wonderful explanation, thanks! Will keep this in mind for the = future :) =E2=80=94Ivan= From unknown Sat Jun 21 10:40:00 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 10 Aug 2019 11:24:04 +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