Message ID | cover.1634402642.git.simon@simonsouth.net |
---|---|
Headers | show |
Series | gnu: ragel: Fix build of knot on aarch64-linux. | expand |
Simon,
Thanks for taking care of Knot. The changes themselves LGTM.
Simon South 写道:
> With the patch applied
Mmm, that's some very raw diff! :-)
Is this an (applied?) upstream patch? Or did you write it, and if
so, have you submitted it for upstream inclusion anywhere its
progress can be tracked?
Kind regards,
T G-R
Tobias Geerinckx-Rice <me@tobias.gr> writes: > Or did you write it, and if so, have you submitted it for upstream > inclusion anywhere its progress can be tracked? Yes, the patch is of my own creation (borrowing heavily from the upstream commit I mention) but I haven't tried submitting it upstream yet. I agree that is where it really belongs, though. I'll give that a shot and see what response I get.
Simon South 写道:
> I'll give that a shot and see what response I get.
Thanks! Let us know how it goes.
We don't have to wait for an upstream response to add it to Guix,
but it's nice to be able to refer to the issue URL.
Kind regards,
T G-R
After corresponding with Ragel's author, here's a patch that applies the solution implemented upstream[0], backported from Ragel's "ragel-6" branch. I've tested this on AArch64 and x86-64 and with these changes applied, Knot builds fine again on both platforms. On x86-64, I've once again rebuilt the output of "guix refresh --list-dependent ragel" without issue, aside from ccextractor; on AArch64, Ragel's immediate dependents[1] all build fine. [0] https://github.com/adrian-thurston/ragel/commit/2e638fccd81e96ce09841adc4b295b5ce694ea73 [1] gpick, knot, rspamd, ruby-json-pure, ruby-parser and ruby-regexp-parser. -- Simon South simon@simonsouth.net Simon South (1): gnu: ragel: Fix build of knot on aarch64-linux. gnu/local.mk | 1 + .../ragel-decide-signedness-of-char.patch | 42 +++++++++++++++++++ gnu/packages/ragel.scm | 7 +++- 3 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 gnu/packages/patches/ragel-decide-signedness-of-char.patch