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: jackhill
Subject: bug#47064: [racket-users] bytevector-uncompress: internal error uncompressing
Date: Mon, 15 Mar 2021 20:28:31 -0400 (EDT)
User-agent: Alpine 2.21 (DEB 202 2017-01-01)

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





reply via email to

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