From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <help-guix-bounces+larch=yhetil.org@gnu.org>
Received: from mp2 ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by ms0.migadu.com with LMTPS
	id qI+TAtbGtWGlCAAAgWs5BA
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 12 Dec 2021 10:54:30 +0100
Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits))
	by mp2 with LMTPS
	id WHjNOdXGtWEFLwAAB5/wlQ
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	for <larch@yhetil.org>; Sun, 12 Dec 2021 09:54:29 +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 A03D4341ED
	for <larch@yhetil.org>; Sun, 12 Dec 2021 10:54:29 +0100 (CET)
Received: from localhost ([::1]:57350 helo=lists1p.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.90_1)
	(envelope-from <help-guix-bounces+larch=yhetil.org@gnu.org>)
	id 1mwLYq-0006ec-2u
	for larch@yhetil.org; Sun, 12 Dec 2021 04:54:28 -0500
Received: from eggs.gnu.org ([209.51.188.92]:34428)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <glv@posteo.net>) id 1mwLYL-0006eU-OQ
 for help-guix@gnu.org; Sun, 12 Dec 2021 04:53:57 -0500
Received: from mout01.posteo.de ([185.67.36.65]:48533)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <glv@posteo.net>) id 1mwLYE-0003we-Kq
 for help-guix@gnu.org; Sun, 12 Dec 2021 04:53:52 -0500
Received: from submission (posteo.de [89.146.220.130]) 
 by mout01.posteo.de (Postfix) with ESMTPS id B6FA2240027
 for <help-guix@gnu.org>; Sun, 12 Dec 2021 10:53:46 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017;
 t=1639302826; bh=Y19m0cgd2HVZ3zyfHWdbuL3UuswmLEgBZZ7X9zNNAWY=;
 h=From:To:Cc:Subject:Date:From;
 b=gBz8En1dc9UDePcQ57ycMNNEeAinvpSOTt5dTGJlIJHkIZCyH2JgLl6FsuHalmFcA
 iRRfPEqne620LMNJZlxfskbXnKGb8Tfpa3XxwKveZ7Z2OsMSUefd9G6ZGTxvUHRRyI
 hdjvn53b6LthSDVLmqNKbvJEZ5vzU67qJGzXARFGlDXHUv2LTxPq4VtRSbUdWwjOvb
 qCvt1m5ZJYhTBR/FAXSyZIzpt2V00neNFtF0R6mNLwVcegVx8PVn14A7dUJlVokyES
 WBX0NG+gc8OooDycju5TbyfgIaz3HSf9d6kLIazr6xdV62QC5Xd3gnYhxMQlIpNwxw
 IYLRG/vx9Zqag==
Received: from customer (localhost [127.0.0.1])
 by submission (posteo.de) with ESMTPSA id 4JBg2K5rdYz9rxS;
 Sun, 12 Dec 2021 10:53:45 +0100 (CET)
References: <20211211225913.GB7541@gac.attlocal.net>
 <87y24q8ary.fsf@rdklein.fr>
From: Guillaume Le Vaillant <glv@posteo.net>
To: jgart <jgart@dismail.de>
Subject: Re: sbcl-ningle: permission denied
Date: Sun, 12 Dec 2021 09:44:49 +0000
In-reply-to: <87y24q8ary.fsf@rdklein.fr>
Message-ID: <878rwqw3mf.fsf@kitej>
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-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-BeenThere: help-guix@gnu.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <help-guix.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=unsubscribe>
List-Archive: <https://lists.gnu.org/archive/html/help-guix>
List-Post: <mailto:help-guix@gnu.org>
List-Help: <mailto:help-guix-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/help-guix>,
 <mailto:help-guix-request@gnu.org?subject=subscribe>
Cc: help-guix@gnu.org
Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org
Sender: "Help-Guix" <help-guix-bounces+larch=yhetil.org@gnu.org>
X-Migadu-Flow: FLOW_IN
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org;
	s=key1; t=1639302869;
	h=from:from:sender:sender:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:in-reply-to:in-reply-to:
	 references:references:list-id:list-help:list-unsubscribe:
	 list-subscribe:list-post:dkim-signature;
	bh=Y+Dbby6U6+O56OvJDOk5LNrpDvP3JfAyPUECyZiSCJE=;
	b=Q5s1LLT9WTIFL9wkIfTcg0MVGZ7gOBXWO95U8YueXCZvGxT4fSXUtALu7xo+//6Lo+3hyP
	a6RJ+2zFAwrjgElr9YDGKpEZr+ormP94eWg+ZLy5pH6f4IRIr+CIVcKcYSowSySEI1c8bl
	OOld3SRCrN4p9iTkdxk8aNDAXKBxVFXqU4bq8R7I4ok3OoxTIb1guM4buL82KD1Gy8VGoU
	XN7OLafDT79aVtrCDFPPbbsQBxnnCpQz91eQV31ZUf7jDFipX3Z9Ok+vGvBNnEY8mwGNhb
	5pmU8XEgRLQ4jdO7cDv8UCF5N6T4M0dcr7JS9Mj6uMv3lXAJsPXUq4GfjDoL+g==
