Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 925193 - app-editors/neovim-9999: requires >=dev-libs/tree-sitter-0.20.9 to build
Summary: app-editors/neovim-9999: requires >=dev-libs/tree-sitter-0.20.9 to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-21 17:16 UTC by Vadim A. Misbakh-Soloviov (mva)
Modified: 2024-02-22 07:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) gentoo-dev 2024-02-21 17:16:23 UTC
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
```


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2024-02-22 07:17:47 UTC
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(-)