diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-06-29 08:53:54 +0200 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2024-07-07 08:04:47 +0200 |
commit | 3ed077e92cebe4286eeecf372722690eb5c9a8aa (patch) | |
tree | e40b319d6d6c47c0f5e1c1e275e766dcb7bb403c /gnu/services | |
parent | 8546ca946e617c32ef3bb60947e368f7d038090c (diff) | |
download | guix-3ed077e92cebe4286eeecf372722690eb5c9a8aa.tar.gz guix-3ed077e92cebe4286eeecf372722690eb5c9a8aa.zip |
gnu: clasp: Prevent ID clashes in dependent packages.
Clasp uses an interesting CRTP pattern to insert statically (i.e. compile-time)
generated numeric IDs into global fields. However, these templates are
instantiated once per shared library---thus, whenever a library is linked, new
IDs are generated, and the original intent (safely type-casting objects across
libraries) is lost. To help the linker out, we make sure that these IDs are
only instantiated in clasp and not when building other libraries.
* gnu/packages/patches/clasp-hide-event-ids.patch: New file.
* gnu/local.mk (dist_patch_DATA): Register it here.
* gnu/packages/clasp.scm (source)[patches]: Add it here.
(clingo)[#:phases]: Drop ‘skip-failing-tests’.
(python-clorm)[#:phases]<fix-breaking-tests>: Adjust accordingly.
(python-clintest): Drop arguments.
Diffstat (limited to 'gnu/services')
0 files changed, 0 insertions, 0 deletions