ARC-Seal: i=1; s=key1; d=yhetil.org; t=1639302869; a=rsa-sha256; cv=none;
	b=KOHImfUkNhYPpgdw56ZomAw8GHMNY2cy1pi7UmKkoVvwE6qI2dT7KtLtgKWxUAkykQVqXa
	Mb01MzSXWnX5bvpLYYd5EmA9pjqJQXM4VDpXEBve0KFxaFekQGq61bcGoePn88s9R48Ulr
	QrS8XStPK/An/o+2M5mavh0Mbi6P7Lo5P/mF5qEMCQD8xu8PsUDBTKz1V7LR67EoKWrgJi
	jzdJAx/Lhnc2pcw3Nlhkn5EKgkq3Jg96zQypsfO8rCaIaApe8Yo5pVaPDARgzOdPddvY/7
	+vT7LlCSzpV+ObFpyx31BGjTAF0SpMKr4PuMbxIZy02ccHJdZYv67tGvNpzEpA==
ARC-Authentication-Results: i=1;
	aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gBz8En1d;
	dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none);
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Spam-Score: -3.66
Authentication-Results: aspmx1.migadu.com;
	dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=gBz8En1d;
	dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none);
	spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org"
X-Migadu-Queue-Id: A03D4341ED
X-Spam-Score: -3.66
X-Migadu-Scanner: scn1.migadu.com
X-TUID: ZP8acLiZv66H

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain

The package for ningle has a custom phase changing the name of the
compiled files, this is why when you try to load it ASDF thinks that the
system has not been compiled yet, tries to compile it and fails because
it can't write the compiled files to the read-only "/gnu/store/...".

I don't know if this custom phase is necessary or if it's just
a leftover from the way asdf-build-system worked in the past...

Could you try the attached patch removing the custom phase and see if
everything works fine? If yes I'll push it to master.

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-gnu-cl-ningle-Fix-location-of-fasl-files.patch
Content-Transfer-Encoding: quoted-printable

From=2078afaccecf95e4087564217c40f4d4eb4843357c Mon Sep 17 00:00:00 2001
From: Guillaume Le Vaillant <glv@posteo.net>
Date: Sun, 12 Dec 2021 10:40:24 +0100
Subject: [PATCH] gnu: cl-ningle: Fix location of fasl files.

* gnu/packages/lisp-xyz.scm (sbcl-ningle)[arguments]: Remove custom phases.
=2D--
 gnu/packages/lisp-xyz.scm | 25 +------------------------
 1 file changed, 1 insertion(+), 24 deletions(-)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index e25d0f5488..c292b91b89 100644
=2D-- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -4855,30 +4855,7 @@ (define-public sbcl-ningle
       (build-system asdf-build-system/sbcl)
       (arguments
        ;; TODO: pull in clack-test
=2D       '(#:tests? #f
=2D         #:phases
=2D         (modify-phases %standard-phases
=2D           (delete 'cleanup-files)
=2D           (delete 'cleanup)
=2D           (add-before 'cleanup 'combine-fasls
=2D             (lambda* (#:key outputs #:allow-other-keys)
=2D               (let* ((out (assoc-ref outputs "out"))
=2D                      (lib (string-append out "/lib/sbcl"))
=2D                      (ningle-path (string-append lib "/ningle"))
=2D                      (fasl-files (find-files out "\\.fasl$")))
=2D                 (mkdir-p ningle-path)
=2D                 (let ((fasl-path (lambda (name)
=2D                                    (string-append ningle-path
=2D                                                   "/"
=2D                                                   (basename name)
=2D                                                   "--system.fasl"))))
=2D                   (for-each (lambda (file)
=2D                               (rename-file file
=2D                                            (fasl-path
=2D                                             (basename file ".fasl"))))
=2D                             fasl-files))
=2D                 fasl-files)
=2D               #t)))))
+       '(#:tests? #f))
       (native-inputs
        `(("sbcl-prove" ,sbcl-prove)))
       (inputs
=2D-=20
2.34.0


--=-=-=--

--==-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYbXGqQ8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j8OLQD/fbjZfMNtXISAAhKSHLjmqrK7dH5J4+2L/aws
8CWdcPMBAJbSkkrURRdWRghKys7CE2nTJ4V6X0RH8CH+uzvdYKdG
=uDTH
-----END PGP SIGNATURE-----
--==-=-=--