Mock Version: 2.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dovecot-antispam.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587895776.337193/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.zs6gc7q1:/etc/resolv.conf', '--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.zs6gc7q1:/etc/resolv.conf', '--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', 'fb219a0f5b4d43e7977e572d9c0de272', '-D', '/var/lib/mock/epel-7-x86_64-1587895776.337193/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zs6gc7q1:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/dovecot-antispam.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/dovecot-antispam-2.0_2236-1.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/dovecot-antispam.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1587895776.337193/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.zs6gc7q1:/etc/resolv.conf', '--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.zs6gc7q1:/etc/resolv.conf', '--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', 'fafb03f394eb404dbb9342cf0e663e96', '-D', '/var/lib/mock/epel-7-x86_64-1587895776.337193/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.zs6gc7q1:/etc/resolv.conf', '--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', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/dovecot-antispam.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lOMCgd + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dovecot-antispam-c2b451e + /usr/bin/gzip -dc /builddir/build/SOURCES/dovecot-antispam-c2b451e.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd dovecot-antispam-c2b451e + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9OIdd5 + umask 022 + cd /builddir/build/BUILD + cd dovecot-antispam-c2b451e + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + make -j2 cc -DHAVE_CONFIG_H -I/usr/include/dovecot/ -I/usr/include/dovecot/src/ -I/usr/include/dovecot/src/lib/ -I/usr/include/dovecot/src/lib-storage/ -I/usr/include/dovecot/src/lib-mail/ -I/usr/include/dovecot/src/lib-imap/ -I/usr/include/dovecot/src/lib-dict/ -I/usr/include/dovecot/src/lib-index/ -I/usr/include/dovecot/src/imap/ -o dovecot-version dovecot-version.c ./version.sh antispam-version.h ./dovecot-version > dovecot-version.h CC antispam-storage.o CC antispam-plugin.o In file included from antispam-storage.c:3:0: antispam-storage-2.0.c: In function 'antispam_mail_update_keywords': antispam-storage-2.0.c:367:7: warning: 'now_spam_keyword' may be used uninitialized in this function [-Wmaybe-uninitialized] debug(&amail->cfg->dbgcfg, "previous-spam, now-spam: %d, %d\n", ^ CC debug.o CC dspam-exec.o CC crm114-exec.o dspam-exec.c: In function 'call_dspam': dspam-exec.c:132:11: warning: 'class_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] argv[2] = (char *)class_arg; ^ crm114-exec.c: In function 'call_reaver': crm114-exec.c:67:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pipes[1], cfg->crm.sigcfg.signature_hdr, ^ crm114-exec.c:69:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pipes[1], ": ", 2); ^ crm114-exec.c:70:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pipes[1], signature, strlen(signature)); ^ crm114-exec.c:71:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(pipes[1], "\r\n\r\n", 4); ^ crm114-exec.c: In function 'backend_commit': crm114-exec.c:109:11: warning: 'class_arg' may be used uninitialized in this function [-Wmaybe-uninitialized] argv[1] = (char *)class_arg; ^ crm114-exec.c:36:14: note: 'class_arg' was declared here const char *class_arg; ^ CC pipe.o CC spool2dir.o pipe.c: In function 'process_tmpdir': pipe.c:149:7: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, &wanted, sizeof(wanted)); ^ pipe.c: In function 'backend_commit': pipe.c:84:3: warning: 'dest_num' may be used uninitialized in this function [-Wmaybe-uninitialized] for (j = 0; j < dest_num; j++) { ^ pipe.c:38:6: note: 'dest_num' was declared here int dest_num; ^ pipe.c:53:5: warning: 'dest' may be used uninitialized in this function [-Wmaybe-uninitialized] if (!dest) ^ pipe.c:37:9: note: 'dest' was declared here char **dest; ^ CC signature.o LD lib90_antispam_plugin.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dvJdgZ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64 + cd dovecot-antispam-c2b451e Required dovecot version is 1:2.2.36-3.el7_7.1 + echo Required dovecot version is 1:2.2.36-3.el7_7.1 + install -d /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/lib64/dovecot/imap + make -j2 install DESTDIR=/builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64 moduledir=/usr/lib64/dovecot install -p -m 0755 lib90_antispam_plugin.so /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/lib64/dovecot/imap/ + install -m0644 -p -D antispam.7 /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/man/man7/antispam.7 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/dovecot-antispam-c2b451e extracting debug info from /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/lib64/dovecot/imap/lib90_antispam_plugin.so dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 134 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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: dovecot-antispam-2.0_2236-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.15yKMT + umask 022 + cd /builddir/build/BUILD + cd dovecot-antispam-c2b451e + DOCDIR=/builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/doc/dovecot-antispam-2.0_2236 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/doc/dovecot-antispam-2.0_2236 + cp -pr NOTES /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/doc/dovecot-antispam-2.0_2236 + cp -pr README /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/doc/dovecot-antispam-2.0_2236 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PyMikO + umask 022 + cd /builddir/build/BUILD + cd dovecot-antispam-c2b451e + LICENSEDIR=/builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/licenses/dovecot-antispam-2.0_2236 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/licenses/dovecot-antispam-2.0_2236 + cp -pr COPYING /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64/usr/share/licenses/dovecot-antispam-2.0_2236 + exit 0 Provides: dovecot-antispam = 2.0_2236-1.el7 dovecot-antispam(x86-64) = 2.0_2236-1.el7 lib90_antispam_plugin.so()(64bit) 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)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) rtld(GNU_HASH) Processing files: dovecot-antispam-debuginfo-2.0_2236-1.el7.x86_64 Provides: dovecot-antispam-debuginfo = 2.0_2236-1.el7 dovecot-antispam-debuginfo(x86-64) = 2.0_2236-1.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64 Wrote: /builddir/build/RPMS/dovecot-antispam-2.0_2236-1.el7.x86_64.rpm Wrote: /builddir/build/RPMS/dovecot-antispam-debuginfo-2.0_2236-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0ZCNjy + umask 022 + cd /builddir/build/BUILD + cd dovecot-antispam-c2b451e + /usr/bin/rm -rf /builddir/build/BUILDROOT/dovecot-antispam-2.0_2236-1.el7.x86_64 + exit 0 Child return code was: 0