Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-x-tools.spec'], chrootPath='/var/lib/mock/f37-build-649852-72752/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-x-tools.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1665792000 Wrote: /builddir/build/SRPMS/golang-x-tools-0.1.12-3.0.riscv64.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-x-tools.spec'], chrootPath='/var/lib/mock/f37-build-649852-72752/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-x-tools.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1665792000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bOG3f4 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tools-0.1.12 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tools-0.1.12.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tools-0.1.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/tools-0.1.12/vendor + [[ ! -e /builddir/build/BUILD/tools-0.1.12/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/tools-0.1.12/_build/bin install: creating directory '/builddir/build/BUILD/tools-0.1.12/_build' install: creating directory '/builddir/build/BUILD/tools-0.1.12/_build/bin' + export GOPATH=/builddir/build/BUILD/tools-0.1.12/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/tools-0.1.12/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/tools-0.1.12/_build/src/golang.org/x/tools ]] ++ dirname /builddir/build/BUILD/tools-0.1.12/_build/src/golang.org/x/tools + install -m 0755 -vd /builddir/build/BUILD/tools-0.1.12/_build/src/golang.org/x install: creating directory '/builddir/build/BUILD/tools-0.1.12/_build/src' install: creating directory '/builddir/build/BUILD/tools-0.1.12/_build/src/golang.org' install: creating directory '/builddir/build/BUILD/tools-0.1.12/_build/src/golang.org/x' + ln -fs /builddir/build/BUILD/tools-0.1.12 /builddir/build/BUILD/tools-0.1.12/_build/src/golang.org/x/tools + cd /builddir/build/BUILD/tools-0.1.12/_build/src/golang.org/x/tools + find . -type f -name '*.go' -exec sed -i 's|mvdan.cc/xurls/v2|mvdan.cc/xurls|' '{}' + + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.zHBn2p + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tools-0.1.12 + cd /builddir/build/BUILD/tools-0.1.12/_build/src/golang.org/x/tools + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i golang.org/x/tools -b /builddir/build/BUILD/tools-0.1.12/_build/bin -s /builddir/build/BUILD/tools-0.1.12/_build -o golang-x-tools-devel.file-list -O /builddir/build/BUILD/tools-0.1.12 -V 0.1.12-3.0.riscv64.fc37 -p /builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: golang.org/x/tools + IFS= +++ realpath -e --relative-base=. CONTRIBUTING.md README.md +++ sort -u ++ listfiles_include='CONTRIBUTING.md README.md' ++ echo 'CONTRIBUTING.md README.md' + godocs='CONTRIBUTING.md README.md' + [[ -n CONTRIBUTING.md README.md ]] + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE PATENTS +++ sort -u ++ listfiles_include='LICENSE PATENTS' ++ echo 'LICENSE PATENTS' + golicenses='LICENSE PATENTS' + [[ -n LICENSE PATENTS ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"PATENTS"' + IFS= + read -r f + mv /builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64/usr/bin/bundle /builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64/usr/bin/gobundle mv: cannot stat '/builddir/build/BUILDROOT/golang-x-tools-0.1.12-3.0.riscv64.fc37.riscv64/usr/bin/bundle': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.zHBn2p (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zHBn2p (%install) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-x-tools.spec