Changes between Initial Version and Version 14 of Ticket #70420


Ignore:
Timestamp:
Aug 8, 2024, 9:41:34 PM (6 weeks ago)
Author:
wryfi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70420

    • Property Status changed from new to assigned
    • Property Cc raimue judaew MarcusCalhoun-Lopez added
    • Property Summary changed from neovim-0.10.0_1 build failure on Sonoma to neovim @0.10.0_1: error loading module 'nlua0' from file 'libnlua0.so'
    • Property Version changed from to 2.9.3
    • Property Owner set to l2dy
  • Ticket #70420 – Description

    initial v14  
    1 See attached build log. Tried `port clean neovim` and also tried uninstalling and reinstalling. Now I have no neovim.
     1Neovim is built around luajit, which is based on lua 5.1.
     2
     3The neovim build process creates a C library, `nlua0`, which is subsequently used by luajit later in the build process.
     4
     5In MacPorts, `nlua0` gets built against the default `lua`, which is currently version 5.3. When luajit tries to then use this `nlua0`, the neovim build fails, because the built library includes symbols that don't exist in 5.1.
     6
     7In the short term, `port deactivate lua && port install neovim && port activate lua` works around this issue.
     8
     9The following [https://github.com/macports/macports-ports/pull/25223 GitHub PR] updates the neovim port to add the proper include directory for lua 5.1 to cmake, and should resolve the issue.
     10
     11Ultimately, some changes to the lua packaging and/or docs would help prevent future ports from breaking.