From mboxrd@z Thu Jan 1 00:00:00 1970 From: Katherine Cox-Buday Subject: ASDF Builder (Common Lisp) & "package-inferred-system" Packages Date: Thu, 10 Jan 2019 18:25:23 -0600 Message-ID: <8736q082h8.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([209.51.188.92]:56617) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ghkdp-0002pD-EJ for guix-devel@gnu.org; Thu, 10 Jan 2019 19:25:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ghkdn-0005eZ-Hm for guix-devel@gnu.org; Thu, 10 Jan 2019 19:25:41 -0500 Received: from mail-io1-xd31.google.com ([2607:f8b0:4864:20::d31]:46792) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ghkdl-0005YX-Jt for guix-devel@gnu.org; Thu, 10 Jan 2019 19:25:39 -0500 Received: by mail-io1-xd31.google.com with SMTP id v10so10722148ios.13 for ; Thu, 10 Jan 2019 16:25:27 -0800 (PST) Received: from gazelle-pro (172-221-246-205.dhcp.chtrptr.net. [172.221.246.205]) by smtp.gmail.com with ESMTPSA id b14sm20737108ioj.26.2019.01.10.16.25.24 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 16:25:24 -0800 (PST) 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.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org Hey all. I think the common-lisp build system might be broken for "package-inferred-system" style common-lisp packages. The build system appears to find the dependencies, but then replace[1] "invalid" (within the context of the store) characters with `-`. I think this breaks asdf as it then cannot find the package. "package-inferred-system" packages almost always contain a `/`[2] which is flagged as an invalid character. Do we even need to be doing scrubbing here since it's within the context of ASDF, not the store? Can anyone confirm, or does anyone have any thoughts? This style of Common Lisp package will probably increase moving forward, so we should probably address this sooner than later. [1] - http://git.savannah.gnu.org/cgit/guix.git/tree/guix/build/lisp-utils.scm#n165 [2] - https://www.common-lisp.net/project/asdf/asdf.html#index-Package-inferred-systems -- Katherine