GNU bug report logs - #50118
Racket: `raco exe` can't find Racket executable for variant cs

Previous Next

Package: guix;

Reported by: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>

Date: Thu, 19 Aug 2021 07:56:01 UTC

Severity: normal

Done: Philip McGrath <philip <at> philipmcgrath.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50118 in the body.
You can then email your comments to 50118 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#50118; Package guix. (Thu, 19 Aug 2021 07:56:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 19 Aug 2021 07:56:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>
To: bug-guix <at> gnu.org
Subject: Racket: `raco exe` can't find Racket executable for variant cs
Date: Thu, 19 Aug 2021 09:53:52 +0200
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




Information forwarded to bug-guix <at> gnu.org:
bug#50118; Package guix. (Fri, 20 Aug 2021 08:02:01 GMT) Full text and rfc822 format available.

Message #8 received at 50118 <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>, 50118 <at> debbugs.gnu.org
Subject: Re: Racket: `raco exe` can't find Racket executable for variant cs
Date: Fri, 20 Aug 2021 04:00:53 -0400
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




Information forwarded to bug-guix <at> gnu.org:
bug#50118; Package guix. (Mon, 06 Sep 2021 05:05:01 GMT) Full text and rfc822 format available.

Message #11 received at 50118 <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>, 50118 <at> debbugs.gnu.org
Subject: Re: Racket: `raco exe` can't find Racket executable for variant cs
Date: Mon, 6 Sep 2021 01:04:29 -0400
The bug was fixed upstream, and I've submitted a patch at 
<https://issues.guix.gnu.org/50419> backporting the repair for Guix.

-Philip




Reply sent to Philip McGrath <philip <at> philipmcgrath.com>:
You have taken responsibility. (Wed, 05 Jan 2022 21:53:01 GMT) Full text and rfc822 format available.

Notification sent to Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>:
bug acknowledged by developer. (Wed, 05 Jan 2022 21:53:01 GMT) Full text and rfc822 format available.

Message #16 received at 50118-done <at> debbugs.gnu.org (full text, mbox):

From: Philip McGrath <philip <at> philipmcgrath.com>
To: 50118-done <at> debbugs.gnu.org
Cc: Malte Frank Gerdes <malte.f.gerdes <at> gmail.com>
Subject: Re: Racket: `raco exe` can't find Racket executable for variant cs
Date: Wed, 5 Jan 2022 16:52:09 -0500
This was fixed in Guix commit fd22921490f40044d58be8ddc3b38b8be12188a6 
(September 10, 2021). See: 
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=50419

-Philip




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 03 Feb 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 139 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.