If the number of "jobs" for make is by default set to something greater than 1, the make bootstrap step of installing Luarocks will fail, due to: https://github.com/luarocks/luarocks/issues/1638
Manually setting MAKEFLAGS="--jobs=1 before running make bootstrap works around the issue.
The maintainers of Luarocks seem like they will not fix it in upstream, so maybe it can be added in the install script of this plugin instead?
This affects any system where the default MAKEFLAGS is configured to anything greater than 1, for example systems that do the common thing of setting MAKEFLAGS="--jobs=$(nproc)".
If the number of "jobs" for make is by default set to something greater than 1, the
make bootstrap
step of installing Luarocks will fail, due to: https://github.com/luarocks/luarocks/issues/1638Manually setting
MAKEFLAGS="--jobs=1
before runningmake bootstrap
works around the issue.The maintainers of Luarocks seem like they will not fix it in upstream, so maybe it can be added in the install script of this plugin instead?
This affects any system where the default
MAKEFLAGS
is configured to anything greater than 1, for example systems that do the common thing of settingMAKEFLAGS="--jobs=$(nproc)"
.Update: Looks like maybe there will be a fix upstream after all: https://github.com/luarocks/luarocks/pull/1663
If that PR is merged then this issue can be closed.