Summary: | app-editors/neovim-9999 - ld: treesitter.c:(.text+0x3517): undefined reference to `ts_query_cursor_set_max_start_depth' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | squatted_posture785 |
Component: | Current packages | Assignee: | Brahmajit Das <brahmajit.xyz> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anrock623, proxy-maint, squatted_posture785, vim |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://github.com/gentoo/gentoo/pull/35040 https://github.com/gentoo/gentoo/pull/35451 https://bugs.gentoo.org/show_bug.cgi?id=925193 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
app-editors/neovim-9999 - build.log
emerge --info |
Created attachment 883168 [details]
emerge --info
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e54c3c8a00fb4ca18ac45da316e1cd95cd1f95cb commit e54c3c8a00fb4ca18ac45da316e1cd95cd1f95cb Author: Brahmajit Das <brahmajit.xyz@gmail.com> AuthorDate: 2024-01-27 08:49:13 +0000 Commit: Matthew Smith <matthew@gentoo.org> CommitDate: 2024-01-27 19:35:02 +0000 dev-libs/tree-sitter: Version bump to 0.20.9 Closes: https://bugs.gentoo.org/922963 Signed-off-by: Brahmajit Das <brahmajit.xyz@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35040 Signed-off-by: Matthew Smith <matthew@gentoo.org> dev-libs/tree-sitter/Manifest | 1 + .../files/tree-sitter-0.20.9-no-static.patch | 21 +++++++++ dev-libs/tree-sitter/tree-sitter-0.20.9.ebuild | 52 ++++++++++++++++++++++ dev-libs/tree-sitter/tree-sitter-9999.ebuild | 6 ++- 4 files changed, 78 insertions(+), 2 deletions(-) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adae2e2739031b393ecdd304758d0946c55e8622 commit adae2e2739031b393ecdd304758d0946c55e8622 Author: Vadim Misbakh-Soloviov <mva@gentoo.org> AuthorDate: 2024-02-21 11:14:18 +0000 Commit: Vadim Misbakh-Soloviov <mva@gentoo.org> CommitDate: 2024-02-22 07:16:29 +0000 app-editors/neovim: bump minimal tree-sitter version Some time ago neovim's upstream made some changes that made it incompatible with <dev-libs/tree-sitter-0.20.9. For example, this leads to following build failure: /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/nvim/CMakeFiles/nvim_bin.dir/lua/treesitter.c.o: in function `node_rawquery': treesitter.c:(.text+0x3583): undefined reference to `ts_query_cursor_set_max_start_depth' /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: treesitter.c:(.text+0x3777): undefined reference to `ts_query_cursor_set_max_start_depth' collect2: error: ld returned 1 exit status Closes: https://bugs.gentoo.org/922963 Closes: https://bugs.gentoo.org/925193 Signed-off-by: Vadim Misbakh-Soloviov <mva@gentoo.org> app-editors/neovim/neovim-9999.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) |
Created attachment 883167 [details] app-editors/neovim-9999 - build.log /usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: treesitter.c:(.text+0x3517): undefined reference to `ts_query_cursor_set_max_start_depth' collect2: error: ld returned 1 exit status ninja: build stopped: subcommand failed. * ERROR: app-editors/neovim-9999::gentoo failed (compile phase): * ninja -v -j12 -l10.8 failed * * Call stack: * ebuild.sh, line 136: Called src_compile * environment, line 3279: Called cmake_src_compile * environment, line 1387: Called cmake_build * environment, line 1354: Called eninja * environment, line 1825: Called die * The specific snippet of code: * "$@" || die -n "${*} failed" * * If you need support, post the output of `emerge --info '=app-editors/neovim-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-editors/neovim-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-editors/neovim-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-editors/neovim-9999/temp/environment'. * Working directory: '/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999_build' * S: '/var/tmp/portage/app-editors/neovim-9999/work/neovim-9999' ----- # emerge -pqv '=app-editors/neovim-9999::gentoo' [ebuild R ] app-editors/neovim-9999 USE="nvimpager -test (-lto%*)" LUA_SINGLE_TARGET="luajit -lua5-1"