<86>Nov 9 07:52:59 userdel[2140424]: delete user 'rooter' <86>Nov 9 07:52:59 userdel[2140424]: removed group 'rooter' owned by 'rooter' <86>Nov 9 07:52:59 userdel[2140424]: removed shadow group 'rooter' owned by 'rooter' <86>Nov 9 07:52:59 groupadd[2140481]: group added to /etc/group: name=rooter, GID=1817 <86>Nov 9 07:52:59 groupadd[2140481]: group added to /etc/gshadow: name=rooter <86>Nov 9 07:52:59 groupadd[2140481]: new group: name=rooter, GID=1817 <86>Nov 9 07:52:59 useradd[2140522]: new user: name=rooter, UID=1817, GID=1817, home=/root, shell=/bin/bash, from=none <86>Nov 9 07:52:59 userdel[2140599]: delete user 'builder' <86>Nov 9 07:52:59 userdel[2140599]: removed group 'builder' owned by 'builder' <86>Nov 9 07:52:59 userdel[2140599]: removed shadow group 'builder' owned by 'builder' <86>Nov 9 07:52:59 groupadd[2140665]: group added to /etc/group: name=builder, GID=1818 <86>Nov 9 07:52:59 groupadd[2140665]: group added to /etc/gshadow: name=builder <86>Nov 9 07:52:59 groupadd[2140665]: new group: name=builder, GID=1818 <86>Nov 9 07:52:59 useradd[2140711]: 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>Nov 9 07:53:03 rpmi: libapr1-1.7.5-alt1 sisyphus+361190.100.1.1 1730305970 installed <13>Nov 9 07:53:03 rpmi: libidn2-2.3.7-alt1 sisyphus+339505.100.1.2 1706718975 installed <13>Nov 9 07:53:03 rpmi: libnettle8-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Nov 9 07:53:03 rpmi: libexpat-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Nov 9 07:53:03 rpmi: libaprutil1-1.6.3-alt1 sisyphus+358615.100.1.1 1727630862 installed <13>Nov 9 07:53:03 rpmi: libp11-kit-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 07:53:03 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Nov 9 07:53:03 rpmi: libexpat-devel-2.5.0-alt1 sisyphus+346180.200.2.1 1716349845 installed <13>Nov 9 07:53:03 rpmi: libhogweed6-3.9.1-alt1 sisyphus+322548.100.1.2 1686176897 installed <13>Nov 9 07:53:03 rpmi: libgnutls30-3.8.4-alt1 sisyphus+343729.100.2.1 1711570650 installed <13>Nov 9 07:53:03 rpmi: libngtcp2.16-1.7.0-alt1 sisyphus+356415.200.1.1 1725031916 installed <13>Nov 9 07:53:03 rpmi: libngtcp2_crypto_gnutls8-1.7.0-alt1 sisyphus+356415.200.1.1 1725031916 installed <86>Nov 9 07:53:03 groupadd[2156112]: group added to /etc/group: name=crontab, GID=999 <86>Nov 9 07:53:03 groupadd[2156112]: group added to /etc/gshadow: name=crontab <86>Nov 9 07:53:03 groupadd[2156112]: new group: name=crontab, GID=999 <13>Nov 9 07:53:03 rpmi: crontab-control-1.1-alt1 sisyphus+276802.100.1.1 1625236144 installed <13>Nov 9 07:53:03 rpmi: shadow-groups-1:4.16.0-alt2 sisyphus+354711.100.1.1 1723141355 installed <13>Nov 9 07:53:03 rpmi: webserver-common-control-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <86>Nov 9 07:53:03 groupadd[2156378]: group added to /etc/group: name=_webserver, GID=998 <86>Nov 9 07:53:03 groupadd[2156378]: group added to /etc/gshadow: name=_webserver <86>Nov 9 07:53:03 groupadd[2156378]: new group: name=_webserver, GID=998 <86>Nov 9 07:53:03 groupadd[2156409]: group added to /etc/group: name=webmaster, GID=997 <86>Nov 9 07:53:03 groupadd[2156409]: group added to /etc/gshadow: name=webmaster <86>Nov 9 07:53:03 groupadd[2156409]: new group: name=webmaster, GID=997 <13>Nov 9 07:53:03 rpmi: webserver-common-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <13>Nov 9 07:53:03 rpmi: setproctitle-0.3.2-alt3 sisyphus+278100.6300.1.1 1626061075 installed <13>Nov 9 07:53:04 rpmi: vixie-cron-4.1.20060426-alt10.3 sisyphus+302849.200.2.1 1656579734 installed <13>Nov 9 07:53:04 rpmi: crontabs-1.8-alt1 sisyphus+276803.100.1.1 1625236331 installed <13>Nov 9 07:53:04 rpmi: logrotate-3.20.1-alt2 sisyphus+321776.100.2.1 1684960311 installed <13>Nov 9 07:53:04 rpmi: rpm-macros-webserver-common-1.4-alt1 sisyphus+277015.100.1.2 1625347616 installed <13>Nov 9 07:53:04 rpmi: rpm-macros-apache2-3.14-alt1 sisyphus+322310.100.1.1 1685636944 installed <13>Nov 9 07:53:04 rpmi: rpm-build-apache2-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254423 installed <13>Nov 9 07:53:04 rpmi: libpcre3-8.45-alt2 sisyphus+283722.100.1.2 1629848216 installed <13>Nov 9 07:53:04 rpmi: liblz4-1:1.9.4-alt1 sisyphus+309416.100.1.1 1667413000 installed <13>Nov 9 07:53:04 rpmi: libsystemd-1:255.13-alt1 sisyphus+359453.100.2.1 1728651220 installed <13>Nov 9 07:53:04 rpmi: libjansson-2.13.1-alt2 sisyphus+346324.200.2.1 1716448094 installed <13>Nov 9 07:53:04 rpmi: libgdbm-1.8.3-alt10 sisyphus+346222.200.3.2 1716468406 installed <13>Nov 9 07:53:04 rpmi: libdb5.3-5.3.28-alt5.1 sisyphus+331122.100.1.1 1696604428 installed <13>Nov 9 07:53:04 rpmi: perl-DBM-1:5.38.2-alt0.2 sisyphus+344512.40.2.1 1712358153 installed <13>Nov 9 07:53:04 rpmi: publicsuffix-list-dafsa-20240911-alt1 sisyphus+357399.100.1.1 1726160479 installed <13>Nov 9 07:53:04 rpmi: libpsl-0.21.5-alt1 sisyphus+338474.100.1.1 1705684771 installed <13>Nov 9 07:53:04 rpmi: libnghttp3.9-1.5.0-alt1 sisyphus+356415.100.1.1 1725031856 installed <13>Nov 9 07:53:04 rpmi: libnghttp2-1.63.0-alt1 sisyphus+356414.100.1.1 1725031511 installed <13>Nov 9 07:53:04 rpmi: libntlm-1.5-alt1 sisyphus+278100.3300.1.1 1626059663 installed <13>Nov 9 07:53:04 rpmi: libidn-1.37-alt2 sisyphus+300849.100.1.1 1653769693 installed <13>Nov 9 07:53:04 rpmi: libbrotlicommon-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Nov 9 07:53:04 rpmi: libbrotlidec-1.1.0-alt1 sisyphus+328501.100.1.1 1693598420 installed <13>Nov 9 07:53:04 rpmi: openldap-common-2.6.8-alt1 sisyphus+351621.100.1.1 1719420449 installed <13>Nov 9 07:53:04 rpmi: libverto-0.3.2-alt1_1 sisyphus+321176.2200.10.2 1684806164 installed <13>Nov 9 07:53:04 rpmi: liblmdb-0.9.33-alt1 sisyphus+360625.100.1.1 1729819639 installed <13>Nov 9 07:53:04 rpmi: libkeyutils-1.6.3-alt1 sisyphus+346336.200.2.2 1716472658 installed <13>Nov 9 07:53:04 rpmi: libcom_err-1.46.4.0.5.4cda-alt1 sisyphus+283826.100.1.1 1629975361 installed <13>Nov 9 07:53:04 rpmi: libdb4.7-devel-4.7.25-alt13 sisyphus+341099.200.4.1 1709732039 installed <13>Nov 9 07:53:04 rpmi: libuuid-devel-2.39.2-alt1 sisyphus+327286.4500.14.1 1711486360 installed <13>Nov 9 07:53:04 rpmi: libapr1-devel-1.7.5-alt1 sisyphus+361190.100.1.1 1730305970 installed <13>Nov 9 07:53:04 rpmi: condstopstart-common-0.3-alt2.qa1 sisyphus.214740.100 1539558755 installed <13>Nov 9 07:53:04 rpmi: condstopstart-web-0.3-alt2.qa1 sisyphus.214741.100 1539559038 installed <13>Nov 9 07:53:04 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 07:53:04 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Nov 9 07:53:04 rpmi: ca-certificates-2024.07.01-alt1 sisyphus+351897.100.1.1 1719826350 installed <13>Nov 9 07:53:04 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Nov 9 07:53:04 rpmi: p11-kit-trust-1:0.25.5-alt1 sisyphus+352553.100.1.1 1720622586 installed <13>Nov 9 07:53:04 rpmi: libcrypto3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <13>Nov 9 07:53:04 rpmi: libssl3-3.1.7-alt2 sisyphus+359910.100.1.1 1729080696 installed <86>Nov 9 07:53:04 groupadd[2158015]: group added to /etc/group: name=_keytab, GID=996 <86>Nov 9 07:53:04 groupadd[2158015]: group added to /etc/gshadow: name=_keytab <86>Nov 9 07:53:04 groupadd[2158015]: new group: name=_keytab, GID=996 <13>Nov 9 07:53:04 rpmi: libkrb5-1.21.3-alt2 sisyphus+351857.100.1.1 1719735219 installed <86>Nov 9 07:53:04 groupadd[2158208]: group added to /etc/group: name=sasl, GID=995 <86>Nov 9 07:53:04 groupadd[2158208]: group added to /etc/gshadow: name=sasl <86>Nov 9 07:53:04 groupadd[2158208]: new group: name=sasl, GID=995 <13>Nov 9 07:53:04 rpmi: libsasl2-3-2.1.28-alt2 sisyphus+343335.100.1.1 1711112524 installed <13>Nov 9 07:53:04 rpmi: libldap2-2.6.8-alt1 sisyphus+351621.100.1.1 1719420471 installed <13>Nov 9 07:53:04 rpmi: libldap-devel-2.6.8-alt1 sisyphus+351621.100.1.1 1719420471 installed <13>Nov 9 07:53:04 rpmi: libaprutil1-devel-1.6.3-alt1 sisyphus+358615.100.1.1 1727630862 installed <13>Nov 9 07:53:04 rpmi: libgsasl18-2.2.1-alt2 sisyphus+359713.200.2.1 1728905438 installed <13>Nov 9 07:53:04 rpmi: libssh2-1.11.0-alt2 sisyphus+339356.100.1.1 1706593140 installed <13>Nov 9 07:53:04 rpmi: libcurl-8.11.0-alt1 sisyphus+361800.100.1.1 1730881003 installed <86>Nov 9 07:53:04 groupadd[2158637]: group added to /etc/group: name=apache2, GID=994 <86>Nov 9 07:53:04 groupadd[2158637]: group added to /etc/gshadow: name=apache2 <86>Nov 9 07:53:04 groupadd[2158637]: new group: name=apache2, GID=994 <86>Nov 9 07:53:04 useradd[2158681]: new user: name=apache2, UID=999, GID=994, home=/var/www, shell=/dev/null, from=none <86>Nov 9 07:53:04 useradd[2158681]: add 'apache2' to group '_webserver' <86>Nov 9 07:53:04 useradd[2158681]: add 'apache2' to shadow group '_webserver' <13>Nov 9 07:53:04 rpmi: apache2-base-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254423 installed <13>Nov 9 07:53:04 rpmi: apache2-httpd-worker-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254423 installed <13>Nov 9 07:53:04 rpmi: apache2-mods-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254423 installed <13>Nov 9 07:53:04 rpmi: apache2-devel-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254423 installed <13>Nov 9 07:53:04 rpmi: rpm-build-licenses-3.0.0-alt1 sisyphus+241804.100.1.1 1574868053 installed <13>Nov 9 07:53:07 rpmi: libyajl-2.1.0-alt3 sisyphus+322972.100.1.1 1686724493 installed <13>Nov 9 07:53:07 rpmi: libpcre16-8.45-alt2 sisyphus+283722.100.1.2 1629848216 installed <13>Nov 9 07:53:07 rpmi: libreadline7-7.0.3-alt5 sisyphus+328858.200.1.1 1694010663 installed <13>Nov 9 07:53:07 rpmi: pcretest-8.45-alt2 sisyphus+283722.100.1.2 1629848216 installed <13>Nov 9 07:53:07 rpmi: gcc-c++-common-1.4.28-alt1 sisyphus+348678.100.1.1 1716396142 installed <13>Nov 9 07:53:07 rpmi: libstdc++14-devel-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Nov 9 07:53:08 rpmi: gcc14-c++-14.2.1-alt1 sisyphus+360995.100.1.1 1730131612 installed <13>Nov 9 07:53:08 rpmi: bc-1:1.07.1-alt1 sisyphus+346065.200.3.1 1716459102 installed <13>Nov 9 07:53:08 rpmi: libcurl-devel-8.11.0-alt1 sisyphus+361800.100.1.1 1730881003 installed <13>Nov 9 07:53:08 rpmi: gcc-c++-14-alt1 sisyphus+360995.300.1.1 1730139881 installed <13>Nov 9 07:53:08 rpmi: libpcre-devel-8.45-alt2 sisyphus+283722.100.1.2 1629848216 installed <13>Nov 9 07:53:08 rpmi: libyajl-devel-2.1.0-alt3 sisyphus+322972.100.1.1 1686724493 installed <13>Nov 9 07:53:08 rpmi: apache2-httpd-prefork-1:2.4.62-alt1 sisyphus+353898.100.1.1 1722254423 installed <13>Nov 9 07:53:08 rpmi: libxml2-devel-1:2.12.9-alt1 sisyphus+355784.100.1.1 1724333695 installed Building target platforms: i586 Building for target i586 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: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.11874 + 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.11874 + 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 -march=i586 -mtune=generic' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + 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=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --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 i586-alt-linux-gcc... i586-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 i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking for i586-alt-linux-ar... no checking for i586-alt-linux-lib... no checking for i586-alt-linux-link... no checking for ar... ar checking the archiver (ar) interface... ar checking build system type... i586-alt-linux-gnu checking host system type... i586-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 i586-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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-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 i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i586-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 i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-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... 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 i586-alt-linux-gcc... (cached) i586-alt-linux-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether i586-alt-linux-gcc accepts -g... (cached) yes checking for i586-alt-linux-gcc option to accept ISO C89... (cached) none needed checking whether i586-alt-linux-gcc understands -c and -o together... (cached) yes checking dependency style of i586-alt-linux-gcc... (cached) none checking how to run the C preprocessor... i586-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.0 checking if libcurl is linked with gnutls... no configure: using curl v8.11.0 configure: looking for Apache module support via DSO through APXS configure: found apxs at /usr/bin/apxs2 configure: checking httpd version configure: httpd is recent enough checking for libpcre config script... /usr/bin/pcre-config configure: using pcre v8.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 i586-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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c -o mod_security2_la-acmp.lo `test -f 'acmp.c' || echo './'`acmp.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c -o mod_security2_la-apache2_config.lo `test -f 'apache2_config.c' || echo './'`apache2_config.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c -o mod_security2_la-apache2_io.lo `test -f 'apache2_io.c' || echo './'`apache2_io.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c apache2_io.c -fPIC -DPIC -o .libs/mod_security2_la-apache2_io.o libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c -o mod_security2_la-apache2_util.lo `test -f 'apache2_util.c' || echo './'`apache2_util.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c libinjection/libinjection_html5.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_html5.o libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c libinjection/libinjection_sqli.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_sqli.o libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c libinjection/libinjection_xss.c -fPIC -DPIC -o libinjection/.libs/mod_security2_la-libinjection_xss.o libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c -o mod_security2_la-mod_security2.lo `test -f 'mod_security2.c' || echo './'`mod_security2.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c -o mod_security2_la-modsecurity.lo `test -f 'modsecurity.c' || echo './'`modsecurity.c libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -I/usr/include/apu-1 -c modsecurity.c -fPIC -DPIC -o .libs/mod_security2_la-modsecurity.o libtool: compile: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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: i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_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 -march=i586 -mtune=generic -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.11874 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.11874 (%build) Command exited with non-zero status 1 4.41user 3.70system 0:07.41elapsed 109%CPU (0avgtext+0avgdata 31744maxresident)k 0inputs+0outputs (0major+822968minor)pagefaults 0swaps hsh-rebuild: rebuild of `apache2-mod_security-2.9.1-alt1.src.rpm' failed. Command exited with non-zero status 1 4.03user 3.48system 0:21.26elapsed 35%CPU (0avgtext+0avgdata 131656maxresident)k 24inputs+0outputs (0major+330452minor)pagefaults 0swaps