GNU bug report logs - #47064
DrRacket internal error uncompressing

Previous Next

Package: guix;

Reported by: Jack Hill <jackhill <at> jackhill.us>

Date: Thu, 11 Mar 2021 06:22:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: jackhill <jackhill <at> trilug.org>
To: Philip McGrath <philip <at> philipmcgrath.com>
Cc: 47064 <at> debbugs.gnu.org, racket-users <at> googlegroups.com
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Date: Mon, 15 Mar 2021 20:28:31 -0400 (EDT)
On Mon, 15 Mar 2021, Philip McGrath wrote:

> Aha! Running:
>
>    guix environment --ad-hoc --no-grafts racket -- drracket
>
> launches DrRacket just fine.
>
> My guess is that Racket CS is compressing string literals in compiled code. 
> Currently, Guix patches Racket source files to include the absolute paths to 
> foreign libraries in the store as string literals. There are a bunch of 
> grafts for GTK and such: if I'm right, Guix somehow mangles the compiled code 
> while attempting to apply the grafts.
>
> I already thought this strategy was a bad idea. If it is really the problem, 
> I should be able to patch it fairly quickly: I've already been experimenting 
> along these lines.

Aha, that does sound promising. This certinially wouldn't be the only 
grafts corner case:

https://issues.guix.gnu.org/33848
https://issues.guix.gnu.org/30265

Thanks for taking a look,
Jack




This bug report was last modified 4 years and 61 days ago.

Previous Next


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