Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/go-rpm-macros.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-285804-27752/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/go-rpm-macros.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/go-rpm-macros-3.5.0-4.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/go-rpm-macros.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-285804-27752/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/go-rpm-macros.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ux34Pe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-rpm-macros-3.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go-rpm-macros-3.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-rpm-macros-3.5.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-modify-for-ts-ocs.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + sed -i $'s\035@@GOPATH@@\035/usr/share/gocode\035g' rpm/macros.d/macros.go-srpm + sed -i $'s\035@@BRAND@@\035OpenCloudOS\035g' rpm/macros.d/macros.go-rpm + sed -i $'s\035@@BRAND@@\035OpenCloudOS\035g' rpm/macros.d/macros.go-srpm + sed -i $'s\035@@BRAND@@\035OpenCloudOS\035g' rpm/macros.d/macros.go-rpm.internal + sed -i $'s\035@@BRAND@@\035OpenCloudOS\035g' rpm/macros.d/macros.go-compilers-golang + sed -i $'s\035@@BRAND@@\035OpenCloudOS\035g' rpm/lua/rpm/go.lua + sed -i $'s\035@@BRAND@@\035OpenCloudOS\035g' rpm/lua/srpm/go.lua + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9A9ilo + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch + cd go-rpm-macros-3.5.0 + mkdir -p /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/OpenCloudOS + mkdir -p /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/bin + mkdir -p /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/fileattrs + mkdir -p /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d + mkdir -p /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/OpenCloudOS + mkdir -p /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/lua/OpenCloudOS/rpm /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/lua/OpenCloudOS/srpm + mkdir -p /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/share/gocode/src + install -m 0755 bin/go-rpm-integration /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/bin + install -m 0644 -vp rpm/fileattrs/go.attr rpm/fileattrs/go_mod_vendor.attr rpm/fileattrs/gobundled.attr rpm/fileattrs/gosymlink.attr /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/fileattrs 'rpm/fileattrs/go.attr' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/fileattrs/go.attr' 'rpm/fileattrs/go_mod_vendor.attr' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/fileattrs/go_mod_vendor.attr' 'rpm/fileattrs/gobundled.attr' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/fileattrs/gobundled.attr' 'rpm/fileattrs/gosymlink.attr' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/fileattrs/gosymlink.attr' + install -m 0644 -vp rpm/macros.d/macros.go-compilers-gcc rpm/macros.d/macros.go-compilers-golang rpm/macros.d/macros.go-compilers-golang-nopie rpm/macros.d/macros.go-compilers-golang-pie rpm/macros.d/macros.go-rpm rpm/macros.d/macros.go-rpm.deprecated rpm/macros.d/macros.go-rpm.internal rpm/macros.d/macros.go-srpm /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d 'rpm/macros.d/macros.go-compilers-gcc' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-compilers-gcc' 'rpm/macros.d/macros.go-compilers-golang' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-compilers-golang' 'rpm/macros.d/macros.go-compilers-golang-nopie' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-compilers-golang-nopie' 'rpm/macros.d/macros.go-compilers-golang-pie' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-compilers-golang-pie' 'rpm/macros.d/macros.go-rpm' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-rpm' 'rpm/macros.d/macros.go-rpm.deprecated' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-rpm.deprecated' 'rpm/macros.d/macros.go-rpm.internal' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-rpm.internal' 'rpm/macros.d/macros.go-srpm' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/macros.d/macros.go-srpm' + install -m 0644 -vp rpm/lua/srpm/go.lua /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/lua/OpenCloudOS/srpm/go.lua 'rpm/lua/srpm/go.lua' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/lua/OpenCloudOS/srpm/go.lua' + install -m 0644 -vp rpm/lua/rpm/go.lua /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/lua/OpenCloudOS/rpm/go.lua 'rpm/lua/rpm/go.lua' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/lua/OpenCloudOS/rpm/go.lua' + install -m 0755 -vp rpm/go_mod_vendor.prov rpm/gobundled.prov rpm/gosymlink.deps /builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/ 'rpm/go_mod_vendor.prov' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/go_mod_vendor.prov' 'rpm/gobundled.prov' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/gobundled.prov' 'rpm/gosymlink.deps' -> '/builddir/build/BUILDROOT/go-rpm-macros-3.5.0-4.ocs23.noarch/usr/lib/rpm/gosymlink.deps' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/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/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs mangling shebang in /usr/lib/rpm/gosymlink.deps from /bin/bash to #!/usr/bin/bash mangling shebang in /usr/lib/rpm/gobundled.prov from /bin/bash to #!/usr/bin/bash + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: go-rpm-macros-3.5.0-4.ocs23.noarch Provides: compiler(go-compiler) = 2 compiler(golang) go-rpm-macros = 3.5.0-4.ocs23 rpm_macro(gccgo_min_vers) rpm_macro(go_generate_buildrequires) rpm_macro(goaltinstall) rpm_macro(gobuild) rpm_macro(gobuildflags) rpm_macro(gobuildroot) rpm_macro(gocheck) rpm_macro(gocheckflags) rpm_macro(gochecks) rpm_macro(gochecksflags) rpm_macro(gocompilerflags) rpm_macro(godefaultflags) rpm_macro(godevelinstall) rpm_macro(goenv) rpm_macro(gofilelist) rpm_macro(goignoreflags_examples) rpm_macro(goinstall) rpm_macro(goinstallflags) rpm_macro(gomkdir) rpm_macro(gomodulesmode) rpm_macro(gopkginstall) rpm_macro(goprep) rpm_macro(goprovflags) rpm_macro(goreqflags) rpm_macro(gotest) rpm_macro(gotestextldflags) rpm_macro(gotestflags) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/bash /usr/bin/python3 Obsoletes: go-rpm-macros < 3.5.0 Processing files: go-srpm-macros-3.5.0-4.ocs23.noarch Provides: go-srpm-macros = 3.5.0-4.ocs23 rpm_macro(gccgo_arches) rpm_macro(go_arches) rpm_macro(go_compiler) rpm_macro(goaltfiles) rpm_macro(goaltpkg) rpm_macro(godevelfiles) rpm_macro(godevelpkg) rpm_macro(golang_arches) rpm_macro(golang_arches_future) rpm_macro(gometa) rpm_macro(gopath) rpm_macro(gopkg) rpm_macro(gopkgfiles) rpm_macro(gorpmname) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: go-filesystem-3.5.0-4.ocs23.noarch Provides: go-filesystem = 3.5.0-4.ocs23 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/go-rpm-macros-3.5.0-4.ocs23.noarch Wrote: /builddir/build/RPMS/go-filesystem-3.5.0-4.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/go-srpm-macros-3.5.0-4.ocs23.noarch.rpm Wrote: /builddir/build/RPMS/go-rpm-macros-3.5.0-4.ocs23.noarch.rpm Child return code was: 0