Building luarocks randomly fails for me when I use more than one make jobs in parallel (i.e. MAKEOPTS="-jX" where X > 1). I'll attach all required information. If there's anything else I can provide, please do tell. Reproducible: Sometimes
Created attachment 300831 [details] emerge --info
Created attachment 300833 [details] environment
Created attachment 300835 [details] build.log
I was only able to reproduce this using a slow PORTAGE_TMPDIR filesystem (like on NFS), but still.
I haven't found a way to properly fix this issue but in the recent version bump of luarocks, I "fixed" this issue by calling "emake -j1" and disabling the parallel build. It's short enough, anyways.