NetBSD Problem Report #59729
From www@netbsd.org Mon Oct 27 10:18:20 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
client-signature RSA-PSS (2048 bits) client-digest SHA256)
(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
by mollari.NetBSD.org (Postfix) with ESMTPS id A15641A9239
for <gnats-bugs@gnats.NetBSD.org>; Mon, 27 Oct 2025 10:18:20 +0000 (UTC)
Message-Id: <20251027101819.9BAE31A923A@mollari.NetBSD.org>
Date: Mon, 27 Oct 2025 10:18:19 +0000 (UTC)
From: me@rubin55.org
Reply-To: me@rubin55.org
To: gnats-bugs@NetBSD.org
Subject: tree-sitter-cli not up-to-date with tree-sitter
X-Send-Pr-Version: www-1.0
>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:/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:
(Contact us)
$NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.