Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/mod_evasive.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1661538316.659229/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.nxd9n06d:/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.nxd9n06d:/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', 'e00427b5d1fd4a538e3f081452ea83cd', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1661538316.659229/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nxd9n06d:/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 aarch64 --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: aarch64 Building for target aarch64 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 aarch64 --nodeps /builddir/build/SPECS/mod_evasive.spec'], chrootPath='/var/lib/mock/rhel+epel-9-aarch64-1661538316.659229/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.nxd9n06d:/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.nxd9n06d:/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', '23b24c7e8d3e4e0d97fd27be6c08d39e', '-D', '/var/lib/mock/rhel+epel-9-aarch64-1661538316.659229/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nxd9n06d:/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 aarch64 --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: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1549929600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.obc3tj + 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.jNg1CH + 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 -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 -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.9VCnFO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64 + cd mod_evasive + rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64 + mkdir -pm 755 /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/usr/lib64/httpd/modules /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/etc/httpd/conf.d + install -pm 755 .libs/mod_evasive24.so /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/usr/lib64/httpd/modules/ + install -pm 644 /builddir/build/SOURCES/mod_evasive.conf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/etc/httpd/conf.d/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.10.1-31.el9 --unique-debug-suffix -1.10.1-31.el9.aarch64 --unique-debug-src-base mod_evasive-1.10.1-31.el9.aarch64 --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.aarch64/usr/lib64/httpd/modules/mod_evasive24.so extracting debug info from /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/usr/lib64/httpd/modules/mod_evasive24.so original debug info size: 60kB, size after compression: 56kB /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.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kArtvl + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + DOCDIR=/builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/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.aarch64/usr/share/doc/mod_evasive + cp -pr README /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/usr/share/doc/mod_evasive + cp -pr LICENSE /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/usr/share/doc/mod_evasive + cp -pr CHANGELOG /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/usr/share/doc/mod_evasive + cp -pr test.pl /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64/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(aarch-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: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) 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.aarch64 Provides: mod_evasive-debugsource = 1.10.1-31.el9 mod_evasive-debugsource(aarch-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.aarch64 Provides: debuginfo(build-id) = bf3a3a4d08a0570e8fb7f1f6efc69ee15fa3a1c2 mod_evasive-debuginfo = 1.10.1-31.el9 mod_evasive-debuginfo(aarch-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(aarch-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.aarch64 Wrote: /builddir/build/RPMS/mod_evasive-debugsource-1.10.1-31.el9.aarch64.rpm Wrote: /builddir/build/RPMS/mod_evasive-debuginfo-1.10.1-31.el9.aarch64.rpm Wrote: /builddir/build/RPMS/mod_evasive-1.10.1-31.el9.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xRPOjE + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el9.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0