GNU bug report logs

#76660 Downgrade prevention triggers erroneously with 'guix pull'

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #51 received at 76660@debbugs.gnu.org (full text, mbox, reply):

Received: (at 76660) by debbugs.gnu.org; 10 Mar 2025 19:48:04 +0000
From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 10 15:48:04 2025
Received: from localhost ([127.0.0.1]:39927 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces@debbugs.gnu.org>)
	id 1trj6Z-0005N1-Rm
	for submit@debbugs.gnu.org; Mon, 10 Mar 2025 15:48:04 -0400
Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:59887)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.84_2) (envelope-from <zimon.toutoune@gmail.com>)
 id 1trj6R-0005LM-Au
 for 76660@debbugs.gnu.org; Mon, 10 Mar 2025 15:47:55 -0400
Received: by mail-wm1-x32c.google.com with SMTP id
 5b1f17b1804b1-43cef0f03cfso11882715e9.3
 for <76660@debbugs.gnu.org>; Mon, 10 Mar 2025 12:47:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1741636069; x=1742240869; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=BB9oxFADUq/KB+bE2drD13JEwyR/KenkbwulhG8XSVw=;
 b=Eown/SlW9nLjV0w5m+M0fpWlRto2g7f4FqNnZkGsPxg6YWL81q14ZFfdPltAr7Vrmq
 CJQ3rvfS5NBWWPzBFQ9KOaMMCg4UBGJPoONUqmyQzF6cWOtUmxoON2b5oOBRysIbIxfE
 54xnfCOH9u9mJH87bb1luMYGQfI2TTzmRgfBH9Meb7dnNhE4T9DG4Qf1JPl9HNUkPxbO
 N4kAlmU6d5WftCrBIH9+WkRRucsZ01PtEk4rqaxCj6kiNfoyFelIrbnLU/u+PL7EamzX
 BeBx1/4QIq01sCnvDKdz2y5xv5pN+bRCptuDiCsjrdrLGnSV8TyEgtpZ9TYInzQR/+fl
 E8pg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1741636069; x=1742240869;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=BB9oxFADUq/KB+bE2drD13JEwyR/KenkbwulhG8XSVw=;
 b=OStZXtrWlexYAti60Tw1gFj8K5JFac+0+vrtFMGpk8E39hUi7tWPbfIgsnKn9hnBuO
 UWoNlSLQ9UKtazSdXV0fd3Wg6Uiy5hP5VzusJN3uEYknRqEUEDrWrzmgEwQCQxPZCrvY
 oeqMERFUCwXHOt2ZATOpvf9n4oL3y4JBLQ/994ZBJn0XiTM4I9q0QYy3Qb0JJGR3Fdzg
 Ofu+84x8tK3yQI9YIeAcB3uL3/eQARUo4zFDdrumsEhFBgHx8kfCM/9zsukQ5uIJinwd
 PBBisWEf3zF5QmUw9yJMWI1lzdqrE5yyWxE/PKnvYxbRgHpZLZAdU/+f+UtIeu7nEGXA
 bS8g==
X-Forwarded-Encrypted: i=1;
 AJvYcCVml6h6qjkzVdBArvnhc1bbEQQQV/H0Uu2IPxRVU3SGzHISf4BHHCZAZFHdTicDXcy9vA4Ubw==@debbugs.gnu.org
X-Gm-Message-State: AOJu0YzM9+ZrSPbMCxcPziyO5+b1LF7ouzOpYoXin9A/NDNLAxEXVgHO
 8EE93l26ekbTbYpm7HYg0g9L9XsrSs78Lf+rl8RftqIHDgKLcWUi00u8Aw==
