<86>Oct 10 14:54:47 userdel[2413481]: delete user 'rooter' <86>Oct 10 14:54:47 userdel[2413481]: removed group 'rooter' owned by 'rooter' <86>Oct 10 14:54:47 userdel[2413481]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 10 14:54:47 groupadd[2413494]: group added to /etc/group: name=rooter, GID=621 <86>Oct 10 14:54:47 groupadd[2413494]: group added to /etc/gshadow: name=rooter <86>Oct 10 14:54:47 groupadd[2413494]: new group: name=rooter, GID=621 <86>Oct 10 14:54:47 useradd[2413530]: new user: name=rooter, UID=621, GID=621, home=/root, shell=/bin/bash <86>Oct 10 14:54:47 userdel[2413546]: delete user 'builder' <86>Oct 10 14:54:47 userdel[2413546]: removed group 'builder' owned by 'builder' <86>Oct 10 14:54:47 userdel[2413546]: removed shadow group 'builder' owned by 'builder' <86>Oct 10 14:54:47 groupadd[2413562]: group added to /etc/group: name=builder, GID=622 <86>Oct 10 14:54:47 groupadd[2413562]: group added to /etc/gshadow: name=builder <86>Oct 10 14:54:47 groupadd[2413562]: new group: name=builder, GID=622 <86>Oct 10 14:54:47 useradd[2413577]: new user: name=builder, UID=622, GID=622, home=/usr/src, shell=/bin/bash <13>Oct 10 14:54:50 rpmi: libapr1-1.6.5-alt1 sisyphus+222886.100.1.1 1551186306 installed <13>Oct 10 14:54:50 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <13>Oct 10 14:54:50 rpmi: libaprutil1-1.6.1-alt2 sisyphus+224031.100.1.1 1551997472 installed <13>Oct 10 14:54:50 rpmi: libexpat-devel-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed <86>Oct 10 14:54:50 groupadd[2419810]: group added to /etc/group: name=crontab, GID=499 <86>Oct 10 14:54:50 groupadd[2419810]: group added to /etc/gshadow: name=crontab <86>Oct 10 14:54:50 groupadd[2419810]: new group: name=crontab, GID=499 <13>Oct 10 14:54:50 rpmi: crontab-control-1.1-alt1 1096742625 installed <13>Oct 10 14:54:50 rpmi: shadow-groups-1:4.5-alt8 p9+257413.2000.9.1 1610356759 installed <13>Oct 10 14:54:50 rpmi: webserver-common-control-1.4-alt1 1286880471 installed <86>Oct 10 14:54:50 groupadd[2420077]: group added to /etc/group: name=_webserver, GID=498 <86>Oct 10 14:54:50 groupadd[2420077]: group added to /etc/gshadow: name=_webserver <86>Oct 10 14:54:50 groupadd[2420077]: new group: name=_webserver, GID=498 <86>Oct 10 14:54:50 groupadd[2420083]: group added to /etc/group: name=webmaster, GID=497 <86>Oct 10 14:54:50 groupadd[2420083]: group added to /etc/gshadow: name=webmaster <86>Oct 10 14:54:50 groupadd[2420083]: new group: name=webmaster, GID=497 <13>Oct 10 14:54:50 rpmi: webserver-common-1.4-alt1 1286880471 installed <13>Oct 10 14:54:50 rpmi: setproctitle-0.3.2-alt3 1299638025 installed <13>Oct 10 14:54:50 rpmi: vixie-cron-4.1.20060426-alt10.2 p9+257413.2100.9.1 1610356809 installed <13>Oct 10 14:54:51 rpmi: crontabs-1.8-alt1 1051273643 installed <13>Oct 10 14:54:51 rpmi: logrotate-3.16.0-alt1.git35_6e8dfb8 p9+257413.1700.9.1 1610356640 installed <13>Oct 10 14:54:51 rpmi: rpm-macros-webserver-common-1.4-alt1 1286880471 installed <13>Oct 10 14:54:51 rpmi: rpm-macros-apache2-3.13.1-alt1 p9+272181.400.9.1 1624354401 installed <13>Oct 10 14:54:51 rpmi: rpm-build-apache2-1:2.4.48-alt3 p9+272181.440.9.1 1624354758 installed <13>Oct 10 14:54:51 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Oct 10 14:54:51 rpmi: perl-DBM-1:5.28.3-alt1 p9+261964.100.3.1 1606316185 installed <13>Oct 10 14:54:51 rpmi: openldap-common-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>Oct 10 14:54:51 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Oct 10 14:54:51 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Oct 10 14:54:51 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Oct 10 14:54:51 rpmi: libdb4.7-devel-4.7.25-alt9 1490438456 installed <13>Oct 10 14:54:51 rpmi: libuuid-devel-2.33.2-alt2 p9+254003.100.1.1 1593108026 installed <13>Oct 10 14:54:51 rpmi: libapr1-devel-1.6.5-alt1 sisyphus+222886.100.1.1 1551186306 installed <13>Oct 10 14:54:51 rpmi: condstopstart-common-0.3-alt2.qa1 sisyphus.214740.100 1539558755 installed <13>Oct 10 14:54:51 rpmi: condstopstart-web-0.3-alt2.qa1 sisyphus.214741.100 1539559038 installed <13>Oct 10 14:54:51 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 10 14:54:51 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed <13>Oct 10 14:54:51 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 10 14:54:51 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <86>Oct 10 14:54:51 groupadd[2420552]: group added to /etc/group: name=apache2, GID=496 <86>Oct 10 14:54:51 groupadd[2420552]: group added to /etc/gshadow: name=apache2 <86>Oct 10 14:54:51 groupadd[2420552]: new group: name=apache2, GID=496 <86>Oct 10 14:54:51 useradd[2420563]: new user: name=apache2, UID=499, GID=496, home=/var/www, shell=/dev/null <86>Oct 10 14:54:51 useradd[2420563]: add 'apache2' to group '_webserver' <86>Oct 10 14:54:51 useradd[2420563]: add 'apache2' to shadow group '_webserver' <13>Oct 10 14:54:51 rpmi: apache2-base-1:2.4.48-alt3 p9+272181.440.9.1 1624354758 installed <13>Oct 10 14:54:51 rpmi: apache2-httpd-worker-1:2.4.48-alt3 p9+272181.440.9.1 1624354758 installed <13>Oct 10 14:54:51 rpmi: apache2-mods-1:2.4.48-alt3 p9+272181.440.9.1 1624354758 installed <13>Oct 10 14:54:51 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed <13>Oct 10 14:54:51 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed <13>Oct 10 14:54:51 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed <13>Oct 10 14:54:51 rpmi: libcrypto1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <13>Oct 10 14:54:51 rpmi: libssl1.1-1.1.1l-alt1 p9+283690.100.2.1 1630572181 installed <86>Oct 10 14:54:51 groupadd[2420974]: group added to /etc/group: name=_keytab, GID=495 <86>Oct 10 14:54:51 groupadd[2420974]: group added to /etc/gshadow: name=_keytab <86>Oct 10 14:54:51 groupadd[2420974]: new group: name=_keytab, GID=495 <13>Oct 10 14:54:51 rpmi: libkrb5-1.17.2-alt2 p9+280683.100.2.1 1627489159 installed <86>Oct 10 14:54:51 groupadd[2421073]: group added to /etc/group: name=sasl, GID=494 <86>Oct 10 14:54:51 groupadd[2421073]: group added to /etc/gshadow: name=sasl <86>Oct 10 14:54:51 groupadd[2421073]: new group: name=sasl, GID=494 <13>Oct 10 14:54:51 rpmi: libsasl2-3-2.1.27-alt2.1 p9+256192.100.1.1 1597226707 installed <13>Oct 10 14:54:51 rpmi: libldap-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>Oct 10 14:54:51 rpmi: libldap-devel-2.4.59-alt0.p9.1 p9+281540.300.5.1 1629898589 installed <13>Oct 10 14:54:51 rpmi: libaprutil1-devel-1.6.1-alt2 sisyphus+224031.100.1.1 1551997472 installed <13>Oct 10 14:54:51 rpmi: apache2-devel-1:2.4.48-alt3 p9+272181.440.9.1 1624354758 installed <13>Oct 10 14:54:51 rpmi: rpm-build-licenses-2.0.5-alt2 1454794749 installed <13>Oct 10 14:54:55 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696275 installed <13>Oct 10 14:54:55 rpmi: libyajl-2.1.0-alt1 1399891593 installed <13>Oct 10 14:54:55 rpmi: libpcre16-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 10 14:54:55 rpmi: pcretest-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 10 14:54:55 rpmi: publicsuffix-list-dafsa-20210726-alt1 p9+281140.100.2.1 1627515769 installed <13>Oct 10 14:54:55 rpmi: libpsl-0.21.1-alt1 p9+255207.100.1.1 1595355041 installed <13>Oct 10 14:54:55 rpmi: libnghttp2-1.41.0-alt1 p9+256449.100.1.1 1597829543 installed <13>Oct 10 14:54:55 rpmi: libbrotlicommon-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Oct 10 14:54:55 rpmi: libbrotlidec-1.0.7-alt1 sisyphus+226738.100.2.1 1554554565 installed <13>Oct 10 14:54:55 rpmi: libcurl-7.79.0-alt2 p9+285689.100.2.1 1632758193 installed <13>Oct 10 14:54:55 rpmi: libstdc++8-devel-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 10 14:54:56 rpmi: gcc8-c++-8.4.1-alt0.p9.1 p9+247559.100.2.1 1585587756 installed <13>Oct 10 14:54:56 rpmi: bc-1:1.07.1-alt1 sisyphus+221902.700.4.1 1550587848 installed <13>Oct 10 14:54:56 rpmi: libcurl-devel-7.79.0-alt2 p9+285689.100.2.1 1632758193 installed <13>Oct 10 14:54:56 rpmi: gcc-c++-8-alt2 p9+246536.100.3.1 1582643803 installed <13>Oct 10 14:54:56 rpmi: libpcre-devel-8.44-alt1 p9+249555.100.1.1 1586300287 installed <13>Oct 10 14:54:56 rpmi: libyajl-devel-2.1.0-alt1 1399891593 installed <13>Oct 10 14:54:56 rpmi: apache2-httpd-prefork-1:2.4.48-alt3 p9+272181.440.9.1 1624354758 installed <13>Oct 10 14:54:56 rpmi: libxml2-devel-1:2.9.10-alt6 p9+266566.100.3.1 1614357016 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/apache2-mod_security-2.9.1-alt1.nosrc.rpm (w1.gzdio) Installing apache2-mod_security-2.9.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.49584 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf modsecurity + echo 'Source #0 (modsecurity.tar):' Source #0 (modsecurity.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/modsecurity.tar + cd modsecurity + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.49584 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd modsecurity + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2' + export FCFLAGS + '[' -n '' ']' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + sort -u + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-apxs=/usr/bin/apxs2 --with-apr=/usr/bin/apr-1-config --enable-pcre-match-limit=1000000 --enable-pcre-match-limit-recursion=1000000 --with-yajl configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for x86_64-alt-linux-gcc... x86_64-alt-linux-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 x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-ar... no checking for x86_64-alt-linux-lib... no checking for x86_64-alt-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gawk... (cached) gawk checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-alt-linux-gcc... (cached) none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... (cached) /bin/grep checking for perl... /usr/bin/perl checking for env... /usr/bin/env checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for atexit... yes checking for getcwd... yes checking for memmove... yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for fchmod... yes checking for strcasestr... yes Checking platform... Identified as Linux checking for libcurl config script... /usr/bin/curl-config ./configure: line 13855: test: : integer expression expected ./configure: line 13858: test: : integer expression expected ./configure: line 13861: test: : integer expression expected checking if libcurl is at least v... yes, 7.79.0 checking if libcurl is linked with gnutls... no configure: using curl v7.79.0 configure: looking for Apache module support via DSO through APXS configure: found apxs at /usr/bin/apxs2 configure: checking httpd version configure: httpd is recent enough checking for libpcre config script... /usr/bin/pcre-config configure: using pcre v8.44 checking for libapr config script... /usr/bin/apr-1-config configure: using apr v1.6.5 checking for libapu config script... /usr/bin/apu-1-config configure: using apu v1.6.1 checking for libxml2 config script... /usr/bin/xml2-config checking if libxml2 is at least v2.6.29... yes, 2.9.10 configure: using libxml2 v2.9.10 checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for liblua config script... no checking for lua install... no configure: optional lua library not found checking for libyajl config script... /usr/bin/pkg-config configure: using yajl v2.1.0 checking for ssdeep path... no configure: optional ssdeep library not found configure: WARNING: APR util was not compiled with crypto support. SecRemoteRule will not support the parameter 'crypto' checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tools/Makefile config.status: creating apache2/Makefile config.status: creating build/apxs-wrapper config.status: creating mlogc/mlogc-batch-load.pl config.status: creating tests/regression/misc/40-secRemoteRules.t config.status: creating tests/regression/misc/50-ipmatchfromfile-external.t config.status: creating tests/regression/misc/60-pmfromfile-external.t config.status: creating tests/run-unit-tests.pl config.status: creating tests/run-regression-tests.pl config.status: creating tests/gen_rx-pm.pl config.status: creating tests/csv_rx-pm.pl config.status: creating tests/regression/server_root/conf/httpd.conf config.status: creating tools/rules-updater.pl config.status: creating mlogc/Makefile config.status: creating tests/Makefile config.status: creating apache2/modsecurity_config_auto.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make: Entering directory '/usr/src/RPM/BUILD/modsecurity' Making all in tools make[1]: Entering directory '/usr/src/RPM/BUILD/modsecurity/tools' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/tools' Making all in apache2 make[1]: Entering directory '/usr/src/RPM/BUILD/modsecurity/apache2' make all-am make[2]: Entering directory '/usr/src/RPM/BUILD/modsecurity/apache2' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-acmp.lo `test -f 'acmp.c' || echo './'`acmp.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c acmp.c -fPIC -DPIC -o .libs/mod_security2_la-acmp.o acmp.c:258:13: warning: 'acmp_clone_node_no_state' defined but not used [-Wunused-function] static void acmp_clone_node_no_state(acmp_node_t *from, acmp_node_t *to) { ^~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c acmp.c -o mod_security2_la-acmp.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-apache2_config.lo `test -f 'apache2_config.c' || echo './'`apache2_config.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c apache2_config.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_config.o apache2_config.c: In function 'add_rule': apache2_config.c:771:9: warning: unused variable 'offset' [-Wunused-variable] int offset = 0; ^~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c apache2_config.c -o mod_security2_la-apache2_config.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-apache2_io.lo `test -f 'apache2_io.c' || echo './'`apache2_io.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c apache2_io.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_io.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c apache2_io.c -o mod_security2_la-apache2_io.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-apache2_util.lo `test -f 'apache2_util.c' || echo './'`apache2_util.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c apache2_util.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_util.o apache2_util.c: In function 'internal_log_ex': apache2_util.c:204:11: warning: unused variable 'str' [-Wunused-variable] char *str = NULL; ^~~ apache2_util.c:203:11: warning: unused variable 'saved' [-Wunused-variable] char *saved = NULL; ^~~~~ apache2_util.c:202:11: warning: unused variable 'parse_remote' [-Wunused-variable] char *parse_remote = NULL; ^~~~~~~~~~~~ apache2_util.c:201:11: warning: unused variable 'remote' [-Wunused-variable] char *remote = NULL; ^~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c apache2_util.c -o mod_security2_la-apache2_util.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o libinjection/mod_security2_la-libinjection_html5.lo `test -f 'libinjection/libinjection_html5.c' || echo './'`libinjection/libinjection_html5.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c libinjection/libinjection_html5.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_html5.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c libinjection/libinjection_html5.c -o libinjection/mod_security2_la-libinjection_html5.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o libinjection/mod_security2_la-libinjection_sqli.lo `test -f 'libinjection/libinjection_sqli.c' || echo './'`libinjection/libinjection_sqli.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c libinjection/libinjection_sqli.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_sqli.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c libinjection/libinjection_sqli.c -o libinjection/mod_security2_la-libinjection_sqli.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o libinjection/mod_security2_la-libinjection_xss.lo `test -f 'libinjection/libinjection_xss.c' || echo './'`libinjection/libinjection_xss.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c libinjection/libinjection_xss.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_xss.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c libinjection/libinjection_xss.c -o libinjection/mod_security2_la-libinjection_xss.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-mod_security2.lo `test -f 'mod_security2.c' || echo './'`mod_security2.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c mod_security2.c -fPIC -DPIC -o .libs/mod_security2_la-mod_security2.o mod_security2.c: In function 'hook_connection_early': mod_security2.c:1548:47: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] if (!conn_limits_filter_state == MODSEC_ENABLED) ^~ mod_security2.c:1548:47: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] mod_security2.c:1548:21: note: add parentheses around left hand side expression to silence this warning if (!conn_limits_filter_state == MODSEC_ENABLED) ^~~~~~~~~~~~~~~~~~~~~~~~~ ( ) libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c mod_security2.c -o mod_security2_la-mod_security2.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-modsecurity.lo `test -f 'modsecurity.c' || echo './'`modsecurity.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c modsecurity.c -fPIC -DPIC -o .libs/mod_security2_la-modsecurity.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c modsecurity.c -o mod_security2_la-modsecurity.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_status_engine.lo `test -f 'msc_status_engine.c' || echo './'`msc_status_engine.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_status_engine.c -fPIC -DPIC -o .libs/mod_security2_la-msc_status_engine.o msc_status_engine.c: In function 'msc_status_engine_mac_address': msc_status_engine.c:198:10: warning: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] if ( ioctl( sock, SIOCGIFCONF, &conf )) { ^~~~~ msc_status_engine.c:215:26: warning: pointer targets in passing argument 1 of 'apr_snprintf' differ in signedness [-Wpointer-sign] apr_snprintf(mac, MAC_ADDRESS_SIZE, "%02x:%02x:%02x:%02x:%02x:%02x", ^~~ In file included from modsecurity.h:53, from msc_pcre.h:33, from msc_status_engine.h:22, from msc_status_engine.c:15: /usr/include/apr-1/apr_strings.h:279:25: note: expected 'char *' but argument is of type 'unsigned char *' APR_DECLARE_NONSTD(int) apr_snprintf(char *buf, apr_size_t len, ^~~~~~~~~~~~ msc_status_engine.c:209:17: warning: unused variable 'i' [-Wunused-variable] int i = 0; ^ msc_status_engine.c: In function 'msc_status_engine_unique_id': msc_status_engine.c:314:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] apr_sha1_update(&context, mac_address, strlen(mac_address)); ^~~~~~~~~~~ In file included from /usr/include/apr-1/apr_want.h:63, from /usr/include/apr-1/apr_pools.h:47, from msc_status_engine.h:19, from msc_status_engine.c:15: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ msc_status_engine.c:314:31: warning: pointer targets in passing argument 2 of 'apr_sha1_update' differ in signedness [-Wpointer-sign] apr_sha1_update(&context, mac_address, strlen(mac_address)); ^~~~~~~~~~~ In file included from msc_remote_rules.h:27, from modsecurity.h:49, from msc_pcre.h:33, from msc_status_engine.h:22, from msc_status_engine.c:15: /usr/include/apu-1/apr_sha1.h:96:19: note: expected 'const char *' but argument is of type 'unsigned char *' APU_DECLARE(void) apr_sha1_update(apr_sha1_ctx_t *context, const char *input, ^~~~~~~~~~~~~~~ msc_status_engine.c:319:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] sprintf(digest, "%s%02x", digest, hex_digest[i]); ^~~~~~ In file included from /usr/include/features.h:428, from /usr/include/sys/types.h:25, from /usr/include/apr-1/apr.h:164, from msc_status_engine.h:18, from msc_status_engine.c:15: /usr/include/bits/stdio2.h:31:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) ^~~~~ msc_status_engine.c:319:9: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(digest, "%s%02x", digest, hex_digest[i]); ^~~~~~~ msc_status_engine.c: In function 'msc_beacon_string': msc_status_engine.c:363:55: warning: the address of 'pcre' will always evaluate as 'true' [-Waddress] (apr_loaded ? strlen(apr_loaded) : 6) + (pcre ? strlen(pcre) : 6) + ^ msc_status_engine.c:376:37: warning: pointer targets in passing argument 1 of 'msc_status_engine_unique_id' differ in signedness [-Wpointer-sign] if (msc_status_engine_unique_id(id)) { ^~ msc_status_engine.c:280:14: note: expected 'unsigned char *' but argument is of type 'char *' int DSOLOCAL msc_status_engine_unique_id (unsigned char *digest) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ msc_status_engine.c: In function 'msc_status_engine_call': msc_status_engine.c:478:9: warning: implicit declaration of function 'gethostbyname'; did you mean 'gethostname'? [-Wimplicit-function-declaration] if (gethostbyname(hostname)) { ^~~~~~~~~~~~~ gethostname libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_status_engine.c -o mod_security2_la-msc_status_engine.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_crypt.lo `test -f 'msc_crypt.c' || echo './'`msc_crypt.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_crypt.c -fPIC -DPIC -o .libs/mod_security2_la-msc_crypt.o msc_crypt.c: In function 'normalize_path': msc_crypt.c:69:17: warning: unused variable 'bytes' [-Wunused-variable] int bytes = 0; ^~~~~ msc_crypt.c: In function 'getkey': msc_crypt.c:154:31: warning: pointer targets in passing argument 1 of 'apr_generate_random_bytes' differ in signedness [-Wpointer-sign] apr_generate_random_bytes(salt, sizeof(salt)); ^~~~ In file included from /usr/include/apr-1/apr_pools.h:45, from msc_logging.h:46, from modsecurity.h:37, from msc_crypt.h:18, from msc_crypt.c:15: /usr/include/apr-1/apr_general.h:234:27: note: expected 'unsigned char *' but argument is of type 'char *' APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char * buf, ^~~~~~~~~~~~~~~~~~~~~~~~~ msc_crypt.c:161:31: warning: pointer targets in passing argument 1 of 'apr_generate_random_bytes' differ in signedness [-Wpointer-sign] apr_generate_random_bytes(salt, sizeof(salt)); ^~~~ In file included from /usr/include/apr-1/apr_pools.h:45, from msc_logging.h:46, from modsecurity.h:37, from msc_crypt.h:18, from msc_crypt.c:15: /usr/include/apr-1/apr_general.h:234:27: note: expected 'unsigned char *' but argument is of type 'char *' APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char * buf, ^~~~~~~~~~~~~~~~~~~~~~~~~ msc_crypt.c: In function 'inject_hashed_response_body': msc_crypt.c:1029:33: warning: variable 'enc' set but not used [-Wunused-but-set-variable] xmlCharEncoding enc; ^~~ msc_crypt.c:1036:29: warning: variable 'enc' set but not used [-Wunused-but-set-variable] xmlCharEncoding enc; ^~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_crypt.c -o mod_security2_la-msc_crypt.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_geo.lo `test -f 'msc_geo.c' || echo './'`msc_geo.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_geo.c -fPIC -DPIC -o .libs/mod_security2_la-msc_geo.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_geo.c -o mod_security2_la-msc_geo.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_gsb.lo `test -f 'msc_gsb.c' || echo './'`msc_gsb.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_gsb.c -fPIC -DPIC -o .libs/mod_security2_la-msc_gsb.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_gsb.c -o mod_security2_la-msc_gsb.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_json.lo `test -f 'msc_json.c' || echo './'`msc_json.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_json.c -fPIC -DPIC -o .libs/mod_security2_la-msc_json.o msc_json.c: In function 'yajl_map_key': msc_json.c:85:38: warning: pointer targets in passing argument 2 of 'apr_pstrndup' differ in signedness [-Wpointer-sign] safe_key = apr_pstrndup(msr->mp, key, length); ^~~ In file included from modsecurity.h:53, from msc_json.h:22, from msc_json.c:15: /usr/include/apr-1/apr_strings.h:125:21: note: expected 'const char *' but argument is of type 'const unsigned char *' APR_DECLARE(char *) apr_pstrndup(apr_pool_t *p, const char *s, apr_size_t n); ^~~~~~~~~~~~ msc_json.c:85:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] safe_key = apr_pstrndup(msr->mp, key, length); ^ msc_json.c: In function 'yajl_string': msc_json.c:134:35: warning: pointer targets in passing argument 2 of 'json_add_argument' differ in signedness [-Wpointer-sign] return json_add_argument(msr, value, length); ^~~~~ msc_json.c:19:5: note: expected 'const char *' but argument is of type 'const unsigned char *' int json_add_argument(modsec_rec *msr, const char *value, unsigned length) ^~~~~~~~~~~~~~~~~ msc_json.c: In function 'yajl_start_map': msc_json.c:168:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] msr->json->prefix = apr_psprintf(msr->mp, "%s.%s", msr->json->prefix, ^ msc_json.c:172:59: warning: pointer targets in passing argument 2 of 'apr_pstrdup' differ in signedness [-Wpointer-sign] msr->json->prefix = apr_pstrdup(msr->mp, msr->json->current_key); ~~~~~~~~~^~~~~~~~~~~~~ In file included from modsecurity.h:53, from msc_json.h:22, from msc_json.c:15: /usr/include/apr-1/apr_strings.h:95:21: note: expected 'const char *' but argument is of type 'unsigned char *' APR_DECLARE(char *) apr_pstrdup(apr_pool_t *p, const char *s); ^~~~~~~~~~~ msc_json.c:172:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] msr->json->prefix = apr_pstrdup(msr->mp, msr->json->current_key); ^ msc_json.c: In function 'yajl_end_map': msc_json.c:201:34: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] separator = strrchr(msr->json->prefix, '.'); ~~~~~~~~~^~~~~~~~ In file included from msc_release.h:19, from modsecurity.h:36, from msc_json.h:22, from msc_json.c:15: /usr/include/string.h:253:14: note: expected 'const char *' but argument is of type 'unsigned char *' extern char *strrchr (const char *__s, int __c) ^~~~~~~ msc_json.c:201:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] separator = strrchr(msr->json->prefix, '.'); ^ msc_json.c:204:62: warning: pointer targets in passing argument 2 of 'apr_pstrmemdup' differ in signedness [-Wpointer-sign] msr->json->prefix = apr_pstrmemdup(msr->mp, msr->json->prefix, ~~~~~~~~~^~~~~~~~ In file included from modsecurity.h:53, from msc_json.h:22, from msc_json.c:15: /usr/include/apr-1/apr_strings.h:109:21: note: expected 'const char *' but argument is of type 'unsigned char *' APR_DECLARE(char *) apr_pstrmemdup(apr_pool_t *p, const char *s, apr_size_t n) ^~~~~~~~~~~~~~ msc_json.c:204:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] msr->json->prefix = apr_pstrmemdup(msr->mp, msr->json->prefix, ^ msc_json.c:206:32: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] msr->json->current_key = apr_psprintf(msr->mp, "%s", separator + 1); ^ msc_json.c: In function 'json_process_chunk': msc_json.c:278:55: warning: pointer targets in passing argument 2 of 'yajl_parse' differ in signedness [-Wpointer-sign] msr->json->status = yajl_parse(msr->json->handle, buf, size); ^~~ In file included from msc_json.h:24, from msc_json.c:15: /usr/include/yajl/yajl_parse.h:176:26: note: expected 'const unsigned char *' but argument is of type 'const char *' YAJL_API yajl_status yajl_parse(yajl_handle hand, ^~~~~~~~~~ msc_json.c:281:59: warning: pointer targets in passing argument 3 of 'yajl_get_error' differ in signedness [-Wpointer-sign] *error_msg = yajl_get_error(msr->json->handle, 0, buf, size); ^~~ In file included from msc_json.h:24, from msc_json.c:15: /usr/include/yajl/yajl_parse.h:201:30: note: expected 'const unsigned char *' but argument is of type 'const char *' YAJL_API unsigned char * yajl_get_error(yajl_handle hand, int verbose, ^~~~~~~~~~~~~~ msc_json.c:281:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] *error_msg = yajl_get_error(msr->json->handle, 0, buf, size); ^ msc_json.c: In function 'json_complete': msc_json.c:301:20: warning: pointer targets in assignment from 'unsigned char *' to 'char *' differ in signedness [-Wpointer-sign] *error_msg = yajl_get_error(msr->json->handle, 0, NULL, 0); ^ msc_json.c:292:11: warning: unused variable 'json_data' [-Wunused-variable] char *json_data = (char *) NULL; ^~~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_json.c -o mod_security2_la-msc_json.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_logging.lo `test -f 'msc_logging.c' || echo './'`msc_logging.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_logging.c -fPIC -DPIC -o .libs/mod_security2_la-msc_logging.o msc_logging.c: In function 'sec_audit_logger_json': msc_logging.c:1144:20: warning: unused variable 'now' [-Wunused-variable] apr_time_t now = apr_time_now(); ^~~ In file included from msc_logging.c:30: msc_logging.c:1369:113: warning: pointer targets in passing argument 2 of 'yajl_gen_string' differ in signedness [-Wpointer-sign] yajl_kv_string(g, "content_type", parts[cfiles]->content_type ? parts[cfiles]->content_type : ""); msc_logging_json.h:5:69: note: in definition of macro 'yajl_string' #define yajl_string(g, s) yajl_gen_string(g, (const unsigned char *)s, strlen(s)) ^ msc_logging.c:1369:21: note: in expansion of macro 'yajl_kv_string' yajl_kv_string(g, "content_type", parts[cfiles]->content_type ? parts[cfiles]->content_type : ""); ^~~~~~~~~~~~~~ In file included from msc_logging.c:29: /usr/include/yajl/yajl_gen.h:131:30: note: expected 'const unsigned char *' but argument is of type 'char *' YAJL_API yajl_gen_status yajl_gen_string(yajl_gen hand, ^~~~~~~~~~~~~~~ msc_logging.c:1446:29: warning: pointer targets in passing argument 2 of 'sec_auditlog_write' differ in signedness [-Wpointer-sign] sec_auditlog_write(msr, final_buf, len); ^~~~~~~~~ msc_logging.c:37:12: note: expected 'const char *' but argument is of type 'const unsigned char *' static int sec_auditlog_write(modsec_rec *msr, const char *data, unsigned int len) { ^~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_logging.c -o mod_security2_la-msc_logging.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_lua.lo `test -f 'msc_lua.c' || echo './'`msc_lua.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_lua.c -fPIC -DPIC -o .libs/mod_security2_la-msc_lua.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_lua.c -o mod_security2_la-msc_lua.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_multipart.lo `test -f 'msc_multipart.c' || echo './'`msc_multipart.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_multipart.c -fPIC -DPIC -o .libs/mod_security2_la-msc_multipart.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_multipart.c -o mod_security2_la-msc_multipart.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_parsers.lo `test -f 'msc_parsers.c' || echo './'`msc_parsers.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_parsers.c -fPIC -DPIC -o .libs/mod_security2_la-msc_parsers.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_parsers.c -o mod_security2_la-msc_parsers.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_pcre.lo `test -f 'msc_pcre.c' || echo './'`msc_pcre.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_pcre.c -fPIC -DPIC -o .libs/mod_security2_la-msc_pcre.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_pcre.c -o mod_security2_la-msc_pcre.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_release.lo `test -f 'msc_release.c' || echo './'`msc_release.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_release.c -fPIC -DPIC -o .libs/mod_security2_la-msc_release.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_release.c -o mod_security2_la-msc_release.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_remote_rules.lo `test -f 'msc_remote_rules.c' || echo './'`msc_remote_rules.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_remote_rules.c -fPIC -DPIC -o .libs/mod_security2_la-msc_remote_rules.o msc_remote_rules.c: In function 'msc_remote_download_content': msc_remote_rules.c:286:37: warning: pointer targets in passing argument 1 of 'msc_status_engine_unique_id' differ in signedness [-Wpointer-sign] if (msc_status_engine_unique_id(id)) ^~ In file included from msc_remote_rules.c:16: msc_status_engine.h:40:14: note: expected 'unsigned char *' but argument is of type 'char *' int DSOLOCAL msc_status_engine_unique_id (unsigned char *digest); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ msc_remote_rules.c: In function 'msc_remote_add_rules_from_uri': msc_remote_rules.c:706:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] plain_text = downloaded_content.memory; ^ msc_remote_rules.c:707:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] plain_text_len = strlen(plain_text); ^~~~~~~~~~ In file included from msc_release.h:19, from modsecurity.h:36, from msc_remote_rules.h:22, from msc_remote_rules.c:15: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ msc_remote_rules.c:711:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] plain_text_len = strlen(plain_text); ^~~~~~~~~~ In file included from msc_release.h:19, from modsecurity.h:36, from msc_remote_rules.h:22, from msc_remote_rules.c:15: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ msc_remote_rules.c:725:18: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] rule = plain_text + start; ^ msc_remote_rules.c:719:19: warning: unused variable 'word' [-Wunused-variable] char *word = NULL; ^~~~ msc_remote_rules.c:717:17: warning: unused variable 'tmp' [-Wunused-variable] int tmp = len; ^~~ msc_remote_rules.c:795:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_remote_rules.c -o mod_security2_la-msc_remote_rules.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_reqbody.lo `test -f 'msc_reqbody.c' || echo './'`msc_reqbody.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_reqbody.c -fPIC -DPIC -o .libs/mod_security2_la-msc_reqbody.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_reqbody.c -o mod_security2_la-msc_reqbody.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_tree.lo `test -f 'msc_tree.c' || echo './'`msc_tree.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_tree.c -fPIC -DPIC -o .libs/mod_security2_la-msc_tree.o msc_tree.c: In function 'TreeAddIP': msc_tree.c:861:19: warning: implicit declaration of function 'inet_pton' [-Wimplicit-function-declaration] ret = inet_pton(AF_INET, ip_strv4, &addr4); ^~~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_tree.c -o mod_security2_la-msc_tree.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_unicode.lo `test -f 'msc_unicode.c' || echo './'`msc_unicode.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_unicode.c -fPIC -DPIC -o .libs/mod_security2_la-msc_unicode.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_unicode.c -o mod_security2_la-msc_unicode.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_util.lo `test -f 'msc_util.c' || echo './'`msc_util.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_util.c -fPIC -DPIC -o .libs/mod_security2_la-msc_util.o msc_util.c: In function 'utf8_unicode_inplace_ex': msc_util.c:152:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] unicode = apr_psprintf(mp, "%x", d); ^ msc_util.c:153:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] length = strlen(unicode); ^~~~~~~ In file included from msc_release.h:19, from modsecurity.h:36, from msc_util.c:15: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ msc_util.c:197:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] unicode = apr_psprintf(mp, "%x", d); ^ msc_util.c:198:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] length = strlen(unicode); ^~~~~~~ In file included from msc_release.h:19, from modsecurity.h:36, from msc_util.c:15: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ msc_util.c:249:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] unicode = apr_psprintf(mp, "%x", d); ^ msc_util.c:250:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] length = strlen(unicode); ^~~~~~~ In file included from msc_release.h:19, from modsecurity.h:36, from msc_util.c:15: /usr/include/string.h:385:15: note: expected 'const char *' but argument is of type 'unsigned char *' extern size_t strlen (const char *__s) ^~~~~~ msc_util.c: In function 'msc_headers_to_buffer': msc_util.c:2445:17: warning: passing argument 1 to restrict-qualified parameter aliases with argument 3 [-Wrestrict] sprintf(buffer, "%s%s: %s\n", buffer, key, value); ^~~~~~~ msc_util.c: In function 'ip_tree_from_uri': msc_util.c:2628:11: warning: unused variable 'start' [-Wunused-variable] char *start; ^~~~~ msc_util.c:2627:17: warning: unused variable 'fd' [-Wunused-variable] apr_file_t *fd; ^~ msc_util.c:2625:18: warning: unused variable 'rc' [-Wunused-variable] apr_status_t rc; ^~ msc_util.c: In function 'tree_contains_ip': msc_util.c:2709:13: warning: implicit declaration of function 'inet_pton' [-Wimplicit-function-declaration] if (inet_pton(AF_INET, value, &in) <= 0) { ^~~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_util.c -o mod_security2_la-msc_util.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-msc_xml.lo `test -f 'msc_xml.c' || echo './'`msc_xml.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_xml.c -fPIC -DPIC -o .libs/mod_security2_la-msc_xml.o msc_xml.c: In function 'xml_init': msc_xml.c:27:44: warning: variable 'entity' set but not used [-Wunused-but-set-variable] xmlParserInputBufferCreateFilenameFunc entity; ^~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c msc_xml.c -o mod_security2_la-msc_xml.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-persist_dbm.lo `test -f 'persist_dbm.c' || echo './'`persist_dbm.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c persist_dbm.c -fPIC -DPIC -o .libs/mod_security2_la-persist_dbm.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c persist_dbm.c -o mod_security2_la-persist_dbm.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-re_actions.lo `test -f 're_actions.c' || echo './'`re_actions.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_actions.c -fPIC -DPIC -o .libs/mod_security2_la-re_actions.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_actions.c -o mod_security2_la-re_actions.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-re.lo `test -f 're.c' || echo './'`re.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re.c -fPIC -DPIC -o .libs/mod_security2_la-re.o re.c: In function 'msre_ruleset_phase_rule_update_target_matching_exception': re.c:203:12: warning: variable 'j' set but not used [-Wunused-but-set-variable] int i, j, mode; ^ re.c: In function 'update_rule_target_ex': re.c:243:23: warning: variable 'value_len' set but not used [-Wunused-but-set-variable] int name_len = 0, value_len = 0; ^~~~~~~~~ re.c:243:9: warning: variable 'name_len' set but not used [-Wunused-but-set-variable] int name_len = 0, value_len = 0; ^~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re.c -o mod_security2_la-re.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-re_operators.lo `test -f 're_operators.c' || echo './'`re_operators.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_operators.c -fPIC -DPIC -o .libs/mod_security2_la-re_operators.o re_operators.c: In function 'msre_op_fuzzy_hash_init': re_operators.c:3899:1: warning: label 'invalid_parameters' defined but not used [-Wunused-label] invalid_parameters: ^~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_operators.c -o mod_security2_la-re_operators.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-re_tfns.lo `test -f 're_tfns.c' || echo './'`re_tfns.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_tfns.c -fPIC -DPIC -o .libs/mod_security2_la-re_tfns.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_tfns.c -o mod_security2_la-re_tfns.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mod_security2_la-re_variables.lo `test -f 're_variables.c' || echo './'`re_variables.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_variables.c -fPIC -DPIC -o .libs/mod_security2_la-re_variables.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c re_variables.c -o mod_security2_la-re_variables.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -no-undefined -module -avoid-version -R /-lpcre -luuid -lrt -lcrypt -lpthread -ldl -lldap -llber -ldb-4.7 -lexpat -I/usr/include/libxml2 -o mod_security2.la -rpath /usr/lib mod_security2_la-acmp.lo mod_security2_la-apache2_config.lo mod_security2_la-apache2_io.lo mod_security2_la-apache2_util.lo libinjection/mod_security2_la-libinjection_html5.lo libinjection/mod_security2_la-libinjection_sqli.lo libinjection/mod_security2_la-libinjection_xss.lo mod_security2_la-mod_security2.lo mod_security2_la-modsecurity.lo mod_security2_la-msc_status_engine.lo mod_security2_la-msc_crypt.lo mod_security2_la-msc_geo.lo mod_security2_la-msc_gsb.lo mod_security2_la-msc_json.lo mod_security2_la-msc_logging.lo mod_security2_la-msc_lua.lo mod_security2_la-msc_multipart.lo mod_security2_la-msc_parsers.lo mod_security2_la-msc_pcre.lo mod_security2_la-msc_release.lo mod_security2_la-msc_remote_rules.lo mod_security2_la-msc_reqbody.lo mod_security2_la-msc_tree.lo mod_security2_la-msc_unicode.lo mod_security2_la-msc_util.lo mod_security2_la-msc_xml.lo mod_security2_la-persist_dbm.lo mod_security2_la-re_actions.lo mod_security2_la-re.lo mod_security2_la-re_operators.lo mod_security2_la-re_tfns.lo mod_security2_la-re_variables.lo -L/usr/lib64 -R/usr/lib64 -lapr-1 -L/usr/lib64 -R/usr/lib64 -laprutil-1 -lcurl -I/usr/include/libxml2 -lxml2 -lpcre -lyajl libtool: link: x86_64-alt-linux-gcc -shared -fPIC -DPIC .libs/mod_security2_la-acmp.o .libs/mod_security2_la-apache2_config.o .libs/mod_security2_la-apache2_io.o .libs/mod_security2_la-apache2_util.o libinjection/.libs/mod_security2_la-libinjection_html5.o libinjection/.libs/mod_security2_la-libinjection_sqli.o libinjection/.libs/mod_security2_la-libinjection_xss.o .libs/mod_security2_la-mod_security2.o .libs/mod_security2_la-modsecurity.o .libs/mod_security2_la-msc_status_engine.o .libs/mod_security2_la-msc_crypt.o .libs/mod_security2_la-msc_geo.o .libs/mod_security2_la-msc_gsb.o .libs/mod_security2_la-msc_json.o .libs/mod_security2_la-msc_logging.o .libs/mod_security2_la-msc_lua.o .libs/mod_security2_la-msc_multipart.o .libs/mod_security2_la-msc_parsers.o .libs/mod_security2_la-msc_pcre.o .libs/mod_security2_la-msc_release.o .libs/mod_security2_la-msc_remote_rules.o .libs/mod_security2_la-msc_reqbody.o .libs/mod_security2_la-msc_tree.o .libs/mod_security2_la-msc_unicode.o .libs/mod_security2_la-msc_util.o .libs/mod_security2_la-msc_xml.o .libs/mod_security2_la-persist_dbm.o .libs/mod_security2_la-re_actions.o .libs/mod_security2_la-re.o .libs/mod_security2_la-re_operators.o .libs/mod_security2_la-re_tfns.o .libs/mod_security2_la-re_variables.o -luuid -lrt -lcrypt -lpthread -ldl -lldap -llber -ldb-4.7 -lexpat -L/usr/lib64 -lapr-1 -laprutil-1 -lcurl -lxml2 -lpcre -lyajl -O2 -Wl,-soname -Wl,mod_security2.so -o .libs/mod_security2.so libtool: link: ar cru .libs/mod_security2.a mod_security2_la-acmp.o mod_security2_la-apache2_config.o mod_security2_la-apache2_io.o mod_security2_la-apache2_util.o libinjection/mod_security2_la-libinjection_html5.o libinjection/mod_security2_la-libinjection_sqli.o libinjection/mod_security2_la-libinjection_xss.o mod_security2_la-mod_security2.o mod_security2_la-modsecurity.o mod_security2_la-msc_status_engine.o mod_security2_la-msc_crypt.o mod_security2_la-msc_geo.o mod_security2_la-msc_gsb.o mod_security2_la-msc_json.o mod_security2_la-msc_logging.o mod_security2_la-msc_lua.o mod_security2_la-msc_multipart.o mod_security2_la-msc_parsers.o mod_security2_la-msc_pcre.o mod_security2_la-msc_release.o mod_security2_la-msc_remote_rules.o mod_security2_la-msc_reqbody.o mod_security2_la-msc_tree.o mod_security2_la-msc_unicode.o mod_security2_la-msc_util.o mod_security2_la-msc_xml.o mod_security2_la-persist_dbm.o mod_security2_la-re_actions.o mod_security2_la-re.o mod_security2_la-re_operators.o mod_security2_la-re_tfns.o mod_security2_la-re_variables.o libtool: link: ranlib .libs/mod_security2.a libtool: link: ( cd ".libs" && rm -f "mod_security2.la" && ln -s "../mod_security2.la" "mod_security2.la" ) make[2]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/apache2' make[1]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/apache2' Making all in mlogc make[1]: Entering directory '/usr/src/RPM/BUILD/modsecurity/mlogc' x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -I../apache2 -DLINUX -D_REENTRANT -D_GNU_SOURCE -I../apache2 -I/usr/include/apr-1 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -c -o mlogc-mlogc.o `test -f 'mlogc.c' || echo './'`mlogc.c mlogc.c: In function 'logc_init': mlogc.c:1210:11: warning: 'cmaj' may be used uninitialized in this function [-Wmaybe-uninitialized] short cmaj, cmin, cpat = 0; ^~~~ mlogc.c:1210:17: warning: 'cmin' may be used uninitialized in this function [-Wmaybe-uninitialized] short cmaj, cmin, cpat = 0; ^~~~ /bin/sh ../libtool --tag=CC --mode=link x86_64-alt-linux-gcc -I/usr/include/apr-1 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -luuid -lrt -lcrypt -lpthread -ldl -o mlogc mlogc-mlogc.o -L/usr/lib64 -R/usr/lib64 -lapr-1 -lcurl -lpcre libtool: link: x86_64-alt-linux-gcc -I/usr/include/apr-1 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/pcre -pipe -frecord-gcc-switches -Wall -g -O2 -I/usr/include/apu-1 -o mlogc mlogc-mlogc.o -luuid -lrt -lcrypt -lpthread -ldl -L/usr/lib64 -lapr-1 -lcurl -lpcre make[1]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/mlogc' Making all in tests make[1]: Entering directory '/usr/src/RPM/BUILD/modsecurity/tests' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/tests' make[1]: Entering directory '/usr/src/RPM/BUILD/modsecurity' make[1]: Nothing to be done for 'all-am'. make[1]: Leaving directory '/usr/src/RPM/BUILD/modsecurity' make: Leaving directory '/usr/src/RPM/BUILD/modsecurity' + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.91234 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/apache2-mod_security-buildroot + : + /bin/rm -rf -- /usr/src/tmp/apache2-mod_security-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd modsecurity + /bin/install -pDm644 -- apache2/.libs/mod_security2.so /usr/src/tmp/apache2-mod_security-buildroot/usr/lib64/apache2/modules/mod_security2.so + /bin/install -pm644 -- /usr/src/RPM/SOURCES/README.ALT README.ALT + /bin/install -pDm644 -- /usr/src/RPM/SOURCES/security.load /usr/src/tmp/apache2-mod_security-buildroot/etc/httpd2/conf/mods-available/security.load + /bin/install -pDm644 -- /usr/src/RPM/SOURCES/security.conf /usr/src/tmp/apache2-mod_security-buildroot/etc/httpd2/conf/mods-available/security.conf + /usr/bin/subst s,@conf_dir@,/etc/mod_security2,g /usr/src/tmp/apache2-mod_security-buildroot/etc/httpd2/conf/mods-available/security.conf + /usr/bin/subst s,@apache2_tmpdir@,/var/spool/apache2,g /usr/src/tmp/apache2-mod_security-buildroot/etc/httpd2/conf/mods-available/security.conf + /usr/bin/subst s,@_libdir@,/usr/lib64,g /usr/src/tmp/apache2-mod_security-buildroot/etc/httpd2/conf/mods-available/security.load + /bin/install -pD -m644 -- /usr/src/RPM/SOURCES/altdefaults.conf /usr/src/tmp/apache2-mod_security-buildroot/etc/mod_security2/altdefaults.conf + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/apache2-mod_security-buildroot (auto) Verifying and fixing files in /usr/src/tmp/apache2-mod_security-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) Checking contents of files in /usr/src/tmp/apache2-mod_security-buildroot/ (default) Compressing files in /usr/src/tmp/apache2-mod_security-buildroot (auto) Adjusting library links in /usr/src/tmp/apache2-mod_security-buildroot ./usr/lib64: Verifying ELF objects in /usr/src/tmp/apache2-mod_security-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: core_module verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_scoreboard_image verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_server_config_defines verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_get_server_name verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_process_connection verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_child_init verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_get_server_banner verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_register_output_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_insert_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_pass_brigade verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_post_read_request verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_bucket_error_create verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_regexec verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_find_linked_module verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_error_log verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_save_brigade verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_add_input_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_mpm_query verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_add_cgi_vars verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_post_config verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_fixups verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_add_output_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_remove_input_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_get_status_line verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_unixd_set_global_mutex_perms verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_get_brigade verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_add_common_vars verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_pregcomp verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_get_scoreboard_worker verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_piped_log_write_fd verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_open_piped_log verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_getword_conf verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_add_version_component verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_pre_config verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_log_perror_ verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_get_remote_host verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_server_root_relative verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_remove_output_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_register_input_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_log_error_ verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_log_transaction verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_create_environment verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_hook_insert_error_filter verify-elf: WARNING: ./usr/lib64/apache2/modules/mod_security2.so: undefined symbol: ap_log_rerror_ Hardlinking identical .pyc and .pyo files Processing files: apache2-mod_security-2.9.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.13916 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd modsecurity + DOCDIR=/usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-2.9.1 + export DOCDIR + rm -rf /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-2.9.1 + /bin/mkdir -p /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-2.9.1 + cp -prL README.ALT README.TXT LICENSE /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-2.9.1 + chmod -R go-w /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-2.9.1 + chmod -R a+rX /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-2.9.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.17UZB7 find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.0Q3GZG find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Finding Requires(post) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.v05pvj find-scriptlet-requires: FINDPACKAGE-COMMANDS: service Finding Requires(preun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.s4hAbZ Finding Requires(postun) (using /usr/lib/rpm/find-scriptlet-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.1tXTaI find-scriptlet-requires: FINDPACKAGE-COMMANDS: service Requires: /etc/httpd2/conf/mods-available, /usr/lib64/apache2/modules, libapr-1.so.0()(64bit) >= set:ngkMZl3tx525PdlwVtDhFaFVJC2IBSF1WAkpmMWULR52qt7hZ1OrEiidRvQbSgo4H5r1lLhipTYEZK9J9OIFhxf1iLc9jAsveldsVYGH5fJRz1NSc5iZIn92ZB8mE4xqPKrfu03KWNGojiA98bZE54VIPZhpC8HZyyb6VNlFNUxx5VLayyjEbq7ct6EGcRmJymHMlEAKH7sqXojO4aJoKlSBC, libaprutil-1.so.0()(64bit) >= set:mhufhEPC0GJlAMHh9MfjTiGoqDIyTLt9wcT6k0XCTbucuvJdeFb1H0PuCO86kfU1K38qDuDl96d6Etme0, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.3)(64bit), libc.so.6(GLIBC_2.3.4)(64bit), libc.so.6(GLIBC_2.4)(64bit), libcurl.so.4()(64bit) >= set:kgZtdjewuBSOw42fnlDpR23, libpcre.so.3()(64bit) >= set:ifQesTYt6JYlrEh2, libpthread.so.0(GLIBC_2.2.5)(64bit), libxml2.so.2()(64bit) >= set:oisbEZyyZtMI4OZcddH6WbPPh7Zi2kWszctdkyfZxB4shULTwVhFuaFp3U6kIHFh2wZeBSeDgycb6r4KgoEM7ImwcZB5WqbhtIF2pZqnMGZHvofLSPkrYkXJRJ0ULt0, libxml2.so.2(LIBXML2_2.4.30)(64bit), libxml2.so.2(LIBXML2_2.5.8)(64bit), libxml2.so.2(LIBXML2_2.6.0)(64bit), libxml2.so.2(LIBXML2_2.6.11)(64bit), libxml2.so.2(LIBXML2_2.9.0)(64bit), libyajl.so.2()(64bit) >= set:idj95ZkG6eyJKTW24pnmrOm1wExggZmSDKAWH, rtld(GNU_HASH) Requires(interp): /bin/sh Requires(rpmlib): rpmlib(SetVersions) Requires(pre): apache2 >= 2.4.48-alt3 Requires(post): /bin/sh, /usr/sbin/a2chkconfig, /usr/sbin/apachectl2, service Requires(preun): /bin/sh, /usr/sbin/a2dismod Requires(postun): /bin/sh, /usr/sbin/a2chkconfig, /usr/sbin/apachectl2, service Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Q7fKvu Creating apache2-mod_security-debuginfo package Processing files: apache2-mod_security-doc-2.9.1-alt1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.46859 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd modsecurity + DOCDIR=/usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-doc-2.9.1 + export DOCDIR + rm -rf /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-doc-2.9.1 + /bin/mkdir -p /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-doc-2.9.1 + cp -prL doc/README.txt doc/doxygen-apache.conf doc/doxygen-iis.conf doc/doxygen-logo.png doc/doxygen-nginx.conf doc/doxygen-standalone.conf /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-doc-2.9.1 + chmod -R go-w /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-doc-2.9.1 + chmod -R a+rX /usr/src/tmp/apache2-mod_security-buildroot/usr/share/doc/apache2-mod_security-doc-2.9.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.XQsTVk find-provides: running scripts (alternatives,debuginfo,lib,pam,perl,pkgconfig,python,shell) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.kOUIFe find-requires: running scripts (cpp,debuginfo,files,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services) Processing files: apache2-mod_security-debuginfo-2.9.1-alt1 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.nZmdCb find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.OqTbJb find-requires: running scripts (debuginfo) Requires: apache2-mod_security = 2.9.1-alt1, debug64(libapr-1.so.0), debug64(libaprutil-1.so.0), debug64(libc.so.6), debug64(libcurl.so.4), debug64(libpcre.so.3), debug64(libpthread.so.0), debug64(libxml2.so.2), debug64(libyajl.so.2) Wrote: /usr/src/RPM/RPMS/x86_64/apache2-mod_security-2.9.1-alt1.x86_64.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/noarch/apache2-mod_security-doc-2.9.1-alt1.noarch.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/x86_64/apache2-mod_security-debuginfo-2.9.1-alt1.x86_64.rpm (w2.lzdio) 31.24user 5.64system 0:44.37elapsed 83%CPU (0avgtext+0avgdata 61804maxresident)k 0inputs+0outputs (0major+1833932minor)pagefaults 0swaps 39.75user 9.69system 0:59.62elapsed 82%CPU (0avgtext+0avgdata 119700maxresident)k 376inputs+0outputs (51330major+2365415minor)pagefaults 0swaps --- apache2-mod_security-2.9.1-alt1.x86_64.rpm.repo 2016-04-20 20:31:34.000000000 +0000 +++ apache2-mod_security-2.9.1-alt1.x86_64.rpm.hasher 2021-10-10 14:55:44.483862348 +0000 @@ -9,5 +9,3 @@ /usr/share/doc/apache2-mod_security-2.9.1/README.TXT 100644 root:root -Requires: apache2 >= 2.4.18-alt1 -Requires: /bin/sh -Requires: /bin/sh +Requires: apache2 >= 2.4.48-alt3 Requires: /bin/sh @@ -15,3 +13,3 @@ Requires: /usr/lib64/apache2/modules -Requires: libapr-1.so.0()(64bit) >= set:mfwL3DAL6ux5YER42KFqeOz70cUaKXcGGAPrfl5rGZBd22O6Ctqwe9NFlZC0tuVFMrtH2KXkT9GfYRS68liIGI8KLsjfcKqi0ovo8NhI1CI0x3TkhcexKEsMQpw1aoGwXLTY4Azuv9KlxzCjlHhNO65v2iY4Cni609TPFZvR72l9pON1JEHpKvgOzxorjxQfLiky3sFhon +Requires: libapr-1.so.0()(64bit) >= set:ngkMZl3tx525PdlwVtDhFaFVJC2IBSF1WAkpmMWULR52qt7hZ1OrEiidRvQbSgo4H5r1lLhipTYEZK9J9OIFhxf1iLc9jAsveldsVYGH5fJRz1NSc5iZIn92ZB8mE4xqPKrfu03KWNGojiA98bZE54VIPZhpC8HZyyb6VNlFNUxx5VLayyjEbq7ct6EGcRmJymHMlEAKH7sqXojO4aJoKlSBC Requires: rpmlib(SetVersions) @@ -23,4 +21,4 @@ Requires: libc.so.6(GLIBC_2.4)(64bit) -Requires: libcurl.so.4()(64bit) >= set:jfLBtKqJbP82bEG78JNm6 -Requires: libpcre.so.3()(64bit) >= set:jgelZec4eEUZ5nv1p2 +Requires: libcurl.so.4()(64bit) >= set:kgZtdjewuBSOw42fnlDpR23 +Requires: libpcre.so.3()(64bit) >= set:ifQesTYt6JYlrEh2 Requires: libpthread.so.0(GLIBC_2.2.5)(64bit) @@ -34,5 +32,2 @@ Requires: rtld(GNU_HASH) -Requires: /usr/sbin/a2chkconfig -Requires: /usr/sbin/apachectl2 -Requires: service Requires: /usr/sbin/a2dismod @@ -47,3 +42,3 @@ File: /etc/mod_security2/altdefaults.conf 100644 root:root f7f9cb139e08f358743f4c53e4fd0158 -File: /usr/lib64/apache2/modules/mod_security2.so 100644 root:root ece2cd7ca9a13ea4d3d23528daad06ea +File: /usr/lib64/apache2/modules/mod_security2.so 100644 root:root b8ec6fab76eca75addfedf303c059b53 File: /usr/share/doc/apache2-mod_security-2.9.1 40755 root:root @@ -52,2 +47,2 @@ File: /usr/share/doc/apache2-mod_security-2.9.1/README.TXT 100644 root:root 54a419c316613ab926992cb2af7086d6 -RPMIdentity: 5dd595c1c97226fd29d3e0a5b8fdf179c14bb0ccc2b6fa5a98e5d44b51ef2d1b857a76590f2c4084fcc6fcf0086b7b74045130965c81d0acb2f7d8c36a9a7e3f +RPMIdentity: b6ec013ddfb0fc4ac91b4b56994d5262d727b414b7d6548127b2b4c5382191cd7b4c5a5c101cbe483822583f5fedb4de3c896a72d460d75b0990ffdf24274892 --- apache2-mod_security-debuginfo-2.9.1-alt1.x86_64.rpm.repo 2016-04-20 20:31:34.000000000 +0000 +++ apache2-mod_security-debuginfo-2.9.1-alt1.x86_64.rpm.hasher 2021-10-10 14:55:44.567863015 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/1e 40755 root:root -/usr/lib/debug/.build-id/1e/3222df92f0fdeb03898e69bdccc0ae0abe2a68 120777 root:root ../../../../lib64/apache2/modules/mod_security2.so -/usr/lib/debug/.build-id/1e/3222df92f0fdeb03898e69bdccc0ae0abe2a68.debug 120777 root:root ../../usr/lib64/apache2/modules/mod_security2.so.debug +/usr/lib/debug/.build-id/25 40755 root:root +/usr/lib/debug/.build-id/25/0c55e856001466c2d1fcbc8785e078c8d27c09 120777 root:root ../../../../lib64/apache2/modules/mod_security2.so +/usr/lib/debug/.build-id/25/0c55e856001466c2d1fcbc8785e078c8d27c09.debug 120777 root:root ../../usr/lib64/apache2/modules/mod_security2.so.debug /usr/lib/debug/usr/lib64/apache2 40755 root:root @@ -75,8 +75,8 @@ Provides: apache2-mod_security-debuginfo = 2.9.1-alt1 -File: /usr/lib/debug/.build-id/1e 40755 root:root -File: /usr/lib/debug/.build-id/1e/3222df92f0fdeb03898e69bdccc0ae0abe2a68 120777 root:root ../../../../lib64/apache2/modules/mod_security2.so -File: /usr/lib/debug/.build-id/1e/3222df92f0fdeb03898e69bdccc0ae0abe2a68.debug 120777 root:root ../../usr/lib64/apache2/modules/mod_security2.so.debug +File: /usr/lib/debug/.build-id/25 40755 root:root +File: /usr/lib/debug/.build-id/25/0c55e856001466c2d1fcbc8785e078c8d27c09 120777 root:root ../../../../lib64/apache2/modules/mod_security2.so +File: /usr/lib/debug/.build-id/25/0c55e856001466c2d1fcbc8785e078c8d27c09.debug 120777 root:root ../../usr/lib64/apache2/modules/mod_security2.so.debug File: /usr/lib/debug/usr/lib64/apache2 40755 root:root File: /usr/lib/debug/usr/lib64/apache2/modules 40755 root:root -File: /usr/lib/debug/usr/lib64/apache2/modules/mod_security2.so.debug 100644 root:root 45fb95d4ae15ebd171f29355105fbadb +File: /usr/lib/debug/usr/lib64/apache2/modules/mod_security2.so.debug 100644 root:root 0ce63b3f5eab4ee4bc3ca044bcf75c91 File: /usr/src/debug/modsecurity 40755 root:root @@ -139,2 +139,2 @@ File: /usr/src/debug/modsecurity/apache2/re_variables.c 100644 root:root d7ca3cba7c4e9424c20d5e01810d3db7 -RPMIdentity: b2c83eba7b9fb2e94581883f573e6beaa5d90e149d6e564519304cb608439aa828004acfc9f9277f3de41436ddc17c553716dcfd67ea9f8e00832f3aa4929361 +RPMIdentity: f4ed7318a23cf3661fad7fce92b9bb36387edf53e8f56c192eae84ec7a488630306506036966a29a287f9534a35952ecfdc06303e959e303dac853517dab40d6 --- apache2-mod_security-doc-2.9.1-alt1.noarch.rpm.repo 2016-04-20 20:33:58.000000000 +0000 +++ apache2-mod_security-doc-2.9.1-alt1.noarch.rpm.hasher 2021-10-10 14:55:44.655863714 +0000 @@ -16,2 +16,2 @@ File: /usr/share/doc/apache2-mod_security-doc-2.9.1/doxygen-standalone.conf 100644 root:root 67d362435252da1c0d8c8813723b645a -RPMIdentity: 9a663e9050579e4f43a8755e34714403bcc81db1e3f5e838c5e0a6fa6f5123bb66680878bca57d3c26fbb9315a8191a4b4c235cc1f5fa51f6d2eac424facccc9 +RPMIdentity: 280910ee2e912f33744a07929795fe3fd49cea73b9a7004c699fb4c1088b7168461fd5d56bf7ffb207e86ffb80d9af51d0be80fba4bd5b5a40f1db510418c5b8