bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#47064: [racket-users] bytevector-uncompress: internal error uncompre


From: Philip McGrath
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Date: Mon, 15 Mar 2021 18:38:36 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.8.0

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.

-Philip





reply via email to

[Prev in Thread] Current Thread [Next in Thread]