unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / Atom feed
* bug#50118: Racket: `raco exe` can't find Racket executable for variant cs
@ 2021-08-19  7:53 Malte Frank Gerdes
  2021-08-20  8:00 ` Philip McGrath
  0 siblings, 1 reply; 3+ messages in thread
From: Malte Frank Gerdes @ 2021-08-19  7:53 UTC (permalink / raw)
  To: 50118

Hi,

the current racket package shows this behaviour:

--8<---------------cut here---------------start------------->8---
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"
--8<---------------cut here---------------end--------------->8---

the same is true for `--cgc`

--8<---------------cut here---------------start------------->8---
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"
--8<---------------cut here---------------end--------------->8---

but `--3m` works.  I suppose this is a bug because racket from the
racket teams ppa (https://launchpad.net/~plt/+archive/ubuntu/racket)
works in all cases.


Malte




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#50118: Racket: `raco exe` can't find Racket executable for variant cs
  2021-08-19  7:53 bug#50118: Racket: `raco exe` can't find Racket executable for variant cs Malte Frank Gerdes
@ 2021-08-20  8:00 ` Philip McGrath
  2021-09-06  5:04   ` Philip McGrath
  0 siblings, 1 reply; 3+ messages in thread
From: Philip McGrath @ 2021-08-20  8:00 UTC (permalink / raw)
  To: Malte Frank Gerdes, 50118

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: 
https://github.com/racket/racket/issues/3969

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

-Philip




^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#50118: Racket: `raco exe` can't find Racket executable for variant cs
  2021-08-20  8:00 ` Philip McGrath
@ 2021-09-06  5:04   ` Philip McGrath
  0 siblings, 0 replies; 3+ messages in thread
From: Philip McGrath @ 2021-09-06  5:04 UTC (permalink / raw)
  To: Malte Frank Gerdes, 50118

The bug was fixed upstream, and I've submitted a patch at 
<https://issues.guix.gnu.org/50419> backporting the repair for Guix.

-Philip




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-09-06  5:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-19  7:53 bug#50118: Racket: `raco exe` can't find Racket executable for variant cs Malte Frank Gerdes
2021-08-20  8:00 ` Philip McGrath
2021-09-06  5:04   ` Philip McGrath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).