From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id eGd9B7hwtWX7xwAAe85BDQ:P1 (envelope-from ) for ; Sat, 27 Jan 2024 22:08:08 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id eGd9B7hwtWX7xwAAe85BDQ (envelope-from ) for ; Sat, 27 Jan 2024 22:08:08 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=a8OduSAw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1706389688; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kYbykP7syV94eQHrKUddUNAN7zzMk71izKNibfzmgZo=; b=picqJMhjtoZlWjxMxUdbZQEbVTTDvr0gCIBJvCljddmOwZGZ+f3KWxbx9n8OaCIUOe7qeL HsS8MdxZzbWLF2ev9AsGvYroK2Oxg5Sg2RQvNHoE3PePAStbIMCC4Vm3yqltx2wHJSbKfW 76FRTore5Rw0EfLsU6qGbH9FmIlpVxpnkJJhCidsr0TEq8zhoW3jCUlfFgv/0v/LrTIVyD bux0z5EnhbtxUQLb5e38sgNOZvQTuQ+RW3Bg0+Oi7vA4Xy52oFYUSHGHjhgz7qfGdPhn1d KMPcoqCyQQt81G3QTN5HPL0KGFlRUB4m5VXKysOnUzVUwc3fgmanSoxgOFU6oA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=protonmail.com header.s=protonmail3 header.b=a8OduSAw; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1706389688; a=rsa-sha256; cv=none; b=EAWzyLITbj5jt1uqSxhdzlePdiy0vUwnIvsRwh1QjWn9GLuNvhDXkN9PZaNRrtxD9SUlBu +vTYgVYnJexl9mtWIbhQ+TxBKBCxExYQD6AYrU4b9MlCT7qlR2QbIyFIDCZrrbE0dfXoBZ QX+R/MgqsCfJwTK2kqBLwZerDpuU2e46QA0h27FjO9IyrOtcXlZD+7bS9wkG//+UvrTo16 hpmZD4phJdZ9goYY8DCXh9MD0X3MgEQhwaZ32L9EzGpjJsQdUkTg9xVPqEe1ozxrNHcTQx wMSqosWPDXPBwYyqg1LXIx5GdmKYuCKafmBPVAzTbcNml/lQpUK5JDoKiYuGYA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E51D817342 for ; Sat, 27 Jan 2024 22:08:07 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rTpu9-00089f-2G; Sat, 27 Jan 2024 16:07:57 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rTpu7-00089R-ON for bug-guix@gnu.org; Sat, 27 Jan 2024 16:07:55 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rTpu6-0007LF-HH for bug-guix@gnu.org; Sat, 27 Jan 2024 16:07:55 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rTpuD-0005KZ-P9 for bug-guix@gnu.org; Sat, 27 Jan 2024 16:08:01 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#68764: ASDF can't load sbcl-clx-truetype installed through Guix References: <878r4ad39e.fsf@yoga.mail-host-address-is-not-set> In-Reply-To: <878r4ad39e.fsf@yoga.mail-host-address-is-not-set> Resent-From: John Kehayias Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 27 Jan 2024 21:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68764 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Lars Rustand Cc: 68764@debbugs.gnu.org Received: via spool by 68764-submit@debbugs.gnu.org id=B68764.170638967720482 (code B ref 68764); Sat, 27 Jan 2024 21:08:01 +0000 Received: (at 68764) by debbugs.gnu.org; 27 Jan 2024 21:07:57 +0000 Received: from localhost ([127.0.0.1]:56058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTpu8-0005KH-UV for submit@debbugs.gnu.org; Sat, 27 Jan 2024 16:07:57 -0500 Received: from mail-4316.protonmail.ch ([185.70.43.16]:22511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rTpu4-0005Jy-AS for 68764@debbugs.gnu.org; Sat, 27 Jan 2024 16:07:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1706389658; x=1706648858; bh=kYbykP7syV94eQHrKUddUNAN7zzMk71izKNibfzmgZo=; h=Date:To:From:Cc:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID:BIMI-Selector; b=a8OduSAwaoMHdw3ml2iGuDmMP4g9xITSSZb/ZJbuDshTw1N6E1VgNKhYe0qrudVG/ lNJDHOW5VMTiRM9BlnAkz/CCN42gbZnWYKyGj3IYxbn9qEmROtAAFgWYMR3b9ctGuH zRhlJ6JnYiJUEE13g2gtycSipTaXc06rp40BfdqByIE/M3mLswIACpfB7z9o1Nqy8t EgNVGE044NkE/qg+/R+cKOdRd860juT7Jrjp473gED9sMiNqH621UFWaPHipU7MyXw VD6F3BHxV2DwVgSCiB18QFAEeyTS0393TRDEoCFsufGhvyIqA3TtZxWbfii0kDY3AX rrOYHCfILUmAA== Date: Sat, 27 Jan 2024 21:07:10 +0000 Message-ID: <87cytmiiyu.fsf@protonmail.com> Feedback-ID: 7805494:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: John Kehayias From: John Kehayias via Bug reports for GNU Guix Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.16 X-Spam-Score: -7.16 X-Migadu-Queue-Id: E51D817342 X-Migadu-Scanner: mx12.migadu.com X-TUID: 97iLkyIVPZqc Hi Lars, On Sat, Jan 27, 2024 at 04:57 PM, Lars Rustand wrote: > Trying to load clx-truetype with ASDF in SBCL fails because of read-only > filesystem. This is caused by the store being read-only and ASDF is > trying to save the compiled file there. I read somewhere that Guix > already supplies precompiled files for all Common Lisp libraries, so > ASDF should just be able to load this one instead of compiling it, but > this doesn't seem to work in this case. > > I'm able to load other packages just fine, like sbcl-slynk and > sbcl-alexandria. Using cl-clx-truetype instead of sbcl-clx-truetype also > works fine, even though this one obviously also needs compilation. > > I'm not sure what the exact cause is, but it seems that there are at > least two things wrong. > 1. ASDF/SBCL doesn't find the precompiled file(s) for clx-truetype. > 2. The path to where the compiled files are saved is wrong. > > > Steps to reproduce: > 1. Install sbcl and sbcl-clx-truetype > 2. Run `sbcl --eval '(require :asdf)' --eval '(asdf:load-system :clx-true= type)'` > 2a. Or start sbcl and manually run the commands > I can't reproduce this, at least on Guix at commit da3e6aea0a750246e8a9120d62441c3df65faff0 I ran your command in one line with guix shell (and set --pure just in case; I have SBCL_HOME set, not sure if anything else relevant): --8<---------------cut here---------------start------------->8--- =E2=9D=AF guix shell --pure sbcl sbcl-clx-truetype -- sbcl --eval '(require= :asdf)' --eval '(asdf:load-system :clx-truetype)' This is SBCL 2.4.0, an implementation of ANSI Common Lisp. More information about SBCL is available at . SBCL is free software, provided as is, with absolutely no warranty. It is mostly in the public domain; some portions are provided under BSD-style licenses. See the CREDITS and COPYING files in the distribution for more information. WARNING: System definition file #P"/gnu/store/qwb8qyjn615icrgxkjwqjwlwkwzxc= c7y-sbcl-clx-truetype-0.0.1-1.c6e10a9/share/common-lisp/sbcl/clx-truetype/c= lx-truetype.asd" contains definition for system "clx-truetype-test". Please= only define "clx-truetype" and secondary systems with a name starting with= "clx-truetype/" (e.g. "clx-truetype/test") in that file. WARNING: System definition file #P"/gnu/store/bqfsbh15lpnf9i9f5qf6ya6yhcdk8= nw3-sbcl-cl-store-0.8.11-1.c787337/share/common-lisp/sbcl/cl-store/cl-store= .asd" contains definition for system "cl-store-tests". Please only define "= cl-store" and secondary systems with a name starting with "cl-store/" (e.g.= "cl-store/test") in that file. WARNING: redefining ZPB-TTF::LOCATION in DEFGENERIC * (quit) --8<---------------cut here---------------end--------------->8--- Perhaps try with 'guix shell --pure' as well, in case it is an environment setting? John > This is SBCL 2.4.0, an implementation of ANSI Common Lisp. > More information about SBCL is available at . > > SBCL is free software, provided as is, with absolutely no warranty. > It is mostly in the public domain; some portions are provided under > BSD-style licenses. See the CREDITS and COPYING files in the > distribution for more information. > WARNING: System definition file #P"/gnu/store/qwb8qyjn615icrgxkjwqjwlwkwz= xcc7y-sbcl-clx-truetype-0.0.1-1.c6e10a9/share/common-lisp/sbcl/clx-truetype= /clx-truetype.asd" contains definition for system "clx-truetype-test". Plea= se only define "clx-truetype" and secondary systems with a name starting wi= th "clx-truetype/" (e.g. "clx-truetype/test") in that file. > WARNING: System definition file #P"/gnu/store/bqfsbh15lpnf9i9f5qf6ya6yhcd= k8nw3-sbcl-cl-store-0.8.11-1.c787337/share/common-lisp/sbcl/cl-store/cl-sto= re.asd" contains definition for system "cl-store-tests". Please only define= "cl-store" and secondary systems with a name starting with "cl-store/" (e.= g. "cl-store/test") in that file. > WARNING: redefining ZPB-TTF::LOCATION in DEFGENERIC > > debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread > #: > Error opening #P"/gnu/store/qwb8qyjn615icrgxkjwqjwlwkwzxcc7y-sbcl-clx-t= ruetype-0.0.1-1.c6e10a9/lib/common-lisp/sbcl/clx-truetype/package-tmpGHU3AL= SV.fasl": > > Read-only file system > > Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL. > > restarts (invokable by number or by possibly-abbreviated name): > 0: [CONTINUE ] Retry opening. > 1: [USE-VALUE ] Try opening a different file. > 2: [RETRY ] Retry > compiling #. > 3: [ACCEPT ] Continue, treating > compiling # > as having been successful. > 4: Retry ASDF operation. > 5: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting= the > configuration. > 6: Retry ASDF operation. > 7: Retry ASDF operation after resetting= the > configuration. > 8: Ignore runtime option --eval "(asdf:= load-system :clx-truetype)". > 9: [ABORT ] Skip rest of --eval and --load optio= ns. > 10: Skip to toplevel READ/EVAL/PRINT loo= p. > 11: [EXIT ] Exit SBCL (calling #'EXIT, killing t= he process). > > (SB-IMPL::%OPEN-ERROR #P"/gnu/store/qwb8qyjn615icrgxkjwqjwlwkwzxcc7y-sbcl= -clx-truetype-0.0.1-1.c6e10a9/lib/common-lisp/sbcl/clx-truetype/package-tmp= GHU3ALSV.fasl" 30 NIL :CREATE) > 0] > ; > ; compilation unit aborted > ; caught 1 fatal ERROR condition > * %