When the jit USE flag is disabled for dev-libs/libpcre-2, rizin throws errors on start. When dev-libs/libpcre-2 is re-emerged with the jit flag, these errors do not occur. No rebuild of rizin is required. Reproducible: Always Steps to Reproduce: 1. Emerge dev-libs/libpcre-2 with disabled jit flag 2. Run rizin Actual Results: The following error is shown multiple times: ERROR: Regex compilation for '\s+' failed at 0: bad JIT option Expected Results: There should be no error. Adding dev-libs/libpcre2[jit] to dependencies should be enough to fix this.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c28e908cbcf88be92d030870e17574408cb455d commit 1c28e908cbcf88be92d030870e17574408cb455d Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2024-12-15 04:51:49 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2024-12-15 04:52:24 +0000 dev-util/rizin: depend on libpcre2[jit], force bundled tree-sitter-c Rizin can automagically pick up a dependency on an incompatible system-tree-sitter-c, so instead force usage of the forked subproject. Note that I'm patching this as a one-off in this version since the forked package has been renamed upstream and thus this should be obsolete by the next release. Also add a dependency on libpcre2[jit], since Rizin automagically enables usage of it based on the target architecture, and we're not keyworded for anywhere that doesn't have support except for x32, for which usage is likely exceedingly rare (if existent). Bug: https://bugs.gentoo.org/943666 Closes: https://bugs.gentoo.org/945113 Signed-off-by: John Helmert III <ajak@gentoo.org> .../rizin-0.7.3-force-local-tree-sitter-c.patch | 22 +++++ .../rizin-0.7.3-tree-sitter-underlinking.patch | 31 +++++++ dev-util/rizin/rizin-0.7.3-r2.ebuild | 101 +++++++++++++++++++++ profiles/arch/amd64/x32/package.mask | 4 + 4 files changed, 158 insertions(+)