GNU bug report logs - #79993
Emacs 30.2 fails to build with treesitter 0.26.2

Previous Next

Package: emacs;

Reported by: "Randy J. Ray" <rjray <at> blackperl.com>

Date: Fri, 12 Dec 2025 04:00:03 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

To reply to this bug, email your comments to 79993 AT debbugs.gnu.org.
There is no need to reopen the bug first.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#79993; Package emacs. (Fri, 12 Dec 2025 04:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Randy J. Ray" <rjray <at> blackperl.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 12 Dec 2025 04:00:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Randy J. Ray" <rjray <at> blackperl.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs 30.2 fails to build with treesitter 0.26.2
Date: Thu, 11 Dec 2025 15:13:28 -0800
treesit.c: In function 'treesit_load_language':
treesit.c:749:42: error: implicit declaration of function 
'ts_language_version'; did you mean 'ts_language_abi_version'? 
[-Wimplicit-function-declaration]
  749 |                             make_fixnum (ts_language_version (lang)));
      | ^~~~~~~~~~~~~~~~~~~
      | ts_language_abi_version

Randy

-- 
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
Randy J. Ray      San Jose, CA
rjray <at> blackperl.com
Silicon Valley Scale Modelers: http://www.svsm.org





Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Fri, 12 Dec 2025 08:49:01 GMT) Full text and rfc822 format available.

Notification sent to "Randy J. Ray" <rjray <at> blackperl.com>:
bug acknowledged by developer. (Fri, 12 Dec 2025 08:49:02 GMT) Full text and rfc822 format available.

Message #10 received at 79993-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Randy J. Ray" <rjray <at> blackperl.com>
Cc: 79993-done <at> debbugs.gnu.org
Subject: Re: bug#79993: Emacs 30.2 fails to build with treesitter 0.26.2
Date: Fri, 12 Dec 2025 10:48:21 +0200
> Date: Thu, 11 Dec 2025 15:13:28 -0800
> From: "Randy J. Ray" <rjray <at> blackperl.com>
> 
> treesit.c: In function 'treesit_load_language':
> treesit.c:749:42: error: implicit declaration of function 
> 'ts_language_version'; did you mean 'ts_language_abi_version'? 
> [-Wimplicit-function-declaration]
>    749 |                             make_fixnum (ts_language_version (lang)));
>        | ^~~~~~~~~~~~~~~~~~~
>        | ts_language_abi_version

This is known.  But Emacs 30.2 was released before tree-sitter
developers decided to removed that function in 0.26, and we cannot
change history.  Thus, the latest version of tree-sitter supported by
Emacs 30.2 is 0.25.x.

Emacs 31 will support both old and new ABIs, and it could be built
with versions of tree-sitter both before and after 0.26.  If you must
use tree-sitter 0.26, please build the master branch of the Emacs Git
repository instead of Emacs 30.2.  For Emacs 30.2, you will need to
downgrade to the last 0.25.x release of tree-sitter.

So I think we already fixed this problem in the development code, and
I'm therefore closing this bug.




This bug report was last modified 5 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.