<86>Dec 25 02:46:11 userdel[1028325]: delete user 'rooter' <86>Dec 25 02:46:11 userdel[1028325]: removed group 'rooter' owned by 'rooter' <86>Dec 25 02:46:11 userdel[1028325]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 25 02:46:11 groupadd[1028344]: group added to /etc/group: name=rooter, GID=1817 <86>Dec 25 02:46:11 groupadd[1028344]: group added to /etc/gshadow: name=rooter <86>Dec 25 02:46:11 groupadd[1028344]: new group: name=rooter, GID=1817 <86>Dec 25 02:46:11 useradd[1028362]: new user: name=rooter, UID=1817, GID=1817, home=/root, shell=/bin/bash, from=none <86>Dec 25 02:46:11 userdel[1028414]: delete user 'builder' <86>Dec 25 02:46:11 userdel[1028414]: removed group 'builder' owned by 'builder' <86>Dec 25 02:46:11 userdel[1028414]: removed shadow group 'builder' owned by 'builder' <86>Dec 25 02:46:11 groupadd[1028463]: group added to /etc/group: name=builder, GID=1818 <86>Dec 25 02:46:11 groupadd[1028463]: group added to /etc/gshadow: name=builder <86>Dec 25 02:46:11 groupadd[1028463]: new group: name=builder, GID=1818 <86>Dec 25 02:46:11 useradd[1028502]: new user: name=builder, UID=1818, GID=1818, home=/usr/src, shell=/bin/bash, from=none /usr/src/in/srpm/apache2-mod_security-2.9.1-alt1.src.rpm: The use of such a license name is ambiguous: Apache /usr/src/in/srpm/apache2-mod_security-2.9.1-alt1.src.rpm: license not found in '/usr/share/license' directory: 2.0 <13>Dec 25 02:46:15 rpmi: libapr1-1.7.5-alt1 sisyphus+361190.100.1.1 1730305964 installed <13>Dec 25 02:46:15 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718968 installed <13>Dec 25 02:46:15 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 25 02:46:15 rpmi: libexpat-2.6.4-alt1 sisyphus+365521.100.1.1 1734700243 installed <13>Dec 25 02:46:15 rpmi: libaprutil1-1.6.3-alt1 sisyphus+358615.100.1.1 1727630860 installed <13>Dec 25 02:46:15 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 02:46:15 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802615 installed <13>Dec 25 02:46:15 rpmi: libexpat-devel-2.6.4-alt1 sisyphus+365521.100.1.1 1734700243 installed <13>Dec 25 02:46:15 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176879 installed <13>Dec 25 02:46:15 rpmi: libgnutls30-3.8.8-alt2 sisyphus+364832.100.1.1 1734007749 installed <13>Dec 25 02:46:15 rpmi: libngtcp2.16-1.10.0-alt1 sisyphus+366376.200.1.1 1735020753 installed <13>Dec 25 02:46:15 rpmi: libngtcp2_crypto_gnutls8-1.10.0-alt1 sisyphus+366376.200.1.1 1735020753 installed <86>Dec 25 02:46:15 groupadd[1040580]: group added to /etc/group: name=crontab, GID=999 <86>Dec 25 02:46:15 groupadd[1040580]: group added to /etc/gshadow: name=crontab <86>Dec 25 02:46:15 groupadd[1040580]: new group: name=crontab, GID=999 <13>Dec 25 02:46:15 rpmi: crontab-control-1.1-alt1 sisyphus+276802.100.1.1 1625236144 installed <13>Dec 25 02:46:15 rpmi: shadow-groups-1:4.16.0-alt2 sisyphus+354711.100.1.1 1723141352 installed <13>Dec 25 02:46:15 rpmi: webserver-common-control-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <86>Dec 25 02:46:15 groupadd[1040709]: group added to /etc/group: name=_webserver, GID=998 <86>Dec 25 02:46:15 groupadd[1040709]: group added to /etc/gshadow: name=_webserver <86>Dec 25 02:46:15 groupadd[1040709]: new group: name=_webserver, GID=998 <86>Dec 25 02:46:15 groupadd[1040729]: group added to /etc/group: name=webmaster, GID=997 <86>Dec 25 02:46:15 groupadd[1040729]: group added to /etc/gshadow: name=webmaster <86>Dec 25 02:46:15 groupadd[1040729]: new group: name=webmaster, GID=997 <13>Dec 25 02:46:15 rpmi: webserver-common-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <13>Dec 25 02:46:15 rpmi: setproctitle-0.3.2-alt3 sisyphus+278100.6300.1.1 1626060226 installed <13>Dec 25 02:46:15 rpmi: vixie-cron-4.1.20060426-alt10.3 sisyphus+302849.200.2.1 1656579733 installed <13>Dec 25 02:46:15 rpmi: crontabs-1.8-alt1 sisyphus+276803.100.1.1 1625236331 installed <13>Dec 25 02:46:15 rpmi: logrotate-3.20.1-alt2 sisyphus+321776.100.2.1 1684960309 installed <13>Dec 25 02:46:15 rpmi: rpm-macros-webserver-common-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <13>Dec 25 02:46:15 rpmi: rpm-macros-apache2-3.14-alt1 sisyphus+322310.100.1.1 1685636944 installed <13>Dec 25 02:46:15 rpmi: rpm-build-apache2-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254415 installed <13>Dec 25 02:46:15 rpmi: libpcre3-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Dec 25 02:46:15 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667412981 installed <13>Dec 25 02:46:15 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651180 installed <13>Dec 25 02:46:15 rpmi: libjansson4-2.14-alt4 sisyphus+364036.100.1.1 1733300317 installed <13>Dec 25 02:46:15 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468404 installed <13>Dec 25 02:46:15 rpmi: libdb5.3-5.3.28-alt5.1 sisyphus+331122.100.1.1 1696604420 installed <13>Dec 25 02:46:15 rpmi: perl-DBM-1:5.38.2-alt0.2 sisyphus+344512.40.2.1 1712358015 installed <13>Dec 25 02:46:15 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Dec 25 02:46:15 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684769 installed <13>Dec 25 02:46:15 rpmi: libnghttp3.9-1.7.0-alt1 sisyphus+366376.100.1.1 1735020696 installed <13>Dec 25 02:46:15 rpmi: libnghttp2-1.64.0-alt1 sisyphus+363795.200.2.1 1733118555 installed <13>Dec 25 02:46:15 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626058899 installed <13>Dec 25 02:46:15 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769687 installed <13>Dec 25 02:46:15 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 02:46:15 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598419 installed <13>Dec 25 02:46:15 rpmi: openldap-common-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 25 02:46:15 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684803947 installed <13>Dec 25 02:46:15 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819640 installed <13>Dec 25 02:46:15 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Dec 25 02:46:15 rpmi: libcom_err-1.47.1.0.10.ad56-alt2 sisyphus+363497.200.3.1 1732729908 installed <13>Dec 25 02:46:15 rpmi: libdb4.7-devel-4.7.25-alt13 sisyphus+341099.200.4.1 1709732031 installed <13>Dec 25 02:46:15 rpmi: libuuid-devel-2.39.2-alt1 sisyphus+327286.4500.14.1 1711486324 installed <13>Dec 25 02:46:15 rpmi: libapr1-devel-1.7.5-alt1 sisyphus+361190.100.1.1 1730305964 installed <13>Dec 25 02:46:15 rpmi: condstopstart-common-0.3-alt2.qa1 sisyphus.214740.100 1539558755 installed <13>Dec 25 02:46:15 rpmi: condstopstart-web-0.3-alt2.qa1 sisyphus.214741.100 1539559038 installed <13>Dec 25 02:46:15 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 02:46:15 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Dec 25 02:46:15 rpmi: ca-certificates-2024.12.10-alt1 sisyphus+364633.200.3.1 1733918603 installed <13>Dec 25 02:46:15 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Dec 25 02:46:15 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622573 installed <13>Dec 25 02:46:15 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <13>Dec 25 02:46:15 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080439 installed <86>Dec 25 02:46:15 groupadd[1042114]: group added to /etc/group: name=_keytab, GID=996 <86>Dec 25 02:46:15 groupadd[1042114]: group added to /etc/gshadow: name=_keytab <86>Dec 25 02:46:15 groupadd[1042114]: new group: name=_keytab, GID=996 <13>Dec 25 02:46:15 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735141 installed <86>Dec 25 02:46:15 groupadd[1042402]: group added to /etc/group: name=sasl, GID=995 <86>Dec 25 02:46:15 groupadd[1042402]: group added to /etc/gshadow: name=sasl <86>Dec 25 02:46:15 groupadd[1042402]: new group: name=sasl, GID=995 <13>Dec 25 02:46:15 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112544 installed <13>Dec 25 02:46:15 rpmi: libldap2-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 25 02:46:16 rpmi: libldap-devel-2.6.9-alt1 sisyphus+364781.100.1.1 1733971238 installed <13>Dec 25 02:46:16 rpmi: libaprutil1-devel-1.6.3-alt1 sisyphus+358615.100.1.1 1727630860 installed <13>Dec 25 02:46:16 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905430 installed <13>Dec 25 02:46:16 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593137 installed <13>Dec 25 02:46:16 rpmi: libcurl-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <86>Dec 25 02:46:16 groupadd[1042964]: group added to /etc/group: name=apache2, GID=994 <86>Dec 25 02:46:16 groupadd[1042964]: group added to /etc/gshadow: name=apache2 <86>Dec 25 02:46:16 groupadd[1042964]: new group: name=apache2, GID=994 <86>Dec 25 02:46:16 useradd[1043013]: new user: name=apache2, UID=999, GID=994, home=/var/www, shell=/dev/null, from=none <86>Dec 25 02:46:16 useradd[1043013]: add 'apache2' to group '_webserver' <86>Dec 25 02:46:16 useradd[1043013]: add 'apache2' to shadow group '_webserver' <13>Dec 25 02:46:16 rpmi: apache2-base-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254415 installed <13>Dec 25 02:46:16 rpmi: apache2-httpd-worker-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254415 installed <13>Dec 25 02:46:16 rpmi: apache2-mods-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254415 installed <13>Dec 25 02:46:16 rpmi: apache2-devel-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254415 installed <13>Dec 25 02:46:16 rpmi: rpm-build-licenses-3.0.0-alt1 sisyphus+241804.100.1.1 1574868053 installed <13>Dec 25 02:46:18 rpmi: libyajl-2.1.0-alt3 sisyphus+322972.100.1.1 1686724493 installed <13>Dec 25 02:46:18 rpmi: libpcre16-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Dec 25 02:46:18 rpmi: libreadline7-7.0.3-alt5 sisyphus+328858.200.1.1 1694010737 installed <13>Dec 25 02:46:18 rpmi: pcretest-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Dec 25 02:46:18 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Dec 25 02:46:19 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 25 02:46:19 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131018 installed <13>Dec 25 02:46:19 rpmi: bc-1:1.07.1-alt1 sisyphus+346065.200.3.1 1716459102 installed <13>Dec 25 02:46:19 rpmi: libcurl-devel-8.11.1-alt1 sisyphus+364692.100.1.1 1733905204 installed <13>Dec 25 02:46:19 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139222 installed <13>Dec 25 02:46:19 rpmi: libpcre-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848198 installed <13>Dec 25 02:46:19 rpmi: libyajl-devel-2.1.0-alt3 sisyphus+322972.100.1.1 1686724493 installed <13>Dec 25 02:46:19 rpmi: apache2-httpd-prefork-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254415 installed <13>Dec 25 02:46:19 rpmi: libxml2-devel-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333686 installed Building target platforms: x86_64 Building for target x86_64 Wrote: /usr/src/in/nosrpm/apache2-mod_security-2.9.1-alt1.nosrc.rpm (w1.gzdio) Installing apache2-mod_security-2.9.1-alt1.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.32133 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf modsecurity + echo 'Source #0 (modsecurity.tar):' Source #0 (modsecurity.tar): + /bin/tar -xf /usr/src/RPM/SOURCES/modsecurity.tar + cd modsecurity + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.32133 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd modsecurity + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS= + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + echo 'rpm-build: warning: ./configure script does not support --runstatedir' rpm-build: warning: ./configure script does not support --runstatedir + ./configure --build=x86_64-alt-linux --host=x86_64-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --with-apxs=/usr/bin/apxs2 --with-apr=/usr/bin/apr-1-config --enable-pcre-match-limit=1000000 --enable-pcre-match-limit-recursion=1000000 --with-yajl configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for x86_64-alt-linux-gcc... x86_64-alt-linux-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-alt-linux-gcc accepts -g... yes checking for x86_64-alt-linux-gcc option to accept ISO C89... none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... yes checking dependency style of x86_64-alt-linux-gcc... none checking for x86_64-alt-linux-ar... no checking for x86_64-alt-linux-lib... no checking for x86_64-alt-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... x86_64-alt-linux-gnu checking host system type... x86_64-alt-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /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 x86_64-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-alt-linux-gnu file names to x86_64-alt-linux-gnu format... func_convert_file_noop checking how to convert x86_64-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for x86_64-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-alt-linux-ar... ar checking for archiver @FILE support... @ checking for x86_64-alt-linux-strip... no checking for strip... strip checking for x86_64-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from x86_64-alt-linux-gcc object... ok checking for sysroot... no checking for x86_64-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-alt-linux-gcc static flag -static works... no checking if x86_64-alt-linux-gcc supports -c -o file.o... yes checking if x86_64-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-alt-linux-gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... yes checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gawk... (cached) gawk checking for x86_64-alt-linux-gcc... (cached) x86_64-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-alt-linux-gcc accepts -g... (cached) yes checking for x86_64-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-alt-linux-gcc... (cached) none checking how to run the C preprocessor... x86_64-alt-linux-gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for perl... /usr/bin/perl checking for env... /usr/bin/env checking for ANSI C header files... (cached) yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/utsname.h usability... yes checking sys/utsname.h presence... yes checking for sys/utsname.h... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for C/C++ restrict keyword... __restrict checking for pid_t... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for atexit... yes checking for getcwd... yes checking for memmove... yes checking for memset... yes checking for strcasecmp... yes checking for strchr... yes checking for strdup... yes checking for strerror... yes checking for strncasecmp... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for fchmod... yes checking for strcasestr... yes Checking platform... Identified as Linux checking for libcurl config script... /usr/bin/curl-config ./configure: line 13855: test: : integer expression expected ./configure: line 13858: test: : integer expression expected ./configure: line 13861: test: : integer expression expected checking if libcurl is at least v... yes, 8.11.1 checking if libcurl is linked with gnutls... no configure: using curl v8.11.1 configure: looking for Apache module support via DSO through APXS configure: found apxs at /usr/bin/apxs2 configure: checking httpd version configure: httpd is recent enough checking for libpcre config script... /usr/bin/pcre-config configure: using pcre v8.45 checking for libapr config script... /usr/bin/apr-1-config configure: using apr v1.7.5 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.12.9 configure: using libxml2 v2.12.9 checking for x86_64-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for liblua config script... no checking for lua install... no configure: optional lua library not found checking for libyajl config script... /usr/bin/pkg-config configure: using yajl v2.1.0 checking for ssdeep path... no configure: optional ssdeep library not found configure: WARNING: APR util was not compiled with crypto support. SecRemoteRule will not support the parameter 'crypto' checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating tools/Makefile config.status: creating apache2/Makefile config.status: creating build/apxs-wrapper config.status: creating mlogc/mlogc-batch-load.pl config.status: creating tests/regression/misc/40-secRemoteRules.t config.status: creating tests/regression/misc/50-ipmatchfromfile-external.t config.status: creating tests/regression/misc/60-pmfromfile-external.t config.status: creating tests/run-unit-tests.pl config.status: creating tests/run-regression-tests.pl config.status: creating tests/gen_rx-pm.pl config.status: creating tests/csv_rx-pm.pl config.status: creating tests/regression/server_root/conf/httpd.conf config.status: creating tools/rules-updater.pl config.status: creating mlogc/Makefile config.status: creating tests/Makefile config.status: creating apache2/modsecurity_config_auto.h config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --without-included-gettext + sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool + sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool + make make: Entering directory '/usr/src/RPM/BUILD/modsecurity' Making all in tools make[1]: Entering directory '/usr/src/RPM/BUILD/modsecurity/tools' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/tools' Making all in apache2 make[1]: Entering directory '/usr/src/RPM/BUILD/modsecurity/apache2' make all-am make[2]: Entering directory '/usr/src/RPM/BUILD/modsecurity/apache2' /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o mod_security2_la-acmp.lo `test -f 'acmp.c' || echo './'`acmp.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c acmp.c -fPIC -DPIC -o .libs/mod_security2_la-acmp.o acmp.c:258:13: warning: 'acmp_clone_node_no_state' defined but not used [-Wunused-function] 258 | static void acmp_clone_node_no_state(acmp_node_t *from, acmp_node_t *to) { | ^~~~~~~~~~~~~~~~~~~~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c acmp.c -o mod_security2_la-acmp.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o mod_security2_la-apache2_config.lo `test -f 'apache2_config.c' || echo './'`apache2_config.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c apache2_config.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_config.o apache2_config.c: In function 'add_rule': apache2_config.c:771:9: warning: unused variable 'offset' [-Wunused-variable] 771 | int offset = 0; | ^~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c apache2_config.c -o mod_security2_la-apache2_config.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o mod_security2_la-apache2_io.lo `test -f 'apache2_io.c' || echo './'`apache2_io.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c apache2_io.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_io.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c apache2_io.c -o mod_security2_la-apache2_io.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o mod_security2_la-apache2_util.lo `test -f 'apache2_util.c' || echo './'`apache2_util.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c apache2_util.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_util.o apache2_util.c: In function 'internal_log_ex': apache2_util.c:204:11: warning: unused variable 'str' [-Wunused-variable] 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; | ^~~~~~ libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c apache2_util.c -o mod_security2_la-apache2_util.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o libinjection/mod_security2_la-libinjection_html5.lo `test -f 'libinjection/libinjection_html5.c' || echo './'`libinjection/libinjection_html5.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c libinjection/libinjection_html5.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_html5.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c libinjection/libinjection_html5.c -o libinjection/mod_security2_la-libinjection_html5.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o libinjection/mod_security2_la-libinjection_sqli.lo `test -f 'libinjection/libinjection_sqli.c' || echo './'`libinjection/libinjection_sqli.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c libinjection/libinjection_sqli.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_sqli.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c libinjection/libinjection_sqli.c -o libinjection/mod_security2_la-libinjection_sqli.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o libinjection/mod_security2_la-libinjection_xss.lo `test -f 'libinjection/libinjection_xss.c' || echo './'`libinjection/libinjection_xss.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c libinjection/libinjection_xss.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_xss.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c libinjection/libinjection_xss.c -o libinjection/mod_security2_la-libinjection_xss.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o mod_security2_la-mod_security2.lo `test -f 'mod_security2.c' || echo './'`mod_security2.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c mod_security2.c -fPIC -DPIC -o .libs/mod_security2_la-mod_security2.o mod_security2.c: In function 'hook_connection_early': mod_security2.c:1548:47: warning: comparison of constant '2' with boolean expression is always false [-Wbool-compare] 1548 | if (!conn_limits_filter_state == MODSEC_ENABLED) | ^~ mod_security2.c:1548:47: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] mod_security2.c:1548:21: note: add parentheses around left hand side expression to silence this warning 1548 | if (!conn_limits_filter_state == MODSEC_ENABLED) | ^~~~~~~~~~~~~~~~~~~~~~~~~ | ( ) libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c mod_security2.c -o mod_security2_la-mod_security2.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o mod_security2_la-modsecurity.lo `test -f 'modsecurity.c' || echo './'`modsecurity.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c modsecurity.c -fPIC -DPIC -o .libs/mod_security2_la-modsecurity.o libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c modsecurity.c -o mod_security2_la-modsecurity.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CC --mode=compile x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c -o mod_security2_la-msc_status_engine.lo `test -f 'msc_status_engine.c' || echo './'`msc_status_engine.c libtool: compile: x86_64-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include/apr-1 -I/usr/include/apu-1 -I/usr/include/apache2 -DWITH_CURL_SSLVERSION_TLSv1_2 -DWITH_CURL -I/usr/include/libxml2 -DWITH_PCRE_STUDY -DMODSEC_PCRE_MATCH_LIMIT=1000000 -DMODSEC_PCRE_MATCH_LIMIT_RECURSION=1000000 -DREQUEST_EARLY -DWITH_REMOTE_RULES -I/usr/include/pcre -DWITH_YAJL -I/usr/include/yajl -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -I/usr/include/apu-1 -c msc_status_engine.c -fPIC -DPIC -o .libs/mod_security2_la-msc_status_engine.o msc_status_engine.c: In function 'msc_status_engine_mac_address': msc_status_engine.c:198:10: error: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 198 | if ( ioctl( sock, SIOCGIFCONF, &conf )) { | ^~~~~ msc_status_engine.c:215:26: warning: pointer targets in passing argument 1 of 'apr_snprintf' differ in signedness [-Wpointer-sign] 215 | 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:209:17: warning: unused variable 'i' [-Wunused-variable] 209 | int i = 0; | ^ msc_status_engine.c: In function 'msc_status_engine_unique_id': msc_status_engine.c:314:51: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] 314 | 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:314:31: warning: pointer targets in passing argument 2 of 'apr_sha1_update' differ in signedness [-Wpointer-sign] 314 | 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/apu-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:319:17: warning: pointer targets in passing argument 1 of 'sprintf' differ in signedness [-Wpointer-sign] 319 | 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:170, from msc_status_engine.h:18: /usr/include/bits/stdio2.h:28:1: note: expected 'char *' 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:363:55: warning: the address of 'pcre' will always evaluate as 'true' [-Waddress] 363 | (apr_loaded ? strlen(apr_loaded) : 6) + (pcre ? strlen(pcre) : 6) + | ^ msc_status_engine.c:376:37: warning: pointer targets in passing argument 1 of 'msc_status_engine_unique_id' differ in signedness [-Wpointer-sign] 376 | if (msc_status_engine_unique_id(id)) { | ^~ | | | char * msc_status_engine.c:280:58: note: expected 'unsigned char *' but argument is of type 'char *' 280 | int DSOLOCAL msc_status_engine_unique_id (unsigned char *digest) | ~~~~~~~~~~~~~~~^~~~~~ msc_status_engine.c: In function 'msc_status_engine_call': msc_status_engine.c:478:9: error: implicit declaration of function 'gethostbyname'; did you mean 'gethostname'? [-Wimplicit-function-declaration] 478 | if (gethostbyname(hostname)) { | ^~~~~~~~~~~~~ | gethostname make[2]: *** [Makefile:816: mod_security2_la-msc_status_engine.lo] Error 1 make[2]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/apache2' make[1]: *** [Makefile:580: all] Error 2 make[1]: Leaving directory '/usr/src/RPM/BUILD/modsecurity/apache2' make: *** [Makefile:489: all-recursive] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/modsecurity' error: Bad exit status from /usr/src/tmp/rpm-tmp.32133 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.32133 (%build) Command exited with non-zero status 1 3.43user 3.97system 0:06.73elapsed 109%CPU (0avgtext+0avgdata 41328maxresident)k 0inputs+0outputs (0major+845616minor)pagefaults 0swaps hsh-rebuild: rebuild of `apache2-mod_security-2.9.1-alt1.src.rpm' failed. Command exited with non-zero status 1 4.71user 3.31system 0:20.40elapsed 39%CPU (0avgtext+0avgdata 136124maxresident)k 536inputs+0outputs (0major+333462minor)pagefaults 0swaps