=> Bootstrap dependency digest>=20010302: found digest-20121220
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for ap22-modsecurity-2.5.13nb6
--- mod_security2.la ---
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o mod_security2.lo mod_security2.c && touch mod_security2.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o apache2_config.lo apache2_config.c && touch apache2_config.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o apache2_io.lo apache2_io.c && touch apache2_io.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o apache2_util.lo apache2_util.c && touch apache2_util.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o re.lo re.c && touch re.slo
re.c:105:21: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isspace(action->param[j])) {
                    ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:134:20: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((actionset == NULL)) return;
         ~~~~~~~~~~^~~~~~~
re.c:134:20: note: remove extraneous parentheses around the comparison to silence this warning
    if ((actionset == NULL)) return;
        ~          ^      ~
re.c:134:20: note: use '=' to turn this equality comparison into an assignment
    if ((actionset == NULL)) return;
                   ^~
                   =
re.c:145:21: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((add_action == NULL)) return;
         ~~~~~~~~~~~^~~~~~~
re.c:145:21: note: remove extraneous parentheses around the comparison to silence this warning
    if ((add_action == NULL)) return;
        ~           ^      ~
re.c:145:21: note: use '=' to turn this equality comparison into an assignment
    if ((add_action == NULL)) return;
                    ^~
                    =
re.c:437:15: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p)) p++;
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:442:70: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while((*p != '\0')&&(*p != '|')&&(*p != ':')&&(*p != ',')&&(!isspace(*p))) p++; /* ENH replace with isvarnamechar() */
                                                                     ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:453:19: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while(isspace(*p)) p++;
                  ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:531:61: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while((*p != '\0')&&(*p != ',')&&(*p != '|')&&(!isspace(*p))) p++;
                                                            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:540:15: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p)||(*p == ',')||(*p == '|')) p++;
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:1562:20: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while((isspace(*argsp))&&(*argsp != '\0')) argsp++;
                   ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:1573:21: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while((!isspace(*p))&&(*p != '\0')) p++;
                    ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re.c:1575:19: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while(isspace(*p)) p++; /* skip over the whitespace at the end*/
                  ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
11 warnings generated.
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o re_operators.lo re_operators.c && touch re_operators.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o re_actions.lo re_actions.c && touch re_actions.slo
re_actions.c:1352:39: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while ((*var_value != '\0')&&(isspace(*var_value))) var_value++;
                                      ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
