From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guillaume Le Vaillant Subject: Re: Question about sbcl-package->ecl-package Date: Thu, 17 Oct 2019 15:16:45 +0200 Message-ID: <87sgnrse9u.fsf@yamatai> References: <871rvdujku.fsf@yamatai> <87k194zyt6.fsf@ambrevar.xyz> <20191016124745.GH1014@E5400> <87zhi0u6m7.fsf@yamatai> <87v9snshs3.fsf@yamatai> <87pnivr2b3.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34132) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL5eC-0000FU-BN for guix-devel@gnu.org; Thu, 17 Oct 2019 09:16:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL5e7-0005nL-Bq for guix-devel@gnu.org; Thu, 17 Oct 2019 09:16:56 -0400 Received: from mout01.posteo.de ([185.67.36.65]:38939) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iL5e6-0005jV-P6 for guix-devel@gnu.org; Thu, 17 Oct 2019 09:16:51 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 79CC416005E for ; Thu, 17 Oct 2019 15:16:48 +0200 (CEST) In-reply-to: <87pnivr2b3.fsf@ambrevar.xyz> 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: Pierre Neidhardt Cc: guix-devel@gnu.org Pierre Neidhardt skribis: > Cool! Thanks for working on this! :) > > Does it work for dexador? I just tried compiling ecl-dexador, and it failed. However I think it fails for a different reason. The error is: --8<---------------cut here---------------start------------->8--- An error occurred during initialization: No MIME.TYPES file found anywhere! --8<---------------cut here---------------end--------------->8--- I think it comes from the trivial-mimes library having a hard reference to the 'sbcl-source' directory in a string: --8<---------------cut here---------------start------------->8--- (arguments '(#:phases (modify-phases %standard-phases (add-after 'unpack 'fix-paths (lambda* (#:key inputs #:allow-other-keys) (let ((anchor "#p\"/etc/mime.types\"")) (substitute* "mime-types.lisp" ((anchor all) (string-append anchor "\n" "(asdf:system-relative-pathname :trivial-mimes \"../../share/common-lisp/sbcl-source/trivial-mimes/mime.types\")"))))))))) --8<---------------cut here---------------end--------------->8--- I guess in this case writing a 'fix-paths' phase with the path specific to ECL in the ecl-trivial-mimes package will be necessary...