You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
make -j8
re_actions.c: In function 'msre_action_ctl_execute':
re_actions.c:1061: warning: unused variable 'updated_rule'
msc_multipart.c: In function 'validate_quotes':
msc_multipart.c:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:399: note: expected 'const char *' but argument is of type 'unsigned char *'
msc_multipart.c:42: warning: pointer targets in passing argument 2 of 'log_escape_nq' differ in signedness
msc_util.h:72: note: expected 'const char *' but argument is of type 'unsigned char *'
msc_multipart.c: In function 'multipart_parse_content_disposition':
msc_multipart.c:185: warning: pointer targets in passing argument 2 of 'validate_quotes' differ in signedness
msc_multipart.c:23: note: expected 'unsigned char *' but argument is of type 'char *'
msc_multipart.c:202: warning: pointer targets in passing argument 2 of 'validate_quotes' differ in signedness
msc_multipart.c:23: note: expected 'unsigned char *' but argument is of type 'char *'
msc_multipart.c:227: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
acmp.c:258: warning: 'acmp_clone_node_no_state' defined but not used
rpmbuild -ba httpd.spec:
...
...
...
...
checking for APR-util... yes
checking for x86_64-unknown-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for pcre-config... /usr/bin/pcre-config
configure: Using external PCRE library from /usr/bin/pcre-config
setting PCRE_INCLUDES to ""
setting PCRE_LIBS to "-lpcre"
The server wasn't tainted by source installs, crystal clean
The text was updated successfully, but these errors were encountered:
It was caused by a patch we applied. However we detected it was an error and i decided to revert it and rebuild the tarball.
Please download it again. (Just sent a message today to mod-users list talking about it).
MODSEC-324: I can't figure this out, had it working flawlessly with httpd 2.2 and --with-pcre=/usr...
[root@om SPECS]# rpm -qa|grep pcre
pcre-devel-7.8-4.el6.x86_64
pcre-7.8-4.el6.x86_64
[root@om SPECS]# rpm -qf /lib64/libpcre.so.0
pcre-7.8-4.el6.x86_64
[root@om SPECS]#
root@om SPECS]# ldd
which httpd
|grep pcrelibpcre.so.0 => /lib64/libpcre.so.0 (0x00007f2a23b18000)
[root@om SPECS]# ldd /etc/httpd/modules/mod_security2.so|grep pcre
libpcre.so.0 => /lib64/libpcre.so.0 (0x00007fe8ee185000)
[root@om SPECS]#
httpd.spec: --with-pcre=/usr/bin/pcre-config
mod_security-art.spec: -with-pcre=/usr/bin/pcre-config
[Thu Aug 02 22:57:12.000927 2012] [:notice] [pid 30453:tid 140488856004416] ModSecurity: APR compiled version="1.4.6"; loaded version="1.4.6"
[Thu Aug 02 22:57:12.000934 2012] [:notice] [pid 30453:tid 140488856004416] ModSecurity: PCRE compiled version="7.08"; loaded version="7.8 2008-09-05"
[Thu Aug 02 22:57:12.000942 2012] [:warn] [pid 30453:tid 140488856004416] ModSecurity: Loaded PCRE do not match with compiled!
httpd.conf:
LoadFile /usr/lib64/libpcre.so
LoadModule security2_module lib64/httpd/modules/mod_security2.so
[root@om SPECS]# rpmbuild -ba mod_security-art.spec > modsec
re_actions.c: In function 'msre_action_ctl_execute':
re_actions.c:1061: warning: unused variable 'updated_rule'
msc_multipart.c: In function 'validate_quotes':
msc_multipart.c:35: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness
/usr/include/string.h:399: note: expected 'const char *' but argument is of type 'unsigned char *'
msc_multipart.c:42: warning: pointer targets in passing argument 2 of 'log_escape_nq' differ in signedness
msc_util.h:72: note: expected 'const char *' but argument is of type 'unsigned char *'
msc_multipart.c: In function 'multipart_parse_content_disposition':
msc_multipart.c:185: warning: pointer targets in passing argument 2 of 'validate_quotes' differ in signedness
msc_multipart.c:23: note: expected 'unsigned char *' but argument is of type 'char *'
msc_multipart.c:202: warning: pointer targets in passing argument 2 of 'validate_quotes' differ in signedness
msc_multipart.c:23: note: expected 'unsigned char *' but argument is of type 'char *'
msc_multipart.c:227: warning: format '%d' expects type 'int', but argument 5 has type 'size_t'
acmp.c:258: warning: 'acmp_clone_node_no_state' defined but not used
++ dirname /root/rpmbuild/BUILDROOT/mod_security-2.6.7-2.1.art.x86_64
1947 blocks
[root@om SPECS]#
rpmbuild -ba httpd.spec:
...
...
...
...
checking for APR-util... yes
checking for x86_64-unknown-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking for gcc option to accept ISO C99... -std=gnu99
checking for pcre-config... /usr/bin/pcre-config
configure: Using external PCRE library from /usr/bin/pcre-config
setting PCRE_INCLUDES to ""
setting PCRE_LIBS to "-lpcre"
The server wasn't tainted by source installs, crystal clean
The text was updated successfully, but these errors were encountered: