Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/mod_evasive.spec'], chrootPath='/var/lib/mock/rhel+epel-9-ppc64le-1661538315.965152/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.tk5ivvt0:/etc/resolv.conf', '--bind=/dev/btrfs-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.tk5ivvt0:/etc/resolv.conf', '--bind=/dev/btrfs-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', '2fa1eb25b4d24248a931dfd73f7a170c', '-D', '/var/lib/mock/rhel+epel-9-ppc64le-1661538315.965152/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tk5ivvt0:/etc/resolv.conf', '--bind=/dev/btrfs-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 ppc64le --nodeps /builddir/build/SPECS/mod_evasive.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1549929600 Wrote: /builddir/build/SRPMS/mod_evasive-1.10.1-31.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/mod_evasive.spec'], chrootPath='/var/lib/mock/rhel+epel-9-ppc64le-1661538315.965152/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.tk5ivvt0:/etc/resolv.conf', '--bind=/dev/btrfs-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.tk5ivvt0:/etc/resolv.conf', '--bind=/dev/btrfs-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', '8e020560ea794e09985351502015cd68', '-D', '/var/lib/mock/rhel+epel-9-ppc64le-1661538315.965152/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tk5ivvt0:/etc/resolv.conf', '--bind=/dev/btrfs-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 ppc64le --nodeps /builddir/build/SPECS/mod_evasive.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: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1549929600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tDlNin + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mod_evasive + /usr/bin/gzip -dc /builddir/build/SOURCES/mod_evasive_1.10.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mod_evasive + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.dLeQeV + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + sed 's/connection->remote_ip/connection->client_ip/' + apxs '-Wc,-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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' -c mod_evasive24.c /usr/lib64/apr-1/build/libtool --silent --mode=compile gcc -prefer-pic -O2 -g -Wall -DLINUX -D_REENTRANT -D_GNU_SOURCE -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -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 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -c -o mod_evasive24.lo mod_evasive24.c && touch mod_evasive24.slo mod_evasive24.c: In function 'create_hit_list': mod_evasive24.c:118:1: warning: no return statement in function returning non-void [-Wreturn-type] 118 | } | ^ mod_evasive24.c: In function 'access_checker': mod_evasive24.c:212:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type '__pid_t' {aka 'int'} [-Wformat=] 212 | fprintf(file, "%ld\n", getpid()); | ~~^ ~~~~~~~~ | | | | | __pid_t {aka int} | long int | %d mod_evasive24.c: In function 'destroy_hit_list': mod_evasive24.c:301:1: warning: no return statement in function returning non-void [-Wreturn-type] 301 | } | ^ mod_evasive24.c: In function 'access_checker': mod_evasive24.c:229:15: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 229 | system(filename); | ^~~~~~~~~~~~~~~~ /usr/lib64/apr-1/build/libtool --silent --mode=link gcc -Wl,-z,relro,-z,now -o mod_evasive24.la -rpath /usr/lib64/httpd/modules -module -avoid-version mod_evasive24.lo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lhKzXg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le + cd mod_evasive + rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le + mkdir -pm 755 /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/lib64/httpd/modules /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/etc/httpd/conf.d + install -pm 755 .libs/mod_evasive24.so /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/lib64/httpd/modules/ + install -pm 644 /builddir/build/SOURCES/mod_evasive.conf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/etc/httpd/conf.d/ + /usr/lib/rpm/find-debuginfo.sh -j5 --strict-build-id -m -i --build-id-seed 1.10.1-31.el9 --unique-debug-suffix -1.10.1-31.el9.ppc64le --unique-debug-src-base mod_evasive-1.10.1-31.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mod_evasive explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/lib64/httpd/modules/mod_evasive24.so extracting debug info from /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/lib64/httpd/modules/mod_evasive24.so original debug info size: 64kB, size after compression: 64kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 36 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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mod_evasive-1.10.1-31.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.c1vO4F + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + DOCDIR=/builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/share/doc/mod_evasive + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/share/doc/mod_evasive + cp -pr README /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/share/doc/mod_evasive + cp -pr LICENSE /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/share/doc/mod_evasive + cp -pr CHANGELOG /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/share/doc/mod_evasive + cp -pr test.pl /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le/usr/share/doc/mod_evasive + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(mod_evasive) = 1.10.1-31.el9 mod_evasive = 1.10.1-31.el9 mod_evasive(ppc-64) = 1.10.1-31.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) rtld(GNU_HASH) Processing files: mod_evasive-debugsource-1.10.1-31.el9.ppc64le Provides: mod_evasive-debugsource = 1.10.1-31.el9 mod_evasive-debugsource(ppc-64) = 1.10.1-31.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mod_evasive-debuginfo-1.10.1-31.el9.ppc64le Provides: debuginfo(build-id) = ff46e96b5870492eb3837ff3425ea41929cb2afb mod_evasive-debuginfo = 1.10.1-31.el9 mod_evasive-debuginfo(ppc-64) = 1.10.1-31.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: mod_evasive-debugsource(ppc-64) = 1.10.1-31.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le Wrote: /builddir/build/RPMS/mod_evasive-debugsource-1.10.1-31.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/mod_evasive-1.10.1-31.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/mod_evasive-debuginfo-1.10.1-31.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.KvnYst + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0