pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/59729: tree-sitter-cli not up-to-date with tree-sitter



>Number:         59729
>Category:       pkg
>Synopsis:       tree-sitter-cli not up-to-date with tree-sitter
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 27 10:20:01 +0000 2025
>Originator:     Rubin Simons
>Release:        textproc/tree-sitter-cli
>Organization:
>Environment:
NetBSD NOMON 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

>Description:
The tree-sitter-cli package is not up-to-date with the tree-sitter package:

tree-sitter-cli: 0.22.5
tree-sitter: 0.25.9

This causes not-workaround-able build issues when trying to build grammars, with, for example neovim and nvim-treesitter.

>How-To-Repeat:
Install neovim, add nvim-treesitter plugin, install tree-sitter-cli
Try to install a grammar with :TSInstall swift for example. Observe: error:

[nvim-treesitter] [0/2] Generating source files from grammar.js...
nvim-treesitter[swift]: Error during "tree-sitter generate"
thread 'main' panicked at cli/src/generate/render.rs:1709:5:
This version of Tree-sitter can only generate parsers with ABI version 13 - 14, not 15
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
nvim-treesitter[latex]: Error during "tree-sitter generate"
thread 'main' panicked at cli/src/generate/render.rs:1709:5:
This version of Tree-sitter can only generate parsers with ABI version 13 - 14, not 15
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Note that if tree-sitter-cli was up-to-date with tree-sitter, it could generate parsers with ABI version 15
>Fix:


Home | Main Index | Thread Index | Old Index