hishamhm/subprocess

lua5.4 support?

Opened this issue · 0 comments

is this still maintained? would be nice if 5.4 is supported:

luarocks --lua-version 5.4 install subprocess
Installing https://luarocks.org/subprocess-0.1-2.src.rock

subprocess 0.1-2 depends on luaposix >= 33.3.1 (36.2.1-1 installed)
gcc -O2 -fPIC -shared -o subprocess/posix/core.so -I/usr/include/lua5.4 subprocess/posix/compat-5.3.c subprocess/posix/close_fds.c subprocess/inheritable.c subprocess/posix/core.c `test -f "/usr/include/sys/syscall.h" && echo -n "-DHAVE_SYS_SYSCALL_H"`
In file included from subprocess/posix/compat-5.3.c:8:
subprocess/posix/compat-5.3.h:343:4: error: #error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
  343 | #  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
      |    ^~~~~
In file included from subprocess/posix/core.c:10:
subprocess/posix/compat-5.3.h:343:4: error: #error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
  343 | #  error "unsupported Lua version (i.e. not Lua 5.1, 5.2, or 5.3)"
      |    ^~~~~
subprocess/posix/core.c: In function ‘child_exec’:
subprocess/posix/core.c:244:16: warning: ‘return’ with no value, in function returning non-void
  244 |    if (unused) return;  /* silly? yes! avoids gcc compiler warning. */
      |                ^~~~~~
subprocess/posix/core.c:100:5: note: declared here
  100 | int child_exec(char** exec_array, char** argv, char** envp, const char* cwd,
      |     ^~~~~~~~~~
make: *** [Makefile:36: subprocess/posix/core.so] Error 1

Error: Build error: Failed building.