Mock Version: 2.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/go-mmproxy.spec'], chrootPath='/var/lib/mock/1326327-epel-8-x86_64-1585853899.009394/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', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ohhlxveq:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ohhlxveq:/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', '3255fd64ad5341439980b607fc862988', '-D', '/var/lib/mock/1326327-epel-8-x86_64-1585853899.009394/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ohhlxveq:/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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/go-mmproxy.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 Wrote: /builddir/build/SRPMS/go-mmproxy-1.0-2.el8.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/go-mmproxy.spec'], chrootPath='/var/lib/mock/1326327-epel-8-x86_64-1585853899.009394/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', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ohhlxveq:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ohhlxveq:/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', '1536345757484c3288351116cdbdec7f', '-D', '/var/lib/mock/1326327-epel-8-x86_64-1585853899.009394/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ohhlxveq:/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=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/go-mmproxy.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 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tYm65X + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-mmproxy-1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-mmproxy-1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (01_c339292c.patch):' Patch #0 (01_c339292c.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .example-typo --fuzz=0 patching file README.md Patch #1 (02_cdac58b2.patch): + echo 'Patch #1 (02_cdac58b2.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .v2-halfbyte-parsing --fuzz=0 patching file main.go Patch #2 (03_d8cb3ccc.patch): + echo 'Patch #2 (03_d8cb3ccc.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .udp-proxying --fuzz=0 patching file README.md patching file buffers.go patching file main.go patching file proxyprotocol.go patching file tcp.go patching file udp.go patching file utils.go Patch #3 (04_6dbb1ceb.patch): + echo 'Patch #3 (04_6dbb1ceb.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .nil-saddr --fuzz=0 patching file udp.go + /usr/bin/mkdir -p /builddir/build/BUILD/go-mmproxy-1.0/goroot + pushd /builddir/build/BUILD/go-mmproxy-1.0/goroot ~/build/BUILD/go-mmproxy-1.0/goroot ~/build/BUILD/go-mmproxy-1.0 + GOPATH=/builddir/build/BUILD/go-mmproxy-1.0/goroot + go get -u go.uber.org/zap + popd ~/build/BUILD/go-mmproxy-1.0 + /usr/bin/mkdir -p /builddir/build/BUILD/go-mmproxy-1.0/selinux + /usr/bin/cp -p /builddir/build/SOURCES/go-mmproxy.te /builddir/build/SOURCES/go-mmproxy.fc /builddir/build/SOURCES/go-mmproxy.if /builddir/build/BUILD/go-mmproxy-1.0/selinux/ + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZgDBfI + umask 022 + cd /builddir/build/BUILD + cd go-mmproxy-1.0 + GOPATH=/builddir/build/BUILD/go-mmproxy-1.0/goroot + go build -v -o go-mmproxy _/builddir/build/BUILD/go-mmproxy-1.0 + /usr/bin/strip --strip-unneeded go-mmproxy + pushd /builddir/build/BUILD/go-mmproxy-1.0/selinux ~/build/BUILD/go-mmproxy-1.0/selinux ~/build/BUILD/go-mmproxy-1.0 + /usr/bin/make 'NAME=%{_policytype}' -f /usr/share/selinux/devel/Makefile Compiling %{_policytype} go-mmproxy module Creating %{_policytype} go-mmproxy.pp policy package rm tmp/go-mmproxy.mod.fc tmp/go-mmproxy.mod + /usr/bin/bzip2 --best go-mmproxy.pp + popd ~/build/BUILD/go-mmproxy-1.0 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fVH5nw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64 + cd go-mmproxy-1.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/bin + /usr/bin/install -pm 0744 go-mmproxy /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/bin/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/lib/systemd/system/ + /usr/bin/install -pm 0644 /builddir/build/SOURCES/go-mmproxy@.service /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/lib/systemd/system/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/etc/go-mmproxy + /usr/bin/install -pm 0644 /builddir/build/SOURCES/path-prefixes.txt /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/etc/go-mmproxy/path-prefixes.txt + /usr/bin/install -pm 0644 /builddir/build/SOURCES/service.conf.example /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/etc/go-mmproxy/service.conf.example + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/man/man1/ + /usr/bin/install -pm 0644 /builddir/build/SOURCES/go-mmproxy.1.gz /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/man/man1/ + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/selinux/packages/targeted + /usr/bin/install -pm 0644 selinux/go-mmproxy.pp.bz2 /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/selinux/packages/targeted + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /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: go-mmproxy-1.0-2.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.O2UQQk + umask 022 + cd /builddir/build/BUILD + cd go-mmproxy-1.0 + DOCDIR=/builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/doc/go-mmproxy + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/doc/go-mmproxy + cp -pr README.md /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/doc/go-mmproxy + cp -pr path-prefixes.txt /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/doc/go-mmproxy + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1pwOk9 + umask 022 + cd /builddir/build/BUILD + cd go-mmproxy-1.0 + LICENSEDIR=/builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/licenses/go-mmproxy + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/licenses/go-mmproxy + cp -pr LICENSE /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/share/licenses/go-mmproxy + exit 0 warning: Missing build-id in /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64/usr/bin/go-mmproxy Provides: config(go-mmproxy) = 1.0-2.el8 go-mmproxy = 1.0-2.el8 go-mmproxy(x86-64) = 1.0-2.el8 Requires(interp): /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 systemd Requires(postun): /bin/sh systemd Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libdl.so.2()(64bit) libdl.so.2(GLIBC_2.2.5)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) Recommends: go-mmproxy-selinux Processing files: go-mmproxy-selinux-1.0-2.el8.noarch Provides: go-mmproxy-selinux = 1.0-2.el8 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 libselinux-utils policycoreutils policycoreutils-python-utils selinux-policy-base >= 3.14.3-20.el8 Requires(postun): /bin/sh Requires(posttrans): /bin/sh Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64 Wrote: /builddir/build/RPMS/go-mmproxy-1.0-2.el8.x86_64.rpm Wrote: /builddir/build/RPMS/go-mmproxy-selinux-1.0-2.el8.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.pq1bs0 + umask 022 + cd /builddir/build/BUILD + cd go-mmproxy-1.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/go-mmproxy-1.0-2.el8.x86_64 + exit 0 Child return code was: 0