From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:41956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hY8u7-0006uK-R1 for guix-patches@gnu.org; Tue, 04 Jun 2019 08:51:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hY8u6-00075W-M6 for guix-patches@gnu.org; Tue, 04 Jun 2019 08:51:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58887) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hY8u6-00075K-J0 for guix-patches@gnu.org; Tue, 04 Jun 2019 08:51:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hY8u6-0002qW-Gl for guix-patches@gnu.org; Tue, 04 Jun 2019 08:51:02 -0400 Subject: [bug#35991] [PATCH 0/9] Packaging sbcl-iolib (and dbus) Resent-Message-ID: Received: from eggs.gnu.org ([209.51.188.92]:41848) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hY8tr-0006sp-Fq for guix-patches@gnu.org; Tue, 04 Jun 2019 08:50:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hY8tp-0006fe-VM for guix-patches@gnu.org; Tue, 04 Jun 2019 08:50:47 -0400 Received: from mail-io1-xd41.google.com ([2607:f8b0:4864:20::d41]:37025) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hY8tp-0006WS-QF for guix-patches@gnu.org; Tue, 04 Jun 2019 08:50:45 -0400 Received: by mail-io1-xd41.google.com with SMTP id e5so17222716iok.4 for ; Tue, 04 Jun 2019 05:50:42 -0700 (PDT) From: Katherine Cox-Buday References: <20190529132917.7142-1-mail@ambrevar.xyz> Date: Tue, 04 Jun 2019 07:50:39 -0500 In-Reply-To: <20190529132917.7142-1-mail@ambrevar.xyz> (Pierre Neidhardt's message of "Wed, 29 May 2019 15:29:17 +0200") Message-ID: <87ftoph5uo.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Pierre Neidhardt Cc: 35991@debbugs.gnu.org Pierre Neidhardt writes: > I can build iolib but the dbus package fails to use it because > iolib-multiplex, a subsystem, cannot be found. > > Indeed, the sbcl package only exposes iolib while the .asd in the source exposes a dozen of subsystems, including > :iolib/multiplex. > > See https://github.com/sionescu/iolib/blob/master/iolib.asd. > > Do we support multi-system .asd files? Hey Pierre, I apologize for taking a bit to get back. As far as I'm aware, we don't automatically support multiple systems in a single asd file. With ASDF now supporting package-inferred systems, which introduces the concept of "inferred" systems which are not even declared in an asd file, I believe we need to shore up how Guix handles CL systems. Unfortunately I haven't had the time to check my math on my proposal and submit it to the list. Ironically I have done more packaging of CL systems instead (I needed them!). However, I think this case can still be handled with our current setup. What I would try is to define your base package, and then define all the subsequent packages as having inherited from the base package, but exposing the correct ASDF system. I don't think this will cause any unecessary compilation as the ASDF systems declare which files are required. I'll be interested to know if this works. -- Katherine