Mock Version: 2.4 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/go-tun2socks.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1596971200.252790/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.gfhou0d8:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gfhou0d8:/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', '57fd2d16a15f4e05b29ed7aac76ef602', '-D', '/var/lib/mock/epel-7-x86_64-1596971200.252790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gfhou0d8:/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', '--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/go-tun2socks.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/go-tun2socks-1.16.11-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/go-tun2socks.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1596971200.252790/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.gfhou0d8:/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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gfhou0d8:/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', 'ef67311fc5cc418ab5209ea194d8bbcc', '-D', '/var/lib/mock/epel-7-x86_64-1596971200.252790/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gfhou0d8:/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', '--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/go-tun2socks.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.Orq0xl + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-tun2socks-1.16.11 + /usr/bin/gzip -dc /builddir/build/SOURCES/go-tun2socks-1.16.11.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd go-tun2socks-1.16.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zblqS9 + umask 022 + cd /builddir/build/BUILD + cd go-tun2socks-1.16.11 + make build fatal: Not a git repository (or any of the parent directories): .git mkdir -p /builddir/build/BUILD/go-tun2socks-1.16.11/build eval "cd /builddir/build/BUILD/go-tun2socks-1.16.11/cmd/tun2socks && go build -ldflags '-s -w -X main.version=' -o /builddir/build/BUILD/go-tun2socks-1.16.11/build/tun2socks -v -tags 'socks'" get "golang.org/x/sys": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at //golang.org/x/sys?go-get=1 get "golang.org/x/net": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at //golang.org/x/net?go-get=1 get "golang.org/x/text": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at //golang.org/x/text?go-get=1 get "golang.org/x/crypto": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at //golang.org/x/crypto?go-get=1 go: downloading github.com/songgao/water v0.0.0-20190725173103-fd331bda3f4b go: downloading golang.org/x/net v0.0.0-20191021144547-ec77196f6094 go: extracting github.com/songgao/water v0.0.0-20190725173103-fd331bda3f4b go: extracting golang.org/x/net v0.0.0-20191021144547-ec77196f6094 go: finding github.com/songgao/water v0.0.0-20190725173103-fd331bda3f4b go: finding golang.org/x/net v0.0.0-20191021144547-ec77196f6094 github.com/eycorsican/go-tun2socks/common/log github.com/eycorsican/go-tun2socks/common/dns/blocker github.com/eycorsican/go-tun2socks/common/log/simple github.com/songgao/water github.com/eycorsican/go-tun2socks/core golang.org/x/net/internal/socks golang.org/x/net/proxy github.com/eycorsican/go-tun2socks/tun github.com/eycorsican/go-tun2socks/proxy/socks github.com/eycorsican/go-tun2socks/cmd/tun2socks + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zEWq3p + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64 + cd go-tun2socks-1.16.11 + install -m 0755 -vd /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/bin install: creating directory '/builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr' install: creating directory '/builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/bin' + install -m 0755 -vp build/tun2socks /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/bin 'build/tun2socks' -> '/builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/bin/tun2socks' + /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: go-tun2socks-1.16.11-1.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.F1cWqG + umask 022 + cd /builddir/build/BUILD + cd go-tun2socks-1.16.11 + DOCDIR=/builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/share/doc/go-tun2socks-1.16.11 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/share/doc/go-tun2socks-1.16.11 + cp -pr README.md /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/share/doc/go-tun2socks-1.16.11 + cp -pr tun/README.md /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/share/doc/go-tun2socks-1.16.11 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.bHApPW + umask 022 + cd /builddir/build/BUILD + cd go-tun2socks-1.16.11 + LICENSEDIR=/builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/share/licenses/go-tun2socks-1.16.11 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/share/licenses/go-tun2socks-1.16.11 + cp -pr LICENSE /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64/usr/share/licenses/go-tun2socks-1.16.11 + exit 0 Provides: go-tun2socks = 1.16.11-1.el7 go-tun2socks(x86-64) = 1.16.11-1.el7 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) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64 Wrote: /builddir/build/RPMS/go-tun2socks-1.16.11-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.J6MY6u + umask 022 + cd /builddir/build/BUILD + cd go-tun2socks-1.16.11 + /usr/bin/rm -rf /builddir/build/BUILDROOT/go-tun2socks-1.16.11-1.el7.x86_64 + exit 0 Child return code was: 0