Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/golang-github-xlzd-gotp.spec'], chrootPath='/var/lib/mock/eln-build-25492397-2913372/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/golang-github-xlzd-gotp.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'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1611619200 Wrote: /builddir/build/SRPMS/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-github-xlzd-gotp.spec'], chrootPath='/var/lib/mock/eln-build-25492397-2913372/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=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/golang-github-xlzd-gotp.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'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1611619200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.NEfzQO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a.tar.gz install: creating directory '/builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build' install: creating directory '/builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/bin' + STATUS=0 + '[' 0 -ne 0 ']' + cd gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/vendor + [[ ! -e /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/bin + export GOPATH=/builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com/xlzd/gotp ]] ++ dirname /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com/xlzd/gotp + install -m 0755 -vd /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com/xlzd install: creating directory '/builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src' install: creating directory '/builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com' install: creating directory '/builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com/xlzd' + ln -fs /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com/xlzd/gotp + cd /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com/xlzd/gotp + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.luc089 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x ++ dirname /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x + cd gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a + cd /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src/github.com/xlzd/gotp + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/xlzd/gotp -b /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/bin -s /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build -o golang-github-xlzd-gotp-devel.file-list -O /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a -V 0-0.2.20200903gitc8557ba.eln109 -C c8557ba2c11930b3069b31bfd80f38cc774cc68a -p /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x -g /usr/share/gocode -r '.*example.*' Installing: github.com/xlzd/gotp realpath: go.mod: No such file or directory + IFS= +++ sort -u +++ realpath -e --relative-base=. example README.md ++ listfiles_include='README.md example' ++ echo 'README.md example' + godocs='README.md example' + [[ -n README.md example ]] + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"example"' + IFS= + read -r f + IFS= +++ sort -u +++ realpath -e --relative-base=. LICENSE ++ listfiles_include=LICENSE ++ echo LICENSE + golicenses=LICENSE + [[ -n LICENSE ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /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/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Jddy2y + umask 022 + cd /builddir/build/BUILD + cd gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a + LDFLAGS=' -X github.com/xlzd/gotp/version.commit=c8557ba2c11930b3069b31bfd80f38cc774cc68a -X github.com/xlzd/gotp/version=0' + GO_TEST_FLAGS='-buildmode pie -compiler gc' + GO_TEST_EXT_LD_FLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + go-rpm-integration check -i github.com/xlzd/gotp -b /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/bin -s /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build -V 0-0.2.20200903gitc8557ba.eln109 -C c8557ba2c11930b3069b31bfd80f38cc774cc68a -p /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/src PATH: /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/xlzd/gotp/version.commit=c8557ba2c11930b3069b31bfd80f38cc774cc68a -X github.com/xlzd/gotp/version=0 -extldflags '-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld '" testing: github.com/xlzd/gotp github.com/xlzd/gotp PASS ok github.com/xlzd/gotp 0.039s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: golang-github-xlzd-gotp-devel-0-0.2.20200903gitc8557ba.eln109.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.81gl9L + umask 022 + cd /builddir/build/BUILD + cd gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a + DOCDIR=/builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x/usr/share/doc/golang-github-xlzd-gotp-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x/usr/share/doc/golang-github-xlzd-gotp-devel + cp -pr README.md /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x/usr/share/doc/golang-github-xlzd-gotp-devel + cp -pr example /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x/usr/share/doc/golang-github-xlzd-gotp-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.OFRoMd + umask 022 + cd /builddir/build/BUILD + cd gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a + LICENSEDIR=/builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x/usr/share/licenses/golang-github-xlzd-gotp-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x/usr/share/licenses/golang-github-xlzd-gotp-devel + cp -pr LICENSE /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x/usr/share/licenses/golang-github-xlzd-gotp-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: golang(github.com/xlzd/gotp) = 0-0.2.20200903gitc8557ba.eln109 golang(github.com/xlzd/gotp)(commit=c8557ba2c11930b3069b31bfd80f38cc774cc68a) = 0-0.2.20200903gitc8557ba.eln109 golang-github-xlzd-gotp-devel = 0-0.2.20200903gitc8557ba.eln109 golang-ipath(github.com/xlzd/gotp) = 0-0.2.20200903gitc8557ba.eln109 golang-ipath(github.com/xlzd/gotp)(commit=c8557ba2c11930b3069b31bfd80f38cc774cc68a) = 0-0.2.20200903gitc8557ba.eln109 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: go-filesystem Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x Wrote: /builddir/build/RPMS/golang-github-xlzd-gotp-devel-0-0.2.20200903gitc8557ba.eln109.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xEaOTj + umask 022 + cd /builddir/build/BUILD + cd gotp-c8557ba2c11930b3069b31bfd80f38cc774cc68a + /usr/bin/rm -rf /builddir/build/BUILDROOT/golang-github-xlzd-gotp-0-0.2.20200903gitc8557ba.eln109.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0