1 warning generated.
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o re_tfns.lo re_tfns.c && touch re_tfns.slo
re_tfns.c:85:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isspace(**rval) == 0) {
            ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
re_tfns.c:105:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isspace((*rval)[i]) == 0) {
            ^~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
2 warnings generated.
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o re_variables.lo re_variables.c && touch re_variables.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_logging.lo msc_logging.c && touch msc_logging.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_xml.lo msc_xml.c && touch msc_xml.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_multipart.lo msc_multipart.c && touch msc_multipart.slo
msc_multipart.c:282:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isspace(msr->mpd->buf[0])) {
            ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_multipart.c:304:19: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while(isspace(*data)) {
                  ^~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_multipart.c:769:18: warning: array subscript is of type 'char' [-Wchar-subscripts]
            if (!isspace(*p)) {
                 ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_multipart.c:798:21: warning: array subscript is of type 'char' [-Wchar-subscripts]
                if (isspace(*p)) {
                    ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_multipart.c:813:13: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (isspace(*b)) {
            ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_multipart.c:1100:27: warning: array subscript is of type 'char' [-Wchar-subscripts]
                    while(isspace(*p)) {
                          ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
6 warnings generated.
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o modsecurity.lo modsecurity.c && touch modsecurity.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_parsers.lo msc_parsers.c && touch msc_parsers.slo
msc_parsers.c:48:15: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while(isspace(*p)) p++;
              ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_parsers.c:116:16: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while((isspace(*p))&&(*p != 0)) p++;
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_parsers.c:137:16: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while((isspace(*p))&&(*p != 0)) p++;
               ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_parsers.c:165:35: warning: array subscript is of type 'char' [-Wchar-subscripts]
                while((i-- > 0)&&(isspace(*(--t)))) *t = 0;
                                  ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_parsers.c:181:31: warning: array subscript is of type 'char' [-Wchar-subscripts]
            while((i-- > 0)&&(isspace(*(--t)))) *t = 0;
                              ^~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
msc_parsers.c:223:56: warning: array subscript is of type 'char' [-Wchar-subscripts]
        while( (*p != 0)&&( (*p == ',')||(*p == ';')||(isspace(*p)) ) ) p++;
                                                       ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
6 warnings generated.
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_util.lo msc_util.c && touch msc_util.slo
msc_util.c:1439:14: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (!isspace(string[i])) {
             ^~~~~~~~~~~~~~~~~~
/usr/include/sys/ctype_inline.h:56:44: note: expanded from macro 'isspace'
#define isspace(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_S))
                                                ^~~~
1 warning generated.
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_pcre.lo msc_pcre.c && touch msc_pcre.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o persist_dbm.lo persist_dbm.c && touch persist_dbm.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_reqbody.lo msc_reqbody.c && touch msc_reqbody.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o pdf_protect.lo pdf_protect.c && touch pdf_protect.slo
pdf_protect.c:158:14: warning: array subscript is of type 'char' [-Wchar-subscripts]
        if (!isdigit(*p)) return 0;
             ^~~~~~~~~~~
/usr/include/sys/ctype_inline.h:51:44: note: expanded from macro 'isdigit'
#define isdigit(c)      ((int)((_ctype_tab_ + 1)[(c)] & _CTYPE_D))
                                                ^~~~
1 warning generated.
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o msc_geo.lo msc_geo.c && touch msc_geo.slo
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  -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/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -DWITH_LUA  -c -o acmp.lo acmp.c && touch acmp.slo
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  -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/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:86:57: error: too few arguments to function call, expected 5, have 4
    return lua_load(L, dump_reader, &dumpr, script->name);
           ~~~~~~~~                                     ^
/scratch/security/ap-modsecurity2/work/.buildlink/include/lua.h:261:1: note: 'lua_load' declared here
LUA_API int   (lua_load) (lua_State *L, lua_Reader reader, void *dt,
^
/scratch/security/ap-modsecurity2/work/.buildlink/include/luaconf.h:155:18: note: expanded from macro 'LUA_API'
#define LUA_API         extern
                        ^
msc_lua.c:97:9: warning: implicit declaration of function 'lua_open' is invalid in C99 [-Wimplicit-function-declaration]
    L = lua_open();
        ^
msc_lua.c:97:7: warning: incompatible integer to pointer conversion assigning to 'lua_State *' (aka 'struct lua_State *') from 'int' [-Wint-conversion]
    L = lua_open();
      ^ ~~~~~~~~~~
msc_lua.c:161:20: warning: implicit declaration of function 'lua_objlen' is invalid in C99 [-Wimplicit-function-declaration]
        int i, n = lua_objlen(L, idx);
                   ^
msc_lua.c:413:7: warning: incompatible integer to pointer conversion assigning to 'lua_State *' (aka 'struct lua_State *') from 'int' [-Wint-conversion]
    L = lua_open();
      ^ ~~~~~~~~~~
msc_lua.c:431:5: warning: implicit declaration of function 'luaL_register' is invalid in C99 [-Wimplicit-function-declaration]
    luaL_register(L, "m", mylib);
    ^
5 warnings and 1 error generated.
apxs:Error: Command failed with rc=65536
.
*** [mod_security2.la] Error code 1

make: stopped in /scratch/security/ap-modsecurity2/work/modsecurity-apache_2.5.13/apache2
1 error

make: stopped in /scratch/security/ap-modsecurity2/work/modsecurity-apache_2.5.13/apache2
*** Error code 2

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

Stop.
make: stopped in /data/pkgsrc/security/ap-modsecurity2