X-Gm-Gg: ASbGncuICpSGXadOXsEQnp/BcMq7SrYPXE6hy6hQloBz7+MTomHCgP93Ysd9Nm8F42Q
 KWrTFRCSIaDxh6BXVK+L1o9kk3fczSEcEjmI2l2/+X7rpaVFXuIq9lU1Wq0Oy+zrMTcsqbHx0tX
 o6M4DH7dRR7xpmAZJikgXF0wCQjiV3S6AUQgMvw3J4ero4gCrP17ON/UqYKiriabGI/CGvkm782
 4Dh6kmi5jUQrM+hPzTKQgyaNFTUF4zCMqTIpK/Eizzoz2/j9deENRUolKDZP5SNdSE9mdy6Qzu0
 4G6NLiEJAw2x+xoHBPBpa14IoHOVz03emeGpfjRFeq5ozQwoWoIvTm5R81quOBXmKJhlyCAsIdC
 ahq/BrIJMf4mqwQiN98kDJW29QzbunA==
X-Google-Smtp-Source: AGHT+IF4ceXmUE9VYELRPxzfNcYtrBdf6AaGKYUyUdJh/f+FbZlSBWnoqfNLpEacp2EckurrumMIlQ==
X-Received: by 2002:a7b:ca4c:0:b0:43c:eb00:50eb with SMTP id
 5b1f17b1804b1-43ceb0054a9mr75202505e9.5.1741636069083; 
 Mon, 10 Mar 2025 12:47:49 -0700 (PDT)
Received: from lili (roam-nat-fw-prg-194-254-61-45.net.univ-paris-diderot.fr.
 [194.254.61.45]) by smtp.gmail.com with ESMTPSA id
 5b1f17b1804b1-43ce5c35709sm96816765e9.19.2025.03.10.12.47.48
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 10 Mar 2025 12:47:48 -0700 (PDT)
From: Simon Tournier <zimon.toutoune@gmail.com>
To: Ludovic Courtès <ludo@gnu.org>, Tomas Volf <~@wolfsden.cz>
Subject: Re: bug#76660: current guix pull doesn't authenticate
In-Reply-To: <87wmcxot8z.fsf@gnu.org>
References: <alpine.DEB.2.21.2503011134420.24671@marsh.hcoop.net>
 <Z8Sog2wmaP2rT0IT@jasmine.lan> <87mse3jlml.fsf@wolfsden.cz>
 <Z8TgDzBDgv5UPBUJ@jasmine.lan> <875xkrj8vg.fsf@wolfsden.cz>
 <87wmcxot8z.fsf@gnu.org>
Date: Mon, 10 Mar 2025 20:46:32 +0100
Message-ID: <87zfhshdnr.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-Debbugs-Envelope-To: 76660
Cc: Jack Hill <jackhill@jackhill.us>, 76660@debbugs.gnu.org,
 Leo Famulari <leo@famulari.name>
X-BeenThere: debbugs-submit@debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -1.0 (-)
Hi,

On Mon, 10 Mar 2025 at 15:27, Ludovic Courtès <ludo@gnu.org> wrote:

>> I expect the root cause to be the same as in 66268.  (Man, is it over an
>> year already?  The time sure does fly.)
>
> It looks like it!  Terrible that such a serious bug didn’t triaged
> appropriately.

Somehow, the fix seems to rely on “git merge-base --is-ancestor” for
implementing “commit-relation”?

Since “build: Add dependency on Git” commit
f651a359691cbe4750f1fe8d14dd964f7971f91 from Sep 26 2023 we can assume
Git is available by the code that run “commit-relation”, no?

And, to my knowledge, the implementation relying on “git merge-base
--is-ancestor” does not have the problem, right?

Last cherry on the top, from [1], the implementation relying on “git
merge-base --is-ancestor” is 35x faster.

Win-win, no?  Because the fix for ’eq?’  will introduce performance cost
and ’commit-relation’ will be even slower, no?

Cheers,
simon

1: comparing commit-relation using Scheme+libgit2 vs shellout plumbing Git
Simon Tournier <zimon.toutoune@gmail.com>
Tue, 12 Sep 2023 00:48:30 +0200
id:865y4gz5q9.fsf@gmail.com
https://lists.gnu.org/archive/html/guix-devel/2023-09
https://yhetil.org/guix/865y4gz5q9.fsf@gmail.com




Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Sep 7 12:02:33 2025; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.