From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 04 03:12:27 2020 Received: (at submit) by debbugs.gnu.org; 4 Mar 2020 08:12:27 +0000 Received: from localhost ([127.0.0.1]:40310 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9P8l-0006F9-1K for submit@debbugs.gnu.org; Wed, 04 Mar 2020 03:12:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:60296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j9P8j-0006F1-4I for submit@debbugs.gnu.org; Wed, 04 Mar 2020 03:12:25 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57341) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9P8i-000800-1K for bug-guix@gnu.org; Wed, 04 Mar 2020 03:12:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9P8f-0002yw-W2 for bug-guix@gnu.org; Wed, 04 Mar 2020 03:12:23 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:57119) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j9P8f-0002qe-2e for bug-guix@gnu.org; Wed, 04 Mar 2020 03:12:21 -0500 X-Originating-IP: 92.169.129.147 Received: from mimimi (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 627EDC0009 for ; Wed, 4 Mar 2020 08:12:18 +0000 (UTC) From: Pierre Neidhardt To: bug-guix@gnu.org Subject: [Common Lisp] asdf-build-system/source should refer to dependencies in the store Date: Wed, 04 Mar 2020 09:12:17 +0100 Message-ID: <8736aoczdq.fsf@ambrevar.xyz> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.70.183.198 X-Spam-Score: 3.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: The sbcl build system generates a new .asd that refers to all the required input explicitly in the store. The asdf-build-system/source does not do that. Because of this, installing the source packages in a profile does not work as expected: loading the source in a Common Lisp REPL will fail, complaining a [...] Content analysis details: (3.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) 0.6 FROM_SUSPICIOUS_NTLD_FP From abused NTLD 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: submit 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.5 (+) 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: The sbcl build system generates a new .asd that refers to all the required input explicitly in the store. The asdf-build-system/source does not do that. Because of this, installing the source packages in a profile does not work as expected: loading the source in a Common Lisp REPL will fail, complaining a [...] Content analysis details: (1.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [209.51.188.17 listed in list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.7 SPF_NEUTRAL SPF: sender does not match SPF record (neutral) -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 The sbcl build system generates a new .asd that refers to all the required input explicitly in the store. The asdf-build-system/source does not do that. Because of this, installing the source packages in a profile does not work as expected: loading the source in a Common Lisp REPL will fail, complaining about missing dependencies. I suggest we use an .asd generation similar to that of the SBCL build syste= m. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5fYuEACgkQm9z0l6S7 zH9T2gf+I3kdjNdxBYcZJaPfzlFM3EVvZinECyiFLbeoNC50dUe3Jgro612qfpKc +BLRLWlXlfYGX1nERGGTse75/UUPpjPVjcD2lQ/LtJ2exlk6W+RohKRMhkTgvbWg 2+2jGo0MFvrs4LeqRjiguBjEfE6QcOpZyqnTLfejKRvnsKpc6ss626v9s810G6Lc AlDvghIb42KTW+rvcUbVPWF+FGXjHqBhH0fpO4a1zVfsI48nYh3IO6L0NIz+qPRI zZrZPwuPB/mVScrFzZLeNq+73DTG8nREaoNQ7vm/quOXCZppUIQIIgpi/nah2mTJ d17rRy/eLkpJC3lSs8YDH7fkKXr4NQ== =Ku23 -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu May 07 13:11:23 2020 Received: (at 39894) by debbugs.gnu.org; 7 May 2020 17:11:23 +0000 Received: from localhost ([127.0.0.1]:43839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWk3P-0005jB-2p for submit@debbugs.gnu.org; Thu, 07 May 2020 13:11:23 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:45499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jWk3M-0005iv-Pd for 39894@debbugs.gnu.org; Thu, 07 May 2020 13:11:21 -0400 X-Originating-IP: 78.199.129.170 Received: from mimimi (moi44-1-78-199-129-170.fbx.proxad.net [78.199.129.170]) (Authenticated sender: mail@ambrevar.xyz) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 503D160005; Thu, 7 May 2020 17:11:13 +0000 (UTC) From: Pierre Neidhardt To: 39894@debbugs.gnu.org Subject: Re: bug#39894: [Common Lisp] asdf-build-system/source should refer to dependencies in the store References: <8736aoczdq.fsf@ambrevar.xyz> Date: Thu, 07 May 2020 19:11:12 +0200 In-Reply-To: <8736aoczdq.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 04 Mar 2020 09:12:17 +0100") Message-ID: <871rnvvff3.fsf@ambrevar.xyz> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Spam-Score: 2.5 (++) 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: I made a mistaken in the original post: the cl-* (source) packages do propagate their input. So source packages _do_ work as expected. What we'd like to do improve here is _not_ propagate the inputs and instead refer directly to them in the store. Content analysis details: (2.5 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.183.195 listed in list.dnswl.org] 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: ambrevar.xyz] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: ambrevar.xyz] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.195 listed in wl.mailspike.net] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD X-Debbugs-Envelope-To: 39894 Cc: Guillaume Le Vaillant , hu.moonstone@gmail.com 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.5 (++) 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: I made a mistaken in the original post: the cl-* (source) packages do propagate their input. So source packages _do_ work as expected. What we'd like to do improve here is _not_ propagate the inputs and instead refer directly to them in the store. Content analysis details: (2.5 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: ambrevar.xyz] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [217.70.183.195 listed in wl.mailspike.net] -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at https://www.dnswl.org/, low trust [217.70.183.195 listed in list.dnswl.org] 0.1 URIBL_SBL_A Contains URL's A record listed in the Spamhaus SBL blocklist [URIs: ambrevar.xyz] 0.6 URIBL_SBL Contains an URL's NS IP listed in the Spamhaus SBL blocklist [URIs: ambrevar.xyz] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 2.0 PDS_OTHER_BAD_TLD Untrustworthy TLDs [URI: ambrevar.xyz (xyz)] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 0.5 FROM_SUSPICIOUS_NTLD From abused NTLD 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 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I made a mistaken in the original post: the cl-* (source) packages do propagate their input. So source packages _do_ work as expected. What we'd like to do improve here is _not_ propagate the inputs and instead refer directly to them in the store. I tried generating and .asd which would do the following =2D-8<---------------cut here---------------start------------->8--- (asdf:load-asd ORIGINAL-ASD) (push INPUT-PATH-TO-SOURCE asdf:*central-registry*) ; more push of all inputs here. =2D-8<---------------cut here---------------end--------------->8--- The problem is that we can't name the .asd like the original or ASDF will complain about circular dependencies. The only way I can think about is to add the "push" lines to the original .asd itself (at the end should be fine). Not sure how I feel about modifying the original .asd, seems brittle. There may be a better way. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl60QTAACgkQm9z0l6S7 zH8yEAf/TK/6Y2BBBPpb6DDWJubncS3NqRCTtXruz6CjcYeK/b/C+KILk8jpB5jl WrUxI76bZJuG7jYcY7bnZOhMZjH5nFZwKIUGh5mGgRGKgc958BMPd4bonTZIUv51 V/1n9VsvTu03SKmWQmOhGtsqOSXy4BnycVbcPgs85v8Sh2su5OyYTrH+6zvopIyO W51CGEM7JLnrdM64K00oBBYr5+5nNXYhh2y0mtr4bnIsl6WvtMHcQ7rHO1N2Ca8x A6vtGF6y1UeRQg9ZX7r4BqN08oDAavSEomIGl3SKEZ1vf34rUJboiCWyNS+q4LbW DWsqBobH68nnIQ0tE3rWAbjD4OCXDQ== =uzf9 -----END PGP SIGNATURE----- --=-=-=--