Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/mod_security3.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672096389.844986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.45qulnwf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.45qulnwf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b9279b4613ec4f9d8c0fb96e539689d3', '-D', '/var/lib/mock/fedora-rawhide-i686-1672096389.844986/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.45qulnwf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/mod_security3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 42: Possible unexpanded macro in: Requires: httpd-mmn = %{_httpd_mmn} Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658361600 Wrote: /builddir/build/SRPMS/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.src.rpm RPM build warnings: line 42: Possible unexpanded macro in: Requires: httpd-mmn = %{_httpd_mmn} Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/mod_security3.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672096389.844986/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.45qulnwf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.45qulnwf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '9ea9894e45244fe69ffc5cf62c737703', '-D', '/var/lib/mock/fedora-rawhide-i686-1672096389.844986/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.45qulnwf:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/mod_security3.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.CUYnr4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ModSecurity-apache-0488c77.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'mod_security3-0.0.9 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.diuBuj + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + ./autogen.sh configure.ac:10: installing './compile' configure.ac:8: installing './install-sh' configure.ac:8: installing './missing' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes configure: looking for Apache module support via DSO through APXS configure: found APXS at /usr/bin/apxs checking whether make supports the include directive... yes (GNU style) checking for i686-redhat-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes configure: looking for libmodsecurity checking for msc_init in -lmodsecurity... yes checking for modsecurity/modsecurity.h... yes checking if apache is wanted... yes checking for httpd... /usr/sbin/httpd checking apache modules... in /etc/httpd/modules checking for perl... /usr/bin/perl AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using ::1. Set the 'ServerName' directive globally to suppress this message Found Apache with MPM event, shared. checking for i686-redhat-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating build/apxs-wrapper config.status: creating tests/regression/server_root/conf/httpd.conf config.status: creating tests/regression/misc/40-secRemoteRules.t config.status: creating tests/regression/misc/60-pmfromfile-external.t config.status: creating tests/regression/misc/50-ipmatchfromfile-external.t config.status: creating tests/run-regression-tests.pl config.status: executing depfiles commands + /usr/bin/make -O -j2 V=1 VERBOSE=1 chmod +x build/apxs-wrapper build/apxs-wrapper /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/mod_security3.lo src/mod_security3.c && touch src/mod_security3.slo src/mod_security3.c: In function 'hook_request_early': src/mod_security3.c:294:9: warning: unused variable 'client_port' [-Wunused-variable] 294 | int client_port = r->connection->client_addr->port; | ^~~~~~~~~~~ src/mod_security3.c:293:17: warning: unused variable 'client_ip' [-Wunused-variable] 293 | const char *client_ip = r->connection->client_ip; | ^~~~~~~~~ src/mod_security3.c:287:12: warning: unused variable 'msr' [-Wunused-variable] 287 | msc_t *msr = NULL; | ^~~ src/mod_security3.c: In function 'hook_log_transaction': src/mod_security3.c:420:18: warning: unused variable 'origr' [-Wunused-variable] 420 | request_rec *origr = NULL; | ^~~~~ src/mod_security3.c:419:31: warning: unused variable 'arr' [-Wunused-variable] 419 | const apr_array_header_t *arr = NULL; | ^~~ src/mod_security3.c: In function 'process_request_headers': src/mod_security3.c:503:44: warning: pointer targets in passing argument 2 of 'msc_add_request_header' differ in signedness [-Wpointer-sign] 503 | msc_add_request_header(msr->t, key, val); | ^~~ | | | const char * In file included from /usr/include/modsecurity/modsecurity.h:175, from src/mod_security3.h:5, from src/mod_security3.c:4: /usr/include/modsecurity/transaction.h:660:75: note: expected 'const unsigned char *' but argument is of type 'const char *' 660 | int msc_add_request_header(Transaction *transaction, const unsigned char *key, | ~~~~~~~~~~~~~~~~~~~~~^~~ src/mod_security3.c:503:49: warning: pointer targets in passing argument 3 of 'msc_add_request_header' differ in signedness [-Wpointer-sign] 503 | msc_add_request_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:661:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 661 | const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from src/mod_security3.c:6: src/msc_config.h: At top level: src/msc_config.h:5:20: warning: 'msc_config_modsec_state' declared 'static' but never defined [-Wunused-function] 5 | static const char *msc_config_modsec_state(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~~~ src/msc_config.h:8:20: warning: 'msc_config_load_rules' declared 'static' but never defined [-Wunused-function] 8 | static const char *msc_config_load_rules(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~ src/msc_config.h:11:20: warning: 'msc_config_load_rules_file' declared 'static' but never defined [-Wunused-function] 11 | static const char *msc_config_load_rules_file(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ src/msc_config.h:14:20: warning: 'msc_config_load_rules_remote' declared 'static' but never defined [-Wunused-function] 14 | static const char *msc_config_load_rules_remote(cmd_parms *cmd, void *_dcfg, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mod_security3.c: In function 'msc_apache_cleanup': src/mod_security3.c:109:1: warning: control reaches end of non-void function [-Wreturn-type] 109 | } | ^ /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/msc_config.lo src/msc_config.c && touch src/msc_config.slo In file included from src/msc_filters.h:17, from src/mod_security3.h:37, from src/msc_config.c:2: src/mod_security3.h:78:21: warning: 'msc_module_cleanup' declared 'static' but never defined [-Wunused-function] 78 | static apr_status_t msc_module_cleanup(void *data); | ^~~~~~~~~~~~~~~~~~ src/mod_security3.h:99:12: warning: 'process_request_headers' declared 'static' but never defined [-Wunused-function] 99 | static int process_request_headers(request_rec *r, msc_t *msr); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/msc_filters.lo src/msc_filters.c && touch src/msc_filters.slo src/msc_filters.c: In function 'input_filter': src/msc_filters.c:57:41: warning: pointer targets in passing argument 2 of 'msc_append_request_body' differ in signedness [-Wpointer-sign] 57 | msc_append_request_body(msr->t, data, len); | ^~~~ | | | const char * In file included from /usr/include/modsecurity/modsecurity.h:175, from src/msc_filters.h:2, from src/msc_filters.c:2: /usr/include/modsecurity/transaction.h:673:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 673 | const unsigned char *body, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~ src/msc_filters.c:41:20: warning: unused variable 'n' [-Wunused-variable] 41 | apr_size_t n; | ^ src/msc_filters.c: In function 'output_filter': src/msc_filters.c:102:45: warning: pointer targets in passing argument 2 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 102 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:684:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 684 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/msc_filters.c:102:50: warning: pointer targets in passing argument 3 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 102 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:684:52: note: expected 'const unsigned char *' but argument is of type 'const char *' 684 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/msc_filters.c:111:45: warning: pointer targets in passing argument 2 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 111 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:684:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 684 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~ src/msc_filters.c:111:50: warning: pointer targets in passing argument 3 of 'msc_add_response_header' differ in signedness [-Wpointer-sign] 111 | msc_add_response_header(msr->t, key, val); | ^~~ | | | const char * /usr/include/modsecurity/transaction.h:684:52: note: expected 'const unsigned char *' but argument is of type 'const char *' 684 | const unsigned char *key, const unsigned char *value); | ~~~~~~~~~~~~~~~~~~~~~^~~~~ src/msc_filters.c:136:46: warning: pointer targets in passing argument 2 of 'msc_append_response_body' differ in signedness [-Wpointer-sign] 136 | msc_append_response_body(msr->t, data, len); | ^~~~ | | | const char * /usr/include/modsecurity/transaction.h:696:26: note: expected 'const unsigned char *' but argument is of type 'const char *' 696 | const unsigned char *body, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~ In file included from src/msc_filters.h:17: src/mod_security3.h: At top level: src/mod_security3.h:78:21: warning: 'msc_module_cleanup' declared 'static' but never defined [-Wunused-function] 78 | static apr_status_t msc_module_cleanup(void *data); | ^~~~~~~~~~~~~~~~~~ src/mod_security3.h:99:12: warning: 'process_request_headers' declared 'static' but never defined [-Wunused-function] 99 | static int process_request_headers(request_rec *r, msc_t *msr); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/lib/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -fPIC -O0 -I-L -c -o src/msc_utils.lo src/msc_utils.c && touch src/msc_utils.slo In file included from src/msc_filters.h:17, from src/mod_security3.h:37, from src/msc_utils.h:17, from src/msc_utils.c:2: src/mod_security3.h:78:21: warning: 'msc_module_cleanup' declared 'static' but never defined [-Wunused-function] 78 | static apr_status_t msc_module_cleanup(void *data); | ^~~~~~~~~~~~~~~~~~ src/mod_security3.h:99:12: warning: 'process_request_headers' declared 'static' but never defined [-Wunused-function] 99 | static int process_request_headers(request_rec *r, msc_t *msr); | ^~~~~~~~~~~~~~~~~~~~~~~ src/msc_utils.c: In function 'id': src/msc_utils.c:13:1: warning: control reaches end of non-void function [-Wreturn-type] 13 | } | ^ /usr/lib/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -o src/mod_security3.la -lmodsecurity -rpath /usr/lib/httpd/modules -module -avoid-version src/msc_utils.lo src/msc_filters.lo src/msc_config.lo src/mod_security3.lo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ByyroT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386 ++ dirname /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/etc/httpd/conf.d + mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/lib/httpd/modules + install -m 700 -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/var/lib/mod_security3 + install -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/etc/httpd/modsecurity.d/ + install -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/etc/httpd/modsecurity.d/activated_rules + install -d /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/etc/httpd/modsecurity.d/local_rules + install -Dp -m0644 /builddir/build/SOURCES/10-mod_security3.conf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/etc/httpd/conf.modules.d/10-mod_security3.conf + install -Dp -m0644 /builddir/build/SOURCES/mod_security3.conf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/etc/httpd/conf.d/mod_security3.conf + install -m 755 src/.libs/mod_security3.so /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/lib/httpd/modules + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.0.9-0.20210819git0488c77.1.fc38.2 --unique-debug-suffix -0.0.9-0.20210819git0488c77.1.fc38.2.i386 --unique-debug-src-base mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 extracting debug info from /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/lib/httpd/modules/mod_security3.so original debug info size: 64kB, size after compression: 48kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 57 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZsR3Ak + umask 022 + cd /builddir/build/BUILD + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + DOCDIR=/builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/share/doc/mod_security3 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/share/doc/mod_security3 + cp -pr README.md /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/share/doc/mod_security3 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.72xsX5 + umask 022 + cd /builddir/build/BUILD + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + LICENSEDIR=/builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/share/licenses/mod_security3 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/share/licenses/mod_security3 + cp -pr LICENSE /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386/usr/share/licenses/mod_security3 + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_security3) = 0.0.9-0.20210819git0488c77.1.fc38.2 mod_security3 = 0.0.9-0.20210819git0488c77.1.fc38.2 mod_security3(x86-32) = 0.0.9-0.20210819git0488c77.1.fc38.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libmodsecurity.so.3 rtld(GNU_HASH) Processing files: mod_security3-debugsource-0.0.9-0.20210819git0488c77.1.fc38.2.i686 Provides: mod_security3-debugsource = 0.0.9-0.20210819git0488c77.1.fc38.2 mod_security3-debugsource(x86-32) = 0.0.9-0.20210819git0488c77.1.fc38.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_security3-debuginfo-0.0.9-0.20210819git0488c77.1.fc38.2.i686 Provides: debuginfo(build-id) = e8ac299c6ac4b54bcb5ff5f783b8f0ceb4e47307 mod_security3-debuginfo = 0.0.9-0.20210819git0488c77.1.fc38.2 mod_security3-debuginfo(x86-32) = 0.0.9-0.20210819git0488c77.1.fc38.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_security3-debugsource(x86-32) = 0.0.9-0.20210819git0488c77.1.fc38.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386 Wrote: /builddir/build/RPMS/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i686.rpm Wrote: /builddir/build/RPMS/mod_security3-debuginfo-0.0.9-0.20210819git0488c77.1.fc38.2.i686.rpm Wrote: /builddir/build/RPMS/mod_security3-debugsource-0.0.9-0.20210819git0488c77.1.fc38.2.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.9PbqnI + umask 022 + cd /builddir/build/BUILD + cd ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_security3-0.0.9-0.20210819git0488c77.1.fc38.2.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.MfncAv + umask 022 + cd /builddir/build/BUILD + rm -rf ModSecurity-apache-0488c77f69669584324b70460614a382224b4883 ModSecurity-apache-0488c77f69669584324b70460614a382224b4883.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0