Mock Version: 2.12 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/mod_evasive.spec'], chrootPath='/var/lib/mock/centos-stream-8-aarch64-1632737205.405942/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.4un2ylpf:/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.4un2ylpf:/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', '0d34cf6afad04d3f9b9ff0db88b995f6', '-D', '/var/lib/mock/centos-stream-8-aarch64-1632737205.405942/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4un2ylpf:/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'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/mod_evasive-1.10.1-31.el8.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/centos-stream-8-aarch64-1632737205.405942/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.4un2ylpf:/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.4un2ylpf:/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', '9ce8f0da50884686baf48e7f77ea3e85', '-D', '/var/lib/mock/centos-stream-8-aarch64-1632737205.405942/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.4un2ylpf:/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'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JGCgJv + 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 . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.iGG02w + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + sed 's/connection->remote_ip/connection->client_ip/' + apxs '-Wc,-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr-1 -I/usr/include/apr-1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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] } ^ mod_evasive24.c: In function 'access_checker': mod_evasive24.c:212:36: warning: implicit declaration of function 'getpid'; did you mean 'getpt'? [-Wimplicit-function-declaration] fprintf(file, "%ld\n", getpid()); ^~~~~~ getpt mod_evasive24.c:212:30: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] fprintf(file, "%ld\n", getpid()); ~~^ ~~~~~~~~ %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] } ^ 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] 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dxkgdx + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64 ++ dirname /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64 + cd mod_evasive + rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64 + mkdir -pm 755 /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/usr/lib64/httpd/modules /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/etc/httpd/conf.d + install -pm 755 .libs/mod_evasive24.so /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/usr/lib64/httpd/modules/ + install -pm 644 /builddir/build/SOURCES/mod_evasive.conf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/etc/httpd/conf.d/ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.10.1-31.el8 --unique-debug-suffix -1.10.1-31.el8.aarch64 --unique-debug-src-base mod_evasive-1.10.1-31.el8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/mod_evasive extracting debug info from /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/usr/lib64/httpd/modules/mod_evasive24.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 36 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mod_evasive-1.10.1-31.el8.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kPQVsw + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + DOCDIR=/builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.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.el8.aarch64/usr/share/doc/mod_evasive + cp -pr README /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/usr/share/doc/mod_evasive + cp -pr LICENSE /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/usr/share/doc/mod_evasive + cp -pr CHANGELOG /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/usr/share/doc/mod_evasive + cp -pr test.pl /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64/usr/share/doc/mod_evasive + exit 0 Provides: config(mod_evasive) = 1.10.1-31.el8 mod_evasive = 1.10.1-31.el8 mod_evasive(aarch-64) = 1.10.1-31.el8 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) rtld(GNU_HASH) Processing files: mod_evasive-debugsource-1.10.1-31.el8.aarch64 Provides: mod_evasive-debugsource = 1.10.1-31.el8 mod_evasive-debugsource(aarch-64) = 1.10.1-31.el8 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.el8.aarch64 Provides: debuginfo(build-id) = 61b3c988a456ca13cfa45fb336e40a58a3832475 mod_evasive-debuginfo = 1.10.1-31.el8 mod_evasive-debuginfo(aarch-64) = 1.10.1-31.el8 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.el8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64 Wrote: /builddir/build/RPMS/mod_evasive-1.10.1-31.el8.aarch64.rpm Wrote: /builddir/build/RPMS/mod_evasive-debugsource-1.10.1-31.el8.aarch64.rpm Wrote: /builddir/build/RPMS/mod_evasive-debuginfo-1.10.1-31.el8.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UAsMhu + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + /usr/bin/rm -rf /builddir/build/BUILDROOT/mod_evasive-1.10.1-31.el8.aarch64 + exit 0 Child return code was: 0