Mock Version: 2.17 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/spamdyke.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64/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=0gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i41hx00y:/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', '--bind=/tmp/mock-resolv.i41hx00y:/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', '89640a398ae24a199ac2782de7beda4e', '-D', '/var/lib/mock/centos+epel-7-x86_64/root', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i41hx00y:/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', '--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/spamdyke.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 Failed to create directory /var/lib/mock/centos+epel-7-x86_64/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos+epel-7-x86_64/root//sys/fs/selinux: Read-only file system Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/spamdyke-5.0.1-4.qt.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/spamdyke.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64/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=0gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i41hx00y:/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', '--bind=/tmp/mock-resolv.i41hx00y:/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', 'f54216d2b6db4e4296ab4126faaf045a', '-D', '/var/lib/mock/centos+epel-7-x86_64/root', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i41hx00y:/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', '--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/spamdyke.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 Failed to create directory /var/lib/mock/centos+epel-7-x86_64/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos+epel-7-x86_64/root//sys/fs/selinux: Read-only file system Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aHwwDV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf spamdyke-5.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/spamdyke-5.0.1.tgz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd spamdyke-5.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (spamdyke-openssl.patch):' Patch #0 (spamdyke-openssl.patch): + /usr/bin/cat /builddir/build/SOURCES/spamdyke-openssl.patch + /usr/bin/patch -p1 --fuzz=0 patching file spamdyke/tls.c + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kjH2SB + umask 022 + cd /builddir/build/BUILD + cd spamdyke-5.0.1 + cd spamdyke + sed -i s/SSL_library_init/OPENSSL_init_ssl/g configure + export CFLAGS=-I/usr/local/include/openssl + CFLAGS=-I/usr/local/include/openssl + export LDFLAGS=-L/usr/local/lib64 + LDFLAGS=-L/usr/local/lib64 + ./configure checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for stdint.h... (cached) yes checking sys/inttypes.h usability... no checking sys/inttypes.h presence... no checking for sys/inttypes.h... no checking for sys/types.h... (cached) yes checking for stdint.h... (cached) yes checking for sys/inttypes.h... (cached) no checking whether time.h and sys/time.h may both be included... yes checking for int16_t... no checking for int32_t... no checking for int64_t... no checking for uint16_t... no checking for uint32_t... no checking for uint64_t... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for struct dirent.d_type... yes checking whether DT_WHT is declared... yes checking whether S_IFWHT is declared... no checking whether INADDR_LOOPBACK is declared... yes checking whether to include debugging symbols (for gdb)... no checking for strip... strip spamdyke checking whether to include excessive debugging output... no checking whether to include some debugging output... yes checking whether to compile with address sanitizer... no checking whether to include configuration tests... yes checking if openssl/ssl.h will include without additional include directories... yes checking for library containing RSA_sign... -lcrypto checking for library containing OPENSSL_init_ssl... -lssl checking for OpenSSL libraries (for TLS support)... yes checking for library containing inet_aton... none required checking for library containing bind... none required checking for library containing inet_ntoa... none required checking for library containing getopt_long... none required checking whether anonymous inner functions are supported by default... yes checking whether struct option is defined in getopt.h... yes checking whether GCC diagnostic pragma directives are supported... yes checking whether pid_t is an unsigned int or an unsigned long... unsigned int checking whether uid_t is an unsigned int or an unsigned long... unsigned int checking whether gid_t is an unsigned int or an unsigned long... unsigned int checking whether time_t is an int or a long... long checking whether int64_ts are supported in a test program... yes checking whether printf()/scanf() uses %ld for 64-bit integers... yes checking whether __func__ is available... yes checking whether socklen_t is available... yes checking whether RLIMIT_AS is available... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h + make gcc -Wall -O2 -funsigned-char -c spamdyke.c gcc -E -Wall -O2 -funsigned-char configuration.c | gcc -Wall -O2 -funsigned-char -x c -c -o configuration.o - gcc -Wall -O2 -funsigned-char -c dns.c gcc -Wall -O2 -funsigned-char -c environment.c gcc -Wall -O2 -funsigned-char -c usage.c gcc -Wall -O2 -funsigned-char -c search_fs.c gcc -Wall -O2 -funsigned-char -c exec.c gcc -Wall -O2 -funsigned-char -c base64.c gcc -Wall -O2 -funsigned-char -c tls.c gcc -Wall -O2 -funsigned-char -c log.c gcc -Wall -O2 -funsigned-char -c config_test.c gcc -Wall -O2 -funsigned-char -c md5.c gcc -Wall -O2 -funsigned-char -c filter.c gcc -Wall -O2 -funsigned-char -c cdb.c gcc -Wall -O2 -funsigned-char -o spamdyke spamdyke.o configuration.o dns.o environment.o usage.o search_fs.o exec.o base64.o tls.o log.o config_test.o md5.o filter.o cdb.o -L/usr/local/lib64 -lssl -lcrypto -lssl strip spamdyke + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.k0jVhQ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64 + cd spamdyke-5.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/bin /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/var/graylist /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/usr/bin /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/etc /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/var + ln -s ../opt/spamdyke/etc /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/etc/spamdyke + ln -s ../opt/spamdyke/var /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/var/spamdyke + touch /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/blacklist_ip /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/blacklist_rdns /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/blacklist_recipients /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/blacklist_senders /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/whitelist_keywords /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/whitelist_rdns /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/whitelist_recipients /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/whitelist_senders + /usr/bin/install -p /builddir/build/SOURCES/spamdyke.conf /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/. + /usr/bin/install -p /builddir/build/SOURCES/blacklist_keywords /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/. + /usr/bin/install -p /builddir/build/SOURCES/whitelist_ip /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/etc/. + /usr/bin/install -p /builddir/build/SOURCES/sd-prune-graylist /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/bin/. + /usr/bin/install -p spamdyke/spamdyke /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/opt/spamdyke/bin/. + ln -s ../../opt/spamdyke/bin/sd-prune-graylist /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/usr/bin/. + ln -s ../../opt/spamdyke/bin/spamdyke /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64/usr/bin/. + /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: spamdyke-5.0.1-4.qt.el7.x86_64 Provides: config(spamdyke) = 5.0.1-4.qt.el7 spamdyke = 5.0.1-4.qt.el7 spamdyke(x86-64) = 5.0.1-4.qt.el7 Requires(interp): /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: /bin/bash 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.7)(64bit) libcrypto.so.1.1()(64bit) libcrypto.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1()(64bit) libssl.so.1.1(OPENSSL_1_1_0)(64bit) libssl.so.1.1(OPENSSL_1_1_1)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64 Wrote: /builddir/build/RPMS/spamdyke-5.0.1-4.qt.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.EIbe1j + umask 022 + cd /builddir/build/BUILD + cd spamdyke-5.0.1 + rm -rf /builddir/build/BUILD/spamdyke-5.0.1 + rm -rf /builddir/build/BUILDROOT/spamdyke-5.0.1-4.qt.el7.x86_64 + exit 0 Child return code was: 0