From: Guillaume Le Vaillant <glv@posteo.net>
To: jgart <jgart@dismail.de>
Cc: help-guix@gnu.org
Subject: Re: sbcl-ningle: permission denied
Date: Sun, 12 Dec 2021 09:44:49 +0000 [thread overview]
Message-ID: <878rwqw3mf.fsf@kitej> (raw)
In-Reply-To: <87y24q8ary.fsf@rdklein.fr>
[-- Attachment #1.1: Type: text/plain, Size: 534 bytes --]
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.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-cl-ningle-Fix-location-of-fasl-files.patch --]
[-- Type: text/x-patch, Size: 2055 bytes --]
From 78afaccecf95e4087564217c40f4d4eb4843357c 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.
---
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
--- 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
- '(#:tests? #f
- #:phases
- (modify-phases %standard-phases
- (delete 'cleanup-files)
- (delete 'cleanup)
- (add-before 'cleanup 'combine-fasls
- (lambda* (#:key outputs #:allow-other-keys)
- (let* ((out (assoc-ref outputs "out"))
- (lib (string-append out "/lib/sbcl"))
- (ningle-path (string-append lib "/ningle"))
- (fasl-files (find-files out "\\.fasl$")))
- (mkdir-p ningle-path)
- (let ((fasl-path (lambda (name)
- (string-append ningle-path
- "/"
- (basename name)
- "--system.fasl"))))
- (for-each (lambda (file)
- (rename-file file
- (fasl-path
- (basename file ".fasl"))))
- fasl-files))
- fasl-files)
- #t)))))
+ '(#:tests? #f))
(native-inputs
`(("sbcl-prove" ,sbcl-prove)))
(inputs
--
2.34.0
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 247 bytes --]
prev parent reply other threads:[~2021-12-12 9:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-12 3:59 sbcl-ningle: permission denied jgart
2021-12-12 8:50 ` edk
2021-12-12 9:44 ` Guillaume Le Vaillant [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878rwqw3mf.fsf@kitej \
--to=glv@posteo.net \
--cc=help-guix@gnu.org \
--cc=jgart@dismail.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).