From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id AKu2Ed5I7V5GXwAA0tVLHw (envelope-from ) for ; Fri, 19 Jun 2020 23:23:10 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id aA6LDd5I7V5dFgAAB5/wlQ (envelope-from ) for ; Fri, 19 Jun 2020 23:23:10 +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 C5244940223 for ; Fri, 19 Jun 2020 23:23:09 +0000 (UTC) Received: from localhost ([::1]:56148 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jmQLk-0000rs-P6 for larch@yhetil.org; Fri, 19 Jun 2020 19:23:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54504) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jmQLe-0000rZ-2M for bug-guix@gnu.org; Fri, 19 Jun 2020 19:23:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:45457) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jmQLd-0007cz-QD for bug-guix@gnu.org; Fri, 19 Jun 2020 19:23:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jmQLd-00024h-Ko; Fri, 19 Jun 2020 19:23:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#41908: guix time-machine fails; XXXX is not related to introductory commit of channel 'guix' Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 19 Jun 2020 23:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41908 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Jan Nieuwenhuizen Received: via spool by 41908-submit@debbugs.gnu.org id=B41908.15926089487933 (code B ref 41908); Fri, 19 Jun 2020 23:23:01 +0000 Received: (at 41908) by debbugs.gnu.org; 19 Jun 2020 23:22:28 +0000 Received: from localhost ([127.0.0.1]:57003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmQL6-00023t-7b for submit@debbugs.gnu.org; Fri, 19 Jun 2020 19:22:28 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:34592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jmQL3-00023f-Tb for 41908@debbugs.gnu.org; Fri, 19 Jun 2020 19:22:27 -0400 Received: by mail-wm1-f65.google.com with SMTP id u26so9708349wmn.1 for <41908@debbugs.gnu.org>; Fri, 19 Jun 2020 16:22:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding; bh=FZTFa5zQjcbyt89au4L+UpDdk5eSC0zBcP9QlJfim5U=; b=HjA49Yt+J1rXyMOchIToidyFQuccmQlo0i94UAqM9+QAY6VMfbuhQWUfPI/xx3kJo7 EThYvq4H83U4KkwHddCBJub4gMqzy/KpOAoupNjLRg5Z6qotdDxxP5GKD6VGgU02+8Wk 6z8g1VcoQ2R/TC2mqez232+Ag/cH7/STpuY9q//C5WZrfOKIgyPpjbsmjgd3DV0sLb/u bu32ZGQcROIWboSV21oT+6JRPH051EvAdSs3A1lzILEramy4xsnoSFQZgi52hK+vTzbS Aeq5ImmojPJ+0yi7vG7RFAsizuT9IU3hqjkTXotDulW4GKZ6ShO8b0Jt0zVOaUhyVDlr Buyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=FZTFa5zQjcbyt89au4L+UpDdk5eSC0zBcP9QlJfim5U=; b=h5sXUn1r0O1PD/IE8QwIoX9BaoU4l7Ii22KaDYDOwog8fMM6gLmStZC+i1mligeQZy odRHoh0Tk6A9TM6KuBNcvv2/+SXSYLcAzocbB6CWH0D4lFvBfkE3/aQnJPgAPFlsONFb tBMq5/XsCBjShCKCIi10rVI1xUwV9Xr7zKzFEE3fKLlCH2fMm1QtF2jYLPmOtdlF19QO LwxF0wJzs3SSDodEiRx3OcPSw2uKRsWAaFi2AdArwl9tDaFcqS08ORCvkzp9ZERXOo8Q TZ+SEZ87L9bmFnsGPnGUWCWeYepdwjVnCj175xsNfNhBBTaUo2sfVWH8C72tG8kQmVz5 UBZw== X-Gm-Message-State: AOAM5303daMXGj+zOffPviiXL4i1Aug2+8qI9Mb5BhdUBGFgAesBKyA6 vuWoJoW74lUdWF25YsjY7cY= X-Google-Smtp-Source: ABdhPJxM3U+7hboR8pT+s3+44YYCm2cHdGheP/Y/VH4feETJMYBmmBz8/9v1Sfs++A96sYUnKIpHqA== X-Received: by 2002:a1c:a385:: with SMTP id m127mr5639582wme.112.1592608939764; Fri, 19 Jun 2020 16:22:19 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id l1sm9079757wrb.31.2020.06.19.16.22.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jun 2020 16:22:18 -0700 (PDT) From: zimoun In-Reply-To: <87366qeovy.fsf@gnu.org> References: <87blli11pi.fsf@gnu.org> <87366qeovy.fsf@gnu.org> Date: Sat, 20 Jun 2020 01:22:17 +0200 Message-ID: <86366qtzdi.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 41908@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=gmail.com header.s=20161025 header.b=HjA49Yt+; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=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: 0.09 X-TUID: cf9x3d2MKxI0 Hi Ludo, On Fri, 19 Jun 2020 at 23:17, Ludovic Court=C3=A8s wrote: > (+Cc: Marius.) Not sure you +CC'ed Marius. So I did. > I think =E2=80=98commit-relation=E2=80=99 is right: the two commits are u= nrelated. > > AIUI, commit 36640207c9543e48cd6daa92930f023f80065a5d was made on master > (May 29) after commit 9edb3f66fd807b096b48283debdcddccfea34bad (May > 26). Thus, they really existed in different branches, and they=E2=80=99re > unrelated. > > So we probably need to choose another introductory commit, one on > =E2=80=98master=E2=80=99, and that has to be the merge commit for =E2=80= =98staging=E2=80=99 > (8ab70bae52f8d4b6356ec3b8a88cebf9debe8520, June 13!). > > That sucks because that means that any branch forked before that is not > mergeable. That includes at least =E2=80=98core-updates=E2=80=99 (but th= ere are few > commits there, so it can be rebased, I think.) > > I don=E2=80=99t think we can relax the relation check with the introducto= ry > commit or we=E2=80=99d allow jumping anywhere. I do not know if I add noise but below what I observed and it is not what I am expecting. For the record, the commit history. Maybe I misread, well I think the first 2 commits used for pulling and the 5 others used for time-machine are/were each on the same branch, i.e. they are related (direct path), and the 2 groups (pull vs time-machine) are/were not in the same branch. And I do not think the issue comes from the branching. --8<---------------cut here---------------start------------->8--- 559491ea5b * gnu: Transmission: Clean up the package definition. e7a7a483bc * gnu: papirus-icon-theme: Update to 20200602. [...] 41a2d6a8b9 * gnu: emacs-evil: Update to 1.14.0. [...] e70e097882 * size: Document that positional arguments can be store items. [...] b56cbe8974 * syscalls: Properly match %HOST-TYPE. 36640207c9 * quirks: Build 'compute-guix-derivation' modules with 2.2 when = needed. 60b81ec2f3 * gnu: emacs-2048-game: Update home page. --8<---------------cut here---------------end--------------->8--- This first sequence appears expected: --8<---------------cut here---------------start------------->8--- guix pull --commit=3De7a7a483bc -p /tmp/a cat ~/.cache/guix/authentication/channels/guix cat: /home/simon/.cache/guix/authentication/channels/guix: No such file or = directory /tmp/a/bin/guix time-machine --commit=3D36640207c9 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Authenticating channel 'guix', commits 9edb3f6 to 3664020 (664 new commits)= ... cat ~/.cache/guix/authentication/channels/guix ;; List of previously-authenticated commits. ("36640207c9543e48cd6daa92930f023f80065a5d") /tmp/a/bin/guix time-machine --commit=3Db56cbe8974 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Authenticating channel 'guix', commits 9edb3f6 to b56cbe8 (1 new commits)... cat ~/.cache/guix/authentication/channels/guix ;; List of previously-authenticated commits. ("b56cbe8974c328a6c7bc28906478ef1b191ada4c" "36640207c9543e48cd6daa92930f023f80065a5d") --8<---------------cut here---------------end--------------->8--- Then this one is not for me: --8<---------------cut here---------------start------------->8--- /tmp/a/bin/guix time-machine --commit=3D60b81ec2f3 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guix time-machine: error: '60b81ec2f324c18d026e9ae05199493bc644960b' is not= related to introductory commit of channel 'guix' /tmp/a/bin/guix time-machine --commit=3Db56cbe8974 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guix time-machine: error: 'b56cbe8974c328a6c7bc28906478ef1b191ada4c' is not= related to introductory commit of channel 'guix' /tmp/a/bin/guix time-machine --commit=3D36640207c9 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guix time-machine: error: '36640207c9543e48cd6daa92930f023f80065a5d' is not= related to introductory commit of channel 'guix' --8<---------------cut here---------------end--------------->8--- Why I cannot go to 60b81ec2f3? I mean I cannot go before the first time-machine I did which is unexpected for me. Why I cannot re-do the same time-machine twice? I pull again but it is not the point. :-) --8<---------------cut here---------------start------------->8--- guix pull --commit=3D559491ea5b -p /tmp/b cat ~/.cache/guix/authentication/channels/guix ;; List of previously-authenticated commits. ("b56cbe8974c328a6c7bc28906478ef1b191ada4c" "36640207c9543e48cd6daa92930f023f80065a5d") /tmp/b/bin/guix time-machine --commit=3D36640207c9 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guix time-machine: error: '36640207c9543e48cd6daa92930f023f80065a5d' is not= related to introductory commit of channel 'guix' /tmp/b/bin/guix time-machine --commit=3D41a2d6a8b9 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... Authenticating channel 'guix', commits 9edb3f6 to 41a2d6a (7 new commits)... cat ~/.cache/guix/authentication/channels/guix ;; List of previously-authenticated commits. ("41a2d6a8b9294a6eb8e97aaefd569e755f5f461e" "b56cbe8974c328a6c7bc28906478ef1b191ada4c" "36640207c9543e48cd6daa92930f023f80065a5d") /tmp/b/bin/guix time-machine --commit=3De70e097882 -- help Updating channel 'guix' from Git repository at 'https://git.savannah.gnu.or= g/git/guix.git'... guix time-machine: error: 'e70e097882699865f63eabc5fb29b4fe4468a97b' is not= related to introductory commit of channel 'guix' --8<---------------cut here---------------end--------------->8--- Well, again it is not expected for me that 36640207c9 is not reachable even it is already authenticated. But it is similar than previously, I guess. However, because 41a2d6a8b9 is descendant, then it is reachable. The surprise to me is that e70e097882 which is in direct relation between the two authenticated commits 41a2d6a8b9 and b56cbe8974 is not reachable. BTW, from a security perspective, it is easy to cheat by removing some commits so the file ~/.cache/guix/authentication/channels/guix should be protected: read-only and only writable by the daemon. Cheers, simon