Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod24u_evasive.spec'], chrootPath='/var/lib/mock/1130188-epel-7-x86_64-1576540195.340959/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rdof3k6f:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rdof3k6f:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'b714fec10d6b42a694727862ba5838e6', '-D', '/var/lib/mock/1130188-epel-7-x86_64-1576540195.340959/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rdof3k6f:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mod24u_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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 warning: bogus date in %changelog: Fri Jul 14 2016 Mustafa Ramadhan - 1.10.1-7.mr Wrote: /builddir/build/SRPMS/mod24u_evasive-1.10.1-7.kng.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod24u_evasive.spec'], chrootPath='/var/lib/mock/1130188-epel-7-x86_64-1576540195.340959/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rdof3k6f:/etc/resolv.conf']unshare_net=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rdof3k6f:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6cea7541d81944319389ad88b1c1a244', '-D', '/var/lib/mock/1130188-epel-7-x86_64-1576540195.340959/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.rdof3k6f:/etc/resolv.conf', '--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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mod24u_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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 warning: bogus date in %changelog: Fri Jul 14 2016 Mustafa Ramadhan - 1.10.1-7.mr Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.1RUkJU + 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_apache_2.4.tar.gz + /usr/bin/tar -xf - + 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.p6hiLR + umask 022 + cd /builddir/build/BUILD + cd mod_evasive ++ which apxs + /usr/bin/apxs '-Wc,-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' -c mod_evasive24.c /usr/lib64/apr15u-1/build/libtool --silent --mode=compile gcc -std=gnu99 -prefer-pic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -DLINUX -D_REENTRANT -D_GNU_SOURCE -pthread -I/usr/include/httpd -I/usr/include/apr15u-1 -I/usr/include/apr15u-1 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -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:13: warning: implicit declaration of function 'getpid' [-Wimplicit-function-declaration] fprintf(file, "%ld\n", getpid()); ^ mod_evasive24.c:212:13: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Wformat=] 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:21: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] system(filename); ^ /usr/lib64/apr15u-1/build/libtool --silent --mode=link gcc -std=gnu99 -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.91XVMQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64 + cd mod_evasive + rm -rf /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64 + mkdir -pm 755 /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/lib64/httpd/modules /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/etc/httpd/conf.d + install -pm 755 .libs/mod_evasive24.so /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/lib64/httpd/modules/ + install -pm 644 /builddir/build/SOURCES/mod_evasive.conf /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/etc/httpd/conf.d/ + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: mod24u_evasive-1.10.1-7.kng.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bE6U0P + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + DOCDIR=/builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/share/doc/mod24u_evasive-1.10.1 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/share/doc/mod24u_evasive-1.10.1 + cp -pr README /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/share/doc/mod24u_evasive-1.10.1 + cp -pr LICENSE /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/share/doc/mod24u_evasive-1.10.1 + cp -pr CHANGELOG /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/share/doc/mod24u_evasive-1.10.1 + cp -pr test.pl /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64/usr/share/doc/mod24u_evasive-1.10.1 + exit 0 Provides: config(mod24u_evasive) = 1.10.1-7.kng.el7 mod24u_evasive = 1.10.1-7.kng.el7 mod24u_evasive(x86-64) = 1.10.1-7.kng.el7 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.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Obsoletes: mod_evasive Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64 Wrote: /builddir/build/RPMS/mod24u_evasive-1.10.1-7.kng.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.N967qQ + umask 022 + cd /builddir/build/BUILD + cd mod_evasive + rm -rf /builddir/build/BUILDROOT/mod24u_evasive-1.10.1-7.kng.el7.x86_64 + exit 0 Child return code was: 0