From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 4H+uAAgJXl8jXAAA0tVLHw (envelope-from ) for ; Sun, 13 Sep 2020 11:56:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SHiaNgcJXl/qNwAA1q6Kng (envelope-from ) for ; Sun, 13 Sep 2020 11:56:55 +0000 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 660EE94036A for ; Sun, 13 Sep 2020 11:56:55 +0000 (UTC) Received: from localhost ([::1]:43384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kHQco-0007fS-9f for larch@yhetil.org; Sun, 13 Sep 2020 07:56:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHQcg-0007fK-Cp for guix-devel@gnu.org; Sun, 13 Sep 2020 07:56:46 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kHQcd-0005Ps-Mn for guix-devel@gnu.org; Sun, 13 Sep 2020 07:56:46 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 2B8B4160062 for ; Sun, 13 Sep 2020 13:56:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599998200; bh=eC1YlbeEUgNTB5gfwH6K5nMvw/sP0PnUEWbgiOc6GQM=; h=From:To:Cc:Subject:Date:From; b=D8jLRDQZpiDYGTqyPEdfoJ2lWED969bEdE8M0DYjVNK7RBOWAZVxa7N24vtOR4YNK InG9hIZUleBl3vEiLsvYCXMp2+BbhesI7DxV4W/rKkCyrCYz6NEj3pJ++a/I5Qy127 tfs+ROpwtE6liMUvbzyaRFarctrR3evgbYaxUif5O1jZQJ7IN/2E4q28aFd7KR0MIh CtC9uSN2r+LI5gylj87HJkvins5FyuoRdmmBjOgsm53YUnYHGUnhmTUfN+YeKsGZ6y m4etPzQ4VO95aoW42mhHVQOM47e/+v9lieyRq0sPn8q4itrxUIW1/X9fDrXO5QSr31 75WWLC6QfOpMA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Bq7J63l21z6tm8; Sun, 13 Sep 2020 13:56:37 +0200 (CEST) References: <87sgbntjz4.fsf@yamatai> <87blibcmuy.fsf@ambrevar.xyz> <87y2lfb67c.fsf@ambrevar.xyz> <87pn6rtd1y.fsf@yamatai> <87v9gigfa6.fsf@yamatai> <871rj6aryj.fsf@ambrevar.xyz> User-agent: mu4e 1.4.13; emacs 27.1 From: Guillaume Le Vaillant To: Pierre Neidhardt Subject: Re: Improve ASDF build system for Common Lisp libraries In-reply-to: <871rj6aryj.fsf@ambrevar.xyz> Date: Sun, 13 Sep 2020 13:56:34 +0200 Message-ID: <87sgblhoul.fsf@yamatai> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=185.67.36.65; envelope-from=glv@posteo.net; helo=mout01.posteo.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/13 06:01:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=D8jLRDQZ; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -3.31 X-TUID: bfql1I4qWUM6 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Pierre Neidhardt skribis: > Guillaume Le Vaillant writes: > >> Actually, it looks like the files generated by the groveler can't be >> removed. When doing '(asdf:load-system "osicat")', if these files are >> not there cffi tries to generate them (and fails because the directory >> is read-only). > > The .so needs to be kept, the rest can be removed: > > --8<---------------cut here---------------start------------->8--- > $ tree /gnu/store/haz3msfmr9cnlnrfai29q5csinx8l5q3-sbcl-osicat-0.7.0-1.de= 0c18a/ > /gnu/store/haz3msfmr9cnlnrfai29q5csinx8l5q3-sbcl-osicat-0.7.0-1.de0c18a/ > =E2=94=9C=E2=94=80=E2=94=80 lib > =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 sbcl > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 osicat.asd > =E2=94=82 =E2=94=9C=E2=94=80=E2=94=80 osicat--system.fasl > =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 posix > =E2=94=82 =E2=94=94=E2=94=80=E2=94=80 libosicat.so > ... > --8<---------------cut here---------------end--------------->8--- When I remove the groveler-generated files (except the .so) from 'lib/sbcl/osicat/posix/' like so: =2D-8<---------------cut here---------------start------------->8--- /gnu/store/1cps5zbqgj9lm108lc57zah5ap0a7gbk-sbcl-osicat-0.7.0-1.de0c18a/lib =E2=94=94=E2=94=80=E2=94=80 common-lisp =E2=94=94=E2=94=80=E2=94=80 sbcl =E2=94=94=E2=94=80=E2=94=80 osicat =E2=94=9C=E2=94=80=E2=94=80 posix =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 basic-unix.fa= sl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 basic-unixint= .fasl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 early.fasl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 libosicat.so =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 linux.fasl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 misc.fasl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 packages.fasl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 unix.fasl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 unixint.fasl =E2=94=82=C2=A0=C2=A0 =E2=94=94=E2=94=80=E2=94=80 wrappers.fasl =E2=94=9C=E2=94=80=E2=94=80 src =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 fd-streams.fa= sl =E2=94=82=C2=A0=C2=A0 =E2=94=9C=E2=94=80=E2=94=80 osicat.fasl ... =2D-8<---------------cut here---------------end--------------->8--- I get the following error: =2D-8<---------------cut here---------------start------------->8--- $ ./pre-inst-env guix environment --ad-hoc sbcl sbcl-osicat -- \ sbcl --no-userinit --eval '(require :asdf)' \ --eval '(asdf:load-system "osicat")' ... ASDF could not load osicat because Error opening #P"/gnu/store/...-sbcl-osicat-0.7.0-1.de0c18a/lib/common-lisp/sbcl/osicat/p= osix/basic-unixint__grovel.c": Read-only file system. debugger invoked on a SB-INT:SIMPLE-FILE-ERROR in thread #: Error opening #P"/gnu/store/...-sbcl-osicat-0.7.0-1.de0c18a/lib/common-lisp/sbcl/osicat/p= osix/basic-unixint__grovel.c": Read-only file system ... =2D-8<---------------cut here---------------end--------------->8--- --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCX14I8g8cZ2x2QHBvc3Rl by5uZXQACgkQa+ggit8h/j/rUwD+Ib/7XTV3yznTW6S5I2OxaQfqw/m/X8bHTM/F kvAqdGMA/0o66HyNmySQtgG1aTWa4AnjTCJrRN8RQZ3VLOjMfDkZ =/+ZZ -----END PGP SIGNATURE----- --=-=-=--