Summary: | dev-util/rizin: grammar generation failure with dev-libs/treesitter[ts-cli] and nodejs | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | John Helmert III <ajak> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
emerge-info.txt
dev-util:rizin-0.3.1-r2:20211226-220315.log emerge-history.txt environment etc.portage.tar.bz2 logs.tar.bz2 temp.tar.bz2 |
Description
Toralf Förster
![]() Created attachment 760365 [details]
emerge-info.txt
Created attachment 760366 [details]
dev-util:rizin-0.3.1-r2:20211226-220315.log
Created attachment 760367 [details]
emerge-history.txt
Created attachment 760368 [details]
environment
Created attachment 760369 [details]
etc.portage.tar.bz2
Created attachment 760370 [details]
logs.tar.bz2
Created attachment 760371 [details]
temp.tar.bz2
Seems to be triggered by dev-libs/tree-sitter[ts-cli], but why? It's thanks to this, which also checks for nodejs: https://github.com/rizinorg/rizin/blob/v0.3.2/shlr/rizin-shell-parser/src/meson.build#L3 if tree_sitter_bin.found() and node_bin.found() and tree_sitter_dep.type_name() != 'internal' parser_c = custom_target('parser_src_c', command: [tree_sitter_wrap_py, tree_sitter_bin, '@OUTDIR@/..', '@INPUT@'], input: [grammar_js], output: 'parser.c', ) else parser_c = files('parser.c') endif The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c177d1212996d8cf74d5fc8b1b613fdb1dd4e7c9 commit c177d1212996d8cf74d5fc8b1b613fdb1dd4e7c9 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-01-06 18:52:29 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-01-06 19:07:27 +0000 dev-util/rizin: workaround build failure with tree-sitter[-ts-cli] and nodejs Closes: https://bugs.gentoo.org/830068 Signed-off-by: John Helmert III <ajak@gentoo.org> .../files/rizin-0.3.2-never-rebuild-parser.patch | 36 ++++++++++++++++++++++ dev-util/rizin/rizin-0.3.2.ebuild | 3 +- 2 files changed, 38 insertions(+), 1 deletion(-) |