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
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
P
Philip McGrath wrote on 5 Jan 2022 22:52
(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