Racket: `raco exe` can't find Racket executable for variant cs

DoneSubmitted by Malte Frank Gerdes.
Details
2 participants
  • Malte Frank Gerdes
  • Philip McGrath
Owner
unassigned
Severity
normal
M
M
Malte Frank Gerdes wrote on 19 Aug 2021 09:53
(address . bug-guix@gnu.org)
861r6pdg4v.fsf@gmail.com
Hi,

the current racket package shows this behaviour:

Toggle snippet (11 lines)
raco exe main.rkt L3 #5172
find-exe: can't find Racket executable for variant cs
context...:
/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/compiler/embed.rkt:1481:0: create-embedding-executable
/gnu/store/vv430dla9xglhs35nzdyci5gcwbnqi2q-racket-8.2/share/racket/pkgs/compiler-lib/compiler/commands/exe.rkt:100:0
body of "/gnu/store/vv430dla9xglhs35nzdyci5gcwbnqi2q-racket-8.2/share/racket/pkgs/compiler-lib/compiler/commands/exe.rkt"
/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/raco/raco.rkt:41:0
body of "/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/raco/raco.rkt"
body of "/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/raco/main.rkt"

the same is true for `--cgc`

Toggle snippet (11 lines)
raco exe --cgc main.rkt L3 #5173
find-exe: can't find Racket executable for variant cgc
context...:
/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/compiler/embed.rkt:1481:0: create-embedding-executable
/gnu/store/vv430dla9xglhs35nzdyci5gcwbnqi2q-racket-8.2/share/racket/pkgs/compiler-lib/compiler/commands/exe.rkt:100:0
body of "/gnu/store/vv430dla9xglhs35nzdyci5gcwbnqi2q-racket-8.2/share/racket/pkgs/compiler-lib/compiler/commands/exe.rkt"
/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/raco/raco.rkt:41:0
body of "/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/raco/raco.rkt"
body of "/gnu/store/z8vb7cfcpknwvixcq788mrh1fchw9f7l-racket-minimal-8.2/share/racket/collects/raco/main.rkt"

but `--3m` works. I suppose this is a bug because racket from the
works in all cases.


Malte
P
P
Philip McGrath wrote on 20 Aug 2021 10:00
452e6676-08fa-c995-7c24-c8fb7a03fb40@philipmcgrath.com
Thanks for the report!

It seems that Guix's change in 8.2 to make `racket` a layered/tethered
installation chaining to `racket-minimal` exposed a bug in Racket's
`setup/variant` module. I've reported it upstream here:

Hopefully it will be possible to cherry-pick the fix onto Guix's Racket
8.2 packages.

-Philip
P
P
Philip McGrath wrote on 6 Sep 2021 07:04
66c20f2c-f24e-3a2d-6a6f-4006fa0c1712@philipmcgrath.com
The bug was fixed upstream, and I've submitted a patch at
https://issues.guix.gnu.org/50419 backporting the repair for Guix.

-Philip
P
P
Philip McGrath wrote on 5 Jan 22:52 +0100
(address . 50118-done@debbugs.gnu.org)(name . Malte Frank Gerdes)(address . malte.f.gerdes@gmail.com)
d789b442-244d-ce96-fe82-395fec6689cc@philipmcgrath.com
This was fixed in Guix commit fd22921490f40044d58be8ddc3b38b8be12188a6
(September 10, 2021). See:

-Philip
Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 50118@debbugs.gnu.org