[Bug 257051] neovim-0.5.0 fails to link if luajit is not enabled
Date: Thu, 08 Jul 2021 09:46:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257051
Bug ID: 257051
Summary: neovim-0.5.0 fails to link if luajit is not enabled
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: snafu@private-mail-for.me
While first looking similar to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251818 it seems to be
different as I have build libluv without luajit.
Afaict it is related to rds parser which seems to be built against lua51
(statically and without option to change that) and the build trying to use
lua52.
The relevant error messages seem to be:
ld: error: undefined symbol: luaL_register
>>> referenced by executor.c
>>> lto.tmp:(nlua_enter.llvm.6927564360673786163)
>>> referenced by treesitter.c
>>> lto.tmp:(tslua_init)
>>> referenced by treesitter.c
>>> lto.tmp:(tslua_init)
>>> referenced 4 more times
ld: error: undefined symbol: lua_setfenv
>>> referenced by treesitter.c
>>> lto.tmp:(push_tree)
>>> referenced by treesitter.c
>>> lto.tmp:(parser_parse)
>>> referenced by treesitter.c
>>> lto.tmp:(tree_root)
>>> referenced 11 more times
ld: error: undefined symbol: lua_objlen
>>> referenced by treesitter.c
>>> lto.tmp:(parser_set_ranges)
>>> referenced by treesitter.c
>>> lto.tmp:(parser_set_ranges)
ld: error: undefined symbol: lua_getfenv
>>> referenced by treesitter.c
>>> lto.tmp:(tree_root)
>>> referenced by treesitter.c
>>> lto.tmp:(node_field)
>>> referenced by treesitter.c
>>> lto.tmp:(node_child)
>>> referenced 8 more times
cc: error: linker command failed with exit code 1 (use -v to see invocation)
--
You are receiving this mail because:
You are the assignee for the bug.