As of today (2024-05-16), app-editors/neovim-9999 won't compile: FAILED: src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o /usr/bin/x86_64-pc-linux-gnu-gcc -DHAVE_UNIBILIUM -DINCLUDE_GENERATED_DECLARATIONS -DUNIT_TESTING -D_GNU_SOURCE -Dnvim_bin_EXPORTS -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999_build/src/nvim/auto -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999_build/include -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999_build/cmake.config -I/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src -isystem /usr/include/luajit-2.1 -march=haswell -O2 -pipe -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wshadow -Wconversion -Wvla -Wdouble-promotion -Wmissing-noreturn -Wmissing-format-attribute -Wmissing-prototypes -fsigned-char -fstack-protector-strong -Wno-conversion -fno-common -Wno-unused-result -Wimplicit-fallthrough -fdiagnostics-color=always -MD -MT src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o -MF src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o.d -o src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o -c /var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/lua/treesitter.c /var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/lua/treesitter.c: In function ‘__has_ancestor’: /var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/lua/treesitter.c:1084:12: warning: implicit declaration of function ‘ts_node_child_containing_descendant’; did you mean ‘node_child_containing_descendant’? [-Wimplicit-function-declaration] 1084 | node = ts_node_child_containing_descendant(node, descendant); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | node_child_containing_descendant /var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/lua/treesitter.c:1084:12: error: incompatible types when assigning to type ‘TSNode’ from type ‘int’ /var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/lua/treesitter.c: In function ‘node_child_containing_descendant’: /var/tmp/portage/app-editors/neovim-9999/work/neovim-9999/src/nvim/lua/treesitter.c:1095:18: error: invalid initializer 1095 | TSNode child = ts_node_child_containing_descendant(node, descendant); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Reproducible: Always Steps to Reproduce: 1. # emerge =app-editors/neovim-9999::gentoo Actual Results: The package fails to compile
Created attachment 893092 [details] # emerge --info '=app-editors/neovim-9999::gentoo'
Created attachment 893093 [details] # emerge -pqv '=app-editors/neovim-9999::gentoo'
Created attachment 893094 [details] build.log
Fixed with dev-libs/tree-sitter-0.22.6::gentoo added today: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=658244c8a93e2e035114120149abdd8dcd46158e
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21662224990dcbd47f45e9eef3aeed0df24d1544 commit 21662224990dcbd47f45e9eef3aeed0df24d1544 Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2024-05-21 07:30:49 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-05-25 08:26:45 +0000 app-editors/neovim: Fix live ebuild tree-sitter dependency - 9999 now needs tree-sitter-0.22.6 Closes: https://bugs.gentoo.org/932001 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/36714 Signed-off-by: Sam James <sam@gentoo.org> app-editors/neovim/neovim-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)