From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 cI9oFQP8OmP5WgAAbAwnHQ (envelope-from ) for ; Mon, 03 Oct 2022 17:13:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id +N15FAP8OmN6YwEAG6o9tA (envelope-from ) for ; Mon, 03 Oct 2022 17:13:07 +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 DC751A6B4 for ; Mon, 3 Oct 2022 17:13:06 +0200 (CEST) Received: from localhost ([::1]:49260 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ofN7x-0003oK-Lw for larch@yhetil.org; Mon, 03 Oct 2022 11:13:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:57974) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ofN7u-0003oB-9E for bug-guix@gnu.org; Mon, 03 Oct 2022 11:13:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:52475) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ofN7u-0006xo-17 for bug-guix@gnu.org; Mon, 03 Oct 2022 11:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ofN7t-0000xq-S7 for bug-guix@gnu.org; Mon, 03 Oct 2022 11:13:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#58149: Letting clients warn about old daemons Resent-From: Maxim Cournoyer Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 03 Oct 2022 15:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58149 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: Mathieu Othacehe , Matthieu Haefele , 58149@debbugs.gnu.org, zimoun Received: via spool by 58149-submit@debbugs.gnu.org id=B58149.16648099553673 (code B ref 58149); Mon, 03 Oct 2022 15:13:01 +0000 Received: (at 58149) by debbugs.gnu.org; 3 Oct 2022 15:12:35 +0000 Received: from localhost ([127.0.0.1]:51553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofN7S-0000xB-JC for submit@debbugs.gnu.org; Mon, 03 Oct 2022 11:12:34 -0400 Received: from mail-qt1-f169.google.com ([209.85.160.169]:46046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ofN7Q-0000wy-Kn for 58149@debbugs.gnu.org; Mon, 03 Oct 2022 11:12:33 -0400 Received: by mail-qt1-f169.google.com with SMTP id r20so6490059qtn.12 for <58149@debbugs.gnu.org>; Mon, 03 Oct 2022 08:12:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:from:to:cc:subject :date; bh=SSUzfTvPfUF+0gQNYQCIk9jfO3xH7Ew6dk2am6CJdjw=; b=Hu9V2SfcsCdViQhATNTM9yQjQiLivNNMzMyUrNgkhlfQlFsYS5GCI86jjtTEpeWJHL jbjSObdJmr9WA54g7fzLFFLer7GqWVUNq52eYfaID+saR3XDJHghXJKRfJvoFglKwcp4 txppNSFm1xFChh6Vtr6QNC2nvfZg8MhhYGvY/02i4AE60ug6GCqbvs6LhyRMDqhbOY4G yzWZJSdXk+vjoBJHXbwh2HelanQyM4RSaKhmi77jaGYfK9aUwE7EW2exgTgxOHFGud6U POxarlVjkvpRmFRhGt9yshzCPl4Vu3c3z/85dF5FtCV3Q/mLO23H4mYNspS2hQO57vbM ZSVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from:x-gm-message-state :from:to:cc:subject:date; bh=SSUzfTvPfUF+0gQNYQCIk9jfO3xH7Ew6dk2am6CJdjw=; b=4p1P0l+M53tuz2pkVZP12Dn1MiMw784rFHznjh8gbS/FnewOoDE0Ns5q7bokLqniyk kx54q/HXU6AFgp86uO2gZUuDkNnKOP9hKGUiB1+waTdM6Lre0ViP5pFlbTaYhHatVFnQ ru3p9lvG6doLmFGxhBAYdOBO7kcJ1w16kWlb6XwtfS+NC0eXOHZm8RSmP9iKyy65VBSj Qc1S2qHrpWdtUBqCTum8QARKjOy7OxbqoRZuAP8txNzPQ0dATvyYTSDsTg3Gny7zrXZL 1yHRidMUllhAOX2esfVGQ1e+lqzfsm7GQYo2XuKRWfUNXcSPm2myfStHWc4oXex9eysC TpGw== X-Gm-Message-State: ACrzQf18iIUoEEbKeEo64RHHKclLPpzY1PfKVgfxj5z53QGTx0sZKcNJ t2DEYV2ZPwLG93X5yGw57Ks= X-Google-Smtp-Source: AMsMyM5/7gSlWDNw8T8Yd7om4O49QuMS2aNIcouBvp2H/R8me4Abf76+TPmUwQ02z6XxSfT1EYZJ1A== X-Received: by 2002:a05:622a:190f:b0:35c:c1ef:d2d0 with SMTP id w15-20020a05622a190f00b0035cc1efd2d0mr16732275qtc.469.1664809947052; Mon, 03 Oct 2022 08:12:27 -0700 (PDT) Received: from hurd (dsl-155-139.b2b2c.ca. [66.158.155.139]) by smtp.gmail.com with ESMTPSA id k4-20020ac84784000000b0033b30e8e7a5sm9278831qtq.58.2022.10.03.08.12.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Oct 2022 08:12:26 -0700 (PDT) From: Maxim Cournoyer References: <87mtajb1bz.fsf@gmail.com> <87bkqycndo.fsf@inria.fr> <87h70q9pqh.fsf@inria.fr> <5e2f17b1-c763-c6ce-1223-0a8f6cd3c734@cnrs.fr> <878rm18f7r.fsf@inria.fr> <6765fefb-b632-ac3e-8a82-53904468b471@cnrs.fr> <87sfk51dmv.fsf_-_@inria.fr> Date: Mon, 03 Oct 2022 11:12:25 -0400 In-Reply-To: <87sfk51dmv.fsf_-_@inria.fr> ("Ludovic =?UTF-8?Q?Court=C3=A8s?="'s message of "Mon, 03 Oct 2022 11:04:56 +0200") Message-ID: <87a66dj606.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (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-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664809987; 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=SSUzfTvPfUF+0gQNYQCIk9jfO3xH7Ew6dk2am6CJdjw=; b=id6ciCxExSv0AXo1KT+louWWmNHbGt92B3Q6j9qxIj14jdl7gA4b+vbvDBWJ+qpiJT/ZY6 64JjTent0VNjgLhstU3SZSOHsx9BFJvz10MoZ2VDf6b/wYpIlUEe8PVAVtLeb1+j5uSOZp VXqABe0TNUFlOhz4QUeNaCDN6f+FQkJZ0DxWydkOyxG7FYBp43Ht6jtwYmUSCnvl/ObOq5 3klW/zE4oqOzg0BJjt3pvUhbRaYgX6blPkZIZQyYzNpCj+vnCDMTRzj+Jfqxg3nYVUUW9W mjRYwE/T6OsUky/Fx/GaNUu9wGOThfu9gwwbrt0CxhGRnpEn9aNc2K1o0r/Qvw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664809987; a=rsa-sha256; cv=none; b=sdCKPwRu0J/IDkMqQrKdVMH1xCAaeXOwydjPwwJMfvebUwRbvtfdU5IErWDyg7eKA1uzvn Ryo40nvG+c7c4F92V59hduToF8NPDMW/zO5liCfgLghkgvO52nitzqggo9S+bZcag2St5R e2/MuyIMOAXnj5QO/q99y97blm+ylQxYIHCEJ8MTEkEUirZLasckIICbmpJ3hKVJWigq+e G8mo/kUuuXwTlxxuWtbsKED84OmxeL94BnPaRxjBXMuju3TbMkvZ5ee8bJqzP8hJo8WIlH BQkhI0nR58XabJkyQfpVGgCZS1ThyA2NNKA/Ya7vXTyeEmVeUIL7QqY2a0eWXg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Hu9V2Sfc; 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: 7.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=Hu9V2Sfc; 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: DC751A6B4 X-Spam-Score: 7.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: 3C2UMvzTrP/x Hi, Ludovic Court=C3=A8s writes: > Hi, > > (Cc: Mathieu O. + Maxim.) > > Matthieu Haefele skribis: > >> I worked intensively with guix this summer, I did not get any >> deprecation warnings, I am quite sure. And I still do not get any. So >> might be a good idea to check the deprecation machinery. >> >> (base) mhaefele@mdlspc113:~ $ guix shell python-numpy python coreutils >> (base) mhaefele@mdlspc113:~ $ echo $GUIX_ENVIRONMENT >> /gnu/store/cy8y10jfnbq5y2r16i13q04h1lii428a-profile > > Indeed. I=E2=80=99ve just realized that commit > f9c62b23cc88541756656b3ec602ce987828d906, which added that deprecation > warning, will actually only fire with daemons dating back from before > 2018 (the date at which =E2=80=98PROTOCOL_VERSION=E2=80=99 was last updat= ed in > =E2=80=98worker-protocol.hh=E2=80=99). Going back to this issue at hand,= it won=E2=80=99t > report a daemon that lacks lzip support. The commit to the daemon that bumped that protocol is dated Oct 15 2018: --8<---------------cut here---------------start------------->8--- commit 6ef61cc4c30e94acbd7437f19c893f63a7112267 Author: Ludovic Court=C3=A8s Date: Mon Oct 15 22:40:35 2018 +0200 daemon: Support multiplexed build output. =20=20=20=20 [...] (%protocol-version): Bump to #x163. * tests/store.scm ("multiplexed-build-output"): New test. --8<---------------cut here---------------end--------------->8--- Which would have gotten distributed in a pullable 'guix' with: --8<---------------cut here---------------start------------->8--- commit 532f92c8f39ef8fa9441bf0840ae642016fac7a5 Author: Ludovic Court=C3=A8s Date: Mon Oct 15 23:54:20 2018 +0200 gnu: guix: Update to f9a8fce. =20=20=20=20 * gnu/packages/package-management.scm (guix): Update to f9a8fce. --8<---------------cut here---------------end--------------->8--- That indeed doesn't correspond to the time when lzip was introduced. > Mathieu, Maxim: I think we need a finer-grain mechanism here, or maybe a > new builtin that would let a client ask the daemon for supported > features. That'd be nice indeed. Thanks, --=20 Maxim