From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id EPuhAtUJUGbiTQAAqHPOHw:P1 (envelope-from ) for ; Fri, 24 May 2024 05:30:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EPuhAtUJUGbiTQAAqHPOHw (envelope-from ) for ; Fri, 24 May 2024 05:30:29 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=l8ES6Gkg; dmarc=none; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1716521429; a=rsa-sha256; cv=none; b=DqAWnDO8J3t9FzQ8Hw9hRWCg03PozGIiFdWJa9A2/0K4Wn+oGwucP55hWeoQ7ArWeI42qa 8z0Bz8hnN7RjkUTIT/kt2anA9xPA3eAHrrAp1hBWBhap3B35mXaw5EMxqeEHVA/UwycRKu ZsdMrCxjo12lmTJjvslqlBwlfd0c+HJzmbdMMRiE4fcJD8sxnLjVPyCKuhrQn/EdVPdR60 W11EEgg+Bd/ogqSUgap/nxyCSb3AiavbxhmBQovCQ806uRwUICFU1GFNp2SLwuEbJGFKHo 9gmG05TpSWlGZQNDd62uQgUEfuD+dphpmr3U19gUUA+sTFbOL0C4k5rwFmX90Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none ("invalid DKIM record") header.d=freakingpenguin.com header.s=x header.b=l8ES6Gkg; dmarc=none; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1716521429; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=UREd9tazqNJN1RunXOdu71kv/gh8+N9OgJwW/XpmQtw=; b=ji6+divdWsEPhS77zrhMAQxOz+N10cFdS/+74PhX2g3NkzhlQvRyW4uxd0rSjiu8NTNNA6 tbb/yvsEQCRATU/M1aJByh51kBo5FpTkoCTclfqpAq5wI0tsjpab+69V+jbNmd9KFonRQa VD0ltvjwgHpEA0ffUHgGyodK9jUFwXaOFzohrxI4XEtPV4rdAYGaMhLN7wcR98QjBFLUW0 MfP0+ETGmoxOyytT0PsaE4yywrDNuSI+TYhiN+ygzH6DnX80mlnC6pX64Xso6Gjzf2enck G+3ugStDspCWCrRvzXFGXxA0zCVCynqYk7PJTgACL8lFDB1hs0nrHh/MRcNw8g== 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 F0ADD125FE for ; Fri, 24 May 2024 05:30:26 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sALd1-0001Gs-Hf; Thu, 23 May 2024 23:29:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sALcz-0001GM-5f for bug-guix@gnu.org; Thu, 23 May 2024 23:29:57 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sALcy-0000Dq-UT for bug-guix@gnu.org; Thu, 23 May 2024 23:29:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sALd4-0002e2-9i for bug-guix@gnu.org; Thu, 23 May 2024 23:30:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#71160: --fallback and (fallback #t) do not apply when receiving a corrupt nar Resent-From: Richard Sent Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 24 May 2024 03:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71160 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 71160@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.171652134410120 (code B ref -1); Fri, 24 May 2024 03:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 24 May 2024 03:29:04 +0000 Received: from localhost ([127.0.0.1]:34455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sALc8-0002dA-1O for submit@debbugs.gnu.org; Thu, 23 May 2024 23:29:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:42698) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sALc3-0002cl-4N for submit@debbugs.gnu.org; Thu, 23 May 2024 23:29:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sALbv-00015H-Uj for bug-guix@gnu.org; Thu, 23 May 2024 23:28:51 -0400 Received: from mail-108-mta197.mxroute.com ([136.175.108.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sALbt-00007c-UV for bug-guix@gnu.org; Thu, 23 May 2024 23:28:51 -0400 Received: from filter006.mxroute.com ([136.175.111.3] filter006.mxroute.com) (Authenticated sender: mN4UYu2MZsgR) by mail-108-mta197.mxroute.com (ZoneMTA) with ESMTPSA id 18fa8a4c959000efce.001 for (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384); Fri, 24 May 2024 03:28:42 +0000 X-Zone-Loop: 3e29813a96ed33b2b46262c99fde438f1644bb364d4d X-Originating-IP: [136.175.111.3] DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=freakingpenguin.com; s=x; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UREd9tazqNJN1RunXOdu71kv/gh8+N9OgJwW/XpmQtw=; b=l8ES6Gkgiun5XwIPNJ98C+HAuP RCP4yA7bGHVU8F14XkFtcxKrXYx31loKg26rMVmpKuvrZv+Eqh9sw/H23iPh8dFVvjGUPpGzwgcCo HPgX5viZXF1/0ir0blK4YiqF10XJEhXqdazLiQNZdmYeXp/d7eQDgUPqMNcTHkHEgonLE26eYmO7V Zx6EAAZ3Qo3KpCW4wfsO1eOEG0F/ZIivDNHuDLUGNP3DEeMBPdgbL2uWiAW3yRK/79p10NeFMTJ5/ yi0aRTx1v1maScxDYzE/bckGqq27UhIIuMNV3+6KqaCvYs2oFHPtP16h/ZPxWS7eQd2YO/w5ncXXk OIszxOqw==; From: Richard Sent Date: Thu, 23 May 2024 23:28:33 -0400 Message-ID: <87fru7vqfy.fsf@freakingpenguin.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Authenticated-Id: richard@freakingpenguin.com Received-SPF: pass client-ip=136.175.108.197; envelope-from=richard@freakingpenguin.com; helo=mail-108-mta197.mxroute.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, SPF_HELO_NONE=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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: F0ADD125FE X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -6.55 X-Spam-Score: -6.55 X-TUID: FB0SV4C1VJqz Hi Guix! As part of building linux-libre-arm64-generic, Guix tries substituting linux-libre-arm64-generic.tar.xz. Unfortunately it looks like a corrupt nar snuck into bordeaux. --8<---------------cut here---------------start------------->8--- root@lifeline ~# guix build linux-libre-arm64-generic --system=3Daarch64-li= nux --fallback The following derivations will be built: /gnu/store/9626zaczwl5x4ypxmmdklvkclqx2dlpi-linux-libre-arm64-generic-6.8= .10.drv /gnu/store/1wi10rg7236ck8k5vdrdfap5l7a9s9z0-linux-libre-6.8.10-guix.tar.x= z.drv 199.7 MB will be downloaded: # Snip /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz substituting /gnu/store/0jfsx4hljddyand45z7i77ynpvr0mhb5-module-import-comp= iled... downloading from https://bordeaux.guix.gnu.org/nar/lzip/0jfsx4hljddyand45z7= i77ynpvr0mhb5-module-import-compiled ... module-import-compiled 171KiB = 676KiB/s 00:00 =E2=96=95=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =88=E2=96=8F 100.0% substituting /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10= -guix.tar.xz... downloading from https://bordeaux.guix.gnu.org/nar/none/y813phs2n9xnb7zbcr0= 7g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz ... linux-libre-6.8.10-guix.tar.xz 136.5MiB = 20.5MiB/s 00:06 =E2=96=95=E2=96=88= =E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2= =96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96=88=E2=96= =8C=E2=96=8F 97.6%guix substitute: error: corrupt input while restoring '/= gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8.10-guix.tar.xz' = from # substitution of /gnu/store/y813phs2n9xnb7zbcr07g0j9509bzbsb-linux-libre-6.8= .10-guix.tar.xz failed guix build: error: corrupt input while restoring archive from # root@lifeline ~#=20 --8<---------------cut here---------------end--------------->8--- Trying to pass --fallback on the command line has no effect, even though both the documentation and [1] imply that should work. Similarly with Cuirass, I have a spec that tries to build an operating-system with a linux-libre-arm64-generic kernel. Even though cuirass-configuration has (fallback #t), no attempt is made to recover by building the derivation locally. --8<---------------cut here---------------start------------->8--- ;; In config (define %rsent-cuirass-service (service cuirass-service-type (cuirass-configuration (specifications %rsent-cuirass-specs) (host "0.0.0.0") (fallback? #t)))) ;; From /var/log/cuirass.log 2024-05-23 22:23:36 Uncaught exception in task: 2024-05-23 22:23:36 In fibers.scm: 2024-05-23 22:23:36 172:8 8 (_) 2024-05-23 22:23:36 In ice-9/boot-9.scm: 2024-05-23 22:23:36 1752:10 7 (with-exception-handler _ _ #:unwind? _ # = _) 2024-05-23 22:23:36 In guix/store.scm: 2024-05-23 22:23:36 684:37 6 (thunk) 2024-05-23 22:23:36 In cuirass/base.scm: 2024-05-23 22:23:36 421:14 5 (_ _) 2024-05-23 22:23:36 267:10 4 (spawn-builds # _ ?) 2024-05-23 22:23:36 In ice-9/boot-9.scm: 2024-05-23 22:23:36 1752:10 3 (with-exception-handler _ _ #:unwind? _ # = _) 2024-05-23 22:23:36 1685:16 2 (raise-exception _ #:continuable? _) 2024-05-23 22:23:36 1683:16 1 (raise-exception _ #:continuable? _) 2024-05-23 22:23:36 1685:16 0 (raise-exception _ #:continuable? _) 2024-05-23 22:23:36 ice-9/boot-9.scm:1685:16: In procedure raise-exception: 2024-05-23 22:23:36 ERROR: 2024-05-23 22:23:36 1. &nar-error: 2024-05-23 22:23:36 file: #f 2024-05-23 22:23:36 port: # --8<---------------cut here---------------end--------------->8--- I'm no rocket scientist, but that error looks very similar to the error found when building from the CLI. Given that cuirass-configuration has fallback #t, it should be recoverable. Possibly related: [2] and [3] [1]: https://issues.guix.gnu.org/23103 [2]: https://issues.guix.gnu.org/55820 [3]: Guix 3f59fd6d114548480c719d4b8f8509bdf3e8dcca --=20 Take it easy, Richard Sent Making my computer weirder one commit at a time.