From unknown Fri Jun 20 07:15:28 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#36504 <36504@debbugs.gnu.org> To: bug#36504 <36504@debbugs.gnu.org> Subject: Status: asdf build system: Add support for component-less .asd Reply-To: bug#36504 <36504@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:15:28 +0000 retitle 36504 asdf build system: Add support for component-less .asd reassign 36504 guix submitter 36504 Pierre Neidhardt severity 36504 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 04 13:33:42 2019 Received: (at submit) by debbugs.gnu.org; 4 Jul 2019 17:33:42 +0000 Received: from localhost ([127.0.0.1]:51860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj5c6-0001pY-4U for submit@debbugs.gnu.org; Thu, 04 Jul 2019 13:33:42 -0400 Received: from lists.gnu.org ([209.51.188.17]:42618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hj5c4-0001pR-3U for submit@debbugs.gnu.org; Thu, 04 Jul 2019 13:33:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55581) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hj5c2-0003PP-EC for bug-guix@gnu.org; Thu, 04 Jul 2019 13:33:39 -0400 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 1hj5c0-0002vu-Pa for bug-guix@gnu.org; Thu, 04 Jul 2019 13:33:37 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:55947) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hj5c0-0002sJ-It for bug-guix@gnu.org; Thu, 04 Jul 2019 13:33:36 -0400 X-Originating-IP: 92.169.116.127 Received: from bababa (lfbn-1-4117-127.w92-169.abo.wanadoo.fr [92.169.116.127]) (Authenticated sender: pierre@atlas.engineer) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 7A042FF806; Thu, 4 Jul 2019 17:33:23 +0000 (UTC) From: Pierre Neidhardt To: bug-guix@gnu.org Subject: asdf build system: Add support for component-less .asd Date: Thu, 04 Jul 2019 19:33:23 +0200 Message-ID: <8736jlu2l8.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] X-Received-From: 217.70.183.199 X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: Katherine Cox-Buday , Andy Patterson 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 (--) --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I've just packaged sbcl-trivia (hooray!), which implied packaging the component-less trivia.trivial subsystem. If you look at the package definition, I had to do this in order to compile successfully: =2D-8<---------------cut here---------------start------------->8--- (replace 'create-asd-file (lambda* (#:key outputs inputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (lib (string-append out "/lib/sbcl")) (level2 (assoc-ref inputs "trivia.level2"))) (mkdir-p lib) (install-file "trivia.trivial.asd" lib) ;; XXX: This .asd does not have any component and the build ;; system fails to work in this case. We should update the ;; build system to handle component-less .asd. ;; TODO: How do we append to file in Guile? It seems that ;; (open-file ... "a") gets a "Permission denied". (substitute* (string-append lib "/trivia.trivial.asd") (("\"\\)") (string-append "\") (progn (asdf/source-registry:ensure-source-registry) (setf (gethash \"trivia.level2\" asdf/source-registry:*source-registry*) #p\"" level2 "/share/common-lisp/sbcl-bundle-systems/tr= ivia.level2.asd\"))")))))) =2D-8<---------------cut here---------------end--------------->8--- Basically our build system fails when the .asd has no component, which is done sometime in Common Lisp packages where a system is only used as an indirection of a union of other systems. I suggest we update `make-asd-file' file in `lisp-utils.scm' to take that into account. Thoughts? =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl0eOGMACgkQm9z0l6S7 zH8aRgf+Ju9JeaWxP9NtTcY3JNDopyfDrQiSb/kQJVtUwPK07Xuggj00jdKBwQfJ x5OpryOsTxM/JgJbf1Q03MFZ4zdPXGIkVm7RLfiuy27JN5gfOYn/y97lcSH/8fJK TksnJg/bhtCyTXCA2lQ1LBK3sMaHcS4kCw5VaOn0JbcPe3qAI2OrloqSnhypfBBw KnVQbdaiffWocBDNsvwufqYqP+r0KsTKScueq8zkG0q9zsYZWudEHD8dlfn6tKrH k7R+/ejaXAoXtkBNEDM/jM848yZ2yiAZkOtISk6YWXW8MHOXhI9G8eVGB0R4VGa8 YfAYn6TlsCHRaNXYwSzTg0aeEzNxqw== =lKoy -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Nov 29 10:11:01 2020 Received: (at 36504-done) by debbugs.gnu.org; 29 Nov 2020 15:11:01 +0000 Received: from localhost ([127.0.0.1]:52234 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjOLs-0003wk-O8 for submit@debbugs.gnu.org; Sun, 29 Nov 2020 10:11:00 -0500 Received: from mout01.posteo.de ([185.67.36.65]:35425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kjOLp-0003wN-UC for 36504-done@debbugs.gnu.org; Sun, 29 Nov 2020 10:10:58 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 48E99160064 for <36504-done@debbugs.gnu.org>; Sun, 29 Nov 2020 16:10:51 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1606662651; bh=6on+XOI8dF6k5Z5v7vJw4gTZYm9z7Jes3EIAzUQqqSE=; h=From:To:Cc:Subject:Date:From; b=DAtxpAxxc6OG0oua4SRxJaoG7SMV/DDesAxyvz+eDfROYoQQVdfDSk9cF4LjFvOsW lmDZhgnKUaHxEEMknBJPob1asdc0uKTOe6QA5KpywWBmjpWAlhSpZBU74xn6PggoWI HnbXltFnbdOPO30KqOHWACvQcQ81m0+0J0QIKyCgk6zziV9jSV0Iho5jejtd9huL45 KkLtsrmNHjyXceo72rJEVmZtavUgIL2FWepMP1VawdQzUelo6Wt552NUcuWlTphdgi BeTWr8AEi2ovby9gfqKPUCwgIKsMcAoCLYvG60wluSO/3QLOwIx9tBPB7c9a0tRKu9 +GN6D6Ix89IDg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4CkWyf26Q0z6tmL; Sun, 29 Nov 2020 16:10:49 +0100 (CET) User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant To: Pierre Neidhardt Subject: Re: [bug#36504] asdf build system: Add support for component-less .asd Date: Sun, 29 Nov 2020 16:10:47 +0100 Message-ID: <87czzwb3m0.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 36504-done Cc: 36504-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: -3.3 (---) --=-=-= Content-Type: text/plain This is now fixed in the master branch (since 4dadb4977908028bb0651d43ed4813cc988db92d). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX8O59w8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j86JwD+KTdW7RqaTOBl8cS2DTtwsMyhDWDVXB02TwEX hDyiADsA/jZ1NtHsjkLEFtB8zKAnPNffZ2ylb4VhLKT340dUuRgN =FPoQ -----END PGP SIGNATURE----- --=-=-=-- From unknown Fri Jun 20 07:15:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 28 Dec 2020 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator