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



Reply via email to