From: Timothy Sample <samplet@ngyro.com>
To: Christopher Lemmer Webber <cwebber@dustycloud.org>
Cc: 30680@debbugs.gnu.org, help-guix <help-guix@gnu.org>,
Nils Gillmann <ng0@n0.is>,
racket-users@googlegroups.com
Subject: bug#30680: [racket-users] Using Racket's raco on on Guix(SD)
Date: Sat, 11 Aug 2018 22:03:05 -0400 [thread overview]
Message-ID: <871sb4cpeu.fsf__23197.3000838936$1534039332$gmane$org@ngyro.com> (raw)
In-Reply-To: <87tvo0fpox.fsf@dustycloud.org> (Christopher Lemmer Webber's message of "Sat, 11 Aug 2018 19:28:46 -0400")
Christopher Lemmer Webber <cwebber@dustycloud.org> writes:
> Likewise, Gregor and Raart do not install:
>
> $ mv ~/.racket ~/.racket-borked
> $ raco pkg install gregor # lots of errors during install
> $ racket
> racket@> (require gregor)
> explode-path: contract violation
> expected: (or/c path-for-some-system? path-string?)
> given: #f
> context...:
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/path.rkt:116:0: do-explode-path
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/path.rkt:126:0: find-relative-path7
> /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/private/zoneinfo.rkt:117:2: for-loop
> /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/private/zoneinfo.rkt:107:0: read-tzids
> /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/private/zoneinfo.rkt:70:0: make-zoneinfo-source
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/contract/private/arrow-val-first.rkt:388:18
> /home/cwebber/.racket/6.12/pkgs/tzinfo/tzinfo/main.rkt:63:0: system-tzid
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/contract/private/arrow-val-first.rkt:388:18
> /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/private/moment.rkt: [running body]
> /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/private/generics.rkt: [traversing imports]
> /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/private/clock.rkt: [traversing imports]
> /home/cwebber/.racket/6.12/pkgs/gregor-lib/gregor/main.rkt: [traversing imports]
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/private/misc.rkt:88:7
This is a timezone issue. The “tzinfo” package cannot find the
“zoneinfo” directory in GuixSD. If you install the “tzdata” Racket
package, things seem to settle down. (It would be better to tell
“tzinfo” to use the system database, but that’s harder to do.)
> ... install raart, lots of "cannot open output file" error messages ...
> racket@> (require raart)
> get-module-code: no such file: #<path:/home/cwebber/.racket/6.12/pkgs/ansi/ansi/private/tty-raw-extension.rkt>
> context...:
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/syntax/modcode.rkt:120:0: get-module-path54
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/syntax/modcode.rkt:225:0: get-module-code82
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/private/more-scheme.rkt:261:28
> standard-module-name-resolver
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/private/more-scheme.rkt:261:28
> standard-module-name-resolver
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/private/more-scheme.rkt:261:28
> standard-module-name-resolver
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/require-transform.rkt:266:2: expand-import
> parse-reprov-spec1
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/syntax/wrap-modbeg.rkt:46:4
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/private/more-scheme.rkt:261:28
> standard-module-name-resolver
> /gnu/store/jx0bkmaafb8fq0mqs5ywgnxq8rbpn8j1-racket-6.12/share/racket/collects/racket/private/misc.rkt:88:7
I got better results with “raart” when “gcc-toolchain” was available
(i.e., “guix environment --ad-hoc gcc-toolchain”). I guess it has to
compile a bit of native code, so it needs a compiler. It still brakes
due to a syntax error, but I get the same error on Debian, so I guess
that’s something. :)
Also, I checked all of this from Racket without grafts, and it never
complained about compiling OpenSSL stuff. Running “raco setup” gives
some other errors, though.
next prev parent reply other threads:[~2018-08-12 2:04 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
[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 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
2018-08-12 15:31 ` Christopher Lemmer Webber
[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 2:03 ` Timothy Sample [this message]
2018-08-11 22:05 ` Nils Gillmann
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='871sb4cpeu.fsf__23197.3000838936$1534039332$gmane$org@ngyro.com' \
--to=samplet@ngyro.com \
--cc=30680@debbugs.gnu.org \
--cc=cwebber@dustycloud.org \
--cc=help-guix@gnu.org \
--cc=ng0@n0.is \
--cc=racket-users@googlegroups.com \
/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.