Skip to content

Fix build issue with Lua >= 5.3 #837

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

omadjoudj
Copy link
Contributor

Hi,

Please find this PR to build mod_security with Lua 5.3 (the default in Fedora rawhide).

@zimmerle
Copy link
Contributor

Hi @athmane,

Thank you for the patch. This is related to the issues: #814 and #762

Looking at your patch it seems that this very change could also work with Lua 5.2 right?

Not placing on buildbots right now because I have to upgrade the buildslaves to use Lua 5.3 :)

@omadjoudj
Copy link
Contributor Author

Hi @zimmerle

Yes, the change does not affect older Lua versions, I tested the patch with Lua 5.2.2 (default in Fedora 21) and Lua 5.3.0 (default in Fedora Rawhide / devel).

EDIT: build logs on fedora buildsystem:

https://kojipkgs.fedoraproject.org//packages/mod_security/2.9.0/1.fc23/data/logs/x86_64/build.log

zimmerle pushed a commit that referenced this pull request Apr 6, 2015
@zimmerle
Copy link
Contributor

The build seems fine, however there are some crashes on runtime. I am investigating.

We have two new build slaves for Lua 5.2 and 5.3:

@zimmerle
Copy link
Contributor

zimmerle commented Jan 8, 2016

Hi @athmane,

Thanks for the patch. Partially merged and fixed into our mainline. It will be released as part of ModSecurity v2.9.1

@zimmerle zimmerle closed this Jan 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants