pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/48506: Apache mod_security2 build fails



>Number:         48506
>Category:       pkg
>Synopsis:       Apache mod_security2 build fails
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jan 08 22:45:00 +0000 2014
>Originator:     Sebastian POnitka
>Release:        current
>Organization:
>Environment:
bash-4.2# uname -a
NetBSD while 6.1.2 NetBSD 6.1.2 (XEN3_DOMU) #0: Sat Oct 19 10:19:41 UTC 2013  
root@XXX:/mnt/obj/sys/arch/amd64/compile/XEN3_DOMU amd64
bash-4.2# 

>Description:
mod_security2 package build fails:

libtool --silent --mode=compile gcc -prefer-pic   -DNETBSD -pthread 
-I/usr/pkg/include/httpd  -I/usr/pkg/include/apr-1   -I/usr/pkg/include/apr-1 
-I/usr/pkg/include -O2 -g -Wall -DWITH_PCRE_STUDY 
-DMODSEC_PCRE_MATCH_LIMIT=1500 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1500 
-I/usr/pkg/include/httpd -I/usr/pkg/include -I/usr/pkg/include/apr-1 
-I/usr/pkg/include/db4 -I/usr/include -I/usr/pkg/include 
-I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_lua.lo 
msc_lua.c && touch msc_lua.slo
msc_lua.c: In function 'lua_restore':
msc_lua.c:86:5: error: too few arguments to function 'lua_load'
/x/pkgobj/security/ap-modsecurity2/work.x86_64/.buildlink/include/lua.h:261:16: 
note: declared here
msc_lua.c: In function 'lua_compile':
msc_lua.c:97:5: warning: implicit declaration of function 'lua_open'
msc_lua.c:97:7: warning: assignment makes pointer from integer without a cast
msc_lua.c: In function 'resolve_tfns':
msc_lua.c:161:9: warning: implicit declaration of function 'lua_objlen'
msc_lua.c: In function 'lua_execute':
msc_lua.c:413:7: warning: assignment makes pointer from integer without a cast
msc_lua.c:431:5: warning: implicit declaration of function 'luaL_register'
msc_lua.c: In function 'lua_restore':
msc_lua.c:87:1: warning: control reaches end of non-void function
apxs:Error: Command failed with rc=65536
.
*** Error code 1

Stop.
make: stopped in 
/x/pkgobj/security/ap-modsecurity2/work.x86_64/modsecurity-apache_2.5.13/apache2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/ap-modsecurity2
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/ap-modsecurity2
bash-4.2# 

>How-To-Repeat:
make
>Fix:



Home | Main Index | Thread Index | Old Index