bump(main/tree-sitter): 0.26.3 + revbumps#27694
Conversation
|
Don't know what that Emacs build failure is about. # [...]
Does Emacs use -ltree-sitter? yes
# [...]
checking for tree-sitter >= 0.20.2... yes
# [...]
CC treesit.o
CC itree.o
CC json.o
CC terminfo.o
CC lastfile.o
/home/builder/.termux-build/emacs/src/src/treesit.c:749:21: error: call to undeclared function 'ts_language_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
749 | make_fixnum (ts_language_version (lang)));
| ^
/home/builder/.termux-build/emacs/src/src/treesit.c:749:21: note: did you mean 'ts_language_abi_version'?
/data/data/com.termux/files/usr/include/tree_sitter/api.h:1249:10: note: 'ts_language_abi_version' declared here
1249 | uint32_t ts_language_abi_version(const TSLanguage *self);
| ^
/home/builder/.termux-build/emacs/src/src/treesit.c:820:27: error: call to undeclared function 'ts_language_version'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
820 | uint32_t version = ts_language_version (ts_language);
| ^
2 errors generated.
make[2]: *** [Makefile:457: treesit.o] Error 1
make[2]: *** Waiting for unfinished jobs....
1 warning generated.
make[2]: Leaving directory '/home/builder/.termux-build/emacs/build/src'
make[1]: *** [Makefile:554: src] Error 2
make[1]: Leaving directory '/home/builder/.termux-build/emacs/build'
make[1]: Entering directory '/home/builder/.termux-build/emacs/build'
***
*** "make all" failed with exit status 2.
***
*** You could try to:
*** - run "make bootstrap", which might fix the problem
*** - run "make V=1", which displays the full commands invoked by make,
*** to further investigate the problem
***
make[1]: *** [Makefile:418: advice-on-failure] Error 2
make[1]: Leaving directory '/home/builder/.termux-build/emacs/build'
make: *** [Makefile:374: all] Error 2 |
|
Ah it looks like
I'm guessing that's causing the issue here. Found the patch for it. |
|
Neovim doesn't plan to support |
|
I could not recompile |
It doesn't directly depend on |
|
What I mean is that neither |
|
After 1 month of trying I managed to recompile It will be possible to recompile in order to test it with any tree-sitter-related changes after this: |
and clean up auto-update function
and clean up the leftover add-target-to-gen-preprocessing.diff file
let's follow the tree-sitter minor from now on so that it's less arbitrary
|
Alright everything (including But with Neovim 0.12.0 released there should be no blockers to the tree-sitter 0.26 update anymore. I'd like to add a reminder that |
|
Alright let's get this merged before |
This PR updates
tree-sitterto 0.26.3 and rebuilds the reverse dependencies.I tried revbumping
moganbut that build seems to be completely unsalvageable in its current state.Upstream seems to have changed the versioning scheme and did some major refactoring to its build system.
I am not nearly familiar enough with Xmake to get either 1.2.9.8, or the latest stable release(2025.2.2)1 to build.
I have moved
mogantodisabled-packages/for now since it cannot be rebuilt and the tree-sitter SO version update will break the package for certain.If someone else is able to get it updated and working the help would be very much appreciated.
Footnotes
https://github.com/XmacsLabs/mogan/releases/latest ↩