unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / 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; 4+ 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] 4+ 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; 4+ 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] 4+ 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
  2022-01-05 21:52     ` Philip McGrath
  0 siblings, 1 reply; 4+ 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] 4+ messages in thread

* bug#50118: Racket: `raco exe` can't find Racket executable for variant cs
  2021-09-06  5:04   ` Philip McGrath
@ 2022-01-05 21:52     ` Philip McGrath
  0 siblings, 0 replies; 4+ messages in thread
From: Philip McGrath @ 2022-01-05 21:52 UTC (permalink / raw)
  To: 50118-done

This was fixed in Guix commit fd22921490f40044d58be8ddc3b38b8be12188a6 
(September 10, 2021). See: 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50419

-Philip




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

end of thread, other threads:[~2022-01-05 22:00 UTC | newest]

Thread overview: 4+ 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
2022-01-05 21:52     ` Philip McGrath

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).