From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Hinsen Subject: Re: Looking for help with packaging a Common Lisp library Date: Sat, 25 Jan 2020 20:57:13 +0100 Message-ID: References: <87k15fa60q.fsf@ambrevar.xyz> <87muab8qf7.fsf@yamatai> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48115) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ivRYT-0005oE-2K for guix-devel@gnu.org; Sat, 25 Jan 2020 14:57:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ivRYS-00016k-3H for guix-devel@gnu.org; Sat, 25 Jan 2020 14:57:16 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:54575) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ivRYR-00014P-Q9 for guix-devel@gnu.org; Sat, 25 Jan 2020 14:57:16 -0500 In-Reply-To: <87muab8qf7.fsf@yamatai> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: Guillaume Le Vaillant , guix-devel@gnu.org, Pierre Neidhardt Hi Pierre and Guillaume, thanks for your quick help! Guillaume Le Vaillant writes: > I think the generated '...-sbcl-hdf5-cffi-1.8.18/lib/sbcl/hdf5-cffi.asd' > file is missing a dependency. It contains ':depends-on ("cffi")', but > I think it should be ':depends-on ("cffi" "cffi-grovel")', because the That was the problem indeed. I patched hdf5-cffi.asd to add :cffi-grovel to the dependencies, and with that patch everything works fine. > We could add all the dependencies declared in the original asd files (by > 'defsystem-depends-on' and 'depends-on') to the generated asd files with > the following patch: I don't know ASDF and the ASDF build system well enough to comment on that. All I can say is that in a "standard" SBCL + QuickLisp environment, it is not necessary to patch hdf5-cffi.asd, so it seems to be correct as far as I can tell, meaning that it would be nice if it worked out of the box as well in Guix. Pierre Neidhardt writes: > It seems unrelated, but first there seems to be an issue during the > build regarding the missing pkg-config package. I am so used to pkg-config related errors that I hardly see them any more. So yes, this ought to be fixed, but it's not related to the problem I had. Thanks again, Konrad.