Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/syncthing.spec'], chrootPath='/var/lib/mock/f33-build-453442-63538/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/syncthing.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1607299200 Wrote: /builddir/build/SRPMS/syncthing-1.12.0-1.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/syncthing.spec'], chrootPath='/var/lib/mock/f33-build-453442-63538/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': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/syncthing.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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1607299200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ksGmra + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf syncthing + /usr/bin/gzip -dc /builddir/build/SOURCES/syncthing-source-v1.12.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd syncthing + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0d64427.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lxi6r9 + umask 022 + cd /builddir/build/BUILD + cd syncthing + export GO111MODULE=off + GO111MODULE=off + mkdir -p ./_build/src/github.com/syncthing ++ pwd + TOP=/builddir/build/BUILD/syncthing ~/build/BUILD/syncthing/_build/src/github.com/syncthing ~/build/BUILD/syncthing + pushd _build/src/github.com/syncthing + ln -s /builddir/build/BUILD/syncthing syncthing + popd ~/build/BUILD/syncthing ++ pwd + export GOPATH=/builddir/build/BUILD/syncthing/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/syncthing/_build:/usr/share/gocode ++ pwd + export BUILDDIR=/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing + BUILDDIR=/builddir/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing ~/build/BUILD/syncthing/_build/src/github.com/syncthing/syncthing ~/build/BUILD/syncthing + pushd _build/src/github.com/syncthing/syncthing + go run build.go assets go tool asm: exit status 2 runtime: unexpected return pc for runtime.init.4 called from 0x0 stack: frame={sp:0x3fc003a6f0, fp:0x3fc003a738} stack=[0x3fc003a000,0x3fc003a800) 0000003fc003a5f0: 0000000000000000 0000000000000000 0000003fc003a600: 0000000000000000 0000000000000000 0000003fc003a610: 0000000000066b48 0000000000217d40 0000003fc003a620: 000000000038e0c0 0000000000000000 0000003fc003a630: 0000000000000000 00000000000496a8 0000003fc003a640: 00000000000496a8 0000000000000000 0000003fc003a650: 0000000000000000 0000000000000000 0000003fc003a660: 0000000000000000 0000000000000000 0000003fc003a670: 0000000000000000 0000000000000000 0000003fc003a680: 0000000000000000 0000000000000000 0000003fc003a690: 0000000000000000 0000000000000000 0000003fc003a6a0: 0000000000000000 00000000000496a8 0000003fc003a6b0: 0000000000000000 0000000000000000 0000003fc003a6c0: 0000000000000000 0000000000000000 0000003fc003a6d0: 0000000000000000 0000000000000000 0000003fc003a6e0: 0000000000000000 0000000000000000 0000003fc003a6f0: <0000000000000000 0000000000049690 0000003fc003a700: 0000000000079d00 0000000000378280 0000003fc003a710: 0000000000058bf8 00000000002d1f50 0000003fc003a720: 0000000000378280 0000000000378280 0000003fc003a730: 0000000000000000 >000000000020f920 0000003fc003a740: 0000000000252ba8 000000000020c7a0 0000003fc003a750: 0000000000000000 000000000004ab00 0000003fc003a760: 0000000000000000 0000000000000000 0000003fc003a770: 0000000000000003 0000000000000000 0000003fc003a780: 0000000000373710 0000000000079934 0000003fc003a790: 00000000003736e0 0000000000000000 0000003fc003a7a0: 0000000000000000 0000000000000000 0000003fc003a7b0: 0000000000000000 0000000000000000 0000003fc003a7c0: 0000003fc0000180 0000000000000000 0000003fc003a7d0: 0000000000000000 0000000000000000 0000003fc003a7e0: 0000000000000000 0000000000000000 0000003fc003a7f0: 0000000000000000 0000000000000000 fatal error: unknown caller pc runtime stack: runtime.throw(0x2468fc, 0x11) /usr/lib/golang/src/runtime/panic.go:1116 +0x64 runtime.gentraceback(0x5e1a0, 0x3fc003a610, 0x0, 0x3fc0000180, 0x0, 0x0, 0x7fffffff, 0x3fff8be5c0, 0x0, 0x0, ...) /usr/lib/golang/src/runtime/traceback.go:273 +0x18dc runtime.addOneOpenDeferFrame.func1() /usr/lib/golang/src/runtime/panic.go:721 +0x88 runtime.systemstack(0x0) /usr/lib/golang/src/runtime/asm_riscv64.s:137 +0x7c runtime.mstart() /usr/lib/golang/src/runtime/proc.go:1116 goroutine 1 [running, locked to thread]: runtime.systemstack_switch() /usr/lib/golang/src/runtime/asm_riscv64.s:91 +0x8 fp=0x3fc003a518 sp=0x3fc003a510 pc=0x77a58 runtime.addOneOpenDeferFrame(0x3fc0000180, 0x5e1a0, 0x3fc003a610) /usr/lib/golang/src/runtime/panic.go:720 +0x78 fp=0x3fc003a550 sp=0x3fc003a518 pc=0x47420 panic(0x217d40, 0x38e0c0) /usr/lib/golang/src/runtime/panic.go:929 +0xd4 fp=0x3fc003a610 sp=0x3fc003a550 pc=0x47b14 runtime.panicmem(...) /usr/lib/golang/src/runtime/panic.go:212 runtime.sigpanic() /usr/lib/golang/src/runtime/signal_unix.go:742 +0x458 fp=0x3fc003a638 sp=0x3fc003a610 pc=0x5e1a0 runtime.funcMaxSPDelta(0x0, 0x0, 0x0) /usr/lib/golang/src/runtime/symtab.go:877 +0x20 fp=0x3fc003a6a8 sp=0x3fc003a640 pc=0x66b48 runtime.init.4() /usr/lib/golang/src/runtime/preempt.go:324 +0x60 fp=0x3fc003a6f0 sp=0x3fc003a6a8 pc=0x496a8 runtime: unexpected return pc for runtime.init.4 called from 0x0 stack: frame={sp:0x3fc003a6f0, fp:0x3fc003a738} stack=[0x3fc003a000,0x3fc003a800) 0000003fc003a5f0: 0000000000000000 0000000000000000 0000003fc003a600: 0000000000000000 0000000000000000 0000003fc003a610: 0000000000066b48 0000000000217d40 0000003fc003a620: 000000000038e0c0 0000000000000000 0000003fc003a630: 0000000000000000 00000000000496a8 0000003fc003a640: 00000000000496a8 0000000000000000 0000003fc003a650: 0000000000000000 0000000000000000 0000003fc003a660: 0000000000000000 0000000000000000 0000003fc003a670: 0000000000000000 0000000000000000 0000003fc003a680: 0000000000000000 0000000000000000 0000003fc003a690: 0000000000000000 0000000000000000 0000003fc003a6a0: 0000000000000000 00000000000496a8 0000003fc003a6b0: 0000000000000000 0000000000000000 0000003fc003a6c0: 0000000000000000 0000000000000000 0000003fc003a6d0: 0000000000000000 0000000000000000 0000003fc003a6e0: 0000000000000000 0000000000000000 0000003fc003a6f0: <0000000000000000 0000000000049690 0000003fc003a700: 0000000000079d00 0000000000378280 0000003fc003a710: 0000000000058bf8 00000000002d1f50 0000003fc003a720: 0000000000378280 0000000000378280 0000003fc003a730: 0000000000000000 >000000000020f920 0000003fc003a740: 0000000000252ba8 000000000020c7a0 0000003fc003a750: 0000000000000000 000000000004ab00 0000003fc003a760: 0000000000000000 0000000000000000 0000003fc003a770: 0000000000000003 0000000000000000 0000003fc003a780: 0000000000373710 0000000000079934 0000003fc003a790: 00000000003736e0 0000000000000000 0000003fc003a7a0: 0000000000000000 0000000000000000 0000003fc003a7b0: 0000000000000000 0000000000000000 0000003fc003a7c0: 0000003fc0000180 0000000000000000 0000003fc003a7d0: 0000000000000000 0000000000000000 0000003fc003a7e0: 0000000000000000 0000000000000000 0000003fc003a7f0: 0000000000000000 0000000000000000 runtime.init.4() /usr/lib/golang/src/runtime/preempt.go:324 +0x60 fp=0x3fc003a738 sp=0x3fc003a6f0 pc=0x496a8 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.lxi6r9 (%build) Bad exit status from /var/tmp/rpm-tmp.lxi6r9 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/syncthing.spec