Mock Version: 3.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/postsrsd.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1669673521.290360/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.044oj5qr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.044oj5qr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', '4f6c07b92e41400183f86a050e08db84', '-D', '/var/lib/mock/centos+epel-7-x86_64-1669673521.290360/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.044oj5qr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 x86_64 --nodeps /builddir/build/SPECS/postsrsd.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/postsrsd-1.12.jf1-2.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/postsrsd.spec'], chrootPath='/var/lib/mock/centos+epel-7-x86_64-1669673521.290360/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=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.044oj5qr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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.044oj5qr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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', 'c5762fd43dc6469ab5d02ddfeed6f118', '-D', '/var/lib/mock/centos+epel-7-x86_64-1669673521.290360/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.044oj5qr:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/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 x86_64 --nodeps /builddir/build/SPECS/postsrsd.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Tf6EcF + umask 022 + cd /builddir/build/BUILD + mkdir /builddir/bin + ln -s /usr/bin/cmake3 /builddir/bin/cmake + cd /builddir/build/BUILD + rm -rf postsrsd-1.12.jf1 + /usr/bin/gzip -dc /builddir/build/SOURCES/postsrsd-1.12.jf1.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd postsrsd-1.12.jf1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zJU9jK + umask 022 + cd /builddir/build/BUILD + cd postsrsd-1.12.jf1 + export PATH=/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + PATH=/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + mkdir -p _build + cd _build + cmake .. -DGENERATE_SRS_SECRET=OFF -DUSE_SELINUX=ON -DINIT_FLAVOR=systemd -DCMAKE_BUILD_TYPE=Release '-DCMAKE_C_FLAGS=-std=gnu99 ' -DCMAKE_INSTALL_PREFIX=/usr -- The C compiler identification is GNU 4.8.5 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc - works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Looking for sys/wait.h -- Looking for sys/wait.h - found -- Looking for wait.h -- Looking for wait.h - found -- Looking for sys/time.h -- Looking for sys/time.h - found -- Looking for time.h -- Looking for time.h - found -- Looking for alloca.h -- Looking for alloca.h - found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for close_range -- Looking for close_range - not found -- Looking for close_range -- Looking for close_range - not found -- Check if the system is big endian -- Searching 16 bit integer -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of unsigned short -- Check size of unsigned short - done -- Searching 16 bit integer - Using unsigned short -- Check if the system is big endian - little endian -- Check size of unsigned long -- Check size of unsigned long - done -- Configuring done -- Generating done -- Build files have been written to: /builddir/build/BUILD/postsrsd-1.12.jf1/_build + cd .. + make make -C _build all make[1]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[2]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[3]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' Scanning dependencies of target postsrsd make[3]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[3]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' [ 11%] Building C object CMakeFiles/postsrsd.dir/postsrsd.c.o [ 22%] Building C object CMakeFiles/postsrsd.dir/milter.c.o [ 33%] Building C object CMakeFiles/postsrsd.dir/sha1.c.o [ 44%] Building C object CMakeFiles/postsrsd.dir/srs2.c.o [ 55%] Linking C executable postsrsd make[4]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build/selinux' Compiling targeted postsrsd module /usr/bin/checkmodule: loading policy configuration from tmp/postsrsd.tmp /usr/bin/checkmodule: policy configuration loaded /usr/bin/checkmodule: writing binary representation (version 19) to tmp/postsrsd.mod Creating targeted postsrsd.pp policy package make[4]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build/selinux' make[3]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' [ 55%] Built target postsrsd make[3]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' Scanning dependencies of target postsrsd_tests make[3]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[3]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' [ 66%] Building C object CMakeFiles/postsrsd_tests.dir/tests.c.o [ 77%] Building C object CMakeFiles/postsrsd_tests.dir/sha1.c.o [ 88%] Building C object CMakeFiles/postsrsd_tests.dir/srs2.c.o [100%] Linking C executable postsrsd_tests make[3]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' [100%] Built target postsrsd_tests make[2]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[1]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nHTUaW + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64 + cd postsrsd-1.12.jf1 + export PATH=/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + PATH=/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/builddir/.local/bin:/builddir/bin + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64 /usr/bin/make -C _build install make[1]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[2]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[3]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[3]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' [ 55%] Built target postsrsd make[3]: Entering directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' make[3]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' [100%] Built target postsrsd_tests make[2]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' Install the project... -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/man/man8/postsrsd.8 -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/selinux/packages/postsrsd/postsrsd.pp -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/sbin/postsrsd -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/postsrsd/postsrsd-systemd-launcher -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/doc/postsrsd/README.md -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/doc/postsrsd/README_UPGRADE.md -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/doc/postsrsd/main.cf.ex -- Chroot jail: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/lib/postsrsd -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/etc/default/postsrsd -- Installing: /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/etc/systemd/system/postsrsd.service make[1]: Leaving directory `/builddir/build/BUILD/postsrsd-1.12.jf1/_build' + touch /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64//etc/postsrsd.secret + mkdir -p /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64//usr/lib/systemd/system + mv /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64//etc/systemd/system/postsrsd.service /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64//usr/lib/systemd/system/postsrsd.service + rm -rf /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64//etc/systemd + sed -i 's/^CHROOT=.*/CHROOT=\/run\/postsrsd/' /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64//etc/default/postsrsd + sed -ri -e 's/postsrsd\/default/postsrsd.default/' -e 's/(\[Install\])/RuntimeDirectory=postsrsd\nRuntimeDirectoryMode=0750\n\n\1/' /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64//usr/lib/systemd/system/postsrsd.service + /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/postsrsd-1.12.jf1 extracting debug info from /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/sbin/postsrsd dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 0 CRC32s, 1 CRC32s did match. + /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: postsrsd-1.12.jf1-2.el7.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TRJXz8 + umask 022 + cd /builddir/build/BUILD + cd postsrsd-1.12.jf1 + LICENSEDIR=/builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/licenses/postsrsd-1.12.jf1 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/licenses/postsrsd-1.12.jf1 + cp -pr LICENSE /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64/usr/share/licenses/postsrsd-1.12.jf1 + exit 0 Provides: config(postsrsd) = 1.12.jf1-2.el7 postsrsd = 1.12.jf1-2.el7 postsrsd(x86-64) = 1.12.jf1-2.el7 Requires(interp): /bin/sh /bin/sh /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 policycoreutils systemd Requires(preun): /bin/sh policycoreutils systemd Requires(postun): /bin/sh policycoreutils systemd Requires: /bin/sh 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) libmilter.so.1.0()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) rtld(GNU_HASH) Processing files: postsrsd-debuginfo-1.12.jf1-2.el7.x86_64 Provides: postsrsd-debuginfo = 1.12.jf1-2.el7 postsrsd-debuginfo(x86-64) = 1.12.jf1-2.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/postsrsd-1.12.jf1-2.el7.x86_64 Wrote: /builddir/build/RPMS/postsrsd-1.12.jf1-2.el7.x86_64.rpm Wrote: /builddir/build/RPMS/postsrsd-debuginfo-1.12.jf1-2.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3FGKdK + umask 022 + cd /builddir/build/BUILD + cd postsrsd-1.12.jf1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/postsrsd-1.12.jf1-2.el7.x86_64 + exit 0 Child return code was: 0