From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 0POXA7dAyGIxRwAAbAwnHQ (envelope-from ) for ; Fri, 08 Jul 2022 16:35:35 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id qLmGA7dAyGKI2wAAauVa8A (envelope-from ) for ; Fri, 08 Jul 2022 16:35:35 +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 B05163F525 for ; Fri, 8 Jul 2022 16:35:34 +0200 (CEST) Received: from localhost ([::1]:52132 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o9p4v-00013v-JK for larch@yhetil.org; Fri, 08 Jul 2022 10:35:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54190) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o9p4P-00013V-VK for bug-guix@gnu.org; Fri, 08 Jul 2022 10:35:01 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:39062) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o9p4P-000887-M2 for bug-guix@gnu.org; Fri, 08 Jul 2022 10:35:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o9p4P-00066L-Jw for bug-guix@gnu.org; Fri, 08 Jul 2022 10:35:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#56441: Time travel doesn't resist profile format changes Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 08 Jul 2022 14:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56441 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Ricardo Wurmus , 56441@debbugs.gnu.org Received: via spool by 56441-submit@debbugs.gnu.org id=B56441.165729086023401 (code B ref 56441); Fri, 08 Jul 2022 14:35:01 +0000 Received: (at 56441) by debbugs.gnu.org; 8 Jul 2022 14:34:20 +0000 Received: from localhost ([127.0.0.1]:32959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9p3j-00065N-Qd for submit@debbugs.gnu.org; Fri, 08 Jul 2022 10:34:20 -0400 Received: from mail-wr1-f44.google.com ([209.85.221.44]:36854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o9p3h-000659-Qk for 56441@debbugs.gnu.org; Fri, 08 Jul 2022 10:34:18 -0400 Received: by mail-wr1-f44.google.com with SMTP id o4so30826938wrh.3 for <56441@debbugs.gnu.org>; Fri, 08 Jul 2022 07:34:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=7ppGH4EMF/qgpYbFc84pFydAwH8/H/RAZXOBbGI5Y6U=; b=ksS1zV6RsMfZK88yyS/BKiy+cHFrqr5447uyeXkdJ1xG18+wZ6Bzk1ZEe98mbh1MzC tFqAFBewFBn2pZj2FQrtdxIF807VBnsq37aoeGD8y2tx50OVngYsi7TaTLMjFDLPY/GU nEy9oxbpJ8G/iz0/FxaX9xMl/bkHnoRbOAyJBAxmpSIHFo3GuoEkZy2wNsOxuhULeyjc YnU0pNF8WHPOTY9i6y0abFgUxeNOjY3yq6/XAvZlasm85Gz5F5Uragk06uiKpVzmGpXo mKW7BJwrfbwYUdDjuNaXz2WXE5Y6Kyq7i57Xw7rw2dikC4kfFTF0As9XMQz23o9ZWuO3 gUSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=7ppGH4EMF/qgpYbFc84pFydAwH8/H/RAZXOBbGI5Y6U=; b=YnbVWxwz5+rKoFH7JycDc03D2wvN3ipCK7uffnULqlEZkSWQeKeEyZtWvdqZ9RHJm6 S+SViLQZftsN7RqhT9aBX5db2v+T6O9p7IM+RUGeYXEFbDkwC/01hxjQD03folhQeKRp p5nbW8bO+rm+77jJicOgZU305FimwqaDQmOxwr6pGhPGAl/6ycvb7xkYgDtBr43OcUxI zBu29IVqejzNNQMafIPDSB+GrMxhQ4xjYLIW8GhK+zOTmROgLGKppcYsY8xGMk0REPQ9 fmKZzQhfu9FhzJ8txA5lyC1/2RVxQaomzPr+GiansV6vlJ2y5TqqFq+RYSToJQKjyniB aLeg== X-Gm-Message-State: AJIora81gCpGRy1hcl6JWgaIbCODfKBwrZUSRM+0UzH9WVHZjtoIIs8A ExO1kOfpJ/nhwDfBP7MgF/UwHDbKEB0= X-Google-Smtp-Source: AGRyM1tSb7xJkgYvz9RITDXEqYHOkhkV9X9XnpbAQZKQsybD4c2g2aujmvfZRdj5HnltbT0yg//21w== X-Received: by 2002:a5d:5444:0:b0:21d:6497:3210 with SMTP id w4-20020a5d5444000000b0021d64973210mr3605996wrv.587.1657290851833; Fri, 08 Jul 2022 07:34:11 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id q13-20020adff50d000000b0021d64a11727sm16438533wro.49.2022.07.08.07.34.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Jul 2022 07:34:11 -0700 (PDT) From: zimoun References: <867d4oq3gr.fsf@gmail.com> <87wncozun2.fsf@elephly.net> <87sfncztuq.fsf@elephly.net> <87fsjcx9yc.fsf@gnu.org> <87zghjx557.fsf@gnu.org> Date: Fri, 08 Jul 2022 16:34:06 +0200 In-Reply-To: <87zghjx557.fsf@gnu.org> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Fri, 08 Jul 2022 12:36:36 +0200") Message-ID: <875yk7brmp.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657290934; 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=7ppGH4EMF/qgpYbFc84pFydAwH8/H/RAZXOBbGI5Y6U=; b=DYgC3wbjzAN6aL3TpAwlpuIkpldPIjy0YrB23vlX1fQuqUCSJ4o6N2HvNnY0/tA4qHF8gy CJmXcnfbgQDd1uSnLaAeTueHi45nnCHNFUjqVF5b9Q3b78fnrw5DE03Z0lmsILTpaBpmns GAz7lkVB3sUZIQkxE6PwLgkK8ytENAkcs9ydYct3Z5eZvABYjxiLSHqhdgNCyXDmj/lvBg uPxNPN9UGErBtKfQ1Xj8ZWNNBBROfWNTA3C97FtdWdA+TbV7AlgD3Rx4A+oIfTvi2YDJWf 89x5JEj3dPOylR4PhlGt6vRKVTrBvQXJGYlDcoZh7FH0Hn4Dv13SNcwmxl66DA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657290934; a=rsa-sha256; cv=none; b=H08XD/BSsPmBtkpPttG5MwigUccBv+J1FroRWyLJpaiMUbLhhJVOEp0hYu8Du2w16H7gjY j1w1Xo3FTvu4dxlk8EjEntTiEbbW7mtPLjqqK+eZfoop+1zcO7AyIxj2fSrL8BM2T+29Fr GH3hMCkputHwE4K0dXiZjZbMz2dDzvSLhYf8swq+at261je27VTYJCsXPpd1o3aLh89SpZ eGfhCs9i4jI4r8lflsbtRjEtYOk4RzQS7vKVhP7XbadeFnUPZTMwNIWTkSklytRdBj9TVb Q4gabGC970epxvGWrGJWPOIksxtO9YmrFl/ov8NGicBsBbM0ANo5GV0IaE0jNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ksS1zV6R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Spam-Score: 5.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=ksS1zV6R; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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" X-Migadu-Queue-Id: B05163F525 X-Spam-Score: 5.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: w27T+b5JHR50 Hi, On ven., 08 juil. 2022 at 12:36, Ludovic Court=C3=A8s wrote: > Hi, > > Ludovic Court=C3=A8s skribis: > >> Another option (thinking out loud): >> >> =E2=80=A2 in =E2=80=98package-cache-file=E2=80=99, unconditionally gen= erate a v3 profile (we >> could add a =E2=80=98version=E2=80=99 field to etc.); >> >> =E2=80=A2 likewise in =E2=80=98channel-instances->derivation=E2=80=99. > > The patches below do that. As discussed on IRC, it=E2=80=99s not pretty = but > it=E2=80=99s pragmatic. > > Tested with: > > ./pre-inst-env guix time-machine \ > --commit=3D85a5110de79f4fe9fd822ede3915654ee699d6c5 -- describe > > How does that sound? It sounds good! Here a check from v1.3 to v0.16. --8<---------------cut here---------------start------------->8--- $ for ci in a0178d34f582b50e9bdbb0403943129ae5b560ff \ a099685659b4bfa6b3218f84953cbb7ff9e88063 \ d62c9b2671be55ae0305bebfda17b595f33797f2 \ d68de958b60426798ed62797ff7c96c327a672ac \ 6298c3ffd9654d3231a6f25390b056483e8f407c \ 4a0b87f0ec5b6c2dcf82b372dd20ca7ea6acdd9c; do ./pre-inst-env guix time-machine --commit=3D$ci -- describe done guix a0178d3 repository URL: https://git.savannah.gnu.org/git/guix.git commit: a0178d34f582b50e9bdbb0403943129ae5b560ff guix a099685 repository URL: https://git.savannah.gnu.org/git/guix.git commit: a099685659b4bfa6b3218f84953cbb7ff9e88063 guile: warning: failed to install locale guix d62c9b2 repository URL: https://git.savannah.gnu.org/git/guix.git commit: d62c9b2671be55ae0305bebfda17b595f33797f2 guile: warning: failed to install locale guix d68de95 repository URL: https://git.savannah.gnu.org/git/guix.git commit: d68de958b60426798ed62797ff7c96c327a672ac guile: warning: failed to install locale guix 6298c3f repository URL: https://git.savannah.gnu.org/git/guix.git commit: 6298c3ffd9654d3231a6f25390b056483e8f407c guile: warning: failed to install locale hint: Consider installing the `glibc-utf8-locales' or `glibc-locales' packa= ge and defining `GUIX_LOCPATH', along these lines: guix package -i glibc-utf8-locales export GUIX_LOCPATH=3D"$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. guix 4a0b87f repository URL: https://git.savannah.gnu.org/git/guix.git commit: 4a0b87f0ec5b6c2dcf82b372dd20ca7ea6acdd9c --8<---------------cut here---------------end--------------->8--- Cheers, simon