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-google-grpc.spec'], chrootPath='/var/lib/mock/f37-build-649735-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-google-grpc.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-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.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-google-grpc.spec'], chrootPath='/var/lib/mock/f37-build-649735-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-google-grpc.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.ycJkvb + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf grpc-go-1.48.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/grpc-go-1.48.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd grpc-go-1.48.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/grpc-go-1.48.0/vendor + [[ ! -e /builddir/build/BUILD/grpc-go-1.48.0/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/grpc-go-1.48.0/_build/bin install: creating directory '/builddir/build/BUILD/grpc-go-1.48.0/_build' install: creating directory '/builddir/build/BUILD/grpc-go-1.48.0/_build/bin' + export GOPATH=/builddir/build/BUILD/grpc-go-1.48.0/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/grpc-go-1.48.0/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/grpc-go-1.48.0/_build/src/google.golang.org/grpc ]] ++ dirname /builddir/build/BUILD/grpc-go-1.48.0/_build/src/google.golang.org/grpc + install -m 0755 -vd /builddir/build/BUILD/grpc-go-1.48.0/_build/src/google.golang.org install: creating directory '/builddir/build/BUILD/grpc-go-1.48.0/_build/src' install: creating directory '/builddir/build/BUILD/grpc-go-1.48.0/_build/src/google.golang.org' + ln -fs /builddir/build/BUILD/grpc-go-1.48.0 /builddir/build/BUILD/grpc-go-1.48.0/_build/src/google.golang.org/grpc + cd /builddir/build/BUILD/grpc-go-1.48.0/_build/src/google.golang.org/grpc + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.KW5FE6 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.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 grpc-go-1.48.0 + cd /builddir/build/BUILD/grpc-go-1.48.0/_build/src/google.golang.org/grpc + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i google.golang.org/grpc -b /builddir/build/BUILD/grpc-go-1.48.0/_build/bin -s /builddir/build/BUILD/grpc-go-1.48.0/_build -o golang-google-grpc-devel.file-list -O /builddir/build/BUILD/grpc-go-1.48.0 -V 1.48.0-8.0.riscv64.fc37~bootstrap -p /builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: google.golang.org/grpc + IFS= +++ realpath -e --relative-base=. examples AUTHORS CODE-OF-CONDUCT.md CONTRIBUTING.md GOVERNANCE.md MAINTAINERS.md README.md SECURITY.md Documentation +++ sort -u ++ listfiles_include='AUTHORS CODE-OF-CONDUCT.md CONTRIBUTING.md Documentation GOVERNANCE.md MAINTAINERS.md README.md SECURITY.md examples' ++ echo 'AUTHORS CODE-OF-CONDUCT.md CONTRIBUTING.md Documentation GOVERNANCE.md MAINTAINERS.md README.md SECURITY.md examples' + godocs='AUTHORS CODE-OF-CONDUCT.md CONTRIBUTING.md Documentation GOVERNANCE.md MAINTAINERS.md README.md SECURITY.md examples' + [[ -n AUTHORS CODE-OF-CONDUCT.md CONTRIBUTING.md Documentation GOVERNANCE.md MAINTAINERS.md README.md SECURITY.md examples ]] + IFS= + read -r f + echo %doc '"AUTHORS"' + IFS= + read -r f + echo %doc '"CODE-OF-CONDUCT.md"' + IFS= + read -r f + echo %doc '"CONTRIBUTING.md"' + IFS= + read -r f + echo %doc '"Documentation"' + IFS= + read -r f + echo %doc '"GOVERNANCE.md"' + IFS= + read -r f + echo %doc '"MAINTAINERS.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + echo %doc '"SECURITY.md"' + IFS= + read -r f + echo %doc '"examples"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE NOTICE.txt +++ sort -u ++ listfiles_include='LICENSE NOTICE.txt' ++ echo 'LICENSE NOTICE.txt' + golicenses='LICENSE NOTICE.txt' + [[ -n LICENSE NOTICE.txt ]] + IFS= + read -r f + echo %license '"LICENSE"' + IFS= + read -r f + echo %license '"NOTICE.txt"' + IFS= + read -r f + install -m 0755 -vd /builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.riscv64/usr/bin install: creating directory '/builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.riscv64/usr/bin' + install -m 0755 -vp '/builddir/build/BUILD/grpc-go-1.48.0/_build/bin/*' /builddir/build/BUILDROOT/golang-google-grpc-1.48.0-8.0.riscv64.fc37~bootstrap.riscv64/usr/bin/ install: cannot stat '/builddir/build/BUILD/grpc-go-1.48.0/_build/bin/*': No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.KW5FE6 (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.KW5FE6 (%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-google-grpc.spec