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

  • Done
  • quality assurance status badge
Details
2 participants
  • Malte Frank Gerdes
  • Philip McGrath
Owner
unassigned
Submitted by
Malte Frank Gerdes
Severity
normal

Debbugs page

Malte Frank Gerdes wrote 4 years ago
(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
Philip McGrath wrote 4 years ago
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
Philip McGrath wrote 3 years ago
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
Philip McGrath wrote 3 years ago
(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 an email to 50118@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 50118
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help