Opened 12 years ago
Last modified 3 years ago
#39074 assigned defect
mod_security2 fails to compile with lua error
Reported by: | simonblanchard@… | Owned by: | Schamschula (Marius Schamschula) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | Cc: | russell@…, cooljeanius (Eric Gallager) | |
Port: | mod_security2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
:info:build libtool: compile: /usr/bin/clang -DHAVE_CONFIG_H -I. -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -I/opt/local/include -I/opt/local/apache2/include -I/opt/local/include/apr-1 -I/opt/local/include/apr-1 -I/opt/local/include -I/opt/local/include -I/opt/local/include/libxml2 -DWITH_LUA -I/opt/local/include -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 -DREQUEST_EARLY -I/opt/local/include -pipe -O2 -arch x86_64 -MT mod_security2_la-msc_release.lo -MD -MP -MF .deps/mod_security2_la-msc_release.Tpo -c msc_release.c -o mod_security2_la-msc_release.o >/dev/null 2>&1 :info:build msc_lua.c:82:57: error: too few arguments to function call, expected 5, have 4 :info:build return lua_load(L, dump_reader, &dumpr, script->name);
Attachments (3)
Change History (13)
Changed 12 years ago by simonblanchard@…
Attachment: | main.log.zip added |
---|
comment:1 follow-up: 2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to pixilla@… |
Port: | mod_security2 added |
Changed 11 years ago by cbsmith@…
Attachment: | main.log.2.zip added |
---|
comment:2 follow-up: 4 Changed 11 years ago by cbsmith@…
Replying to ryandesign@…:
lua was recently updated to version 5.2; perhaps mod_security2 needs a patch to become compatible with that version.
Yeah, I think this is it. I'm going to try to migrate back to an older version of lua to fix this.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | russell@… added |
---|
Has duplicate #40377.
comment:4 Changed 11 years ago by russell@…
Replying to cbsmith@…:
Replying to ryandesign@…:
lua was recently updated to version 5.2; perhaps mod_security2 needs a patch to become compatible with that version.
Yeah, I think this is it. I'm going to try to migrate back to an older version of lua to fix this.
Attempted installation with lua@5.1.4_4 and failed.
Reason: mod_security2@2.7.1 requires lua@5.2 or greater.
Changed 11 years ago by simonblanchard@…
Attachment: | main.log.gz added |
---|
Build log failing on mavericks 10.9
comment:6 Changed 11 years ago by simonblanchard@…
mod_security2@2.7.6 compiles fine. The only patch needed was to add -L/opt/local/lib/db46
to the LDFLAGS in the apache2 directory.
comment:8 Changed 6 years ago by mf2k (Frank Schima)
Owner: | changed from pixilla to Schamschula |
---|---|
Status: | new → assigned |
See #57827
comment:9 follow-up: 10 Changed 6 years ago by Schamschula (Marius Schamschula)
Is anyone still seeing this error with mod_security2 @2.9.2 ?
Otherwise, we can close this ticket.
comment:10 Changed 3 years ago by cooljeanius (Eric Gallager)
Replying to Schamschula:
Is anyone still seeing this error with mod_security2 @2.9.2 ?
Otherwise, we can close this ticket.
I'm seeing a different error instead, for which I opened #63295
lua was recently updated to version 5.2; perhaps mod_security2 needs a patch to become compatible with that version.