From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Lemmer Webber Subject: Re: Using Racket's raco on on Guix(SD) Date: Fri, 27 Jul 2018 14:38:28 -0400 Message-ID: <8760105xsr.fsf@dustycloud.org> References: <87d0xn24d9.fsf@dustycloud.org> <87h8mzoht9.fsf@elephly.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Sender: racket-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org In-reply-to: <87h8mzoht9.fsf-aeLSDxfgpabR7s880joybQ@public.gmane.org> List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , To: Ricardo Wurmus Cc: Racket Users , help-guix-mXXj517/zsQ@public.gmane.org, =?utf-8?B?Q2xhZXMgV2FsbGluICjpn4vlmInoqqAp?= List-Id: help-guix.gnu.org Ricardo Wurmus writes: > Christopher Lemmer Webber 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/ra= cket/collects/racket/compiled/tmp15189875891518987589961 >> system error: Read-only file system; errno=3D30 > > [=E2=80=A6] > > =E2=80=9Ccall-with-atomic-output-file=E2=80=9D in =E2=80=99collects/racke= t/file.rkt=E2=80=9C attempts to > create a temporary file in whatever the result of =E2=80=98(path-only pat= h)=E2=80=99 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 =E2=80=98collectsdir=E2=80=99, which = is set up at > =E2=80=98configure=E2=80=99 time. This directory seems to be correct, be= cause it > contains Racket modules. We would only need to ensure that compilation > does not use this directory by default. > > I=E2=80=99m guessing that this is controlled by =E2=80=98do-get-compilati= on-dir+name=E2=80=99 in > =E2=80=98collects/compiler/compilation-path.rkt=E2=80=99. > > Does this make any sense? --=20 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 e= mail to racket-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit https://groups.google.com/d/optout.