From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Dec 2020 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 45017@debbugs.gnu.org Cc: Guillaume Le Vaillant X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160698855813546 (code B ref -1); Thu, 03 Dec 2020 09:43:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2020 09:42:38 +0000 Received: from localhost ([127.0.0.1]:38383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkl8I-0003WQ-5O for submit@debbugs.gnu.org; Thu, 03 Dec 2020 04:42:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:34342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkl8G-0003WJ-PO for submit@debbugs.gnu.org; Thu, 03 Dec 2020 04:42:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkl8G-0001rA-Hp for bug-guix@gnu.org; Thu, 03 Dec 2020 04:42:36 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:56587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkl8E-0001dD-DC for bug-guix@gnu.org; Thu, 03 Dec 2020 04:42:36 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E4A73E000E; Thu, 3 Dec 2020 09:42:29 +0000 (UTC) From: Pierre Neidhardt Date: Thu, 03 Dec 2020 10:42:29 +0100 Message-ID: <87wnxzmdiy.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-Spam_score_int: 21 X-Spam_score: 2.1 X-Spam_bar: ++ X-Spam_report: (2.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.501, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Since staging was merged a few days ago, I've noticed an undesirable side-effect of our revamped asdf-build-system: the systems packages have priority over the user-local ones. Here is the default list of registries: Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 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.6 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since staging was merged a few days ago, I've noticed an undesirable side-effect of our revamped asdf-build-system: the systems packages have priority over the user-local ones. Here is the default list of registries: =2D-8<---------------cut here---------------start------------->8--- (defparameter* *default-source-registries* '(environment-source-registry user-source-registry user-source-registry-directory default-user-source-registry system-source-registry system-source-registry-directory default-system-source-registry) "List of default source registries" "3.1.0.102") =2D-8<---------------cut here---------------end--------------->8--- `user-source-registry' points to what is read in ~/.config/common-lisp/source-registry.conf(.d/)?, so nothing by default. user-source-registry-directory reads what's in XDG_CONFIG_DIRS, and it finds the Guix packages there. The default-user-source-registry expands to =2D-8<---------------cut here---------------start------------->8--- (:SOURCE-REGISTRY (:TREE (:HOME "common-lisp/")) (:DIRECTORY (:HOME ".sbcl/systems/")) (:DIRECTORY #P"/home/ambrevar/.local/share/common-lisp/systems/") (:TREE #P"/home/ambrevar/.local/share/common-lisp/source/") :INHERIT-CONFIGURATION) =2D-8<---------------cut here---------------end--------------->8--- which is where I would drop my user-local packages. Finally, default-system-source-registry reads what's in XDG_DATA_DIRS, and it finds the packages there again, but it does not read the Guix-generated conf which collects the dependencies of each package. I believe the issue is that `user-source-registry-directory' should read from XDG_CONFIG_HOME, and not XDG_CONFIG_DIRS (which would make it redundant with `user-source-registry'). This would make it an upstream issue, but I wanted to double-check I properly understood the problem with the Guix community first. Guillaume, thoughts on this? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/IswUSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/7QMH/Riz1Rp5GpGK6HxMVyTM9kaYgyYj3UFi 3htXx5JFQkDh12RwrnxsjyYiEYxT94buB2kELabB67Q67iS1ODqk/oj50gU64jBl g76xKEO+RJy6sAC+4rzQqKnmekEPkRXvvExG8XtGiEbmSHpNKXRtHOePtVHdSi/5 YRzBugwGnGrrwd7Zb24AJ6pFeYTC2DOeJ90wswRprQLMNzNLbrzGGPIcKzAj/hk/ rgBnflLUZkE34P/z7MHPRrKsnBU2HAEkLoll+wL1Z8ZkZV5G3GL93Nu4JJNG6tZx hIFscmVlNdardHJsn2f3xo4eJrVErfGShd66MrxAfYBGZIUR5VMNshs= =t3jU -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Dec 2020 12:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160699709527990 (code B ref -1); Thu, 03 Dec 2020 12:05:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2020 12:04:55 +0000 Received: from localhost ([127.0.0.1]:38759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknLz-0007HO-5R for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:04:55 -0500 Received: from lists.gnu.org ([209.51.188.17]:34900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknLx-0007HG-Hi for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:04:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:35650) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kknLv-0004NE-R9 for bug-guix@gnu.org; Thu, 03 Dec 2020 07:04:53 -0500 Received: from mout01.posteo.de ([185.67.36.65]:47138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kknLk-0000Zy-PU for bug-guix@gnu.org; Thu, 03 Dec 2020 07:04:51 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BF8E416005C for ; Thu, 3 Dec 2020 13:04:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1606997076; bh=YUoiLrRYirF544JWmPtahKz5KVXH/i004z6pMFJjOgE=; h=From:To:Cc:Subject:Date:From; b=AyZ1ELJuRit7jBVrr1qGlQTCzep9UThC1GgYbvvevx3rZinMNYwcpqrpcThulyXd0 N/8XWzJbJH1hOjk2kzHf1eZq6E5PUudf1yaHoDmcim4BX5/dqLxid70eTxWbG1fEqR ZNuz3bbPcg7ZKCyuKWmjsUnNYmCEj6nPLyJFp29qk9oBiYGnR4aJSTBpJghSLxE1yH PLT0n2R2Tizc0v1ejWxfEf+9jc+xXaZVZcX3iWDmnpomXH6jkMXkUUNdVo4HwB8/9F 4gif7gYs4geT5HHxluvcoeD6fbLXzW1jr8RWtYzepmd+yaEZPRx9dmqh4g/zVJl1BW /7Yd2R++mJeqQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cmvdv29Ywz9rxk; Thu, 3 Dec 2020 13:04:35 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <87wnxzmdiy.fsf@ambrevar.xyz> Date: Thu, 03 Dec 2020 13:04:25 +0100 Message-ID: <87im9j2j06.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) 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.8 (/) --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > Since staging was merged a few days ago, I've noticed an undesirable > side-effect of our revamped asdf-build-system: the systems packages have > priority over the user-local ones. > > Here is the default list of registries: > > --8<---------------cut here---------------start------------->8--- > (defparameter* *default-source-registries* > '(environment-source-registry > user-source-registry > user-source-registry-directory > default-user-source-registry > system-source-registry > system-source-registry-directory > default-system-source-registry) > "List of default source registries" "3.1.0.102") > --8<---------------cut here---------------end--------------->8--- > > `user-source-registry' points to what is read in > ~/.config/common-lisp/source-registry.conf(.d/)?, so nothing by default. > > user-source-registry-directory reads what's in XDG_CONFIG_DIRS, and it > finds the Guix packages there. > > The default-user-source-registry expands to > > --8<---------------cut here---------------start------------->8--- > (:SOURCE-REGISTRY (:TREE (:HOME "common-lisp/")) > (:DIRECTORY (:HOME ".sbcl/systems/")) > (:DIRECTORY > #P"/home/ambrevar/.local/share/common-lisp/systems/") > (:TREE #P"/home/ambrevar/.local/share/common-lisp/source/") > :INHERIT-CONFIGURATION) > --8<---------------cut here---------------end--------------->8--- > > which is where I would drop my user-local packages. > > Finally, default-system-source-registry reads what's in XDG_DATA_DIRS, > and it finds the packages there again, but it does not read the > Guix-generated conf which collects the dependencies of each package. > > > > I believe the issue is that `user-source-registry-directory' should read > from XDG_CONFIG_HOME, and not XDG_CONFIG_DIRS (which would make it > redundant with `user-source-registry'). This would make it an upstream > issue, but I wanted to double-check I properly understood the problem > with the Guix community first. > > Guillaume, thoughts on this? Our cl-asdf package definition has little patches for 'user-source-registry-directory' and 'user-output-translations-directory-pathname' to make ASDF read configuration files in all the directories listed in 'XDG_CONFIG_DIRS' (IIRC regular ASDF was only reading from the first valid one in 'XDG_CONFIG_HOME' or 'XDG_CONFIG_DIRS'): --8<---------------cut here---------------start------------->8--- (substitute* dst-asdf (("\\(xdg-config-pathname \\*source-registry-directory\\* direction\\)") "`(:source-registry ,@(loop for dir in (xdg-config-dirs \"common-lisp/source-registry.conf.d/\") collect `(:include ,dir)) :inherit-configuration)") (("\\(xdg-config-pathname \\*output-translations-directory\\* direction\\)") "`(:output-translations ,@(loop for dir in (xdg-config-dirs \"common-lisp/asdf-output-translations.conf.d/\") collect `(:include ,dir)) :inherit-configuration)"))) --8<---------------cut here---------------end--------------->8--- I guess 'XDG_CONFIG_HOME' is missing here and we could add it in the list before the 'XDG_CONFIG_DIRS' directories. Something like: --8<---------------cut here---------------start------------->8--- (substitute* dst-asdf (("\\(xdg-config-pathname \\*source-registry-directory\\* direction\\)") "`(:source-registry (:include (xdg-config-home \"common-lisp/source-registry.conf.d/\")) ,@(loop for dir in (xdg-config-dirs \"common-lisp/source-registry.conf.d/\") collect `(:include ,dir)) :inherit-configuration)") (("\\(xdg-config-pathname \\*output-translations-directory\\* direction\\)") "`(:output-translations (:include (xdg-config-home \"common-lisp/asdf-output-translations.conf.d/\")) ,@(loop for dir in (xdg-config-dirs \"common-lisp/asdf-output-translations.conf.d/\") collect `(:include ,dir)) :inherit-configuration)"))) --8<---------------cut here---------------end--------------->8--- Or maybe we could make a better patch not changing 'user-source-registry-directory', but adding a new 'guix-source-registry' between 'default-user-source-registry' and 'system-source-registry' in the list of registries (and likewise for output-translations). I think this way the systems in '$HOME/.config/...', '$HOME/.local/...' or '$HOME/common-lisp/...' will have priority on the ones in Guix profiles. What do you think? --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8jUSQ8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j80MwD+IUbf1WqpRRobAUhPWcFZM2FolI7tBPEztCd6 b/ac7twA/R9l9WVYDHkaS+nb28pPTo5Gr1v7K2eKjT/p9nE7Qd/T =iXrd -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Dec 2020 12:41:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 45017@debbugs.gnu.org X-Debbugs-Original-Cc: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160699921315590 (code B ref -1); Thu, 03 Dec 2020 12:41:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2020 12:40:13 +0000 Received: from localhost ([127.0.0.1]:38873 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknu8-00043O-Fm for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:40:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:59146) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kknu7-00043G-Gk for submit@debbugs.gnu.org; Thu, 03 Dec 2020 07:40:11 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:43218) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kknu7-0000c8-5p for bug-guix@gnu.org; Thu, 03 Dec 2020 07:40:11 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:32833) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kknu4-0004WM-Ko for bug-guix@gnu.org; Thu, 03 Dec 2020 07:40:10 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id E8CDB60010; Thu, 3 Dec 2020 12:40:03 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87im9j2j06.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> Date: Thu, 03 Dec 2020 13:40:02 +0100 Message-ID: <87360nm5b1.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.195; envelope-from=mail@ambrevar.xyz; helo=relay3-d.mail.gandi.net X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, PDS_OTHER_BAD_TLD=1.501, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) 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.4 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Oh, I had missed that! Good thing I asked you first then ;) > --8<---------------cut here---------------start------------->8--- > (substitute* dst-asdf > (("\\(xdg-config-pathname \\*source-registry-directory\\* direction\\)") > "`(:source-registry > (:include (xdg-config-home \"common-lisp/source-registry.conf.d/\")) > ,@(loop > for dir in (xdg-config-dirs > \"common-lisp/source-registry.conf.d/\") > collect `(:include ,dir)) > :inherit-configuration)") > (("\\(xdg-config-pathname \\*output-translations-directory\\* direction= \\)") > "`(:output-translations > (:include (xdg-config-home \"common-lisp/asdf-output-translations.c= onf.d/\")) > ,@(loop > for dir in (xdg-config-dirs > \"common-lisp/asdf-output-translations.conf.d/\") > collect `(:include ,dir)) > :inherit-configuration)"))) > --8<---------------cut here---------------end--------------->8--- Hmm, I don't think this would work when the user has no ~/.config/common-lisp/source-registry.conf. Would it? > Or maybe we could make a better patch not changing > 'user-source-registry-directory', but adding a new > 'guix-source-registry' between 'default-user-source-registry' and > 'system-source-registry' in the list of registries (and likewise for > output-translations). > I think this way the systems in '$HOME/.config/...', '$HOME/.local/...' > or '$HOME/common-lisp/...' will have priority on the ones in Guix > profiles. I like it! Possible pitfall: if the user set *default-source-registries* in their Lisp RC file (e.g. ~/.sbclrc) this will prevent ASDF from seeing this new Guix source registry. Alternately, we could simply move the patch from user-source-registry-directory to system-source-registry-directory; same for the output translation. Thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/I3KISHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/LyEIAIOLqM6j/i0zNRhs6V8YbmxSDvO5FUuS W7EBLjUTeu2m7ecpoRcUKEuqMY5YsrXt59Ep8p+atPwPMSMA4TvLew+wtyJ10NiM KzBTosypVs8BpBab9EA4Jd0kykWEr7tukTTc9mylfnZ/oH3DJL7UwmLUTlkcMLTs bcieDZZSD+PLzF12/wMOyb3f32NmKd/p/RFmD1u2g8y++3oT3xyRWxEq59T8AbPg vOfBYlTvRs8eFBpqAFfwQSB3enulKV2lCoXvL8oAsj4hTmbkmNLU2I+fZ6pU1vl3 u0F6XSO/noY7JRUdu1ILpA6w1hcbDpy/U7hYuNvD+VnSUnLPO+95WB4= =nc8L -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 03 Dec 2020 14:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.16070057701693 (code B ref 45017); Thu, 03 Dec 2020 14:30:02 +0000 Received: (at 45017) by debbugs.gnu.org; 3 Dec 2020 14:29:30 +0000 Received: from localhost ([127.0.0.1]:39005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkpbq-0000RC-50 for submit@debbugs.gnu.org; Thu, 03 Dec 2020 09:29:29 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkpbk-0000Qt-Be for 45017@debbugs.gnu.org; Thu, 03 Dec 2020 09:29:24 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id BA21416005F for <45017@debbugs.gnu.org>; Thu, 3 Dec 2020 15:29:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607005753; bh=9RACgeLpqB5D4i3Oh5fzb3sN9B8VPbzB42+jlF8jFuw=; h=From:To:Cc:Subject:Date:From; b=oVtsIB2snfOvCGJbokWQybuzJ4PteCUFSnKCAkkx4iZHhNww69DeLA90c28cMDkwN CiQ2wdLIpg6+BqwhdDP9t0ApM4pc6SMNtnoRM+ZV1SweaWASCbX9EfOFYOxHqUGYVW 3P1czwgJB+/yGhkm6WmPWiDqfJtCy4WV/lmEDToto2ghb8A7rQLuru7oRw47ekjkaC OIlsDWoQDi5+Vvx4Mgiv3DLNahGNPH3sdfMVcCGaaDgxHHNxrywFlgB6/2QLWQPMW0 MvAQskwJ7vyCvNZvsHDRydFns7dD+ThjW0uD57XU5qVrrQ9ZINdqUbboG7ZKF8y1AH n7f3lMJAk7V+A== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cmyrm3XpBz9rxK; Thu, 3 Dec 2020 15:29:12 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <87360nm5b1.fsf@ambrevar.xyz> Date: Thu, 03 Dec 2020 15:29:10 +0100 Message-ID: <87ft4n2cax.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.8 (/) 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.8 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > Alternately, we could simply move the patch from > user-source-registry-directory to system-source-registry-directory; same > for the output translation. What do you think of the attached patch? Does it work for you? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-cl-asdf-Improve-priorities-of-configuration-file.patch Content-Transfer-Encoding: quoted-printable From=20cb8d52ec606bb8984622f6b117346b4772bf0d16 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Thu, 3 Dec 2020 14:52:02 +0100 Subject: [PATCH] gnu: cl-asdf: Improve priorities of configuration file search. * gnu/packages/patches/cl-asdf-config-directories.patch: New file. * gnu/local.mk (dist_PATCH_DATA): Add it. * gnu/packages/lisp.scm (cl-asdf)[native-inputs]: Add it. [arguments]: Apply the new patch. =2D-- gnu/local.mk | 1 + gnu/packages/lisp.scm | 28 +++++---------- .../patches/cl-asdf-config-directories.patch | 36 +++++++++++++++++++ 3 files changed, 45 insertions(+), 20 deletions(-) create mode 100644 gnu/packages/patches/cl-asdf-config-directories.patch diff --git a/gnu/local.mk b/gnu/local.mk index 28ad119846..f838ebe1fa 100644 =2D-- a/gnu/local.mk +++ b/gnu/local.mk @@ -868,6 +868,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/cdrtools-3.01-mkisofs-isoinfo.patch \ %D%/packages/patches/ceph-disable-cpu-optimizations.patch \ %D%/packages/patches/chmlib-inttypes.patch \ + %D%/packages/patches/cl-asdf-config-directories.patch \ %D%/packages/patches/clamav-config-llvm-libs.patch \ %D%/packages/patches/clamav-system-tomsfastmath.patch \ %D%/packages/patches/clang-3.5-libc-search-path.patch \ diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index e4c963070e..0038cb0dca 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -90,6 +90,9 @@ (sha256 (base32 "1hpx30f6yrak15nw992k7x3pn75ahvjs04n4f134k68mhgs62km2")))) (build-system trivial-build-system) + (native-inputs + `(("config-patch" ,@(search-patches "cl-asdf-config-directories.patch= ")) + ("patch" ,patch))) (arguments `(#:modules ((guix build utils) (guix build lisp-utils)) @@ -101,28 +104,13 @@ (asdf-install (string-append out %source-install-prefix "/source/asdf/")) (src-asdf (string-append (assoc-ref %build-inputs "source"= ))) =2D (dst-asdf (string-append asdf-install "asdf.lisp"))) + (dst-asdf (string-append asdf-install "asdf.lisp")) + (patch (string-append (assoc-ref %build-inputs "patch") + "/bin/patch")) + (config-patch (assoc-ref %build-inputs "config-patch"))) (mkdir-p asdf-install) (copy-file src-asdf dst-asdf) =2D ;; Patch ASDF to make it read the configuration files in all =2D ;; the direcories listed in '$XDG_CONFIG_DIRS' instead of just =2D ;; the first. =2D (substitute* dst-asdf =2D (("\\(xdg-config-pathname \\*source-registry-directory\\* d= irection\\)") =2D "`(:source-registry =2D ,@(loop =2D for dir in (xdg-config-dirs =2D \"common-lisp/source-registry.conf.d/\= ") =2D collect `(:include ,dir)) =2D :inherit-configuration)") =2D (("\\(xdg-config-pathname \\*output-translations-directory\= \* direction\\)") =2D "`(:output-translations =2D ,@(loop =2D for dir in (xdg-config-dirs =2D \"common-lisp/asdf-output-translations= .conf.d/\") =2D collect `(:include ,dir)) =2D :inherit-configuration)"))) =2D #t))) + (invoke patch "-p1" "-i" config-patch dst-asdf))))) (home-page "https://common-lisp.net/project/asdf/") (synopsis "Another System Definition Facility") (description diff --git a/gnu/packages/patches/cl-asdf-config-directories.patch b/gnu/pa= ckages/patches/cl-asdf-config-directories.patch new file mode 100644 index 0000000000..04ec67c9a0 =2D-- /dev/null +++ b/gnu/packages/patches/cl-asdf-config-directories.patch @@ -0,0 +1,36 @@ +Search for ASDF configuration files first in user directories, and then in +Guix profiles. + +diff -ru a/asdf-3.3.4.lisp b/asdf-3.3.4.lisp +--- a/asdf-3.3.4.lisp 2020-02-14 20:16:22.000000000 +0100 ++++ b/asdf-3.3.4.lisp 2020-12-03 13:57:54.843428936 +0100 +@@ -12537,8 +12537,12 @@ + (defun user-output-translations-directory-pathname (&key (direction :in= put)) + (xdg-config-pathname *output-translations-directory* direction)) + (defun system-output-translations-directory-pathname (&key (direction := input)) +- (find-preferred-file (system-config-pathnames *output-translations-di= rectory*) +- :direction direction)) ++ `(:output-translations ++ ,@(loop :for dir :in (filter-pathname-set ++ (xdg-config-dirs ++ "common-lisp/asdf-output-translations.conf.d= /")) ++ :collect `(:include ,dir)) ++ :inherit-configuration)) + (defun environment-output-translations () + (getenv "ASDF_OUTPUT_TRANSLATIONS")) +=20 +@@ -12923,8 +12927,12 @@ + (defun user-source-registry-directory (&key (direction :input)) + (xdg-config-pathname *source-registry-directory* direction)) + (defun system-source-registry-directory (&key (direction :input)) +- (find-preferred-file (system-config-pathnames *source-registry-direct= ory*) +- :direction direction)) ++ `(:source-registry ++ ,@(loop :for dir :in (filter-pathname-set ++ (xdg-config-dirs ++ "common-lisp/source-registry.conf.d/")) ++ :collect `(:include ,dir)) ++ :inherit-configuration)) + (defun environment-source-registry () + (getenv "CL_SOURCE_REGISTRY")) +=20 =2D-=20 2.29.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8j2Ng8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8+7AD/THNUo+OfK4z7fkW4cWucZ47kjoqjxPjLCKbY oVy9nlIA/il1BZr2Y1VQ7q42nbM9ktVjFNdXxiTzb+A4g7puqSj4 =rxih -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Dec 2020 08:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.16070719051784 (code B ref 45017); Fri, 04 Dec 2020 08:52:02 +0000 Received: (at 45017) by debbugs.gnu.org; 4 Dec 2020 08:51:45 +0000 Received: from localhost ([127.0.0.1]:42562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl6ob-0000Sh-Bh for submit@debbugs.gnu.org; Fri, 04 Dec 2020 03:51:45 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:63201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl6oY-0000SS-EO for 45017@debbugs.gnu.org; Fri, 04 Dec 2020 03:51:43 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id BBAAA4000A; Fri, 4 Dec 2020 08:51:35 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87ft4n2cax.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> Date: Fri, 04 Dec 2020 09:51:33 +0100 Message-ID: <87k0tyuf6y.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thanks for taking a shot at this, looks great! I'll test later, but for now one question: we patch sbcl to use our cl-asdf, but what about the other compilers? Seems to me that the other compilers are going to have the same problem, aren't they? Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.194 listed in list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 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: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thanks for taking a shot at this, looks great! I'll test later, but for now one question: we patch sbcl to use our cl-asdf, but what about the other compilers? Seems to me that the other compilers are going to have the same problem, aren't they? Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.194 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks for taking a shot at this, looks great! I'll test later, but for now one question: we patch sbcl to use our cl-asdf, but what about the other compilers? Seems to me that the other compilers are going to have the same problem, aren't they? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/J+JUSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/K10H/2VuhxiF4YHgoTxeOKWR6ClXLuiHnGSg m+AO1F3osJpjbRf4QdBoHQuFo2Q0IVWbpiX4Y7ofUgHWgT6gLRucaVeeR0vxiMVu +JwIZ2XY2HIw1vUKM1iK3EBiLoLR2NSyoKiuZfeOMoFKdKLC2rRjuXnUqvXh4SFm rlx6EAELXPoLzNouU4PDGFcDrCcerG2JeBv4W+3TvkeOzGH8WdaDnFTzB2dzMADW OqLBX9sCzaAll//72mqZyPxv3VI036DSJuGm+gHfto/IdClYjh0SIdMhCoCSA61d HIGPZFnwSIy2aoml8zYLORGznEAuCjCywUVQpXO6nd+w+kp6xOkSBAE= =ms5Y -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Dec 2020 09:13:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.16070731423624 (code B ref 45017); Fri, 04 Dec 2020 09:13:01 +0000 Received: (at 45017) by debbugs.gnu.org; 4 Dec 2020 09:12:22 +0000 Received: from localhost ([127.0.0.1]:42585 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl78X-0000wO-VW for submit@debbugs.gnu.org; Fri, 04 Dec 2020 04:12:22 -0500 Received: from mout01.posteo.de ([185.67.36.65]:42616) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kl78V-0000w9-CK for 45017@debbugs.gnu.org; Fri, 04 Dec 2020 04:12:20 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 304BA16005C for <45017@debbugs.gnu.org>; Fri, 4 Dec 2020 10:12:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607073132; bh=WWLdHf9yrZLe2es6u6zLmCJBHlU5WG4MeCyjHw3RIi4=; h=From:To:Cc:Subject:Date:From; b=av/BD+Mow4V4nKEZO8+Nsgp2mYX188xX2F/OI2ysuLkXCfhMYGtSel8iadjSddAH3 MlAOUxrO+Gn5X+t+tp37upLcQF3gF/9TSgMnuv0Eo7/VoyLL7tvoAlaqjaZk3UC0ny Du7edMLNOzHGOQfclJo36kClR/N0mRLCbpALxadbWUBGbicdWS67M7wtEwdKccO8bm Tqi3qjvf4Ht/WNaQkXRetTLeMv2dOo/tDvhk8WX5LOXMH9xMsQ5qsHR2ic4+D4x1Ai XbDDOlPjEuoN8sQuRpRG0E8/N/Tn6xBJi3mfsJiBodXR9JMcBC8k1E59bOk9xf8P+H xA+l65GmjjYlw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CnRmV5Lckz9rxc; Fri, 4 Dec 2020 10:12:10 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <87k0tyuf6y.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <87k0tyuf6y.fsf@ambrevar.xyz> Date: Fri, 04 Dec 2020 10:12:06 +0100 Message-ID: <871rg6szo9.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.8 (/) 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.8 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > Thanks for taking a shot at this, looks great! > > I'll test later, but for now one question: we patch sbcl to use our > cl-asdf, but what about the other compilers? Seems to me that the other > compilers are going to have the same problem, aren't they? SBCL and ECL are patched to use our cl-asdf because it is necessary to build the sbcl-* and ecl-* packages. Also patching ABCL, CCL, and Clisp sounds like a good idea. At least all the compilers would use the same version of ASDF, and hopefully behave in the same way when looking for configuration files. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8n9Zg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+FUQD6A+dO9VKhH+ANkQrVe21mscoJbEgVpVqs3mh7 UITf7TgA+wUwfYlb2hIPIlWhybM6l/LH5aJekK2rMYPXuaztzfrA =h/7l -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Dec 2020 12:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160708600218741 (code B ref 45017); Fri, 04 Dec 2020 12:47:02 +0000 Received: (at 45017) by debbugs.gnu.org; 4 Dec 2020 12:46:42 +0000 Received: from localhost ([127.0.0.1]:43343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klATx-0004sD-P9 for submit@debbugs.gnu.org; Fri, 04 Dec 2020 07:46:42 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:36933) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klATv-0004rw-6k for 45017@debbugs.gnu.org; Fri, 04 Dec 2020 07:46:40 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id 1FC5B1C0011; Fri, 4 Dec 2020 12:46:31 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <871rg6szo9.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <87k0tyuf6y.fsf@ambrevar.xyz> <871rg6szo9.fsf@yamatai> Date: Fri, 04 Dec 2020 13:46:28 +0100 Message-ID: <87blf9u4bf.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Guillaume Le Vaillant writes: > SBCL and ECL are patched to use our cl-asdf because it is necessary to > build the sbcl-* and ecl-* packages. Also patching ABCL, CCL, and Clisp > sounds like a good idea. At least all the compilers [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.197 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.197 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Guillaume Le Vaillant writes: > SBCL and ECL are patched to use our cl-asdf because it is necessary to > build the sbcl-* and ecl-* packages. Also patching ABCL, CCL, and Clisp > sounds like a good idea. At least all the compilers [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.197 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.197 listed in list.dnswl.org] 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Guillaume Le Vaillant writes: > SBCL and ECL are patched to use our cl-asdf because it is necessary to > build the sbcl-* and ecl-* packages. Also patching ABCL, CCL, and Clisp > sounds like a good idea. At least all the compilers would use the same > version of ASDF, and hopefully behave in the same way when looking for > configuration files. Yup, that'd be neat :) Related to this, I've noticed another issue with SBCL packages: when an SBCL package has a dependency that's updated in ~/common-lisp, (asdf:load-system ...) tries to recompile it in its folder, which fails since /gnu/store is read-only. Example: =2D Apply the above patch or edit ~/.config/common-lisp/source-registry.conf to make sure ~/common-lisp is loaded before system packages. =2D Install sbcl-cl-cookie. =2D Check out https://github.com/fukamachi/quri: git clone https://github.com/fukamachi/quri ~/common-lisp/quri =2D Now run =2D-8<---------------cut here---------------start------------->8--- $ sbcl * (asdf:load-system :cl-cookie) WARNING: System definition file #P"/gnu/store/81cwmspx3366vdjs6v20rnd8a0xyr= 6in-sbcl-cl-fad-0.7.6/share/common-lisp/sbcl/cl-fad/cl-fad.asd" contains de= finition for system "cl-fad-test". Please only define "cl-fad" and secondar= y systems with a name starting with "cl-fad/" (e.g. "cl-fad/test") in that = file. debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #: Error opening #P"/gnu/store/22q4ydm0pagi4irz0clssgkhkyh115j8-sbcl-cl-cook= ie-0.9.10-1.cea55ae/lib/common-lisp/sbcl/cl-cookie/src/cl-cookie-tmpGHU3ALS= V.fasl": Read-only file system =2D-8<---------------cut here---------------end--------------->8--- Not sure what to do about this. I'm guessing that Common Lisp development is not practical with Guix' SBCL packages and I should just stick to the CL packages. Thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/KL6QSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/7cYH/jHL2FHRcApQcF2y5C+O7E/N13x0mvol O3GrBPz67LelAH1s1mmgEC0lj5ZL5UIgS3MZ2BKXR7Vs0QRQCSVwPR8hM+ls7o68 WapW/Jb/QjHbf8JVh7zODoA4Zrk/qVdDAZFasmSprPllXIaRWIKjMp/D6w8wLvkh DpVHhBsLmD0EySyByXo+96R5Cqj+0OTALbL7u5Ujb5gsBwJuwa6uTOV8D74YEAqG i6WH+HhnGHW2ekIjpnvcpahBRA6bHlWv53pAdl4oLdgM53kLg301GDj3vQEquwKW JrnoxiME6paRbHuu8jAk04Rixs5sAuP9eEmJL4kD0BlT0+KQXzRhTWA= =W9nh -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Dec 2020 13:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160709001225007 (code B ref 45017); Fri, 04 Dec 2020 13:54:01 +0000 Received: (at 45017) by debbugs.gnu.org; 4 Dec 2020 13:53:32 +0000 Received: from localhost ([127.0.0.1]:43409 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klBWU-0006V7-Bh for submit@debbugs.gnu.org; Fri, 04 Dec 2020 08:53:32 -0500 Received: from mout01.posteo.de ([185.67.36.65]:47291) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klBWQ-0006Us-R9 for 45017@debbugs.gnu.org; Fri, 04 Dec 2020 08:53:20 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 1C98F160064 for <45017@debbugs.gnu.org>; Fri, 4 Dec 2020 14:53:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607089992; bh=bosYDKfVAt/jomCSJrm0EEr8Xrnndl9qvaYsvaL4Sdk=; h=From:To:Cc:Subject:Date:From; b=efuiFm9NvmlJ6EmVRNCy7fX8yjQMAI/ciqjHWnzjewqorsZExEb0Dt7Mdc1bHlXK/ iQUgrvo3ntyBO4mDFp12Rd4PF8npXqXbWHXZluGOgZBTiMRAYhtjkTKhAAOh5kY4Nv /bW097jn4+nwDo1syDXk5ZQOKBrRtduO+VptOrEjUKGsf7Ow/yOnhTpK/3rNkL4baG Wt51z6ptEjgsEPNMOdX5P6+U0/i4lOxG/yUMxKg3CifOwqo8eSoyqT1QFoLvYcxSXS t2LarS6UrIjk/BnvLmR7wHuToelSkGnf4fW5BAAcnOLOhbc/Hc5MLX1v020lRBFsyj nmPeBLhYtSkVA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CnZ0k29WZz6tmq; Fri, 4 Dec 2020 14:53:10 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <87k0tyuf6y.fsf@ambrevar.xyz> <871rg6szo9.fsf@yamatai> <87blf9u4bf.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <87blf9u4bf.fsf@ambrevar.xyz> Date: Fri, 04 Dec 2020 14:53:08 +0100 Message-ID: <87y2idsmnv.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > Guillaume Le Vaillant writes: > >> SBCL and ECL are patched to use our cl-asdf because it is necessary to >> build the sbcl-* and ecl-* packages. Also patching ABCL, CCL, and Clisp >> sounds like a good idea. At least all the compilers would use the same >> version of ASDF, and hopefully behave in the same way when looking for >> configuration files. > > Yup, that'd be neat :) Patches for CCL and Clisp attached. ABCL fails to build with ASDF 3.3.4 and I have not seen an obvious error message in the logs, so this one will need more investigation... > Related to this, I've noticed another issue with SBCL packages: when an > SBCL package has a dependency that's updated in ~/common-lisp, > (asdf:load-system ...) tries to recompile it in its folder, which fails > since /gnu/store is read-only. > > Example: > > - Apply the above patch or edit > ~/.config/common-lisp/source-registry.conf > to make sure ~/common-lisp is loaded before system packages. > > - Install sbcl-cl-cookie. > > - Check out https://github.com/fukamachi/quri: > git clone https://github.com/fukamachi/quri ~/common-lisp/quri > > - Now run > > --8<---------------cut here---------------start------------->8--- > $ sbcl > * (asdf:load-system :cl-cookie) > WARNING: System definition file #P"/gnu/store/81cwmspx3366vdjs6v20rnd8a0xyr6in-sbcl-cl-fad-0.7.6/share/common-lisp/sbcl/cl-fad/cl-fad.asd" contains definition for system "cl-fad-test". Please only define "cl-fad" and secondary systems with a name starting with "cl-fad/" (e.g. "cl-fad/test") in that file. > > debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread > #: > Error opening #P"/gnu/store/22q4ydm0pagi4irz0clssgkhkyh115j8-sbcl-cl-cookie-0.9.10-1.cea55ae/lib/common-lisp/sbcl/cl-cookie/src/cl-cookie-tmpGHU3ALSV.fasl": > > Read-only file system > --8<---------------cut here---------------end--------------->8--- > > Not sure what to do about this. > > I'm guessing that Common Lisp development is not practical with Guix' > SBCL packages and I should just stick to the CL packages. > > Thoughts? The Lisp systems of sbcl-* and ecl-* packages installed in a profile are supposed to be already compiled and immutable, so recompiling them anyway would require tweaking the ASDF configuration from inside SBCL to remove the output translations for these systems. When doing development, it might be more convenient to just use the sources or source packages of every system that has to be recompiled. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-ccl-Use-system-ASDF-instead-of-bundled-one.patch Content-Transfer-Encoding: quoted-printable From=205ce14232fafef61fdd5f9412c50dbfbb90f0d03e Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 4 Dec 2020 10:29:34 +0100 Subject: [PATCH 2/4] gnu: ccl: Use system ASDF instead of bundled one. * gnu/packages/lisp.scm (ccl)[native-inputs]: Add cl-asdf. [arguments]: Add 'replace-asdf' phase. [native-search-paths]: Add XDG_CONFIG_DIRS and XDG_DATA_DIRS. =2D-- gnu/packages/lisp.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 0038cb0dca..2a8c59546e 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -603,7 +603,8 @@ statistical profiler, a code coverage tool, and many ot= her extensions.") "0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c") (_ "15l7cfa4a7jkfwdzsfm4q3n22jnb57imxahpql3h77xin57v1gbz"))= )))))) (native-inputs =2D `(("m4" ,m4))) + `(("cl-asdf" ,cl-asdf) + ("m4" ,m4))) (arguments `(#:tests? #f ;no 'check' target #:modules ((ice-9 match) @@ -615,6 +616,17 @@ statistical profiler, a code coverage tool, and many o= ther extensions.") (add-after 'unpack 'unpack-image (lambda* (#:key inputs #:allow-other-keys) (invoke "tar" "xzvf" (assoc-ref inputs "ccl-bootstrap")))) + (add-after 'unpack 'replace-asdf + ;; Use system ASDF instead of bundled one. + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) + (guix-asdf (string-append + cl-asdf + "/share/common-lisp/source/asdf/asdf.lisp"= )) + (out (string-append (assoc-ref outputs "out"))) + (contrib-asdf "tools/asdf.lisp")) + (delete-file contrib-asdf) + (copy-file guix-asdf contrib-asdf)))) (delete 'configure) (add-before 'build 'pre-build ;; Enter the source directory for the current platform's lisp @@ -678,6 +690,13 @@ statistical profiler, a code coverage tool, and many o= ther extensions.") "exec -a \"$0\" " libdir kernel " \"$@\"\n")))) (chmod wrapper #o755)) #t))))) + (native-search-paths + (list (search-path-specification + (variable "XDG_DATA_DIRS") + (files '("share"))) + (search-path-specification + (variable "XDG_CONFIG_DIRS") + (files '("etc"))))) (supported-systems '("i686-linux" "x86_64-linux" "armhf-linux")) (home-page "https://ccl.clozure.com/") (synopsis "Common Lisp implementation") =2D-=20 2.29.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-clisp-Use-system-ASDF-instead-of-bundled-one.patch Content-Transfer-Encoding: quoted-printable From=2015c7a20030a7e7643af7948982791074e4c358be Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 4 Dec 2020 10:48:41 +0100 Subject: [PATCH 3/4] gnu: clisp: Use system ASDF instead of bundled one. * gnu/packages/lisp.scm (clisp)[native-inputs]: Add cl-asdf. [arguments]: Add 'replace-asdf' phase. [native-search-paths]: Add XDG_CONFIG_DIRS and XDG_DATA_DIRS. =2D-- gnu/packages/lisp.scm | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 2a8c59546e..07d54747cb 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -322,6 +322,8 @@ supporting ASDF, Sockets, Gray streams, MOP, and other = useful components.") (sha256 (base32 "0k2dmgl0miz3767iks4p0mvp6xw0ysyxhjpklyh11j010rmh6hqb")))) (build-system gnu-build-system) + (native-inputs + `(("cl-asdf" ,cl-asdf))) (inputs `(("libffcall" ,libffcall) ("ncurses" ,ncurses) ("readline" ,readline) @@ -356,7 +358,25 @@ supporting ASDF, Sockets, Gray streams, MOP, and other= useful components.") (("/bin/sh") "sh")) (substitute* '("src/clisp-link.in") (("/bin/pwd") "pwd")) =2D #t))))) + #t)) + (add-after 'unpack 'replace-asdf + ;; Use system ASDF instead of bundled one. + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) + (guix-asdf (string-append + cl-asdf + "/share/common-lisp/source/asdf/asdf.lisp"= )) + (out (string-append (assoc-ref outputs "out"))) + (contrib-asdf "modules/asdf/asdf.lisp")) + (delete-file contrib-asdf) + (copy-file guix-asdf contrib-asdf))))))) + (native-search-paths + (list (search-path-specification + (variable "XDG_DATA_DIRS") + (files '("share"))) + (search-path-specification + (variable "XDG_CONFIG_DIRS") + (files '("etc"))))) (home-page "https://clisp.sourceforge.io/") (synopsis "A Common Lisp implementation") (description =2D-=20 2.29.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8o/RA8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j+4jQD/eU9QBTkS74UZ/tBs4a7jjBcFP7e7Wq2lZJkE LerqxAIA/iex2+Wa83D30T9woxkcDwpjJqheZIPYRK75rrG8ZpYm =bgpt -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 04 Dec 2020 17:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160710303522226 (code B ref 45017); Fri, 04 Dec 2020 17:31:01 +0000 Received: (at 45017) by debbugs.gnu.org; 4 Dec 2020 17:30:35 +0000 Received: from localhost ([127.0.0.1]:45534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klEuh-0005mQ-J9 for submit@debbugs.gnu.org; Fri, 04 Dec 2020 12:30:35 -0500 Received: from mout01.posteo.de ([185.67.36.65]:43167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klEua-0005m4-8D for 45017@debbugs.gnu.org; Fri, 04 Dec 2020 12:30:34 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C2251160065 for <45017@debbugs.gnu.org>; Fri, 4 Dec 2020 18:30:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607103021; bh=Sdtq8SCZ5N784bQkjQODUfimnrCW6AaH8rYNi65det8=; h=From:To:Cc:Subject:Date:From; b=WuzTdUSQZNyil3Hw2HN+cCDH4oRpmcY3Qb63puw6nvIaE5KQimtc69Inx+zuNLBpF cBbYbEblHBjGV5ZCsv7NdGQ5LtnaOnPP4537ZpnlYZlxV4hH6t27l3/kTiNyYL4t65 P6jBn416B79IzmrYyFq83Iuca7EC6S/Bmc7hvUTOt3GtuCOKWUq3ofpN+fEjvsKBwr 75rtkqBbnooyXgGsXR/bBTRMEMa0/K0Y5fbNxESMY7gcNPlMwnWSZIB4bJih6Oy1OX ALX3xwwENU/GkDissBtrDGxhx1YVGBVoTV54x1L2RHrXDYRiXTMBSm67Cjh0Y4Mrej 3w8Kd0E2kcvng== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CnfqH2X7xz9rxR; Fri, 4 Dec 2020 18:30:19 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <87k0tyuf6y.fsf@ambrevar.xyz> <871rg6szo9.fsf@yamatai> <87blf9u4bf.fsf@ambrevar.xyz> <87y2idsmnv.fsf@yamatai> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <87y2idsmnv.fsf@yamatai> Date: Fri, 04 Dec 2020 18:30:14 +0100 Message-ID: <87v9dhscm1.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) 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 (---) --=-=-= Content-Type: text/plain Guillaume Le Vaillant skribis: > The Lisp systems of sbcl-* and ecl-* packages installed in a profile are > supposed to be already compiled and immutable, so recompiling them > anyway would require tweaking the ASDF configuration from inside SBCL to > remove the output translations for these systems. > When doing development, it might be more convenient to just use the > sources or source packages of every system that has to be recompiled. I think entering the following expressions just after starting SBCL will allow development mixing libraries from user directories and from Guix profiles: --8<---------------cut here---------------start------------->8--- (require :asdf) (asdf:clear-output-translations) (asdf:initialize-output-translations '(:output-translations :enable-user-cache :ignore-inherited-configuration)) --8<---------------cut here---------------end--------------->8--- However with this configuration, the pre-compiled files in "/gnu/store/..." will not be used at all; everything will be compiled again if necessary and put in the user cache in ".cache/common-lisp/...". --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8pyJg8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8gPAD/Y2NUlxIEiBAfCofgCpJztKd08iunmtuxmnQ0 0RDDH5UBAJqhtF08EhoX+EvwaWahrmZqd65GLaqwMc0O1akM0MrW =tjXu -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 08:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160715634316096 (code B ref 45017); Sat, 05 Dec 2020 08:20:02 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 08:19:03 +0000 Received: from localhost ([127.0.0.1]:46498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klSmV-0004BY-0h for submit@debbugs.gnu.org; Sat, 05 Dec 2020 03:19:03 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:47441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klSmT-0004B4-93 for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 03:19:02 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 47F6CE0004; Sat, 5 Dec 2020 08:18:53 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87y2idsmnv.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <87k0tyuf6y.fsf@ambrevar.xyz> <871rg6szo9.fsf@yamatai> <87blf9u4bf.fsf@ambrevar.xyz> <87y2idsmnv.fsf@yamatai> Date: Sat, 05 Dec 2020 09:18:50 +0100 Message-ID: <877dpwsm1h.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: A few comments: > @@ -603, 7 +603, 8 @@ statistical profiler, a code coverage tool, and many other extensions.") > "0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c") > (_ "15l7cfa4a7jkfwdzsfm4q3n22jnb57imxahpql3h7 [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.196 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: A few comments: > @@ -603,7 +603,8 @@ statistical profiler, a code coverage tool, and many other extensions.") > "0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c") > (_ "15l7cfa4a7jkfwdzsfm4q3n22jnb57imxahpql3h7 [...] Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.196 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.196 listed in list.dnswl.org] 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable A few comments: > @@ -603,7 +603,8 @@ statistical profiler, a code coverage tool, and many = other extensions.") > "0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c") > (_ "15l7cfa4a7jkfwdzsfm4q3n22jnb57imxahpql3h77xin57v1gbz"= )))))))) > (native-inputs > - `(("m4" ,m4))) > + `(("cl-asdf" ,cl-asdf) > + ("m4" ,m4))) > (arguments > `(#:tests? #f ;no 'check' target > #:modules ((ice-9 match) > @@ -615,6 +616,17 @@ statistical profiler, a code coverage tool, and many= other extensions.") > (add-after 'unpack 'unpack-image > (lambda* (#:key inputs #:allow-other-keys) > (invoke "tar" "xzvf" (assoc-ref inputs "ccl-bootstrap")))) > + (add-after 'unpack 'replace-asdf > + ;; Use system ASDF instead of bundled one. > + (lambda* (#:key inputs outputs #:allow-other-keys) > + (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) > + (guix-asdf (string-append > + cl-asdf > + "/share/common-lisp/source/asdf/asdf.lis= p")) > + (out (string-append (assoc-ref outputs "out"))) "out" is unused. By the way, the same "out" is unused in SBCL. > + (contrib-asdf "tools/asdf.lisp")) > + (delete-file contrib-asdf) I think you don't need to delete the file, copy-file should overwrite. That's what SBCL does. Same with CLISP. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/LQmoSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/vF4H/2tUeB2QV3uI4ICjowEp3aA/ZTZkRr/v hQ2uI/hSz0yqJIO9xRr3TY2oubtgZfVd9w4iKOUHgLRDF77LUk9OWHk/ye3ujTSo 9CcCI5YXX9S4Dsj2lipDaocv+xlzUk/P11w9dm9oCXF4RgXgsCPv/sDMBpZlBtU8 VeG4IMUY0PPlI/nfxTduHdGlBNx6G4SIVmqX6cOgK7oCaZQH+Kmcaf6FBombxsUk zuaCYEVT4N1K/U4fqp4pbF/BY3/51C7zpKu6MFn3s+KF9xHt+Kk0hASgc4MxAeq6 vTUtalwZfA41dwFCM2o7Y6fXbUyqfT+R5p3WLHYv0HV2N1FT5PW7bmE= =QYa3 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 09:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160715987129589 (code B ref 45017); Sat, 05 Dec 2020 09:18:02 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 09:17:51 +0000 Received: from localhost ([127.0.0.1]:46553 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klThP-0007hB-EK for submit@debbugs.gnu.org; Sat, 05 Dec 2020 04:17:51 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:54495) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klThN-0007gx-Cg for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 04:17:50 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 725B440009; Sat, 5 Dec 2020 09:17:42 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87ft4n2cax.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> Date: Sat, 05 Dec 2020 10:17:41 +0100 Message-ID: <874kl0sjbe.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Tested! I've installed sbcl to my "common-lisp" profile along quri. I've also cloned quri to ~/common-lisp. Then: Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.194 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Tested! I've installed sbcl to my "common-lisp" profile along quri. I've also cloned quri to ~/common-lisp. Then: Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.194 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.194 listed in list.dnswl.org] 1.6 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Tested! I've installed sbcl to my "common-lisp" profile along quri. I've also cloned quri to ~/common-lisp. Then: =2D-8<---------------cut here---------------start------------->8--- $ sbcl * (asdf:locate-system :quri) T NIL #P"/gnu/store/5gj1inwiqpn2fm9w384zd0grpyadx96m-sbcl-quri-0.1.0-2.b53231c/sh= are/common-lisp/sbcl/quri/quri.asd" NIL NIL NIL ;; Indeed: * (asdf:user-source-registry-directory) #P"/gnu/store/75qppl3a062b138fkrn324qq8f912zqh-profile/etc/common-lisp/sour= ce-registry.conf.d/" =2D-8<---------------cut here---------------end--------------->8--- It does not work because the sbcl package definition sets the XDG_CONFIG_DIRS native search path which is picked by user-source-registry-directory, which has higher priority than default-user-source-registry. I think the flaw is ASDF's this time: =2D-8<---------------cut here---------------start------------->8--- (defun user-source-registry-directory (&key (direction :input)) (xdg-config-pathname *source-registry-directory* direction)) ;... (defun xdg-config-pathnames (&rest more) "Return a list of pathnames for application configuration. MORE may contain specifications for a subpath relative to these directories= : a subpathname specification and keyword arguments as per RESOLVE-LOCATION \(s= ee also \"Configuration DSL\"\) in the ASDF manual." (filter-pathname-set `(,(xdg-config-home more) ,@(xdg-config-dirs more)))) =2D-8<---------------cut here---------------end--------------->8--- So the user registry looks into XDG_CONFIG_DIRS, while really it should just look at XDG_CONFIG_HOME. So this patch should do (untested): =2D-8<---------------cut here---------------start------------->8--- =2D (defun user-source-registry-directory (&key (direction :input)) =2D (xdg-config-pathname *source-registry-directory* direction)) + (defun user-source-registry-directory (&key (direction :input)) + (find-preferred-file (list (xdg-config-home *source-registry-directory*= )) :direction direction)) =2D-8<---------------cut here---------------end--------------->8--- If you confirm, then we should also report upstream I think. Cheers! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/LUDUSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/BysH/3/CNWf7ZX79XbLAYa+Y4HcUB+LkkYvp eR8vmSLMrPLNfvQ1JFMQbLlT/9M04EU2+5BHTGoflqn5UGN1+PaA1NvEj4C+lSXk HZq9RTIbeIas6ZG16AuqKX8IrNvWBdV6T6EgGA1dHXjKGF9eWutKP5G6Aeg1ifSD HUBk7MWyCXkb5Dp4g02JrjgHfGuSdAJJ1jqkVX9ptbB2m+ozwfprUCMkBZobaJRM mZZDzyDA91ee4HRJJUFHMfcZbwYIle6qSmSpyJwKscM6mXs6LPOV5us09wU6fedk RMzgBcIG3DR6iXIIIpMhEALsAiSqdoHw4Rmz/fEc1zdz1z7YhCpEc6E= =qGIj -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 09:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.160716139532088 (code B ref 45017); Sat, 05 Dec 2020 09:44:02 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 09:43:15 +0000 Received: from localhost ([127.0.0.1]:46573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klU5y-0008LT-ND for submit@debbugs.gnu.org; Sat, 05 Dec 2020 04:43:14 -0500 Received: from mout01.posteo.de ([185.67.36.65]:49745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klU5t-0008L8-FT for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 04:43:13 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id E45A8160060 for <45017@debbugs.gnu.org>; Sat, 5 Dec 2020 10:43:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607161382; bh=Xv3dM8QLbrZq9Unr4mU/66LlJRjl5W2PYtMVSivdI30=; h=From:To:Cc:Subject:Date:From; b=KatLCkyDKjpSC34NcOKh3yCJXtwPOa2zV2pCxEoLtcEpLLEsZi9Syd5SiP4p8prjL GJsM/oJeM5N98vLNmB5VAFzuToKOCHqH6jUKlpSRCh5DOUghMCDBRTuQ/ro27DirIm T1MfnMjRrHkG70bZMqsDYZwg1tKfExdx1wKPUzE2KbYcdHgCo50wUQod3okK6Du4Le HgA4RJW+ybPg1CuGwdgfnh0VhPntP1fZom6nIudKzN7C33o7GWajhDupmkdUDnjytu V1qa/zjl5IPyV/YRUgRhiVAUh1ZX5d2j+RcOoCcoUz6Uy7Lfr2FH3vNtcs56DYeR1T TkX6z6KrUJHag== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cp4Pd3mQ9z6tmN; Sat, 5 Dec 2020 10:43:00 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <87k0tyuf6y.fsf@ambrevar.xyz> <871rg6szo9.fsf@yamatai> <87blf9u4bf.fsf@ambrevar.xyz> <87y2idsmnv.fsf@yamatai> <877dpwsm1h.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <877dpwsm1h.fsf@ambrevar.xyz> Date: Sat, 05 Dec 2020 10:42:59 +0100 Message-ID: <871rg4lhb0.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > A few comments: > >> @@ -603,7 +603,8 @@ statistical profiler, a code coverage tool, and many other extensions.") >> "0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c") >> (_ "15l7cfa4a7jkfwdzsfm4q3n22jnb57imxahpql3h77xin57v1gbz")))))))) >> (native-inputs >> - `(("m4" ,m4))) >> + `(("cl-asdf" ,cl-asdf) >> + ("m4" ,m4))) >> (arguments >> `(#:tests? #f ;no 'check' target >> #:modules ((ice-9 match) >> @@ -615,6 +616,17 @@ statistical profiler, a code coverage tool, and many other extensions.") >> (add-after 'unpack 'unpack-image >> (lambda* (#:key inputs #:allow-other-keys) >> (invoke "tar" "xzvf" (assoc-ref inputs "ccl-bootstrap")))) >> + (add-after 'unpack 'replace-asdf >> + ;; Use system ASDF instead of bundled one. >> + (lambda* (#:key inputs outputs #:allow-other-keys) >> + (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) >> + (guix-asdf (string-append >> + cl-asdf >> + "/share/common-lisp/source/asdf/asdf.lisp")) >> + (out (string-append (assoc-ref outputs "out"))) > > "out" is unused. By the way, the same "out" is unused in SBCL. > Indeed, I'll fix that. >> + (contrib-asdf "tools/asdf.lisp")) >> + (delete-file contrib-asdf) > > I think you don't need to delete the file, copy-file should overwrite. > That's what SBCL does. > > Same with CLISP. Actually, for CCL and Clisp, I get a "In procedure copy-file: Permission denied" error if I don't delete the current file before copying the new one. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8tWIw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8SygD9HSufWhgk2xmdoB5tFwVIP6+LmCkFayKi44ju 4rLfb5oA/3wUGLwn7B4+q+zzVWt5m+AC9tOG4SmEqB1yWi2I6M6k =/vO5 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 10:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.16071626151539 (code B ref 45017); Sat, 05 Dec 2020 10:04:02 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 10:03:35 +0000 Received: from localhost ([127.0.0.1]:46577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klUPf-0000Ol-FK for submit@debbugs.gnu.org; Sat, 05 Dec 2020 05:03:35 -0500 Received: from mout02.posteo.de ([185.67.36.66]:33129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klUPb-0000OR-KI for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 05:03:34 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id F2C872400FB for <45017@debbugs.gnu.org>; Sat, 5 Dec 2020 11:03:24 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607162605; bh=CEoKauWQA7gfAQSQNzkNCv0Ngb0dwslAs3xPNRx2sD8=; h=From:To:Cc:Subject:Date:From; b=PecVxB7eJfJP+ZOfGVuFXeI87+ihSlaj7m7zAnSUJdKI7HiFt6FoBcD9O5Rfhavd1 fL8JLF3sf3ZHfn0GTuUmI0GPAj+7+SdNWFZIO0kFPLVGp4pFdgH7Lapj+CeM8wjbCS XCY+XdeHRUHQRlpwBbQBJBMy5kIFH4PmgZAz7oD0awyPrAp6ZtSK8S6EgmkPQ61TwK 40w+k3ARlJ5+jZ8/oK7GdIGwj1bYc4rs1nRIPQF35LgNaMioMcUIliFPdBgvNhSJ/D OyI/r3ZymcV8I1NYF2i4PRCLHknSfEqpgRqWECVPJRi1IsdV51k0zmBaplO0q5+8qn vEtRx1X+8fdhg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cp4s73ml4z6tmD; Sat, 5 Dec 2020 11:03:23 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <874kl0sjbe.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <874kl0sjbe.fsf@ambrevar.xyz> Date: Sat, 05 Dec 2020 11:03:21 +0100 Message-ID: <87y2ick1sm.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.7 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > Tested! > > I've installed sbcl to my "common-lisp" profile along quri. > I've also cloned quri to ~/common-lisp. > > Then: > > --8<---------------cut here---------------start------------->8--- > $ sbcl > * (asdf:locate-system :quri) > T > NIL > #P"/gnu/store/5gj1inwiqpn2fm9w384zd0grpyadx96m-sbcl-quri-0.1.0-2.b53231c/share/common-lisp/sbcl/quri/quri.asd" > NIL > NIL > NIL > > ;; Indeed: > * (asdf:user-source-registry-directory) > #P"/gnu/store/75qppl3a062b138fkrn324qq8f912zqh-profile/etc/common-lisp/source-registry.conf.d/" > --8<---------------cut here---------------end--------------->8--- > > It does not work because the sbcl package definition sets the > XDG_CONFIG_DIRS native search path which is picked by > user-source-registry-directory, which has higher priority than > default-user-source-registry. > > I think the flaw is ASDF's this time: > > --8<---------------cut here---------------start------------->8--- > (defun user-source-registry-directory (&key (direction :input)) > (xdg-config-pathname *source-registry-directory* direction)) > > ;... > > (defun xdg-config-pathnames (&rest more) > "Return a list of pathnames for application configuration. > MORE may contain specifications for a subpath relative to these directories: a > subpathname specification and keyword arguments as per RESOLVE-LOCATION \(see > also \"Configuration DSL\"\) in the ASDF manual." > (filter-pathname-set > `(,(xdg-config-home more) > ,@(xdg-config-dirs more)))) > --8<---------------cut here---------------end--------------->8--- > > So the user registry looks into XDG_CONFIG_DIRS, while really it should > just look at XDG_CONFIG_HOME. > The same test works for me. I think it's because I have a ".config/common-lisp/source-registry.conf.d" directory (even if it's empty), and '(user-source-registry-directory)' returns it instead of the first directory in XDG_CONFIG_DIRS. > So this patch should do (untested): > > --8<---------------cut here---------------start------------->8--- > - (defun user-source-registry-directory (&key (direction :input)) > - (xdg-config-pathname *source-registry-directory* direction)) > + (defun user-source-registry-directory (&key (direction :input)) > + (find-preferred-file (list (xdg-config-home *source-registry-directory*)) :direction direction)) > --8<---------------cut here---------------end--------------->8--- > > If you confirm, then we should also report upstream I think. > > Cheers! I don't know if the fact that ASDF can give priority to XDG_CONFIG_DIRS over "~/common-lisp" is a feature or a bug, so you could ask upstream. Anyway in our case, your patch makes sense since we always want to give priority to "~/common-lisp" and other usual user directories. I'll add it to our patch for cl-asdf. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8ta6Q8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j84mAD/UGNSdhWLWWSnHbMkCoJqzDavOH1ZBME1mctC AbdqhDUA/3Pfy+5o+qmpXwuuGkbPIlxmwZVHfmpo12low3Rpdptb =cVLs -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Guillaume Le Vaillant Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 10:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Pierre Neidhardt Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.16071655906162 (code B ref 45017); Sat, 05 Dec 2020 10:54:02 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 10:53:10 +0000 Received: from localhost ([127.0.0.1]:46617 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klVBS-0001as-8o for submit@debbugs.gnu.org; Sat, 05 Dec 2020 05:53:10 -0500 Received: from mout02.posteo.de ([185.67.36.66]:51273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klVBN-0001aZ-53 for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 05:52:57 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 411412400FB for <45017@debbugs.gnu.org>; Sat, 5 Dec 2020 11:52:46 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607165566; bh=c6ZNz6wFqZKqmuDFAg6rgDquz4TqOBaQwym1AyO+5P4=; h=From:To:Cc:Subject:Date:From; b=nSIA6+zWlmgZwKYhA8p+pNlWjez3k4vhDCgjEgKrlhqcmmB1K7RjwBBISBKqZf+lZ Bktpd0G9XOn6OzDSyp1zDoFK55D/CpeFJ8dWtccm48itIdqPb7ND8FRsaQP3rI4c++ FGPYJjZo2Gd/WlwRpRcy1fs7/XxlWIAikQM2LcmPJ36IQorOALus2qarQq/aDURgGa gULCIOxhiEK0Gn/PrpOtFNKIvZ1zyz0JHdMWRKhSNjfnG3ngLgGyJY6O47/fM2LyxP kAcji61WPRyu7o73JEOWfNCN8I3NvLY3CBYRGfRL7gE/du15QxzxGhXNwtDr4AsEXP AOBGMAmZ0vBiQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cp5y42dMrz9rxQ; Sat, 5 Dec 2020 11:52:43 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <874kl0sjbe.fsf@ambrevar.xyz> <87y2ick1sm.fsf@yamatai> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant In-reply-to: <87y2ick1sm.fsf@yamatai> Date: Sat, 05 Dec 2020 11:52:43 +0100 Message-ID: <87v9dgjzic.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) 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.6 (/) --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain Updated patches in attachment. Do you see something else to fix or improve? --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-gnu-cl-asdf-Improve-priorities-of-configuration-file.patch Content-Transfer-Encoding: quoted-printable From=20757b4f4a84fdbcbd26148f2a170d84ba8c128c7a Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Thu, 3 Dec 2020 14:52:02 +0100 Subject: [PATCH 1/6] gnu: cl-asdf: Improve priorities of configuration file search. * gnu/packages/patches/cl-asdf-config-directories.patch: New file. * gnu/local.mk (dist_PATCH_DATA): Add it. * gnu/packages/lisp.scm (cl-asdf)[native-inputs]: Add it. [arguments]: Apply the new patch. Co-authored-by: Pierre Neidhardt =2D-- gnu/local.mk | 1 + gnu/packages/lisp.scm | 28 ++++-------- .../patches/cl-asdf-config-directories.patch | 44 +++++++++++++++++++ 3 files changed, 53 insertions(+), 20 deletions(-) create mode 100644 gnu/packages/patches/cl-asdf-config-directories.patch diff --git a/gnu/local.mk b/gnu/local.mk index 28ad119846..f838ebe1fa 100644 =2D-- a/gnu/local.mk +++ b/gnu/local.mk @@ -868,6 +868,7 @@ dist_patch_DATA =3D \ %D%/packages/patches/cdrtools-3.01-mkisofs-isoinfo.patch \ %D%/packages/patches/ceph-disable-cpu-optimizations.patch \ %D%/packages/patches/chmlib-inttypes.patch \ + %D%/packages/patches/cl-asdf-config-directories.patch \ %D%/packages/patches/clamav-config-llvm-libs.patch \ %D%/packages/patches/clamav-system-tomsfastmath.patch \ %D%/packages/patches/clang-3.5-libc-search-path.patch \ diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index e4c963070e..0038cb0dca 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -90,6 +90,9 @@ (sha256 (base32 "1hpx30f6yrak15nw992k7x3pn75ahvjs04n4f134k68mhgs62km2")))) (build-system trivial-build-system) + (native-inputs + `(("config-patch" ,@(search-patches "cl-asdf-config-directories.patch= ")) + ("patch" ,patch))) (arguments `(#:modules ((guix build utils) (guix build lisp-utils)) @@ -101,28 +104,13 @@ (asdf-install (string-append out %source-install-prefix "/source/asdf/")) (src-asdf (string-append (assoc-ref %build-inputs "source"= ))) =2D (dst-asdf (string-append asdf-install "asdf.lisp"))) + (dst-asdf (string-append asdf-install "asdf.lisp")) + (patch (string-append (assoc-ref %build-inputs "patch") + "/bin/patch")) + (config-patch (assoc-ref %build-inputs "config-patch"))) (mkdir-p asdf-install) (copy-file src-asdf dst-asdf) =2D ;; Patch ASDF to make it read the configuration files in all =2D ;; the direcories listed in '$XDG_CONFIG_DIRS' instead of just =2D ;; the first. =2D (substitute* dst-asdf =2D (("\\(xdg-config-pathname \\*source-registry-directory\\* d= irection\\)") =2D "`(:source-registry =2D ,@(loop =2D for dir in (xdg-config-dirs =2D \"common-lisp/source-registry.conf.d/\= ") =2D collect `(:include ,dir)) =2D :inherit-configuration)") =2D (("\\(xdg-config-pathname \\*output-translations-directory\= \* direction\\)") =2D "`(:output-translations =2D ,@(loop =2D for dir in (xdg-config-dirs =2D \"common-lisp/asdf-output-translations= .conf.d/\") =2D collect `(:include ,dir)) =2D :inherit-configuration)"))) =2D #t))) + (invoke patch "-p1" "-i" config-patch dst-asdf))))) (home-page "https://common-lisp.net/project/asdf/") (synopsis "Another System Definition Facility") (description diff --git a/gnu/packages/patches/cl-asdf-config-directories.patch b/gnu/pa= ckages/patches/cl-asdf-config-directories.patch new file mode 100644 index 0000000000..2b1b51932c =2D-- /dev/null +++ b/gnu/packages/patches/cl-asdf-config-directories.patch @@ -0,0 +1,44 @@ +Search for ASDF configuration files first in user directories, and then in +Guix profiles. + +diff -ru a/asdf-3.3.4.lisp b/asdf-3.3.4.lisp +--- a/asdf-3.3.4.lisp 2020-02-14 20:16:22.000000000 +0100 ++++ b/asdf-3.3.4.lisp 2020-12-05 11:09:56.066229482 +0100 +@@ -12535,10 +12535,15 @@ + (find-preferred-file (system-config-pathnames *output-translations-fi= le*) + :direction direction)) + (defun user-output-translations-directory-pathname (&key (direction :in= put)) +- (xdg-config-pathname *output-translations-directory* direction)) +- (defun system-output-translations-directory-pathname (&key (direction := input)) +- (find-preferred-file (system-config-pathnames *output-translations-di= rectory*) ++ (find-preferred-file (list (xdg-config-home *output-translations-dire= ctory*)) + :direction direction)) ++ (defun system-output-translations-directory-pathname (&key (direction := input)) ++ `(:output-translations ++ ,@(loop :for dir :in (filter-pathname-set ++ (xdg-config-dirs ++ "common-lisp/asdf-output-translations.conf.d= /")) ++ :collect `(:include ,dir)) ++ :inherit-configuration)) + (defun environment-output-translations () + (getenv "ASDF_OUTPUT_TRANSLATIONS")) +=20 +@@ -12921,10 +12926,15 @@ + (find-preferred-file (system-config-pathnames *source-registry-file*) + :direction direction)) + (defun user-source-registry-directory (&key (direction :input)) +- (xdg-config-pathname *source-registry-directory* direction)) +- (defun system-source-registry-directory (&key (direction :input)) +- (find-preferred-file (system-config-pathnames *source-registry-direct= ory*) ++ (find-preferred-file (list (xdg-config-home *source-registry-director= y*)) + :direction direction)) ++ (defun system-source-registry-directory (&key (direction :input)) ++ `(:source-registry ++ ,@(loop :for dir :in (filter-pathname-set ++ (xdg-config-dirs ++ "common-lisp/source-registry.conf.d/")) ++ :collect `(:include ,dir)) ++ :inherit-configuration)) + (defun environment-source-registry () + (getenv "CL_SOURCE_REGISTRY")) +=20 =2D-=20 2.29.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0002-gnu-ccl-Use-system-ASDF-instead-of-bundled-one.patch Content-Transfer-Encoding: quoted-printable From=2053a63ff01929f4afe0d841ee9f4a09a5514b0ca8 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 4 Dec 2020 10:29:34 +0100 Subject: [PATCH 2/6] gnu: ccl: Use system ASDF instead of bundled one. * gnu/packages/lisp.scm (ccl)[native-inputs]: Add cl-asdf. [arguments]: Add 'replace-asdf' phase. [native-search-paths]: Add XDG_CONFIG_DIRS and XDG_DATA_DIRS. =2D-- gnu/packages/lisp.scm | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 0038cb0dca..a4cbc28ffc 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -603,7 +603,8 @@ statistical profiler, a code coverage tool, and many ot= her extensions.") "0x4bjx6cxsjvxyagijhlvmc7jkyxifdvz5q5zvz37028va65243c") (_ "15l7cfa4a7jkfwdzsfm4q3n22jnb57imxahpql3h77xin57v1gbz"))= )))))) (native-inputs =2D `(("m4" ,m4))) + `(("cl-asdf" ,cl-asdf) + ("m4" ,m4))) (arguments `(#:tests? #f ;no 'check' target #:modules ((ice-9 match) @@ -615,6 +616,16 @@ statistical profiler, a code coverage tool, and many o= ther extensions.") (add-after 'unpack 'unpack-image (lambda* (#:key inputs #:allow-other-keys) (invoke "tar" "xzvf" (assoc-ref inputs "ccl-bootstrap")))) + (add-after 'unpack 'replace-asdf + ;; Use system ASDF instead of bundled one. + (lambda* (#:key inputs #:allow-other-keys) + (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) + (guix-asdf (string-append + cl-asdf + "/share/common-lisp/source/asdf/asdf.lisp"= )) + (contrib-asdf "tools/asdf.lisp")) + (delete-file contrib-asdf) + (copy-file guix-asdf contrib-asdf)))) (delete 'configure) (add-before 'build 'pre-build ;; Enter the source directory for the current platform's lisp @@ -678,6 +689,13 @@ statistical profiler, a code coverage tool, and many o= ther extensions.") "exec -a \"$0\" " libdir kernel " \"$@\"\n")))) (chmod wrapper #o755)) #t))))) + (native-search-paths + (list (search-path-specification + (variable "XDG_DATA_DIRS") + (files '("share"))) + (search-path-specification + (variable "XDG_CONFIG_DIRS") + (files '("etc"))))) (supported-systems '("i686-linux" "x86_64-linux" "armhf-linux")) (home-page "https://ccl.clozure.com/") (synopsis "Common Lisp implementation") =2D-=20 2.29.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0003-gnu-clisp-Use-system-ASDF-instead-of-bundled-one.patch Content-Transfer-Encoding: quoted-printable From=20a855535add82bf0ba4cacf84a526be38f8230440 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Fri, 4 Dec 2020 10:48:41 +0100 Subject: [PATCH 3/6] gnu: clisp: Use system ASDF instead of bundled one. * gnu/packages/lisp.scm (clisp)[native-inputs]: Add cl-asdf. [arguments]: Add 'replace-asdf' phase. [native-search-paths]: Add XDG_CONFIG_DIRS and XDG_DATA_DIRS. =2D-- gnu/packages/lisp.scm | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index a4cbc28ffc..2ec4da8fbb 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -322,6 +322,8 @@ supporting ASDF, Sockets, Gray streams, MOP, and other = useful components.") (sha256 (base32 "0k2dmgl0miz3767iks4p0mvp6xw0ysyxhjpklyh11j010rmh6hqb")))) (build-system gnu-build-system) + (native-inputs + `(("cl-asdf" ,cl-asdf))) (inputs `(("libffcall" ,libffcall) ("ncurses" ,ncurses) ("readline" ,readline) @@ -356,7 +358,24 @@ supporting ASDF, Sockets, Gray streams, MOP, and other= useful components.") (("/bin/sh") "sh")) (substitute* '("src/clisp-link.in") (("/bin/pwd") "pwd")) =2D #t))))) + #t)) + (add-after 'unpack 'replace-asdf + ;; Use system ASDF instead of bundled one. + (lambda* (#:key inputs #:allow-other-keys) + (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) + (guix-asdf (string-append + cl-asdf + "/share/common-lisp/source/asdf/asdf.lisp"= )) + (contrib-asdf "modules/asdf/asdf.lisp")) + (delete-file contrib-asdf) + (copy-file guix-asdf contrib-asdf))))))) + (native-search-paths + (list (search-path-specification + (variable "XDG_DATA_DIRS") + (files '("share"))) + (search-path-specification + (variable "XDG_CONFIG_DIRS") + (files '("etc"))))) (home-page "https://clisp.sourceforge.io/") (synopsis "A Common Lisp implementation") (description =2D-=20 2.29.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0004-gnu-ecl-Simplify-replace-asdf-phase.patch Content-Transfer-Encoding: quoted-printable From=205b3ae58f494a1728143b85abb5ef5655f04499d7 Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Dec 2020 10:11:38 +0100 Subject: [PATCH 4/6] gnu: ecl: Simplify 'replace-asdf' phase. * gnu/packages/lisp.scm (ecl)[arguments]: Remove unused 'out' variable in 'replace-asdf' phase. =2D-- gnu/packages/lisp.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 2ec4da8fbb..a540174c88 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -250,12 +250,11 @@ interface to the Tk widget system.") (delete 'check) (add-after 'unpack 'replace-asdf ;; Use system ASDF instead of bundled one. =2D (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key inputs #:allow-other-keys) (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) (guix-asdf (string-append cl-asdf "/share/common-lisp/source/asdf/asdf.lisp"= )) =2D (out (string-append (assoc-ref outputs "out"))) (contrib-asdf "contrib/asdf/asdf.lisp")) (copy-file guix-asdf contrib-asdf)) #t)) =2D-=20 2.29.2 --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0005-gnu-sbcl-Simplify-replace-asdf-phase.patch Content-Transfer-Encoding: quoted-printable From=20466d7cdbee216df3fa298196228e265d9431dcfa Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Sat, 5 Dec 2020 10:22:42 +0100 Subject: [PATCH 5/6] gnu: sbcl: Simplify 'replace-asdf' phase. * gnu/packages/lisp.scm (sbcl)[arguments]: Remove unused 'out' variable in 'replace-asdf' phase. =2D-- gnu/packages/lisp.scm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index a540174c88..3d446290a7 100644 =2D-- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -444,12 +444,11 @@ an interpreter, a compiler, a debugger, and much more= .") ;; of ASDF we use to build software; therefore, replace the con= trib ;; ASDF with the version packaged into Guix. ;; [1] - https://bugs.launchpad.net/sbcl/+bug/1823442 =2D (lambda* (#:key inputs outputs #:allow-other-keys) + (lambda* (#:key inputs #:allow-other-keys) (let* ((cl-asdf (assoc-ref inputs "cl-asdf")) (guix-asdf (string-append cl-asdf "/share/common-lisp/source/asdf/asdf.lisp"= )) =2D (out (string-append (assoc-ref outputs "out"))) (contrib-asdf "contrib/asdf/asdf.lisp")) (copy-file guix-asdf contrib-asdf)) #t)) =2D-=20 2.29.2 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8tmew8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8QHgD+KL5dSHMlzdz2UNWf6fJAqmfXkq5//Q5yfXvh PznRA9wA/i71IMC7cNvar6Hr9mc9sXdQc9jRZwNy+S/Fu8lFoISs =7zdY -----END PGP SIGNATURE----- --==-=-=-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 14:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 45017@debbugs.gnu.org Received: via spool by 45017-submit@debbugs.gnu.org id=B45017.16071793593962 (code B ref 45017); Sat, 05 Dec 2020 14:43:01 +0000 Received: (at 45017) by debbugs.gnu.org; 5 Dec 2020 14:42:39 +0000 Received: from localhost ([127.0.0.1]:46841 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klYlj-00011q-Co for submit@debbugs.gnu.org; Sat, 05 Dec 2020 09:42:39 -0500 Received: from relay5-d.mail.gandi.net ([217.70.183.197]:58365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klYlg-00011a-SX for 45017@debbugs.gnu.org; Sat, 05 Dec 2020 09:42:37 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay5-d.mail.gandi.net (Postfix) with ESMTPSA id DC2511C0004; Sat, 5 Dec 2020 14:42:29 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <87v9dgjzic.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <874kl0sjbe.fsf@ambrevar.xyz> <87y2ick1sm.fsf@yamatai> <87v9dgjzic.fsf@yamatai> Date: Sat, 05 Dec 2020 15:42:28 +0100 Message-ID: <87czzofh63.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Guillaume Le Vaillant writes: > Updated patches in attachment. > Do you see something else to fix or improve? Tested and approved! Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.197 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.197 listed in wl.mailspike.net] 1.7 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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: 2.1 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Guillaume Le Vaillant writes: > Updated patches in attachment. > Do you see something else to fix or improve? Tested and approved! Content analysis details: (2.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [217.70.183.197 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.183.197 listed in wl.mailspike.net] 1.7 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Guillaume Le Vaillant writes: > Updated patches in attachment. > Do you see something else to fix or improve? Tested and approved! I suggest we merge on master since this is not very disruptive and it fixes a regression introduced with the build system overhaul. Thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/LnFQSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/PDYH/35KAXoGFtJ8eZdT3+xQg8ZWxV32XKCl F2LmBNF5hBY+zuIAb7thbEWZ2Ns1DwL82tMNlWuOwnBKIOqP6XFp/3XZQweBIqOf pAe+zB3Sc+wuK0DDArsc20XlQvw1UuJGf5ySWDWOzYdIt2LMyr/M6Luq60Ww43Cy eB+x/nmiFwcfMnZ0y/47Gki07DPQwPOSjZazTxm2wggOfNi+FeE+BRjfThzb6Nxu yjeYBhtnjH62AzJF7A6Jci1mygFQe7sKr9iRz6SOtEGDb1PhhxyB1aLzyIYQ0UKm kF3KR6nTrXljfXjgIjnHz7dftI8Ru2CRo55O6hn7o5HrPO6v7VPjqo0= =Ill0 -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Sep 05 20:55:39 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Pierre Neidhardt Subject: bug#45017: closed (Re: asdf-build-system packages have priority over user ones) Message-ID: References: <874kl0qo30.fsf@yamatai> <87wnxzmdiy.fsf@ambrevar.xyz> X-Gnu-PR-Message: they-closed 45017 X-Gnu-PR-Package: guix Reply-To: 45017@debbugs.gnu.org Date: Sat, 05 Dec 2020 15:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1607181482-8641-1" This is a multi-part message in MIME format... ------------=_1607181482-8641-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #45017: asdf-build-system packages have priority over user ones which was filed against the guix package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 45017@debbugs.gnu.org. --=20 45017: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D45017 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1607181482-8641-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 45017-done) by debbugs.gnu.org; 5 Dec 2020 15:17:49 +0000 Received: from localhost ([127.0.0.1]:48006 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZJl-0002Ev-Lg for submit@debbugs.gnu.org; Sat, 05 Dec 2020 10:17:49 -0500 Received: from mout02.posteo.de ([185.67.36.66]:60785) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZJj-0002Ej-N7 for 45017-done@debbugs.gnu.org; Sat, 05 Dec 2020 10:17:48 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 1DE192400FF for <45017-done@debbugs.gnu.org>; Sat, 5 Dec 2020 16:17:42 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1607181462; bh=UrpSZkYgN3iVaR4va6oSUH99uxZ46ERIuA+b+tSMK6U=; h=From:To:Cc:Subject:Date:From; b=cRI2VxOSy1aZcfurk7q9zWcT2YaXCEuYhP2RaKcnP+vDIW76B61LoLseBfZx3BPWP YHQlkLjqlU2Yu3//p446B7h3w036kNWSL/kuyUDfQh+muidlT5+cDk5nvw6r6ZkuzD 9DkjssT0mZDKRFPTN/u/Cz7PId2geLrDLIdfk4h/XJ3L2vx/Z3P3cvEPyZP4o1F3Iz Yp4G8zzj3Joy1C22QiG0qZnA5A2QuE1xB7BKvEKPHGxhMP4Y4C74h/YWwrXhh9iDau t6xPDwqDLYWBdH7aCxwQ/0t8Ga0r9zyxYyuhv3892yOaz1NNCIlSiJib+0pVt99Xns 0DUlO1RKYUTEQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CpCqn1TwYz9rxQ; Sat, 5 Dec 2020 16:17:40 +0100 (CET) References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <874kl0sjbe.fsf@ambrevar.xyz> <87y2ick1sm.fsf@yamatai> <87v9dgjzic.fsf@yamatai> <87czzofh63.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant To: Pierre Neidhardt Subject: Re: asdf-build-system packages have priority over user ones In-reply-to: <87czzofh63.fsf@ambrevar.xyz> Date: Sat, 05 Dec 2020 16:17:39 +0100 Message-ID: <874kl0qo30.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.6 (/) X-Debbugs-Envelope-To: 45017-done Cc: 45017-done@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.6 (-) --=-=-= Content-Type: text/plain Pierre Neidhardt skribis: > Guillaume Le Vaillant writes: > >> Updated patches in attachment. >> Do you see something else to fix or improve? > > Tested and approved! > > I suggest we merge on master since this is not very disruptive and it > fixes a regression introduced with the build system overhaul. > > Thoughts? Thanks for the review. Pushed as 031fbebafef81244a72e584a46b3fcc219256fcb and following. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIQEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8ukkw8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j8UkQEAlptiDYowjO3PMtoy8CP5SLsCuVyth5bSeqN4 lXo8l9sA+KzxY6viYHl+BFzTYbyW1S/PSx6Ux+fNBzPg5lBxJQE= =UDkC -----END PGP SIGNATURE----- --=-=-=-- ------------=_1607181482-8641-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Dec 2020 09:42:38 +0000 Received: from localhost ([127.0.0.1]:38383 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkl8I-0003WQ-5O for submit@debbugs.gnu.org; Thu, 03 Dec 2020 04:42:38 -0500 Received: from lists.gnu.org ([209.51.188.17]:34342) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kkl8G-0003WJ-PO for submit@debbugs.gnu.org; Thu, 03 Dec 2020 04:42:37 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkl8G-0001rA-Hp for bug-guix@gnu.org; Thu, 03 Dec 2020 04:42:36 -0500 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:56587) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkl8E-0001dD-DC for bug-guix@gnu.org; Thu, 03 Dec 2020 04:42:36 -0500 X-Originating-IP: 90.92.160.122 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id E4A73E000E; Thu, 3 Dec 2020 09:42:29 +0000 (UTC) From: Pierre Neidhardt To: bug-guix@gnu.org Subject: asdf-build-system packages have priority over user ones Date: Thu, 03 Dec 2020 10:42:29 +0100 Message-ID: <87wnxzmdiy.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Received-SPF: pass client-ip=217.70.183.196; envelope-from=mail@ambrevar.xyz; helo=relay4-d.mail.gandi.net X-Spam_score_int: 21 X-Spam_score: 2.1 X-Spam_bar: ++ X-Spam_report: (2.1 / 5.0 requ) BAYES_00=-1.9, FROM_SUSPICIOUS_NTLD=0.499, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=1.501, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 2.4 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Since staging was merged a few days ago, I've noticed an undesirable side-effect of our revamped asdf-build-system: the systems packages have priority over the user-local ones. Here is the default list of registries: Content analysis details: (2.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.5 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [209.51.188.17 listed in wl.mailspike.net] -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 2.0 FROM_SUSPICIOUS_NTLD_FP From abused NTLD X-Debbugs-Envelope-To: submit Cc: Guillaume Le Vaillant 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.6 (/) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Since staging was merged a few days ago, I've noticed an undesirable side-effect of our revamped asdf-build-system: the systems packages have priority over the user-local ones. Here is the default list of registries: =2D-8<---------------cut here---------------start------------->8--- (defparameter* *default-source-registries* '(environment-source-registry user-source-registry user-source-registry-directory default-user-source-registry system-source-registry system-source-registry-directory default-system-source-registry) "List of default source registries" "3.1.0.102") =2D-8<---------------cut here---------------end--------------->8--- `user-source-registry' points to what is read in ~/.config/common-lisp/source-registry.conf(.d/)?, so nothing by default. user-source-registry-directory reads what's in XDG_CONFIG_DIRS, and it finds the Guix packages there. The default-user-source-registry expands to =2D-8<---------------cut here---------------start------------->8--- (:SOURCE-REGISTRY (:TREE (:HOME "common-lisp/")) (:DIRECTORY (:HOME ".sbcl/systems/")) (:DIRECTORY #P"/home/ambrevar/.local/share/common-lisp/systems/") (:TREE #P"/home/ambrevar/.local/share/common-lisp/source/") :INHERIT-CONFIGURATION) =2D-8<---------------cut here---------------end--------------->8--- which is where I would drop my user-local packages. Finally, default-system-source-registry reads what's in XDG_DATA_DIRS, and it finds the packages there again, but it does not read the Guix-generated conf which collects the dependencies of each package. I believe the issue is that `user-source-registry-directory' should read from XDG_CONFIG_HOME, and not XDG_CONFIG_DIRS (which would make it redundant with `user-source-registry'). This would make it an upstream issue, but I wanted to double-check I properly understood the problem with the Guix community first. Guillaume, thoughts on this? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/IswUSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/7QMH/Riz1Rp5GpGK6HxMVyTM9kaYgyYj3UFi 3htXx5JFQkDh12RwrnxsjyYiEYxT94buB2kELabB67Q67iS1ODqk/oj50gU64jBl g76xKEO+RJy6sAC+4rzQqKnmekEPkRXvvExG8XtGiEbmSHpNKXRtHOePtVHdSi/5 YRzBugwGnGrrwd7Zb24AJ6pFeYTC2DOeJ90wswRprQLMNzNLbrzGGPIcKzAj/hk/ rgBnflLUZkE34P/z7MHPRrKsnBU2HAEkLoll+wL1Z8ZkZV5G3GL93Nu4JJNG6tZx hIFscmVlNdardHJsn2f3xo4eJrVErfGShd66MrxAfYBGZIUR5VMNshs= =t3jU -----END PGP SIGNATURE----- --=-=-=-- ------------=_1607181482-8641-1-- From unknown Fri Sep 05 20:55:39 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45017: asdf-build-system packages have priority over user ones Resent-From: Pierre Neidhardt Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 05 Dec 2020 15:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45017 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Guillaume Le Vaillant Cc: 45017-done@debbugs.gnu.org Received: via spool by 45017-done@debbugs.gnu.org id=D45017.16071815758828 (code D ref 45017); Sat, 05 Dec 2020 15:20:01 +0000 Received: (at 45017-done) by debbugs.gnu.org; 5 Dec 2020 15:19:35 +0000 Received: from localhost ([127.0.0.1]:48020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZLT-0002IK-8M for submit@debbugs.gnu.org; Sat, 05 Dec 2020 10:19:35 -0500 Received: from relay11.mail.gandi.net ([217.70.178.231]:38675) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1klZLQ-0002I3-EA for 45017-done@debbugs.gnu.org; Sat, 05 Dec 2020 10:19:33 -0500 Received: from bababa (lfbn-idf2-1-1094-122.w90-92.abo.wanadoo.fr [90.92.160.122]) (Authenticated sender: mail@ambrevar.xyz) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 22AD5100004; Sat, 5 Dec 2020 15:19:24 +0000 (UTC) From: Pierre Neidhardt In-Reply-To: <874kl0qo30.fsf@yamatai> References: <87wnxzmdiy.fsf@ambrevar.xyz> <87im9j2j06.fsf@yamatai> <87360nm5b1.fsf@ambrevar.xyz> <87ft4n2cax.fsf@yamatai> <874kl0sjbe.fsf@ambrevar.xyz> <87y2ick1sm.fsf@yamatai> <87v9dgjzic.fsf@yamatai> <87czzofh63.fsf@ambrevar.xyz> <874kl0qo30.fsf@yamatai> Date: Sat, 05 Dec 2020 16:19:23 +0100 Message-ID: <875z5gffgk.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 1.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thanks a lot! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.231 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.178.231 listed in wl.mailspike.net] 1.7 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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.4 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Thanks a lot! -- Pierre Neidhardt https://ambrevar.xyz/ Content analysis details: (1.4 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.178.231 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [217.70.178.231 listed in wl.mailspike.net] 1.7 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager 1.0 BULK_RE_SUSP_NTLD Precedence bulk and RE: from a suspicious TLD --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Thanks a lot! =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFGBAEBCAAwFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl/LpPsSHG1haWxAYW1i cmV2YXIueHl6AAoJEJvc9Jeku8x/kE8IAKUuOkZ7fpSZT9Xqazu68zRnv5G3x43r JnSKvNh4Ob0CYdeuO/LipVzesAcR6hDpvHOFWxJoN4WypjaC4uT6ZNfDJ/XObpF2 hPSgQtqij9SC95ryk2fscOBuxL5swM2LWT6/Pn1wDuArwB6EFysDoSIpt5jpPcmU OvOJ9V6vERUyA65aH0YvMJwmPB4Etsg2qmD6JSnn/NVGL9Y6oDGWWbXjf8fPVjpi vivTUaTzqwv9xO/0z1c+QkZnnzTPRi582PJyoyirW3KQgjVM61/TZ/CyGUlOGPGN 5lEtrn1zTcIw8pwO+HcVMR9HwK4ni/2pVua5y/skNAzlpYo87hM+ndQ= =5H61 -----END PGP SIGNATURE----- --=-=-=--