From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Re: Question about sbcl-package->ecl-package Date: Thu, 17 Oct 2019 15:16:35 +0200 Message-ID: <871rvbo6ks.fsf@ambrevar.xyz> References: <871rvdujku.fsf@yamatai> <87k194zyt6.fsf@ambrevar.xyz> <20191016124745.GH1014@E5400> <87zhi0u6m7.fsf@yamatai> <87v9snshs3.fsf@yamatai> <87pnivr2b3.fsf@ambrevar.xyz> <87tv87seld.fsf@yamatai> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34090) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL5dx-0008PQ-V4 for guix-devel@gnu.org; Thu, 17 Oct 2019 09:16:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL5dv-0005eW-9C for guix-devel@gnu.org; Thu, 17 Oct 2019 09:16:41 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:41453) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iL5dv-0005cY-2g for guix-devel@gnu.org; Thu, 17 Oct 2019 09:16:39 -0400 In-Reply-To: <87tv87seld.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.org@gnu.org Sender: "Guix-devel" To: Guillaume Le Vaillant Cc: guix-devel@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Guillaume Le Vaillant writes: > 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 didn't have this error, mine was about a failing test, so I guess your patch fixes it! > 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 \"../../sha= re/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... Maybe an easier fix: replace "sbcl" with (%lisp-type). Should work. =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl2oabMACgkQm9z0l6S7 zH/FIQf/XScs0iXDfDzv87Tqcb3P4ogmVuipLlZCqBgRrBHxju+hEsIgZkppg8P+ eJVMz6jfIROsaYwaWKZM4MfxtY6WFrotV4p9fe+ZALI3q3BvyrVcb6PFv4x9ddYG W3ZlAlgxQmBVP6TUunYehyWvrv9BR52dCZ1/Eh/hIAdaezFowQJHVAQjNZP4K0ia QU5pVSA4y5Z7wGWhYddWDNbEn5bV9Wfc6fXa6hA5SzeEBHS3HNq0kVndBfAw4WjG GliNRQviJSPTFFOXPSo37dOBYoERRem8SoKPXQ8AupkqnqeiKP81g4HHiGBCY8Qf GNTLp1oUexbXdke1jsqoCCn5LtNXDg== =npm5 -----END PGP SIGNATURE----- --=-=-=--