From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id uC5/F39Xa2T5kgAASxT56A (envelope-from ) for ; Mon, 22 May 2023 13:52:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id oIdcF39Xa2S4PgEA9RJhRA (envelope-from ) for ; Mon, 22 May 2023 13:52:31 +0200 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 BDE591026D for ; Mon, 22 May 2023 13:52:30 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q145B-0007wX-OH; Mon, 22 May 2023 07:52:10 -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 1q1454-0007en-Hh for bug-guix@gnu.org; Mon, 22 May 2023 07:52:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q1454-0007vN-2f for bug-guix@gnu.org; Mon, 22 May 2023 07:52:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q1453-0006A4-Uk for bug-guix@gnu.org; Mon, 22 May 2023 07:52:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63634: nar 404 leads to hard =?UTF-8?Q?=E2=80=98guix_?= =?UTF-8?Q?substitute=E2=80=99?= crash Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 22 May 2023 11:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 63634 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Christopher Baines Cc: 63634@debbugs.gnu.org Received: via spool by 63634-submit@debbugs.gnu.org id=B63634.168475630923666 (code B ref 63634); Mon, 22 May 2023 11:52:01 +0000 Received: (at 63634) by debbugs.gnu.org; 22 May 2023 11:51:49 +0000 Received: from localhost ([127.0.0.1]:33746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q144r-00069e-DB for submit@debbugs.gnu.org; Mon, 22 May 2023 07:51:49 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37400) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q144n-000694-RH for 63634@debbugs.gnu.org; Mon, 22 May 2023 07:51:48 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q144h-0007nD-2s; Mon, 22 May 2023 07:51:39 -0400 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=VNvrvMJPmr7JiizoZSGGVxFBacZ2pQterpa8ZWSG+kM=; b=HXie/w5hm73Z8aAj5f1d p+kqP1D2c3bOecA0cnyqaNHVnObPM1gSR28vBksxn6J9t60j4lSxl4aEHSQZxQ4Ke5NtBniSfRQ/0 sE7Di+Qey8FgeDgEH1WvRa6cPR+w4ba/nyaNQWE6D1ll6ZLppOg4FCWtElQ81aZdCb+gONXneodfJ I1nSmdXNCT87wv6aM6gYabYC4R2HNGCkzH+UthOHyQx5FQSemARJJp+5R7B4fHHuDieOhgeTOUQu/ O7E/O2aAXDC9IYh9B4o2e0Vq2TBzbEb+1SBbbDsRe/E5E4DvoaOffuSq5EX31wjTjy1kAYRjererb HtmC7wjP7aeuJA==; Received: from [193.50.110.247] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q144f-0004It-Is; Mon, 22 May 2023 07:51:38 -0400 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87cz2ttju2.fsf@inria.fr> <87ttw4ye13.fsf@gmail.com> <875y8kzp17.fsf@gnu.org> <87bkicfw6e.fsf@cbaines.net> Date: Mon, 22 May 2023 13:51:34 +0200 In-Reply-To: <87bkicfw6e.fsf@cbaines.net> (Christopher Baines's message of "Mon, 22 May 2023 12:02:04 +0100") Message-ID: <87y1lgy46x.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684756350; a=rsa-sha256; cv=none; b=oDtsgW2RR4CetbFi2qh+tBlc6Hv68UNDaYEB4LCUn/VF3sdw26651g0qdIcIuPJWAm0bDy z2HB2zycMz4f+BNHwkV6ntFahJt+sbq86tPbPkDhUjshRZtjcF6+D6ZW+jfVZlBxqHeZIF XmSjLGHoobVGbzYAPKTAoNpA14ptBxvG21DVo2L76vSxLiAv+swYGP/fEEx4h2RWbz/N8W bp3xFux/z2ptzc671+ybfUdLWSMSzDU5BYoAFryZBL9IvnSgDvJNW4KTZ/9Ejtjs5fSV18 0bcq32Ymbe3bMVW/IJrlV6PHvk2F9yD/RHCNWiHAJUlxNcXYWhBo3fQh67oq5g== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="HXie/w5h"; dmarc=pass (policy=none) header.from=gnu.org; 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=1684756350; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VNvrvMJPmr7JiizoZSGGVxFBacZ2pQterpa8ZWSG+kM=; b=KR4qx6YWouynBKXXkZ0D8f4pUCHxFtONbINbVukEd7BKHhtO929J+rYq7UZpx6ibHatBdF 4OcHdDMGtiRKS1UJZHB5gJ6iY8o04eF5v3AT5E/ihSh1N588dZotTyeYJcl1ScQ+In2oMX QrDLEPmgkY7UQ8gbQ2XydT1jwECAEmyysgyevjbAQA5MXqSuwGSHNLXer9vm0CRh/Frh/l I28E1UI3gpkuO8oPD0Y6x+5976A8/Sb/iQzNGgsBeYDc1WoNgmVOJtZGecHX795Ai2Sisx 9G2X8SVcA4UQt3cu6sFDJEUjp5gy0/NJFqnfIC/7rhK3aIfxekwUAqTxe2DElA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="HXie/w5h"; dmarc=pass (policy=none) header.from=gnu.org; 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: -2.57 X-Spam-Score: -2.57 X-Migadu-Queue-Id: BDE591026D X-TUID: YKn/YInhwhTg Christopher Baines skribis: > Ludovic Court=C3=A8s writes: [...] >> BTW, =E2=80=98guix publish=E2=80=99 has provisions to not compress alrea= dy-compressed >> files, as in the case above. We should really share code, Chris. > > I'm not sure if this is what you have in mind regarding code sharing, > but I'll use compressed-file? from (guix utils) in the nar-herder to > avoid generating cached compressions for these kind of files in the > future. Great, thank you. Ideally we=E2=80=99d have a single =E2=80=98guix publish=E2=80=99 implement= ation, or at least most of it would be a module shared by both =E2=80=98guix publish=E2=80=99 = and =E2=80=98nar-herder=E2=80=99 because it=E2=80=99s tricky enough that we=E2= =80=99d rather not have two of them. The (guix narinfo) module you introduced is a step in that direction and as discussed earlier, we need to go further. Ludo=E2=80=99.