From unknown Fri Jun 20 18:24:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62047 <62047@debbugs.gnu.org> To: bug#62047 <62047@debbugs.gnu.org> Subject: Status: [PATCH 0/2] '--with-input' & co. no longer replace hidden packages Reply-To: bug#62047 <62047@debbugs.gnu.org> Date: Sat, 21 Jun 2025 01:24:31 +0000 retitle 62047 [PATCH 0/2] '--with-input' & co. no longer replace hidden pac= kages reassign 62047 guix-patches submitter 62047 Ludovic Court=C3=A8s severity 62047 normal tag 62047 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 07:01:45 2023 Received: (at submit) by debbugs.gnu.org; 8 Mar 2023 12:01:45 +0000 Received: from localhost ([127.0.0.1]:47934 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsUK-0007Uv-Pt for submit@debbugs.gnu.org; Wed, 08 Mar 2023 07:01:45 -0500 Received: from lists.gnu.org ([209.51.188.17]:53352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsUI-0007Um-DE for submit@debbugs.gnu.org; Wed, 08 Mar 2023 07:01:43 -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 1pZsUI-0000pi-65 for guix-patches@gnu.org; Wed, 08 Mar 2023 07:01:42 -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 1pZsUH-0005A5-Nz; Wed, 08 Mar 2023 07:01:41 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=+ZWTvvq/auLTowjCW4r6PFVlQ84K+6GfwkXZ0F5WCDI=; b=iFki1QH7rNS3bv 0GEKr0136hT49QDZmZXWAUq4PMzdC4b/UTHcVVuO/+L3vwSPVNmxwmZPHeTonVE7QM7SOy16cmrb/ H3pJE4Hdak48xH+2eMrImdba4CI9Dg5z0vDa82Hj85JphBmho/uYavcPqfw2Jn/WLsEfw7KakURrG /dMV7EZLnlIpJk7SdbCRDgLNSCZ1Z2gwgyFkBlqj/8BCH2zHJ/9pP5gcjK2tjzw7GJrcyUz+m1ctQ oGGTzq9aqyDUUqVE8jwwFcwnns/MrwxiSu+UQWYMfT2BCoGKykGp6/ZvN8Otn57AQMP6vNNC7DUpC TRuT5Yzp7Yx1E/i2Y9/A==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZsUH-0005he-5N; Wed, 08 Mar 2023 07:01:41 -0500 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: guix-patches@gnu.org Subject: [PATCH 0/2] '--with-input' & co. no longer replace hidden packages Date: Wed, 8 Mar 2023 13:01:25 +0100 Message-Id: <20230308120125.17560-1-ludo@gnu.org> X-Mailer: git-send-email 2.39.1 X-Debbugs-Cc: Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hello, This change makes things like: guix build --with-input=guile=guile-next guix -n --no-grafts more useful and tractable. Low-level rewrites are still possible for packages not marked as hidden in 'commencement.scm', such as glibc: guix build --with-latest=glibc hello -n Thoughts? Ludo'. Ludovic Courtès (2): packages: Use SRFI-71 instead of SRFI-11. packages: 'package-input-rewriting/spec' ignores hidden packages. doc/guix.texi | 21 ++++++++++++--------- guix/packages.scm | 14 ++++++++------ tests/packages.scm | 20 +++++++++++++++++++- 3 files changed, 39 insertions(+), 16 deletions(-) base-commit: 0a37921d851b94aef6900214098dc5bd62b46e26 -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 07:04:02 2023 Received: (at 62047) by debbugs.gnu.org; 8 Mar 2023 12:04:02 +0000 Received: from localhost ([127.0.0.1]:47947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsWX-0007ZA-BE for submit@debbugs.gnu.org; Wed, 08 Mar 2023 07:04:01 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsWV-0007Yk-6s for 62047@debbugs.gnu.org; Wed, 08 Mar 2023 07:03:59 -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 1pZsWP-0005hg-Vn; Wed, 08 Mar 2023 07:03:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=toi1Ec1hUCg5dRqCER+h+Qqlm2IoUN1HZi/6xbgmyU0=; b=SWkHFPyD7GRSd7 lD22e8Juiky8BYdq/mmwKmyNQKZEpHzwtWLgrufXCrTlVN1hc8MQwxQtwbFKfNxeQ1mYulXFIs3To iaXAL8y20Qiyu4CzvFszE3v+ZA59i4g7r7w9JK8yIbzSoNQOtvNWb+KtQF6K9H0CUGxTX8vsJkN6m uZFpyNgdTZSO7DIEP+E6EU2fhMp90krY/GIe6U3rY3oUQ1wVNZss4yPYkHfy0zwmOR5KfGsvq3emv iWWqJmOcKmWd1zji8SAHfDw2c45yS+UlFbwceBKl3rRN5zjrkPpm7mXNnblNH8SoAPtOxn+hfHOcp MOST3I+syx+HuNjAxthA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZsWN-0000ne-UN; Wed, 08 Mar 2023 07:03:53 -0500 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 62047@debbugs.gnu.org Subject: [PATCH 1/2] packages: Use SRFI-71 instead of SRFI-11. Date: Wed, 8 Mar 2023 13:03:44 +0100 Message-Id: <20230308120345.17616-1-ludo@gnu.org> X-Mailer: git-send-email 2.39.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62047 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) * guix/packages.scm (package-input-rewriting/spec): Use SRFI-71 'let'. --- guix/packages.scm | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/guix/packages.scm b/guix/packages.scm index 041a872f9d..cd61878bcc 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012-2022 Ludovic Courtès +;;; Copyright © 2012-2023 Ludovic Courtès ;;; Copyright © 2014, 2015, 2017, 2018, 2019 Mark H Weaver ;;; Copyright © 2015 Eric Bavier ;;; Copyright © 2016 Alex Kost @@ -51,10 +51,10 @@ (define-module (guix packages) #:use-module (ice-9 regex) #:use-module (srfi srfi-1) #:use-module (srfi srfi-9 gnu) - #:use-module (srfi srfi-11) #:use-module (srfi srfi-26) #:use-module (srfi srfi-34) #:use-module (srfi srfi-35) + #:use-module (srfi srfi-71) #:use-module (rnrs bytevectors) #:use-module (web uri) #:autoload (texinfo) (texi-fragment->stexi) @@ -1534,8 +1534,7 @@ (define table (fold (lambda (replacement table) (match replacement ((spec . proc) - (let-values (((name version) - (package-name->name+version spec))) + (let ((name version (package-name->name+version spec))) (vhash-cons name (list version proc) table))))) vlist-null replacements)) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 08 07:04:03 2023 Received: (at 62047) by debbugs.gnu.org; 8 Mar 2023 12:04:03 +0000 Received: from localhost ([127.0.0.1]:47949 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsWY-0007ZY-Vk for submit@debbugs.gnu.org; Wed, 08 Mar 2023 07:04:03 -0500 Received: from eggs.gnu.org ([209.51.188.92]:60434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZsWW-0007Yn-Tz for 62047@debbugs.gnu.org; Wed, 08 Mar 2023 07:04:01 -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 1pZsWR-0005i4-NM; Wed, 08 Mar 2023 07:03:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=L0yAQoCGnLkEsnYpZP46rT6FuyYQQnkjtjkd3bhA0d8=; b=FPE3veDy+kWGCWXmbp0e RjRVFEg+UqsP4zJ/DM9AhgZIf2zJcZ1xB/XarirjwTQkopqHAUBQVPivv2ldgq11qwFpK1mkJvYnq 1tOKN8T5TrE9bK3ojl6J5iQrH4ZUP/jj+V/sLNqavOCLeNUdegcwj/aap9qAQWTfimx1AlFrWO9kb iTD75E+e6Jc3Or6ag4zrXyRel2ODhN5T12l2Ht9bpMmk6Kl+kQq7O4VvjwLAEJTZ91/MdpZ8VhH+j 2946EFNo4qUvs0L814JLtkHI+nHVS4THcE8NTqnkJLVYuTAwFM3ckpIrD6d0wZCZ5wynOcoIpYRzf W6Li+4n1eRGgQA==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201] helo=gnu.org) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pZsWQ-0000ne-0p; Wed, 08 Mar 2023 07:03:54 -0500 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= To: 62047@debbugs.gnu.org Subject: [PATCH 2/2] packages: 'package-input-rewriting/spec' ignores hidden packages. Date: Wed, 8 Mar 2023 13:03:45 +0100 Message-Id: <20230308120345.17616-2-ludo@gnu.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230308120345.17616-1-ludo@gnu.org> References: <20230308120345.17616-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62047 Cc: =?UTF-8?q?Ludovic=20Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) The primary motivation is to support things like: guix build guix --with-input=guile=guile-next without triggering a rebuild of (@@ (gnu packages commencement) guile-final) and similar things. It is also consistent with package name resolution on the command line: a package that cannot be named cannot be replaced. * guix/packages.scm (package-input-rewriting/spec)[rewrite]: When P is hidden, return it as-is. * tests/packages.scm ("package-input-rewriting/spec, hidden package"): New test. * doc/guix.texi (Defining Package Variants): Update. (Package Transformation Options): Update '--with-input' example. --- doc/guix.texi | 21 ++++++++++++--------- guix/packages.scm | 7 +++++-- tests/packages.scm | 20 +++++++++++++++++++- 3 files changed, 36 insertions(+), 12 deletions(-) diff --git a/doc/guix.texi b/doc/guix.texi index 6671ba9305..6803512435 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -8331,10 +8331,13 @@ be replaced by name rather than by identity. @deffn {Scheme Procedure} package-input-rewriting/spec @var{replacements} [#:deep? #t] Return a procedure that, given a package, applies the given @var{replacements} to all the package graph, including implicit inputs -unless @var{deep?} is false. @var{replacements} is a list of -spec/procedures pair; each spec is a package specification such as -@code{"gcc"} or @code{"guile@@2"}, and each procedure takes a matching -package and returns a replacement for that package. +unless @var{deep?} is false. + +@var{replacements} is a list of spec/procedures pair; each spec is a +package specification such as @code{"gcc"} or @code{"guile@@2"}, and +each procedure takes a matching package and returns a replacement for +that package. Matching packages that have the @code{hidden?} property +set are not replaced. @end deffn The example above could be rewritten this way: @@ -12664,18 +12667,18 @@ or @code{guile@@1.8}. For instance, the following command builds Guix, but replaces its dependency on the current stable version of Guile with a dependency on -the legacy version of Guile, @code{guile@@2.0}: +the legacy version of Guile, @code{guile@@2.2}: @example -guix build --with-input=guile=guile@@2.0 guix +guix build --with-input=guile=guile@@2.2 guix @end example This is a recursive, deep replacement. So in this example, both @code{guix} and its dependency @code{guile-json} (which also depends on -@code{guile}) get rebuilt against @code{guile@@2.0}. +@code{guile}) get rebuilt against @code{guile@@2.2}. -This is implemented using the @code{package-input-rewriting} Scheme -procedure (@pxref{Defining Packages, @code{package-input-rewriting}}). +This is implemented using the @code{package-input-rewriting/spec} Scheme +procedure (@pxref{Defining Packages, @code{package-input-rewriting/spec}}). @item --with-graft=@var{package}=@var{replacement} This is similar to @option{--with-input} but with an important difference: diff --git a/guix/packages.scm b/guix/packages.scm index cd61878bcc..11c066b292 100644 --- a/guix/packages.scm +++ b/guix/packages.scm @@ -1527,9 +1527,11 @@ (define (cut? p) (define* (package-input-rewriting/spec replacements #:key (deep? #t)) "Return a procedure that, given a package, applies the given REPLACEMENTS to all the package graph, including implicit inputs unless DEEP? is false. + REPLACEMENTS is a list of spec/procedures pair; each spec is a package specification such as \"gcc\" or \"guile@2\", and each procedure takes a -matching package and returns a replacement for that package." +matching package and returns a replacement for that package. Matching +packages that have the 'hidden?' property set are not replaced." (define table (fold (lambda (replacement table) (match replacement @@ -1557,7 +1559,8 @@ (define replacement-property (gensym " package-replacement")) (define (rewrite p) - (if (assq-ref (package-properties p) replacement-property) + (if (or (assq-ref (package-properties p) replacement-property) + (hidden-package? p)) p (match (find-replacement p) (#f p) diff --git a/tests/packages.scm b/tests/packages.scm index f58c47817b..446be6ba52 100644 --- a/tests/packages.scm +++ b/tests/packages.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright © 2012-2022 Ludovic Courtès +;;; Copyright © 2012-2023 Ludovic Courtès ;;; Copyright © 2018 Jan (janneke) Nieuwenhuizen ;;; Copyright © 2021 Maxim Cournoyer ;;; Copyright © 2021 Maxime Devos @@ -1577,6 +1577,24 @@ (define right-system? (match (delete-duplicates pythons eq?) ((p) (eq? p (rewrite python)))))) +(test-assert "package-input-rewriting/spec, hidden package" + ;; Hidden packages are not subject to rewriting. + (let* ((python (hidden-package python)) + (p0 (dummy-package "chbouib" + (build-system trivial-build-system) + (inputs (list python)))) + (rewrite (package-input-rewriting/spec + `(("python" . ,(const sed))) + #:deep? #t)) + (p1 (rewrite p0)) + (bag1 (package->bag p1)) + (pythons (filter-map (match-lambda + (("python" python) python) + (_ #f)) + (bag-transitive-inputs bag1)))) + (match (delete-duplicates pythons eq?) + ((p) (eq? p python))))) + (test-equal "package-input-rewriting/spec, graft" (derivation-file-name (package-derivation %store sed)) -- 2.39.1 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 09 15:15:59 2023 Received: (at 62047) by debbugs.gnu.org; 9 Mar 2023 20:16:00 +0000 Received: from localhost ([127.0.0.1]:53155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paMgB-0004E7-Hi for submit@debbugs.gnu.org; Thu, 09 Mar 2023 15:15:59 -0500 Received: from jpoiret.xyz ([206.189.101.64]:42288) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paMg9-0004Dy-Em for 62047@debbugs.gnu.org; Thu, 09 Mar 2023 15:15:58 -0500 Received: from authenticated-user (jpoiret.xyz [206.189.101.64]) by jpoiret.xyz (Postfix) with ESMTPA id 44DC318530D; Thu, 9 Mar 2023 20:15:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jpoiret.xyz; s=dkim; t=1678392955; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=tGVWQfLFfeelqHzZsB9gNeAZxwCaFKK1LukxUNUxH2A=; b=uGa3GHH2M7g0JaCuZti7D3pgfs2XhZ7KlK5rP+FfPl56CgPcOX4HmKkaAjsQH639CI0eqE o2OkldJIwNUOi2ZoHFbkMITqYV82TsQ/HMfbXmjZy4QNBJD7Praq57ATQSn1aaD3pIGp1Z cxRXNmVje7uLCbNFI3tt56QMz0ak51owRgDCEkDll5AnTnbIUVHC3GAcJfqtEbnnJnSGXH CCeK5xRPF1IAu0EN3rZN2tkQ+bk+v47NRSeNVlT4uxlOzFCyGI8YaqeKxzHmhVQs5pNnoS j61YvBO49lDhQ+AGfqiNluGU6Ek4eunLbFTz6JUmN9pYOxkOdeNvZ76MAEytHg== From: Josselin Poiret To: Ludovic =?utf-8?Q?Court=C3=A8s?= , 62047@debbugs.gnu.org Subject: Re: [bug#62047] [PATCH 0/2] '--with-input' & co. no longer replace hidden packages In-Reply-To: <20230308120125.17560-1-ludo@gnu.org> References: <20230308120125.17560-1-ludo@gnu.org> Date: Thu, 09 Mar 2023 21:15:51 +0100 Message-ID: <87cz5hd6ko.fsf@jpoiret.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Authentication-Results: jpoiret.xyz; auth=pass smtp.auth=jpoiret@jpoiret.xyz smtp.mailfrom=dev@jpoiret.xyz X-Spamd-Bar: / X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62047 Cc: Tobias Geerinckx-Rice , Simon Tournier , Mathieu Othacehe , Ludovic =?utf-8?Q?Court=C3=A8s?= , Christopher Baines , Ricardo Wurmus X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, Ludovic Court=C3=A8s writes: > Hello, > > This change makes things like: > > guix build --with-input=3Dguile=3Dguile-next guix -n --no-grafts > > more useful and tractable. > > Low-level rewrites are still possible for packages not marked > as hidden in 'commencement.scm', such as glibc: > > guix build --with-latest=3Dglibc hello -n > > Thoughts? > > Ludo'. LGTM, and tested fine. Best, =2D-=20 Josselin Poiret --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQHEBAEBCAAuFiEEOSSM2EHGPMM23K8vUF5AuRYXGooFAmQKPncQHGRldkBqcG9p cmV0Lnh5egAKCRBQXkC5Fhcaiv6mDAC2u6HTNaODYCgQrGP38YQHjY71Ekw2qdQ8 H2GYEfKWvOn1YSVQX8ZRMWqwbK1PBEQzvqbtSnMEkUWX1+iv5+z3zVF+3sKsMu/h POU5E+r2bZ+GRFIoYGnJCNueJN+J1Y3rAdP/pLc+J65FrkMrkLdZ4gKMQb2MEzDP ixNtgbWpwqJvcTva4vwFR9mG/otkm5ftOnPp5f4kByB8Bcuu7gzHCTZuc7eb61zx 9lR+4wE5IvrMEeOzbzifyz9ifIylZA50evHirl/54GQtts/XCkx25VDc4W/WVkqj DWt7X8sPWPVbb3vBPzEx23MeI3AvOmZl2n2IQ/cIYeZC2a1fR2ZJBql7PoxHi38b eiOffkMFQgr10Ce9Kg+Sc7ZXyRkMVaVtiQUUsOrfaM53zp4+Tt9QaCwSSxMDPWrA 1/HvTu0oLMUlNMKDW3AxgAOO6D47UjgXXqiR7kEmdp0GslmX7YznaO/Bg0c0EkAm 33an5pJoFoCrxm8JwUyuTog3X5A8LhQ= =lPyj -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 07:09:29 2023 Received: (at 62047) by debbugs.gnu.org; 10 Mar 2023 12:09:30 +0000 Received: from localhost ([127.0.0.1]:53935 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pabYv-0005Wt-GK for submit@debbugs.gnu.org; Fri, 10 Mar 2023 07:09:29 -0500 Received: from mail-wm1-f52.google.com ([209.85.128.52]:39590) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pabYo-0005Vs-5i for 62047@debbugs.gnu.org; Fri, 10 Mar 2023 07:09:22 -0500 Received: by mail-wm1-f52.google.com with SMTP id t25-20020a1c7719000000b003eb052cc5ccso5837957wmi.4 for <62047@debbugs.gnu.org>; Fri, 10 Mar 2023 04:09:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678450156; 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=L6vIBz4Rty+3GOxw1fmRV9M3plVBO2xNOkxXDk5aats=; b=U7w94bJqLa2Q47pPc4tOcjtmDeNgzlhAD9UWIM9h4kIJA7Czi+bYk0aLwmao9e3UBP Byy93zrVXE3nSVDTryctux8AxJyM/g+etjvjz86XuzJ0FzmMdWpUNukNsZrPtgrF4auj aWFOEvWSA1RkSU8MZQrA9CDJhxahkE4aWLPoXk4apehzt6+suikUCbFifiq8zUsZAPu/ HTyzITN2SVjMcYM+OXCSLzzmm8PAtWn9RD5JhOsBiVjcU3n+T0fWUxtGEx3pmx96F3ti heivmeioavhruDfP8zAWoEtckB3Ze7ksnUBugHUBL60o6qI9sgjrcodO9v0UpcnrPoEk iikA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678450156; 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=L6vIBz4Rty+3GOxw1fmRV9M3plVBO2xNOkxXDk5aats=; b=P3H6CklgIp/ZPyPMCPSfF4x4QuZMwe+7noXKDwWsIKgyjsuCGB3XWhsNQ+5ukSZopt McAzHTi6iHO8jzPUzxxQpYnOQgwdPzpGMH/oUjtwWW/7SjsgKCZXzcivzQYrSoyJanPr 4e2Mo7esKyOTvTRB3e1mSrd163uxmzTmJp9o+naUbzv4jYbuMpaYR8YaLtdKODDqv4ym MejEEYYtw04OpAaV2O3AD8OeejSCZ2pgh+imwsQSEz23xVJ85EG9b6emWrFSSWa7QPCU GgOH9OMoOoLFs/un6kL3JiMXVtL7pA82vWWv7I5kfUwLFICfsBFesLGZi7ChD/AREI9u mUfA== X-Gm-Message-State: AO0yUKWqjBSVV8CzneUvl7iwQGvp9uWwU7T9sXC7/mKBuqL6lf1D8cEx sJLn6QNFVzPC4nt57gpvP+LiX0XXo0M= X-Google-Smtp-Source: AK7set92S0LHlo6BSC+JNLN5UZhOLuEVBNK7uCJp5JP7SLsBBtNAVkpwswiaa0/LQdHIKrm/FDE19Q== X-Received: by 2002:a05:600c:3d89:b0:3eb:42f6:ac55 with SMTP id bi9-20020a05600c3d8900b003eb42f6ac55mr2343321wmb.1.1678450156690; Fri, 10 Mar 2023 04:09:16 -0800 (PST) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id v19-20020a05600c471300b003e209186c07sm3127691wmo.19.2023.03.10.04.09.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 Mar 2023 04:09:16 -0800 (PST) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= , 62047@debbugs.gnu.org Subject: Re: [bug#62047] [PATCH 1/2] packages: Use SRFI-71 instead of SRFI-11. In-Reply-To: <20230308120345.17616-1-ludo@gnu.org> References: <20230308120125.17560-1-ludo@gnu.org> <20230308120345.17616-1-ludo@gnu.org> Date: Fri, 10 Mar 2023 12:49:59 +0100 Message-ID: <874jqsomfs.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: 62047 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On mer., 08 mars 2023 at 13:03, Ludovic Court=C3=A8s wrote: > - (let-values (((name version) > - (package-name->name+version spec))) > + (let ((name version (package-name->name+version spec))) Out of curiosity, what is the difference? Aside SRFI-71 instead of SRFI-11? Or why do you prefer SRFI-71 over -11? Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 11:46:26 2023 Received: (at 62047) by debbugs.gnu.org; 10 Mar 2023 16:46:26 +0000 Received: from localhost ([127.0.0.1]:55674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pafsw-0001r9-AP for submit@debbugs.gnu.org; Fri, 10 Mar 2023 11:46:26 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59716) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pafsu-0001qw-Ti for 62047@debbugs.gnu.org; Fri, 10 Mar 2023 11:46:25 -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 1pafsp-0002Gv-7b; Fri, 10 Mar 2023 11:46:19 -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=NvHZ4ixs+ELhk1ojLkm9FYM6tJTP0DXn9FlmDoVnUKg=; b=chq1gsPg21c/C81AtsrX DA/B6F4YZcGAWq9BF2960JHd1FoRHiBKbPgeIxfRNW2UxHwqEkMMDEdGG1bJrhAlQwo2jW8teC+F3 gupz1C7wuE5rr5yhJxaxEhvBAlzzE8Joq0+OCWW/UQ+G3o8X30cUDRp2kQRBXALWv7zRI//BpK3Y5 KIgP0yFe5UBOBUyTVZWfcKlELPsx2fARSqqCDZo/J2ET9mitxbwuBuSyNKlAQdTasHTN0C8dlKaSI HUVh+cFoHTuSule71SZmA6VltTRWzesOfWKbaJwyIxUinQBwI6oIQ52WjZP1mXmUybVdN8bwoRAty vHY5jrb3KbfBKQ==; Received: from [193.50.110.253] (helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pafsn-0005Ay-UB; Fri, 10 Mar 2023 11:46:18 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: [bug#62047] [PATCH 1/2] packages: Use SRFI-71 instead of SRFI-11. References: <20230308120125.17560-1-ludo@gnu.org> <20230308120345.17616-1-ludo@gnu.org> <874jqsomfs.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 =?utf-8?Q?Vent=C3=B4se?= an 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Cordeau X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 10 Mar 2023 17:46:16 +0100 In-Reply-To: <874jqsomfs.fsf@gmail.com> (Simon Tournier's message of "Fri, 10 Mar 2023 12:49:59 +0100") Message-ID: <875yb8img7.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-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62047 Cc: 62047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Simon Tournier skribis: > On mer., 08 mars 2023 at 13:03, Ludovic Court=C3=A8s wrote: > >> - (let-values (((name version) >> - (package-name->name+version spec))) >> + (let ((name version (package-name->name+version spec))) > > Out of curiosity, what is the difference? Aside SRFI-71 instead of > SRFI-11? Or why do you prefer SRFI-71 over -11? There=E2=80=99s no semantic difference, but SRFI-71 looks clearer, doesn=E2= =80=99t it? :-) See for the original proposal. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 12:44:35 2023 Received: (at 62047) by debbugs.gnu.org; 10 Mar 2023 17:44:35 +0000 Received: from localhost ([127.0.0.1]:55823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pagnC-000453-P7 for submit@debbugs.gnu.org; Fri, 10 Mar 2023 12:44:34 -0500 Received: from mail-lj1-f170.google.com ([209.85.208.170]:38526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pagnA-00044o-RR for 62047@debbugs.gnu.org; Fri, 10 Mar 2023 12:44:33 -0500 Received: by mail-lj1-f170.google.com with SMTP id t14so6115736ljd.5 for <62047@debbugs.gnu.org>; Fri, 10 Mar 2023 09:44:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1678470266; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=APgHM8nmIuFevb73luL1I+Pw5m2X/Mywuot8KGVtmJs=; b=PbLyOHq7YDRvG+bb7kHsdG3QauKFIUcfqThMbtWbVQoVu0N7hwHv11acbp4Ahe1NjU r1f7tZzWLho89wGnEYm/pCz48TuI+GRxR0vk17l5WdpWSP8ZgIaBvecjyvppwqjYFzyB X2fbOAhjNMHpMHY0SofIPzcED4BRXih87THl/AwEl0lUrwhn/cmOO1xaaN655Lslux5r YElEQzLo7aWCpgyAo063widd7t2QjIF/4hGm+HzKl1jQy3PjPoCzxOhn/2tkFXNj2YFo x+47tQboUr2huYGx5ZcevEd/T1V4T+GzMB2Lu127xxtZQi/Sb1oSAaiUBtTBjG/4hiw2 FkjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678470266; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=APgHM8nmIuFevb73luL1I+Pw5m2X/Mywuot8KGVtmJs=; b=mJChawDVjx404UJlkBQ/FB3gUdm5SSp8Lb6ZgIzoFJeb2sJo5OfHH4Y4VBGOGCObWD YWx+PfrHBJtlK0y1DGpZzvv9GliRZJcJ2n28E8YSqYTg70MDVJFhZn9O3hp2LrXKuhJ2 frqVXnE2+eW5NVnqw83f1mlQmDXFIXDb3dCG+P4aA2ZQ413NE6G4dtch/llHat3Q/qwW FGf2FuKhQMVHiQwCx69BjTBVPVqSydvaDMfndXvd0HVtgKH9Xq2jP57NIXBD6a+jZAvS PHVrm6jqB5tdAlfjOkrv+LrPEsG4ZzM/iq7KWaiFLrqhYw4R1p3n3MP8bZqRPYWNlcrU CYaA== X-Gm-Message-State: AO0yUKX+D65haPnamWbm+lVDpgJPaMe3T9zs1ezCHlIuPTg4Yegu7uMA Bjjh6kOb6aTBAql8tQ19u8H7tDWh1dF/iY3fe9E= X-Google-Smtp-Source: AK7set8tcDeH97OnxMeodfDtz6zxlwtstK45HWrTCtz50vzgP1h6t7X5ia//XGdjx1JMB3g8fXlANlGhYF56PHUhiug= X-Received: by 2002:a2e:b55c:0:b0:295:d632:ba20 with SMTP id a28-20020a2eb55c000000b00295d632ba20mr8311528ljn.10.1678470266472; Fri, 10 Mar 2023 09:44:26 -0800 (PST) MIME-Version: 1.0 References: <20230308120125.17560-1-ludo@gnu.org> <20230308120345.17616-1-ludo@gnu.org> <874jqsomfs.fsf@gmail.com> <875yb8img7.fsf@gnu.org> In-Reply-To: <875yb8img7.fsf@gnu.org> From: Simon Tournier Date: Fri, 10 Mar 2023 18:44:14 +0100 Message-ID: Subject: Re: [bug#62047] [PATCH 1/2] packages: Use SRFI-71 instead of SRFI-11. To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62047 Cc: 62047@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi, On Fri, 10 Mar 2023 at 17:46, Ludovic Court=C3=A8s wrote: > See > > for the original proposal. Thanks! I had overlooked this. Cheers, simon From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 17 17:02:22 2023 Received: (at control) by debbugs.gnu.org; 17 Mar 2023 21:02:22 +0000 Received: from localhost ([127.0.0.1]:45759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdHDS-0006fJ-IH for submit@debbugs.gnu.org; Fri, 17 Mar 2023 17:02:22 -0400 Received: from hera.aquilenet.fr ([185.233.100.1]:41434) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pdHDR-0006f3-6j for control@debbugs.gnu.org; Fri, 17 Mar 2023 17:02:21 -0400 Received: from localhost (localhost [127.0.0.1]) by hera.aquilenet.fr (Postfix) with ESMTP id DF54810CD for ; Fri, 17 Mar 2023 22:02:14 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at hera.aquilenet.fr Received: from hera.aquilenet.fr ([127.0.0.1]) by localhost (hera.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 2CMChTrPALAH for ; Fri, 17 Mar 2023 22:02:14 +0100 (CET) Received: from ribbon (91-160-117-201.subs.proxad.net [91.160.117.201]) by hera.aquilenet.fr (Postfix) with ESMTPSA id 442F625A for ; Fri, 17 Mar 2023 22:02:14 +0100 (CET) Date: Fri, 17 Mar 2023 22:02:13 +0100 Message-Id: <877cvfxfai.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #62047 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) close 62047 quit From unknown Fri Jun 20 18:24:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 15 Apr 2023 11:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator