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-github-bugsnag-panicwrap.spec'], chrootPath='/var/lib/mock/f38-build-729674-101825/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=1209600uid=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-github-bugsnag-panicwrap.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1688774400 Wrote: /builddir/build/SRPMS/golang-github-bugsnag-panicwrap-1.3.4-7.0.riscv64.fc38.src.rpm RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-github-bugsnag-panicwrap.spec'], chrootPath='/var/lib/mock/f38-build-729674-101825/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=1209600uid=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-github-bugsnag-panicwrap.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 warning: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1688774400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.78pN37 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf panicwrap-1.3.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/panicwrap-1.3.4.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd panicwrap-1.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/panicwrap-1.3.4/vendor + [[ ! -e /builddir/build/BUILD/panicwrap-1.3.4/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/panicwrap-1.3.4/_build/bin install: creating directory '/builddir/build/BUILD/panicwrap-1.3.4/_build' install: creating directory '/builddir/build/BUILD/panicwrap-1.3.4/_build/bin' + export GOPATH=/builddir/build/BUILD/panicwrap-1.3.4/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/panicwrap-1.3.4/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com/bugsnag/panicwrap ]] ++ dirname /builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com/bugsnag/panicwrap + install -m 0755 -vd /builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com/bugsnag install: creating directory '/builddir/build/BUILD/panicwrap-1.3.4/_build/src' install: creating directory '/builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com' install: creating directory '/builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com/bugsnag' + ln -fs /builddir/build/BUILD/panicwrap-1.3.4 /builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com/bugsnag/panicwrap + cd /builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com/bugsnag/panicwrap + echo 'Patch #0 (0001-Add-RISCV-as-valid-architecture.patch):' Patch #0 (0001-Add-RISCV-as-valid-architecture.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file dup2.go patching file dup3.go patching file panicwrap_test.go + cp /builddir/build/SOURCES/glide.yaml /builddir/build/SOURCES/glide.lock . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bzgm3G + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-github-bugsnag-panicwrap-1.3.4-7.0.riscv64.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-github-bugsnag-panicwrap-1.3.4-7.0.riscv64.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-github-bugsnag-panicwrap-1.3.4-7.0.riscv64.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-github-bugsnag-panicwrap-1.3.4-7.0.riscv64.fc38.riscv64 + cd panicwrap-1.3.4 + cd /builddir/build/BUILD/panicwrap-1.3.4/_build/src/github.com/bugsnag/panicwrap + IFS= +++ realpath -e --relative-base=. glide.lock glide.yaml +++ sort -u ++ listfiles_include='glide.lock glide.yaml' ++ echo 'glide.lock glide.yaml' + gosupfiles='glide.lock glide.yaml' + mapfile -t gosupfilesA + go-rpm-integration install -i github.com/bugsnag/panicwrap -b /builddir/build/BUILD/panicwrap-1.3.4/_build/bin -s /builddir/build/BUILD/panicwrap-1.3.4/_build -o golang-github-bugsnag-panicwrap-devel.file-list -O /builddir/build/BUILD/panicwrap-1.3.4 -V 1.3.4-7.0.riscv64.fc38 -p /builddir/build/BUILDROOT/golang-github-bugsnag-panicwrap-1.3.4-7.0.riscv64.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' glide.lock glide.yaml Installing: github.com/bugsnag/panicwrap realpath: go.mod: No such file or directory + IFS= +++ realpath -e --relative-base=. CHANGELOG.md README.md +++ sort -u ++ listfiles_include='CHANGELOG.md README.md' ++ echo 'CHANGELOG.md README.md' + godocs='CHANGELOG.md README.md' + [[ -n CHANGELOG.md README.md ]] + IFS= + read -r f + echo %doc '"CHANGELOG.md"' + IFS= + read -r f + echo %doc '"README.md"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE +++ sort -u ++ 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/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.MArmau + umask 022 + cd /builddir/build/BUILD + cd panicwrap-1.3.4 + LDFLAGS=' -X github.com/bugsnag/panicwrap/version=1.3.4' + 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 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + go-rpm-integration check -i github.com/bugsnag/panicwrap -b /builddir/build/BUILD/panicwrap-1.3.4/_build/bin -s /builddir/build/BUILD/panicwrap-1.3.4/_build -V 1.3.4-7.0.riscv64.fc38 -p /builddir/build/BUILDROOT/golang-github-bugsnag-panicwrap-1.3.4-7.0.riscv64.fc38.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/panicwrap-1.3.4/_build/src PATH: /builddir/build/BUILD/panicwrap-1.3.4/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/panicwrap-1.3.4/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -ldflags " -X github.com/bugsnag/panicwrap/version=1.3.4 -extldflags '-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 '" testing: github.com/bugsnag/panicwrap github.com/bugsnag/panicwrap # github.com/bugsnag/panicwrap [github.com/bugsnag/panicwrap.test] ./dup2.go:11:17: undefined: syscall.Dup2 FAIL github.com/bugsnag/panicwrap [build failed] error: Bad exit status from /var/tmp/rpm-tmp.MArmau (%check) RPM build warnings: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.MArmau (%check) 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-github-bugsnag-panicwrap.spec