Changes between Version 3 and Version 4 of Ticket #70420, comment 9


Ignore:
Timestamp:
Aug 8, 2024, 12:30:23 AM (2 months ago)
Author:
wryfi
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #70420, comment 9

    v3 v4  
    1201201. There is no facility to manage which version of lua is used as the system default.
    1211211. Uninstalling the `lua` port will break `luarocks` and potentially other lua ports, even though they could use a different version of lua.
     1221. `neovim` depends on `lua51-lpeg`, which depends on `lua-luarocks`, which depends on `lua` and `lua53-luarocks`, guaranteeing that lua 5.3 will be installed when trying to install neovim.
     1231. Building `neovim` is breaking because it links against the `lua.h` provided by the `lua` port (currently 5.3), which is incompatible with neovim and luajit (not for any reasons having to do with `luarocks`).
    1221241. `luarocks` always runs against the version of lua installed by the `lua` port, because its shebang is `/opt/local/bin/lua`, which is (currently) lua 5.3 by design of the `lua` port.
    123125  a. This remains true even if running `luarocks-5.n` because the versioned copies are all symlinks to the same `luarocks` script.
    1241261. `luarocks` always manages packages in `/opt/local/share/lua/5.3` because this value is hard-coded in the script.
    125 1. Building `neovim` is breaking because it links against the `lua.h` provided by the `lua` port (currently 5.3), which is incompatible with neovim and luajit (not for any reasons having to do with `luarocks`).
    126127
     128