From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id GNnjFtnSjGPitwAAbAwnHQ (envelope-from ) for ; Sun, 04 Dec 2022 18:03:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KGDUFtnSjGNLNgEA9RJhRA (envelope-from ) for ; Sun, 04 Dec 2022 18:03:21 +0100 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 1EEB346005 for ; Sun, 4 Dec 2022 18:03:21 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1sOM-00022n-TK; Sun, 04 Dec 2022 12:03:02 -0500 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 1p1sOM-00022U-9g for bug-guix@gnu.org; Sun, 04 Dec 2022 12:03:02 -0500 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 1p1sOM-0006Uh-1u for bug-guix@gnu.org; Sun, 04 Dec 2022 12:03:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1sOL-0004H0-KV for bug-guix@gnu.org; Sun, 04 Dec 2022 12:03:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#58247: Using guix time-machine results in unsupported manifest format error Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sun, 04 Dec 2022 17:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58247 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: zimoun Cc: david larsson , 58247@debbugs.gnu.org Received: via spool by 58247-submit@debbugs.gnu.org id=B58247.167017332316386 (code B ref 58247); Sun, 04 Dec 2022 17:03:01 +0000 Received: (at 58247) by debbugs.gnu.org; 4 Dec 2022 17:02:03 +0000 Received: from localhost ([127.0.0.1]:58694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1sNP-0004GE-3h for submit@debbugs.gnu.org; Sun, 04 Dec 2022 12:02:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45906) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1sNL-0004Fq-IR for 58247@debbugs.gnu.org; Sun, 04 Dec 2022 12:02:02 -0500 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 1p1sNF-0006Mz-OB; Sun, 04 Dec 2022 12:01:53 -0500 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=qxTwcJeqVbiPWAfq6PO4jpSoEJia3vzBJgunf/Q8q8w=; b=JrtmqI1pr+t9V9pBXPQe vtAwNiEasepZXRq+A6SeAfBNEkHNLp522rdWVhHuz1eoZENhW98E7FGgGXjhc4kiB8/wGT1Ve9umB RsqZxTXMkxpcx3T8z+tgdmLFG7TaOQM8QJ/bIKD338AUnUUzpgqXoOUOh4cxQ/MHTDdnSK4IhLfbH 5yB/gCYHpz3sLp4dcaGwzUATzM0y/rXkey4KemxD6JIb7WcQIdVCkXJ8nJBC1AesBWJ2xoe6C3Qos fC5KfAJVqOJyO1ynLlL3VWHyuStUPCvo9OliRVx/Lt4KrmQb9U5dDXr8BRdVuaarM+wwrsw/UFxK6 w1ISdp4fKoIMAQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1sNF-0006rF-Ae; Sun, 04 Dec 2022 12:01:53 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <87bkquxior.fsf@gmail.com> <2b9ab157dfb62c46f8416fc39c320323@selfhosted.xyz> <87v8p1x4fj.fsf@gmail.com> <86tu40nl1l.fsf@gmail.com> Date: Sun, 04 Dec 2022 18:01:50 +0100 In-Reply-To: <86tu40nl1l.fsf@gmail.com> (zimoun's message of "Wed, 19 Oct 2022 12:51:34 +0200") Message-ID: <87cz8zm7b5.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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670173401; 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=qxTwcJeqVbiPWAfq6PO4jpSoEJia3vzBJgunf/Q8q8w=; b=A5575gmYH3pJjIz/EwbIsX55nYBr3N34MNKHbfOPh56qG2m95KiGpY0mfX9Fyl4EsOJ8YS ICaK0OW8Ynyne0UeZux4lPa4FvOb58hfS26m9hgNVlzx9RFeEfGzthpg8qtg5Q9+JqqsOU kK35W9touvtf8HAvCYR+NvoCmXNmLuB1ZxCQuK+y8F9zMs91SqStRPyq4JGPOaLXlMV7sz hmIBkCSuZj9i7Q0/bv8HFZtotn4QrT2kx0bUBTkQr5bbkrqG+QPSM3dLB38jdH7HHWjFxM bgtvFDtd6AO2MuvlbxOpUBaiuDouapyDb7+X57WwxiHdgppH+p3J/8TexVmbLA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670173401; a=rsa-sha256; cv=none; b=tKrHalF/cuI+i7Luj90OiVgNMoHcRS9D424d6qS83eVYvrVJ6TSBm1XSXs40wWArnVJX9K LQ0snr0OYh7KmHWvMCvGR8xSPXNZ4810A7Ut1ynZfRV24mdqzADA03hasBBurNJ92eeQrs AMcCZOmyu/o4cVs5etWiXS279KXqzmvFe7iH3KpIt+4MX2FMyLqZmT5P+lHfXZrzEG/g4e mmDjYf64PPUfa87b/Lb4GRG2X217imOmTAlSRuqOKgZ5thVxl82i+ibcMScY8yHDtsr69Y Wdwg1Ef+1RzHaKZzTG1fwSiiyjOBMjFGBzgps+OPyXSz0BiLEG97478SJBSY1Q== 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=JrtmqI1p; 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.36 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JrtmqI1p; 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-Queue-Id: 1EEB346005 X-Spam-Score: -2.36 X-Migadu-Scanner: scn1.migadu.com X-TUID: FL0KBO6VFDuO Hi, zimoun skribis: > This issue is about the upgrade of manifest version from 3 to 4. For > references, > > > > On Mon, 03 Oct 2022 at 00:10, zimoun wrote: > >> Well, I do not know if a fix is possible. The issue is a >> backward compatibility issue. > > Ludo, what is your insight on that matter? Is it fixable? Or do we > mark the issue as =E2=80=99wontfix=E2=80=99? David wrote: > Im on commit 729ce5f and Im running: guix time-machine > --commit=3D7e8e070 -- package -i hello > > and it outputs: > > guix package: error: unsupported manifest format This use case cannot be fixed: you cannot use an old Guix (one that only understood manifest version 3) to manipulate a =E2=80=9Cnew=E2=80=9D profil= e (manifest version 4). That=E2=80=99s a fundamental limitation of old software being unable to deal with new formats in general. One way to work around it is to have that old =E2=80=98guix=E2=80=99 operat= e on a fresh profile (thus it=E2=80=99ll be version 3): rm -f /tmp/old-stuff guix time-machine --commit=3D7e8e070 -- package -i hello -p /tmp/old-stuff or, better yet, to use =E2=80=98guix shell=E2=80=99 or =E2=80=98guix enviro= nment=E2=80=99: guix time-machine --commit=3D7e8e070 -- \ environment --ad-hoc hello -- hello I=E2=80=99m closing this bug. Thanks, Ludo=E2=80=99.