all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christopher Lemmer Webber <cwebber-oPPOFS2i0wrhBEyLrsoctQ@public.gmane.org>
To: Ricardo Wurmus <rekado-aeLSDxfgpabR7s880joybQ@public.gmane.org>
Cc: "Racket Users"
	<racket-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>,
	help-guix-mXXj517/zsQ@public.gmane.org,
	"Claes Wallin (韋嘉誠)"
	<clacke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Subject: Re: Using Racket's raco on on Guix(SD)
Date: Fri, 27 Jul 2018 14:38:28 -0400	[thread overview]
Message-ID: <8760105xsr.fsf@dustycloud.org> (raw)
In-Reply-To: <87h8mzoht9.fsf-aeLSDxfgpabR7s880joybQ@public.gmane.org>

Ricardo Wurmus writes:

> Christopher Lemmer Webber <cwebber-oPPOFS2i0wrhBEyLrsoctQ@public.gmane.org> writes:
>
>> Hello all!  Sorry for the cross-post, but I've been doing more
>> development in Racket lately from GuixSD... and who wouldn't want a
>> scheme-based distribution and a scheme language's tooling to get along
>> better?
>>
>> Unfortunately when I try to install packages with "raco pkg install"
>> I get errors like the following:
>>
>> open-output-file: cannot open output file
>>   path: /gnu/store/wnqdzv3f0i86nk3nq15aavpb7kg7fbwx-racket-6.11/share/racket/collects/racket/compiled/tmp15189875891518987589961
>>   system error: Read-only file system; errno=30
>
> […]
>
> “call-with-atomic-output-file” in ’collects/racket/file.rkt“ attempts to
> create a temporary file in whatever the result of ‘(path-only path)’ is,
> or in the current directory.
>
> What file is it trying to compile?

I still don't know the answer to this, but I discovered while trying to
add some Scribble documentation to my library today that "raco setup"
also triggers this behavior, not just "raco install".

>> My guess is that the Guix package has something misconfigured so that
>> this compilation directory is set to the wrong place, but what?
>
> The root of this path appears to be ‘collectsdir’, which is set up at
> ‘configure’ time.  This directory seems to be correct, because it
> contains Racket modules.  We would only need to ensure that compilation
> does not use this directory by default.
>
> I’m guessing that this is controlled by ‘do-get-compilation-dir+name’ in
> ‘collects/compiler/compilation-path.rkt’.
>
> Does this make any sense?

-- 
You received this message because you are subscribed to the Google Groups "Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit https://groups.google.com/d/optout.

  parent reply	other threads:[~2018-07-27 18:38 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-22 13:42 Using Racket's raco on on Guix(SD) Christopher Lemmer Webber
2018-05-22 15:01 ` Ricardo Wurmus
     [not found]   ` <87h8mzoht9.fsf-aeLSDxfgpabR7s880joybQ@public.gmane.org>
2018-07-27 18:38     ` Christopher Lemmer Webber [this message]
     [not found] ` <87d0xn24d9.fsf-oPPOFS2i0wrhBEyLrsoctQ@public.gmane.org>
2018-05-24  6:20   ` Konrad Hinsen
     [not found]     ` <0990d521-934b-069b-3f29-faf8a22a5bd0-97jfqw80gc7k1uMJSBkQmQ@public.gmane.org>
2018-08-11 15:18       ` Christopher Lemmer Webber
2018-08-11 20:23         ` bug#30680: [racket-users] " Timothy Sample
2018-08-11 20:23         ` Timothy Sample
     [not found]           ` <87h8k0d54i.fsf-txiMz1+kQXoAvxtiuMwx3w@public.gmane.org>
2018-08-11 21:55             ` bug#30680: " Christopher Lemmer Webber
2018-08-11 22:05               ` bug#30680: [racket-users] " Nils Gillmann
2018-08-11 22:05               ` Nils Gillmann
2018-08-11 23:28                 ` Christopher Lemmer Webber
2018-08-11 23:28                 ` bug#30680: " Christopher Lemmer Webber
2018-08-12  2:03                   ` bug#30680: [racket-users] " Timothy Sample
2018-08-12  9:32                     ` Gábor Boskovits
2018-08-12  9:32                     ` Gábor Boskovits
     [not found]                     ` <871sb4cpeu.fsf-txiMz1+kQXoAvxtiuMwx3w@public.gmane.org>
2018-08-12 15:31                       ` bug#30680: " Christopher Lemmer Webber
2018-08-12 20:44                         ` bug#30680: [racket-users] " Timothy Sample
2018-08-12 20:44                         ` Timothy Sample
2018-08-13  0:21                           ` Christopher Lemmer Webber
2018-08-12 15:31                     ` Christopher Lemmer Webber
2018-08-12  2:03                   ` Timothy Sample
2018-08-11 21:55           ` Christopher Lemmer Webber
2018-08-11 15:18     ` Christopher Lemmer Webber

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8760105xsr.fsf@dustycloud.org \
    --to=cwebber-oppofs2i0wrhbeylrsoctq@public.gmane.org \
    --cc=clacke-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=help-guix-mXXj517/zsQ@public.gmane.org \
    --cc=racket-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
    --cc=rekado-aeLSDxfgpabR7s880joybQ@public.gmane.org \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.