From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gJ0zIngiB18nSQAA0tVLHw (envelope-from ) for ; Thu, 09 Jul 2020 13:58:16 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id WCMbHngiB19zDwAA1q6Kng (envelope-from ) for ; Thu, 09 Jul 2020 13:58:16 +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 C352294029E for ; Thu, 9 Jul 2020 13:58:15 +0000 (UTC) Received: from localhost ([::1]:49560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtX42-0000pQ-GV for larch@yhetil.org; Thu, 09 Jul 2020 09:58:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45064) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jtX3q-0000fA-FJ for bug-guix@gnu.org; Thu, 09 Jul 2020 09:58:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58102) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jtX3q-0006sn-4e for bug-guix@gnu.org; Thu, 09 Jul 2020 09:58:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jtX3q-0000BC-4z for bug-guix@gnu.org; Thu, 09 Jul 2020 09:58:02 -0400 Subject: bug#24140: Substitute hash mismatches not properly reported Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: bug-guix@gnu.org Resent-Date: Thu, 09 Jul 2020 13:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 24140 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 24140-done@debbugs.gnu.org Mail-Followup-To: 24140@debbugs.gnu.org, ludo@gnu.org, ludo@gnu.org Received: via spool by 24140-done@debbugs.gnu.org id=D24140.1594303032609 (code D ref 24140); Thu, 09 Jul 2020 13:58:01 +0000 Received: (at 24140-done) by debbugs.gnu.org; 9 Jul 2020 13:57:12 +0000 Received: from localhost ([127.0.0.1]:41413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtX32-00009l-FA for submit@debbugs.gnu.org; Thu, 09 Jul 2020 09:57:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48300) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jtX2z-00009W-Px for 24140-done@debbugs.gnu.org; Thu, 09 Jul 2020 09:57:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56534) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jtX2u-0006kT-Fw for 24140-done@debbugs.gnu.org; Thu, 09 Jul 2020 09:57:04 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=34228 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jtX2s-0005gd-IY for 24140-done@debbugs.gnu.org; Thu, 09 Jul 2020 09:57:03 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87ziou5ggy.fsf@gnu.org> Date: Thu, 09 Jul 2020 15:56:59 +0200 In-Reply-To: <87ziou5ggy.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Wed, 03 Aug 2016 11:50:21 +0200") Message-ID: <878sfsbxlg.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -3.3 (---) 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" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Spam-Score: -1.01 X-TUID: iFjSZ7lGuJJw ludo@gnu.org (Ludovic Court=C3=A8s) skribis: > When using =E2=80=98guix package=E2=80=99, upon a substitute hash mismatc= h, all we see > is something like this: > > Found valid signature for /gnu/store/cpw9yca1mcqhqfq450dr3rz2jzr95l69-gli= b-2.48.0 >>>From https://mirror.hydra.gnu.org/nar/cpw9yca1mcqhqfq450dr3rz2jzr95l69-gl= ib-2.48.0 > Downloading cpw9yc...-glib-2.48.0 (13.5MiB installed)... > glib-2.48.0 = 744KiB/s 00:04 | 2.9MiB transferred > killing process 11821 > guix system: error: build failed: some substitutes for the outputs of der= ivation `/gnu/store/lkvlm17z8qm1v6r4n5ja5vcmsp7d860i-graphviz-2.38.0.drv' f= ailed (usually happens due to networking issues); try `--fallback' to build= derivation from source=20 > > > The error message from build.cc: > > if (expectedHash !=3D actualHash) > throw SubstError(format("hash mismatch in downloaded path `%1%'= : expected %2%, got %3%") > % storePath % printHash(expectedHash) % printHash(actualHas= h)); > > =E2=80=A6 is only visible when we set-build-options #:print-build-trace? = #t > (like =E2=80=98guix build=E2=80=99 does, but =E2=80=98guix package=E2=80= =99 and others do not.) > > The message should always be displayed, regardless of > #:print-build-trace?. Fixed long ago, at least with the introduction of (guix status). Closing!