-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Description
Description:
I noticed a build failure when compiling ModSecurity with Lua 5.5.0 on macOS.
I'm not entirely sure where the issue originates, but the build fails during compilation.
Error message:
engine/lua.cc:158:18: error: use of undeclared identifier 'LUA_ERRGCMM'
case LUA_ERRGCMM:
^
Observation:
It seems related to LUA_ERRGCMM not being defined.
However, I'm not sure whether this is due to changes in Lua (e.g. version 5.5.0) or an issue in the code.
Expected behavior:
The build should either succeed or clearly indicate if a specific Lua version is unsupported.
Actual behavior:
The build fails during compilation.
Steps to reproduce:
Install Lua 5.5.0
Build ModSecurity with Lua support enabled
Run the build
Compilation fails in engine/lua.cc
Additional context:
I noticed this in CI (macOS job with Lua). Other jobs do not seem to be affected.