Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mod_security.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-240063-21732/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mod_security.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: line 24: Possible unexpanded macro in: Requires: httpd httpd-mmn = %{_httpd_mmn} Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/mod_security-2.9.6-8.ocs23.src.rpm RPM build warnings: line 24: Possible unexpanded macro in: Requires: httpd httpd-mmn = %{_httpd_mmn} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mod_security.spec'], chrootPath='/home/lib/mock/dist-ocs23-build-240063-21732/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/mod_security.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y3ffYF + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf modsecurity-2.9.6 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/modsecurity-2.9.6.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd modsecurity-2.9.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/modsecurity-2.9.3-lua-54.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/modsecurity-2.9.3-apulibs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/mod_security-2.9.3-remote-rules-timeout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Fix-FILES_TMP_CONTENT-may-sometimes-lack-complete-co.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.7n9Usc + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd modsecurity-2.9.6 + ./autogen.sh libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build'. libtoolize: copying file 'build/ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'build'. libtoolize: copying file 'build/libtool.m4' libtoolize: copying file 'build/ltoptions.m4' libtoolize: copying file 'build/ltsugar.m4' libtoolize: copying file 'build/ltversion.m4' libtoolize: copying file 'build/lt~obsolete.m4' configure.ac:35: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:35: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:35: the top level configure.ac:244: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:244: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_curl.m4:16: CHECK_CURL is expanded from... configure.ac:244: the top level configure.ac:867: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:867: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_pcre.m4:15: CHECK_PCRE is expanded from... configure.ac:867: the top level configure.ac:869: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:869: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_apr.m4:16: CHECK_APR is expanded from... configure.ac:869: the top level configure.ac:870: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:870: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_apu.m4:16: CHECK_APU is expanded from... configure.ac:870: the top level configure.ac:872: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:872: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_xml.m4:14: CHECK_LIBXML2 is expanded from... configure.ac:872: the top level configure.ac:873: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:873: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_lua.m4:7: CHECK_LUA is expanded from... configure.ac:873: the top level configure.ac:879: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:879: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_yajl.m4:9: CHECK_YAJL is expanded from... configure.ac:879: the top level configure.ac:881: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:881: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_ssdeep.m4:7: CHECK_SSDEEP is expanded from... configure.ac:881: the top level configure.ac:890: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:890: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:890: the top level configure.ac:18: installing 'build/compile' configure.ac:17: installing 'build/missing' alp2/Makefile.am: installing 'build/depcomp' configure.ac:35: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:35: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:35: the top level configure.ac:244: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:244: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_curl.m4:16: CHECK_CURL is expanded from... configure.ac:244: the top level configure.ac:867: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:867: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_pcre.m4:15: CHECK_PCRE is expanded from... configure.ac:867: the top level configure.ac:869: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:869: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_apr.m4:16: CHECK_APR is expanded from... configure.ac:869: the top level configure.ac:870: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:870: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_apu.m4:16: CHECK_APU is expanded from... configure.ac:870: the top level configure.ac:872: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:872: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_xml.m4:14: CHECK_LIBXML2 is expanded from... configure.ac:872: the top level configure.ac:873: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:873: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_lua.m4:7: CHECK_LUA is expanded from... configure.ac:873: the top level configure.ac:879: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:879: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_yajl.m4:9: CHECK_YAJL is expanded from... configure.ac:879: the top level configure.ac:881: warning: The macro `AC_HELP_STRING' is obsolete. configure.ac:881: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1553: AC_ARG_WITH is expanded from... build/find_ssdeep.m4:7: CHECK_SSDEEP is expanded from... configure.ac:881: the top level configure.ac:890: warning: The macro `AC_TRY_COMPILE' is obsolete. configure.ac:890: You should run autoupdate. ./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from... configure.ac:890: the top level + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-08-17 14:12:46.249429119 +0800 +++ ./configure 2024-08-17 14:12:46.301430037 +0800 @@ -1932,7 +1932,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-08-17 14:12:46.301430037 +0800 +++ ./configure 2024-08-17 14:12:46.329430532 +0800 @@ -7314,7 +7314,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -18183,7 +18183,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./build/config.guess ++ basename ./build/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./build/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './build/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./build/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./build/config.sub ++ basename ./build/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./build/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './build/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld"~' ./build/ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-pcre-match-limit=1000000 --enable-pcre-match-limit-recursion=1000000 --with-apxs=/usr/lib64/httpd/build/vendor-apxs --with-yajl --disable-static checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports the include directive... yes (GNU style) checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for loongarch64-opencloudos-linux-gnu-ar... no checking for loongarch64-opencloudos-linux-gnu-lib... no checking for loongarch64-opencloudos-linux-gnu-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by 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 how to convert loongarch64-opencloudos-linux-gnu file names to loongarch64-opencloudos-linux-gnu format... func_convert_file_noop checking how to convert loongarch64-opencloudos-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for loongarch64-opencloudos-linux-gnu-file... no checking for file... file checking for loongarch64-opencloudos-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for loongarch64-opencloudos-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for loongarch64-opencloudos-linux-gnu-ar... ar checking for archiver @FILE support... @ checking for loongarch64-opencloudos-linux-gnu-strip... no checking for strip... strip checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7320: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for loongarch64-opencloudos-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) 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... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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... no checking for gawk... (cached) gawk checking for loongarch64-opencloudos-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking how to run the C preprocessor... 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) /usr/bin/grep checking for perl... /usr/bin/perl checking for env... /usr/bin/env checking for egrep... (cached) /usr/bin/grep -E checking for fcntl.h... 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 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 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 checking if libcurl is at least v... yes, 8.4.0 checking if libcurl is linked with gnutls... no configure: using curl v8.4.0 configure: looking for Apache module support via DSO through APXS configure: found apxs at /usr/lib64/httpd/build/vendor-apxs configure: checking httpd version configure: httpd is recent enough checking for libpcre config script... /usr/bin/pcre-config configure: using pcre v8.45 checking for libapr config script... /usr/bin/apr-1-config configure: using apr v1.7.4 checking for libapu config script... /usr/bin/apu-1-config configure: using apu v1.6.3 checking for libxml2 config script... /usr/bin/xml2-config checking if libxml2 is at least v2.6.29... yes, 2.11.5 configure: using libxml2 v2.11.5 checking for loongarch64-opencloudos-linux-gnu-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... /usr/bin/pkg-config configure: using lua v5.4.6 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 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 + 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 + /usr/bin/make -O -j32 V=1 VERBOSE=1 Making all in tools make[1]: Nothing to be done for 'all'. Making all in apache2 /usr/bin/make all-am make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_release.lo `test -f 'msc_release.c' || echo './'`msc_release.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_release.c -fPIC -DPIC -o .libs/mod_security2_la-msc_release.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_gsb.lo `test -f 'msc_gsb.c' || echo './'`msc_gsb.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_gsb.c -fPIC -DPIC -o .libs/mod_security2_la-msc_gsb.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_gsb.h:21, from msc_gsb.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_unicode.lo `test -f 'msc_unicode.c' || echo './'`msc_unicode.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_unicode.c -fPIC -DPIC -o .libs/mod_security2_la-msc_unicode.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_unicode.h:21, from msc_unicode.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_pcre.lo `test -f 'msc_pcre.c' || echo './'`msc_pcre.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_pcre.c -fPIC -DPIC -o .libs/mod_security2_la-msc_pcre.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_pcre.h:33, from msc_pcre.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o libinjection/mod_security2_la-libinjection_xss.lo `test -f 'libinjection/libinjection_xss.c' || echo './'`libinjection/libinjection_xss.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c libinjection/libinjection_xss.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_xss.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_xml.lo `test -f 'msc_xml.c' || echo './'`msc_xml.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_xml.c -fPIC -DPIC -o .libs/mod_security2_la-msc_xml.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' msc_xml.c: In function 'xml_init': msc_xml.c:27:44: warning: variable 'entity' set but not used [-Wunused-but-set-variable] 27 | xmlParserInputBufferCreateFilenameFunc entity; | ^~~~~~ In file included from msc_xml.h:20, from msc_xml.c:15: modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_status_engine.lo `test -f 'msc_status_engine.c' || echo './'`msc_status_engine.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_status_engine.c -fPIC -DPIC -o .libs/mod_security2_la-msc_status_engine.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' msc_status_engine.c: In function 'msc_status_engine_mac_address': msc_status_engine.c:218:26: warning: pointer targets in passing argument 1 of 'apr_snprintf' differ in signedness [-Wpointer-sign] 218 | apr_snprintf(mac, MAC_ADDRESS_SIZE, "%02x:%02x:%02x:%02x:%02x:%02x", | ^~~ | | | unsigned char * 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:44: note: expected 'char *' but argument is of type 'unsigned char *' 279 | APR_DECLARE_NONSTD(int) apr_snprintf(char *buf, apr_size_t len, | ~~~~~~^~~ msc_status_engine.c:212:17: warning: unused variable 'i' [-Wunused-variable] 212 | int i = 0; | ^ msc_status_engine.c: In function 'msc_status_engine_unique_id': msc_status_engine.c:317:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 317 | apr_sha1_update(&context, mac_address, strlen(mac_address)); | ^~~~~~~~~~~ | | | unsigned char * 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: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msc_status_engine.c:317:31: warning: pointer targets in passing argument 2 of 'apr_sha1_update' differ in signedness [-Wpointer-sign] 317 | apr_sha1_update(&context, mac_address, strlen(mac_address)); | ^~~~~~~~~~~ | | | unsigned char * In file included from msc_remote_rules.h:27, from modsecurity.h:49: /usr/include/apr-1/apr_sha1.h:96:72: note: expected 'const char *' but argument is of type 'unsigned char *' 96 | APU_DECLARE(void) apr_sha1_update(apr_sha1_ctx_t *context, const char *input, | ~~~~~~~~~~~~^~~~~ msc_status_engine.c:322:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 322 | sprintf(digest, "%s%02x", digest, hex_digest[i]); | ^~~~~~ | | | unsigned char * In file included from /usr/include/features.h:503, from /usr/include/sys/types.h:25, from /usr/include/apr-1/apr.h:165, from msc_status_engine.h:18: /usr/include/bits/stdio2.h:28:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' 28 | __NTH (sprintf (char *__restrict __s, const char *__restrict __fmt, ...)) | ^~~~~ msc_status_engine.c: In function 'msc_beacon_string': msc_status_engine.c:366:55: warning: the address of 'pcre' will always evaluate as 'true' [-Waddress] 366 | (apr_loaded ? strlen(apr_loaded) : 6) + (pcre ? strlen(pcre) : 6) + | ^ msc_status_engine.c:379:37: warning: pointer targets in passing argument 1 of 'msc_status_engine_unique_id' differ in signedness [-Wpointer-sign] 379 | if (msc_status_engine_unique_id(id)) { | ^~ | | | char * msc_status_engine.c:283:58: note: expected 'unsigned char *' but argument is of type 'char *' 283 | int DSOLOCAL msc_status_engine_unique_id (unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:964, from modsecurity.h:18: In function 'sprintf', inlined from 'msc_status_engine_unique_id' at msc_status_engine.c:322:9: /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 5 overlaps destination object 'digest' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ msc_status_engine.c: In function 'msc_status_engine_unique_id': msc_status_engine.c:283:58: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 283 | int DSOLOCAL msc_status_engine_unique_id (unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-acmp.lo `test -f 'acmp.c' || echo './'`acmp.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c acmp.c -fPIC -DPIC -o .libs/mod_security2_la-acmp.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' acmp.c:258:13: warning: 'acmp_clone_node_no_state' defined but not used [-Wunused-function] 258 | static void acmp_clone_node_no_state(acmp_node_t *from, acmp_node_t *to) { | ^~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_json.lo `test -f 'msc_json.c' || echo './'`msc_json.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_json.c -fPIC -DPIC -o .libs/mod_security2_la-msc_json.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' msc_json.c: In function 'json_add_argument': msc_json.c:30:32: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 30 | msr->json->current_key = ""; | ^ msc_json.c: In function 'yajl_map_key': msc_json.c:88:38: warning: pointer targets in passing argument 2 of 'apr_pstrndup' differ in signedness [-Wpointer-sign] 88 | safe_key = apr_pstrndup(msr->mp, key, length); | ^~~ | | | const unsigned char * 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:61: note: expected 'const char *' but argument is of type 'const unsigned char *' 125 | APR_DECLARE(char *) apr_pstrndup(apr_pool_t *p, const char *s, apr_size_t n); | ~~~~~~~~~~~~^ msc_json.c:88:14: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 88 | safe_key = apr_pstrndup(msr->mp, key, length); | ^ msc_json.c: In function 'yajl_string': msc_json.c:137:35: warning: pointer targets in passing argument 2 of 'json_add_argument' differ in signedness [-Wpointer-sign] 137 | return json_add_argument(msr, value, length); | ^~~~~ | | | const unsigned char * msc_json.c:21:52: note: expected 'const char *' but argument is of type 'const unsigned char *' 21 | int json_add_argument(modsec_rec *msr, const char *value, unsigned length) | ~~~~~~~~~~~~^~~~~ msc_json.c: In function 'yajl_start_array': msc_json.c:156:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 156 | msr->json->prefix = apr_pstrdup(msr->mp, "array"); | ^ msc_json.c:157:32: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 157 | msr->json->current_key = apr_pstrdup(msr->mp, "array"); | ^ msc_json.c:160:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 160 | msr->json->prefix = apr_psprintf(msr->mp, "%s.%s", msr->json->prefix, | ^ msc_json.c:164:59: warning: pointer targets in passing argument 2 of 'apr_pstrdup' differ in signedness [-Wpointer-sign] 164 | msr->json->prefix = apr_pstrdup(msr->mp, msr->json->current_key); | ~~~~~~~~~^~~~~~~~~~~~~ | | | const unsigned char * /usr/include/apr-1/apr_strings.h:95:60: note: expected 'const char *' but argument is of type 'const unsigned char *' 95 | APR_DECLARE(char *) apr_pstrdup(apr_pool_t *p, const char *s); | ~~~~~~~~~~~~^ msc_json.c:164:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 164 | msr->json->prefix = apr_pstrdup(msr->mp, msr->json->current_key); | ^ msc_json.c: In function 'yajl_end_array': msc_json.c:195:34: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 195 | separator = strrchr(msr->json->prefix, '.'); | ~~~~~~~~~^~~~~~~~ | | | unsigned char * In file included from msc_release.h:19, from modsecurity.h:36: /usr/include/string.h:273:35: note: expected 'const char *' but argument is of type 'unsigned char *' 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ msc_json.c:195:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 195 | separator = strrchr(msr->json->prefix, '.'); | ^ msc_json.c:198:62: warning: pointer targets in passing argument 2 of 'apr_pstrmemdup' differ in signedness [-Wpointer-sign] 198 | msr->json->prefix = apr_pstrmemdup(msr->mp, msr->json->prefix, | ~~~~~~~~~^~~~~~~~ | | | unsigned char * /usr/include/apr-1/apr_strings.h:109:63: note: expected 'const char *' but argument is of type 'unsigned char *' 109 | APR_DECLARE(char *) apr_pstrmemdup(apr_pool_t *p, const char *s, apr_size_t n) | ~~~~~~~~~~~~^ msc_json.c:198:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 198 | msr->json->prefix = apr_pstrmemdup(msr->mp, msr->json->prefix, | ^ msc_json.c: In function 'yajl_start_map': msc_json.c:231:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 231 | msr->json->prefix = apr_psprintf(msr->mp, "%s.%s", msr->json->prefix, | ^ msc_json.c:235:59: warning: pointer targets in passing argument 2 of 'apr_pstrdup' differ in signedness [-Wpointer-sign] 235 | msr->json->prefix = apr_pstrdup(msr->mp, msr->json->current_key); | ~~~~~~~~~^~~~~~~~~~~~~ | | | const unsigned char * /usr/include/apr-1/apr_strings.h:95:60: note: expected 'const char *' but argument is of type 'const unsigned char *' 95 | APR_DECLARE(char *) apr_pstrdup(apr_pool_t *p, const char *s); | ~~~~~~~~~~~~^ msc_json.c:235:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 235 | msr->json->prefix = apr_pstrdup(msr->mp, msr->json->current_key); | ^ msc_json.c: In function 'yajl_end_map': msc_json.c:269:34: warning: pointer targets in passing argument 1 of 'strrchr' differ in signedness [-Wpointer-sign] 269 | separator = strrchr(msr->json->prefix, '.'); | ~~~~~~~~~^~~~~~~~ | | | unsigned char * /usr/include/string.h:273:35: note: expected 'const char *' but argument is of type 'unsigned char *' 273 | extern char *strrchr (const char *__s, int __c) | ~~~~~~~~~~~~^~~ msc_json.c:269:15: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 269 | separator = strrchr(msr->json->prefix, '.'); | ^ msc_json.c:272:62: warning: pointer targets in passing argument 2 of 'apr_pstrmemdup' differ in signedness [-Wpointer-sign] 272 | msr->json->prefix = apr_pstrmemdup(msr->mp, msr->json->prefix, | ~~~~~~~~~^~~~~~~~ | | | unsigned char * /usr/include/apr-1/apr_strings.h:109:63: note: expected 'const char *' but argument is of type 'unsigned char *' 109 | APR_DECLARE(char *) apr_pstrmemdup(apr_pool_t *p, const char *s, apr_size_t n) | ~~~~~~~~~~~~^ msc_json.c:272:27: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 272 | msr->json->prefix = apr_pstrmemdup(msr->mp, msr->json->prefix, | ^ msc_json.c:274:32: warning: pointer targets in assignment from 'char *' to 'const unsigned char *' differ in signedness [-Wpointer-sign] 274 | msr->json->current_key = apr_psprintf(msr->mp, "%s", separator + 1); | ^ msc_json.c: In function 'json_process_chunk': msc_json.c:351:55: warning: pointer targets in passing argument 2 of 'yajl_parse' differ in signedness [-Wpointer-sign] 351 | msr->json->status = yajl_parse(msr->json->handle, buf, size); | ^~~ | | | const char * In file included from msc_json.h:24: /usr/include/yajl/yajl_parse.h:177:59: note: expected 'const unsigned char *' but argument is of type 'const char *' 177 | const unsigned char * jsonText, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ msc_json.c:356:66: warning: pointer targets in passing argument 3 of 'yajl_get_error' differ in signedness [-Wpointer-sign] 356 | char *yajl_err = yajl_get_error(msr->json->handle, 0, buf, size); | ^~~ | | | const char * /usr/include/yajl/yajl_parse.h:202:67: note: expected 'const unsigned char *' but argument is of type 'const char *' 202 | const unsigned char * jsonText, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ msc_json.c:356:29: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 356 | char *yajl_err = yajl_get_error(msr->json->handle, 0, buf, size); | ^~~~~~~~~~~~~~ msc_json.c:358:47: warning: pointer targets in passing argument 2 of 'yajl_free_error' differ in signedness [-Wpointer-sign] 358 | yajl_free_error(msr->json->handle, yajl_err); | ^~~~~~~~ | | | char * /usr/include/yajl/yajl_parse.h:220:69: note: expected 'unsigned char *' but argument is of type 'char *' 220 | YAJL_API void yajl_free_error(yajl_handle hand, unsigned char * str); | ~~~~~~~~~~~~~~~~^~~ msc_json.c: In function 'json_complete': msc_json.c:381:29: warning: pointer targets in initialization of 'char *' from 'unsigned char *' differ in signedness [-Wpointer-sign] 381 | char *yajl_err = yajl_get_error(msr->json->handle, 0, NULL, 0); | ^~~~~~~~~~~~~~ msc_json.c:383:47: warning: pointer targets in passing argument 2 of 'yajl_free_error' differ in signedness [-Wpointer-sign] 383 | yajl_free_error(msr->json->handle, yajl_err); | ^~~~~~~~ | | | char * /usr/include/yajl/yajl_parse.h:220:69: note: expected 'unsigned char *' but argument is of type 'char *' 220 | YAJL_API void yajl_free_error(yajl_handle hand, unsigned char * str); | ~~~~~~~~~~~~~~~~^~~ msc_json.c:370:11: warning: unused variable 'json_data' [-Wunused-variable] 370 | char *json_data = (char *) NULL; | ^~~~~~~~~ modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-apache2_util.lo `test -f 'apache2_util.c' || echo './'`apache2_util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c apache2_util.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_util.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' apache2_util.c: In function 'internal_log_ex': apache2_util.c:204:11: warning: unused variable 'str' [-Wunused-variable] 204 | char *str = NULL; | ^~~ apache2_util.c:203:11: warning: unused variable 'saved' [-Wunused-variable] 203 | char *saved = NULL; | ^~~~~ apache2_util.c:202:11: warning: unused variable 'parse_remote' [-Wunused-variable] 202 | char *parse_remote = NULL; | ^~~~~~~~~~~~ apache2_util.c:201:11: warning: unused variable 'remote' [-Wunused-variable] 201 | char *remote = NULL; | ^~~~~~ In file included from apache2_util.c:15: modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_lua.lo `test -f 'msc_lua.c' || echo './'`msc_lua.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_lua.c -fPIC -DPIC -o .libs/mod_security2_la-msc_lua.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_lua.h:29, from msc_lua.c:17: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_geo.lo `test -f 'msc_geo.c' || echo './'`msc_geo.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_geo.c -fPIC -DPIC -o .libs/mod_security2_la-msc_geo.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_geo.h:39, from msc_geo.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_parsers.lo `test -f 'msc_parsers.c' || echo './'`msc_parsers.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_parsers.c -fPIC -DPIC -o .libs/mod_security2_la-msc_parsers.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_parsers.h:18, from msc_parsers.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-modsecurity.lo `test -f 'modsecurity.c' || echo './'`modsecurity.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c modsecurity.c -fPIC -DPIC -o .libs/mod_security2_la-modsecurity.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' modsecurity.c: In function 'modsecurity_init': modsecurity.c:136:5: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] 136 | tmpnam(auditlog_lock_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ modsecurity.c:158:5: warning: ignoring return value of 'tmpnam' declared with attribute 'warn_unused_result' [-Wunused-result] 158 | tmpnam(geo_lock_name); | ^~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o libinjection/mod_security2_la-libinjection_html5.lo `test -f 'libinjection/libinjection_html5.c' || echo './'`libinjection/libinjection_html5.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c libinjection/libinjection_html5.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_html5.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_remote_rules.lo `test -f 'msc_remote_rules.c' || echo './'`msc_remote_rules.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_remote_rules.c -fPIC -DPIC -o .libs/mod_security2_la-msc_remote_rules.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' 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] 286 | if (msc_status_engine_unique_id(id)) | ^~ | | | char * In file included from msc_remote_rules.c:16: msc_status_engine.h:40:58: note: expected 'unsigned char *' but argument is of type 'char *' 40 | int DSOLOCAL msc_status_engine_unique_id (unsigned char *digest); | ~~~~~~~~~~~~~~~^~~~~~ msc_remote_rules.c: In function 'msc_remote_decrypt': msc_remote_rules.c:541:8: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 541 | iv = chunk->memory; | ^ msc_remote_rules.c:542:10: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 542 | salt = chunk->memory + 16; | ^ msc_remote_rules.c:543:19: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 543 | ciphered_text = chunk->memory + (16 + 16); | ^ msc_remote_rules.c: In function 'msc_remote_add_rules_from_uri': msc_remote_rules.c:716:20: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 716 | plain_text = downloaded_content.memory; | ^ msc_remote_rules.c:717:33: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 717 | plain_text_len = strlen(plain_text); | ^~~~~~~~~~ | | | unsigned char * 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:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msc_remote_rules.c:721:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 721 | plain_text_len = strlen(plain_text); | ^~~~~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msc_remote_rules.c:735:18: warning: pointer targets in assignment from 'unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] 735 | rule = plain_text + start; | ^ msc_remote_rules.c:729:19: warning: unused variable 'word' [-Wunused-variable] 729 | char *word = NULL; | ^~~~ msc_remote_rules.c:727:17: warning: unused variable 'tmp' [-Wunused-variable] 727 | int tmp = len; | ^~~ msc_remote_rules.c:805:1: warning: control reaches end of non-void function [-Wreturn-type] 805 | } | ^ modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_reqbody.lo `test -f 'msc_reqbody.c' || echo './'`msc_reqbody.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_reqbody.c -fPIC -DPIC -o .libs/mod_security2_la-msc_reqbody.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_reqbody.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-persist_dbm.lo `test -f 'persist_dbm.c' || echo './'`persist_dbm.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c persist_dbm.c -fPIC -DPIC -o .libs/mod_security2_la-persist_dbm.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from persist_dbm.h:19, from persist_dbm.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-apache2_io.lo `test -f 'apache2_io.c' || echo './'`apache2_io.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c apache2_io.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_io.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from apache2_io.c:17: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-re_tfns.lo `test -f 're_tfns.c' || echo './'`re_tfns.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c re_tfns.c -fPIC -DPIC -o .libs/mod_security2_la-re_tfns.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_unicode.h:21, from re_tfns.c:21: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-mod_security2.lo `test -f 'mod_security2.c' || echo './'`mod_security2.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c mod_security2.c -fPIC -DPIC -o .libs/mod_security2_la-mod_security2.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from mod_security2.c:20: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_tree.lo `test -f 'msc_tree.c' || echo './'`msc_tree.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_tree.c -fPIC -DPIC -o .libs/mod_security2_la-msc_tree.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' msc_tree.c: In function 'TreeAddIP': msc_tree.c:819:19: warning: unused variable 'ip' [-Wunused-variable] 819 | unsigned long ip, ret; | ^~ In file included from msc_util.h:28, from msc_tree.c:29: modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_crypt.lo `test -f 'msc_crypt.c' || echo './'`msc_crypt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_crypt.c -fPIC -DPIC -o .libs/mod_security2_la-msc_crypt.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' msc_crypt.c: In function 'normalize_path': msc_crypt.c:69:17: warning: unused variable 'bytes' [-Wunused-variable] 69 | int bytes = 0; | ^~~~~ msc_crypt.c: In function 'getkey': msc_crypt.c:160:31: warning: pointer targets in passing argument 1 of 'apr_generate_random_bytes' differ in signedness [-Wpointer-sign] 160 | apr_generate_random_bytes(salt, sizeof(salt)); | ^~~~ | | | char * 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:69: note: expected 'unsigned char *' but argument is of type 'char *' 234 | APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char * buf, | ~~~~~~~~~~~~~~~~^~~ msc_crypt.c:167:31: warning: pointer targets in passing argument 1 of 'apr_generate_random_bytes' differ in signedness [-Wpointer-sign] 167 | apr_generate_random_bytes(salt, sizeof(salt)); | ^~~~ | | | char * /usr/include/apr-1/apr_general.h:234:69: note: expected 'unsigned char *' but argument is of type 'char *' 234 | APR_DECLARE(apr_status_t) apr_generate_random_bytes(unsigned char * buf, | ~~~~~~~~~~~~~~~~^~~ msc_crypt.c: In function 'inject_hashed_response_body': msc_crypt.c:1040:33: warning: variable 'enc' set but not used [-Wunused-but-set-variable] 1040 | xmlCharEncoding enc; | ^~~ msc_crypt.c:1047:29: warning: variable 'enc' set but not used [-Wunused-but-set-variable] 1047 | xmlCharEncoding enc; | ^~~ modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ msc_crypt.c: In function 'inject_hashed_response_body': msc_crypt.c:1054:79: warning: '%s' directive argument is null [-Wformat-overflow=] 1054 | msr_log(msr, 4, "inject_hashed_response_body: Detected encoding type [%s].", encoding); | ^~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_multipart.lo `test -f 'msc_multipart.c' || echo './'`msc_multipart.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_multipart.c -fPIC -DPIC -o .libs/mod_security2_la-msc_multipart.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from msc_multipart.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-re_actions.lo `test -f 're_actions.c' || echo './'`re_actions.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c re_actions.c -fPIC -DPIC -o .libs/mod_security2_la-re_actions.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from re.h:38, from re_actions.c:15: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-apache2_config.lo `test -f 'apache2_config.c' || echo './'`apache2_config.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c apache2_config.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_config.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' apache2_config.c: In function 'add_rule': apache2_config.c:780:9: warning: unused variable 'offset' [-Wunused-variable] 780 | int offset = 0; | ^~~~~~ In file included from apache2_config.c:17: modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_logging.lo `test -f 'msc_logging.c' || echo './'`msc_logging.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_logging.c -fPIC -DPIC -o .libs/mod_security2_la-msc_logging.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' msc_logging.c: In function 'sec_audit_logger_json': msc_logging.c:1128:20: warning: unused variable 'now' [-Wunused-variable] 1128 | 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] 1369 | 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' 5 | #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' 1369 | 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:132:68: note: expected 'const unsigned char *' but argument is of type 'char *' 132 | const unsigned char * str, | ~~~~~~~~~~~~~~~~~~~~~~^~~ msc_logging.c:1447:29: warning: pointer targets in passing argument 2 of 'sec_auditlog_write' differ in signedness [-Wpointer-sign] 1447 | sec_auditlog_write(msr, final_buf, len); | ^~~~~~~~~ | | | const unsigned char * msc_logging.c:37:60: note: expected 'const char *' but argument is of type 'const unsigned char *' 37 | static int sec_auditlog_write(modsec_rec *msr, const char *data, unsigned int len) { | ~~~~~~~~~~~~^~~~ In file included from msc_logging.c:15: modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-msc_util.lo `test -f 'msc_util.c' || echo './'`msc_util.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c msc_util.c -fPIC -DPIC -o .libs/mod_security2_la-msc_util.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' msc_util.c: In function 'utf8_unicode_inplace_ex': msc_util.c:157:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 157 | unicode = apr_psprintf(mp, "%x", d); | ^ msc_util.c:158:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 158 | length = strlen(unicode); | ^~~~~~~ | | | unsigned char * In file included from msc_release.h:19, from modsecurity.h:36, from msc_util.c:15: /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msc_util.c:202:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 202 | unicode = apr_psprintf(mp, "%x", d); | ^ msc_util.c:203:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 203 | length = strlen(unicode); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msc_util.c:254:29: warning: pointer targets in assignment from 'char *' to 'unsigned char *' differ in signedness [-Wpointer-sign] 254 | unicode = apr_psprintf(mp, "%x", d); | ^ msc_util.c:255:37: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 255 | length = strlen(unicode); | ^~~~~~~ | | | unsigned char * /usr/include/string.h:407:35: note: expected 'const char *' but argument is of type 'unsigned char *' 407 | extern size_t strlen (const char *__s) | ~~~~~~~~~~~~^~~ msc_util.c: In function 'ip_tree_from_uri': msc_util.c:2636:11: warning: unused variable 'start' [-Wunused-variable] 2636 | char *start; | ^~~~~ msc_util.c:2635:17: warning: unused variable 'fd' [-Wunused-variable] 2635 | apr_file_t *fd; | ^~ msc_util.c:2633:18: warning: unused variable 'rc' [-Wunused-variable] 2633 | apr_status_t rc; | ^~ modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ In function 'x2c', inlined from 'utf8_unicode_inplace_ex' at msc_util.c:137:29: msc_util.c:1076:19: warning: array subscript 1 is outside array bounds of 'unsigned char[1]' [-Warray-bounds] 1076 | digit += (what[1] >= 'A' ? ((what[1] & 0xdf) - 'A') + 10 : (what[1] - '0')); | ~~~~^~~ msc_util.c: In function 'utf8_unicode_inplace_ex': msc_util.c:109:19: note: at offset 1 into object 'c' of size 1 109 | unsigned char c, *utf; | ^ In file included from /usr/include/stdio.h:964, from modsecurity.h:18: In function 'sprintf', inlined from 'msc_headers_to_buffer' at msc_util.c:2453:17: /usr/include/bits/stdio2.h:30:10: warning: '__sprintf_chk' argument 5 overlaps destination object 'buffer' [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ msc_util.c: In function 'msc_headers_to_buffer': msc_util.c:2428:64: note: destination object referenced by 'restrict'-qualified argument 1 was declared here 2428 | int msc_headers_to_buffer(const apr_array_header_t *arr, char *buffer, | ~~~~~~^~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-re.lo `test -f 're.c' || echo './'`re.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c re.c -fPIC -DPIC -o .libs/mod_security2_la-re.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' 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] 203 | 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] 243 | int name_len = 0, value_len = 0; | ^~~~~~~~~ re.c:243:9: warning: variable 'name_len' set but not used [-Wunused-but-set-variable] 243 | int name_len = 0, value_len = 0; | ^~~~~~~~ In file included from re.h:38, from re.c:17: modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o libinjection/mod_security2_la-libinjection_sqli.lo `test -f 'libinjection/libinjection_sqli.c' || echo './'`libinjection/libinjection_sqli.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c libinjection/libinjection_sqli.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_sqli.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-re_operators.lo `test -f 're_operators.c' || echo './'`re_operators.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c re_operators.c -fPIC -DPIC -o .libs/mod_security2_la-re_operators.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' re_operators.c: In function 'msre_op_fuzzy_hash_init': re_operators.c:3946:1: warning: label 'invalid_parameters' defined but not used [-Wunused-label] 3946 | invalid_parameters: | ^~~~~~~~~~~~~~~~~~ In file included from re_operators.c:15: modsecurity.h: At top level: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mod_security2_la-re_variables.lo `test -f 're_variables.c' || echo './'`re_variables.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c re_variables.c -fPIC -DPIC -o .libs/mod_security2_la-re_variables.o make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' In file included from re_variables.c:17: modsecurity.h:138:13: warning: 'geo_lock_name' defined but not used [-Wunused-variable] 138 | static char geo_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~ modsecurity.h:137:13: warning: 'auditlog_lock_name' defined but not used [-Wunused-variable] 137 | static char auditlog_lock_name[L_tmpnam]; | ^~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/apr-1 -I/usr/include/apr-1 -I/usr/include/httpd -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_LUA -I/usr/include/ -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_APU_CRYPTO -DWITH_REMOTE_RULES -DWITH_YAJL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -no-undefined -module -avoid-version -R /-lpcre -lpthread -lexpat -I/usr/include/libxml2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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 /usr/lib64/libapr-1.la /usr/lib64/libaprutil-1.la -lcurl -I/usr/include/libxml2 -lxml2 -lz -llzma -lm -llua -lm -lpcre -lyajl libtool: link: 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 /usr/lib64/libaprutil-1.so -L/usr/lib64 -lexpat /usr/lib64/libapr-1.so -luuid -lcrypt -lpthread -lcurl -lxml2 -lz -llzma -llua -lm -lpcre -lyajl -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname -Wl,mod_security2.so -o .libs/mod_security2.so libtool: link: ( cd ".libs" && rm -f "mod_security2.la" && ln -s "../mod_security2.la" "mod_security2.la" ) make[2]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/apache2' /usr/bin/ld: /tmp/ccFiyYnk.ltrans1.ltrans.o: in function `.LVL2177': /builddir/build/BUILD/modsecurity-2.9.6/apache2/modsecurity.c:136:(.text+0x8d58): warning: the use of `tmpnam' is dangerous, better use `mkstemp' Making all in mlogc make[1]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/mlogc' 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 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -c -o mlogc-mlogc.o `test -f 'mlogc.c' || echo './'`mlogc.c make[1]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/mlogc' mlogc.c: In function 'thread_worker': mlogc.c:1704:29: warning: 'CURLINFO_SIZE_UPLOAD' is deprecated: since 7.55.0. Use CURLINFO_SIZE_UPLOAD_T [-Wdeprecated-declarations] 1704 | curl_easy_getinfo(curl, CURLINFO_SIZE_UPLOAD, | ^~~~~~~~~~~~~~~~~ In file included from mlogc.c:32: /usr/include/curl/curl.h:2863:3: note: declared here 2863 | CURLINFO_SIZE_UPLOAD CURL_DEPRECATED(7.55.0, "Use CURLINFO_SIZE_UPLOAD_T") | ^~~~~~~~~~~~~~~~~~~~ mlogc.c: In function 'logc_init': mlogc.c:1310:14: warning: 'cmaj' may be used uninitialized [-Wmaybe-uninitialized] 1310 | if (cmaj <= 7 && cmin < 34) { | ~~~~~^~~~ mlogc.c:1210:11: note: 'cmaj' was declared here 1210 | short cmaj, cmin, cpat = 0; | ^~~~ mlogc.c:1310:27: warning: 'cmin' may be used uninitialized [-Wmaybe-uninitialized] 1310 | if (cmaj <= 7 && cmin < 34) { | ~~~~~^~~~ mlogc.c:1210:17: note: 'cmin' was declared here 1210 | short cmaj, cmin, cpat = 0; | ^~~~ make[1]: Entering directory '/builddir/build/BUILD/modsecurity-2.9.6/mlogc' /bin/sh ../libtool --tag=CC --mode=link gcc -I/usr/include/apr-1 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -lpthread -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mlogc mlogc-mlogc.o /usr/lib64/libapr-1.la -lcurl -lpcre libtool: link: gcc -I/usr/include/apr-1 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/apr-1 -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o mlogc mlogc-mlogc.o /usr/lib64/libapr-1.so -luuid -lcrypt -lpthread -lcurl -lpcre make[1]: Leaving directory '/builddir/build/BUILD/modsecurity-2.9.6/mlogc' Making all in tests make[1]: Nothing to be done for 'all'. make[1]: Nothing to be done for 'all-am'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WVNz7t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64 + cd modsecurity-2.9.6 + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/sbin + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/bin + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/lib64/httpd/modules + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/httpd/modsecurity.d/ + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/httpd/modsecurity.d/activated_rules + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/httpd/modsecurity.d/local_rules + install -m0755 apache2/.libs/mod_security2.so /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/lib64/httpd/modules/mod_security2.so + install -Dp -m0644 /builddir/build/SOURCES/10-mod_security.conf /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/httpd/conf.modules.d/10-mod_security.conf + install -Dp -m0644 /builddir/build/SOURCES/mod_security.conf /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/httpd/conf.d/mod_security.conf + sed -i s/Include/IncludeOptional/ /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/httpd/conf.d/mod_security.conf + install -m 700 -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/var/lib/mod_security + install -Dp -m0644 /builddir/build/SOURCES/modsecurity_localrules.conf /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/httpd/modsecurity.d/local_rules/ + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/var/log/mlogc + install -d /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/var/log/mlogc/data + install -m0755 mlogc/mlogc /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/bin/mlogc + install -m0755 mlogc/mlogc-batch-load.pl /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/bin/mlogc-batch-load + install -m0644 mlogc/mlogc-default.conf /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/etc/mlogc.conf + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.9.6-8.ocs23 --unique-debug-suffix -2.9.6-8.ocs23.loongarch64 --unique-debug-src-base mod_security-2.9.6-8.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/modsecurity-2.9.6 extracting debug info from /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/lib64/httpd/modules/mod_security2.so extracting debug info from /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/bin/mlogc 3472 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: mod_security-2.9.6-8.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bHMpul + umask 022 + cd /builddir/build/BUILD + cd modsecurity-2.9.6 + DOCDIR=/builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security + cp -pr CHANGES /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security + cp -pr README.md /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security + cp -pr NOTICE /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.VUD1Ba + umask 022 + cd /builddir/build/BUILD + cd modsecurity-2.9.6 + LICENSEDIR=/builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/licenses/mod_security + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/licenses/mod_security + cp -pr LICENSE /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/licenses/mod_security + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_security) = 2.9.6-8.ocs23 mod_security = 2.9.6-8.ocs23 mod_security(loongarch-64) = 2.9.6-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): httpd-filesystem Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libapr-1.so.0()(64bit) libaprutil-1.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcrypt.so.1()(64bit) libcurl.so.4()(64bit) libexpat.so.1()(64bit) liblua-5.4.so()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libpcre.so.1()(64bit) libuuid.so.1()(64bit) libxml2.so.2()(64bit) 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) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: mod_security-mlogc-2.9.6-8.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.PtX7sb + umask 022 + cd /builddir/build/BUILD + cd modsecurity-2.9.6 + DOCDIR=/builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security-mlogc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security-mlogc + cp -pr mlogc/INSTALL /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64/usr/share/doc/mod_security-mlogc + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_security-mlogc) = 2.9.6-8.ocs23 mod_security-mlogc = 2.9.6-8.ocs23 mod_security-mlogc(loongarch-64) = 2.9.6-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(pre): httpd-filesystem Requires: /usr/bin/perl ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libapr-1.so.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libcurl.so.4()(64bit) libpcre.so.1()(64bit) perl(Digest::MD5) perl(File::Find) perl(File::Spec::Functions) perl(Sys::Hostname) perl(strict) rtld(GNU_HASH) Processing files: mod_security-debugsource-2.9.6-8.ocs23.loongarch64 Provides: mod_security-debugsource = 2.9.6-8.ocs23 mod_security-debugsource(loongarch-64) = 2.9.6-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_security-debuginfo-2.9.6-8.ocs23.loongarch64 Provides: debuginfo(build-id) = 5e21921d1c43490e6e094fda0a264c8f5123251f mod_security-debuginfo = 2.9.6-8.ocs23 mod_security-debuginfo(loongarch-64) = 2.9.6-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_security-debugsource(loongarch-64) = 2.9.6-8.ocs23 Processing files: mod_security-mlogc-debuginfo-2.9.6-8.ocs23.loongarch64 Provides: debuginfo(build-id) = 1f03dac6956952bd4535c2c8cc713c83e09e0450 mod_security-mlogc-debuginfo = 2.9.6-8.ocs23 mod_security-mlogc-debuginfo(loongarch-64) = 2.9.6-8.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_security-debugsource(loongarch-64) = 2.9.6-8.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_security-2.9.6-8.ocs23.loongarch64 Wrote: /builddir/build/RPMS/mod_security-mlogc-2.9.6-8.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mod_security-mlogc-debuginfo-2.9.6-8.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mod_security-2.9.6-8.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mod_security-debugsource-2.9.6-8.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/mod_security-debuginfo-2.9.6-8.ocs23.loongarch64.rpm Child return code was: 0