Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/golang-github-pmezard-go-difflib.spec'], chrootPath='/var/lib/mock/1170496-centos-stream-x86_64-1579582052.922402/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', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nzqosdfr:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nzqosdfr:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f559cf208f494acb9cd4b584728ad2b4', '-D', '/var/lib/mock/1170496-centos-stream-x86_64-1579582052.922402/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nzqosdfr:/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/golang-github-pmezard-go-difflib.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/golang-github-pmezard-go-difflib-0-0.10.git792786c.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/golang-github-pmezard-go-difflib.spec'], chrootPath='/var/lib/mock/1170496-centos-stream-x86_64-1579582052.922402/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', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nzqosdfr:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nzqosdfr:/etc/resolv.conf'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3ae76008b4d6430b91a375d767519709', '-D', '/var/lib/mock/1170496-centos-stream-x86_64-1579582052.922402/root', '-a', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--pipe', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.nzqosdfr:/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/golang-github-pmezard-go-difflib.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.PjT7pf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-difflib-792786c.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y0oLXg + umask 022 + cd /builddir/build/BUILD + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gAZVvi + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64 ++ dirname /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64 + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + install -d -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/ + echo '%dir %{gopath}/src/%{import_path}/.' ++ find . -iname '*.go' '!' -iname '*_test.go' + for file in $(find . -iname "*.go" \! -iname "*_test.go") ++ dirname ./difflib/difflib.go + echo '%dir %{gopath}/src/%{import_path}/./difflib' ++ dirname ./difflib/difflib.go + install -d -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/./difflib + cp -pav ./difflib/difflib.go /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/./difflib/difflib.go './difflib/difflib.go' -> '/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/./difflib/difflib.go' + echo '%{gopath}/src/%{import_path}/./difflib/difflib.go' + install -d -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/ ++ find . -iname '*_test.go' + for file in $(find . -iname "*_test.go") ++ dirname ./difflib/difflib_test.go + echo '%dir %{gopath}/src/%{import_path}/./difflib' ++ dirname ./difflib/difflib_test.go + install -d -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/./difflib + cp -pav ./difflib/difflib_test.go /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/./difflib/difflib_test.go './difflib/difflib_test.go' -> '/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode/src/github.com/pmezard/go-difflib/./difflib/difflib_test.go' + echo '%{gopath}/src/%{import_path}/./difflib/difflib_test.go' + sort -u -o devel.file-list devel.file-list + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /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 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.smJ7lk + umask 022 + cd /builddir/build/BUILD + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + export GOPATH=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode:/usr/share/gocode + GOPATH=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64//usr/share/gocode:/usr/share/gocode + go test -compiler gc -ldflags '' github.com/pmezard/go-difflib/difflib ok github.com/pmezard/go-difflib/difflib 0.010s + exit 0 Processing files: golang-github-pmezard-go-difflib-devel-0-0.10.git792786c.el8.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.juMJlr + umask 022 + cd /builddir/build/BUILD + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/doc/golang-github-pmezard-go-difflib-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/doc/golang-github-pmezard-go-difflib-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/doc/golang-github-pmezard-go-difflib-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.FsOImy + umask 022 + cd /builddir/build/BUILD + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/licenses/golang-github-pmezard-go-difflib-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/licenses/golang-github-pmezard-go-difflib-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/licenses/golang-github-pmezard-go-difflib-devel + exit 0 Provides: golang(github.com/pmezard/go-difflib/difflib) = 0-0.10.git792786c.el8 golang-github-pmezard-go-difflib-devel = 0-0.10.git792786c.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: golang-github-pmezard-go-difflib-unit-test-devel-0-0.10.git792786c.el8.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.u250rF + umask 022 + cd /builddir/build/BUILD + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + DOCDIR=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/doc/golang-github-pmezard-go-difflib-unit-test-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/doc/golang-github-pmezard-go-difflib-unit-test-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/doc/golang-github-pmezard-go-difflib-unit-test-devel + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.ZtnByM + umask 022 + cd /builddir/build/BUILD + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/licenses/golang-github-pmezard-go-difflib-unit-test-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/licenses/golang-github-pmezard-go-difflib-unit-test-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64/usr/share/licenses/golang-github-pmezard-go-difflib-unit-test-devel + exit 0 Provides: golang-github-pmezard-go-difflib-unit-test-devel = 0-0.10.git792786c.el8 golang-github-pmezard-go-difflib-unit-test-devel(x86-64) = 0-0.10.git792786c.el8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64 Wrote: /builddir/build/RPMS/golang-github-pmezard-go-difflib-devel-0-0.10.git792786c.el8.noarch.rpm Wrote: /builddir/build/RPMS/golang-github-pmezard-go-difflib-unit-test-devel-0-0.10.git792786c.el8.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.8QbzNT + umask 022 + cd /builddir/build/BUILD + cd go-difflib-792786c7400a136282c1664665ae0a8db921c6c2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-pmezard-go-difflib-0-0.10.git792786c.el8.x86_64 + exit 0 Child return code was: 0