Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-172517-11823/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.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=1674691200 Wrote: /builddir/build/SRPMS/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.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-tinygo-x-llvm.spec'], chrootPath='/var/lib/mock/f37-build-side-32-misc-devel-172517-11823/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=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.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=1674691200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.kkbX7s + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/vendor + [[ ! -e /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/bin install: creating directory '/builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build' install: creating directory '/builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/bin' + export GOPATH=/builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm ]] ++ dirname /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm + install -m 0755 -vd /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x install: creating directory '/builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src' install: creating directory '/builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org' install: creating directory '/builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x' + ln -fs /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990 /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm + cd /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Make-LLVM-config-file-architecture-independent.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + rm llvm_config_darwin_llvm14.go llvm_config_darwin_llvm15.go llvm_config_linux_llvm14.go llvm_config_linux_llvm15.go + for version in 14 15 + type llvm-config-14-64 /var/tmp/rpm-tmp.kkbX7s: line 64: type: llvm-config-14-64: not found llvm-config-14 is /usr/bin/llvm-config-14 + type llvm-config-14 + make config VERSION=14.0.0 CONFIG=llvm-config-14 BUILDDIR=/usr + mv llvm_config_linux.go llvm_config_linux_llvm14.go + for version in 14 15 + type llvm-config-15-64 llvm-config-15-64 is /usr/bin/llvm-config-15-64 + make config VERSION=15.0.0 CONFIG=llvm-config-15-64 BUILDDIR=/usr + mv llvm_config_linux.go llvm_config_linux_llvm15.go + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BJBlwH + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc37.riscv64 + cd go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990 + cd /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm + IFS= + gosupfiles= + mapfile -t gosupfilesA + go-rpm-integration install -i tinygo.org/x/go-llvm -b /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/bin -s /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build -o golang-tinygo-x-llvm-devel.file-list -O /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990 -V 0-0.1.20221002gitdcb078a.fc37 -C dcb078a262665943160fa7b6a8dd219c2e2fc990 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc37.riscv64 -g /usr/share/gocode -r '.*example.*' Installing: tinygo.org/x/go-llvm + IFS= +++ realpath -e --relative-base=. README.markdown +++ sort -u ++ listfiles_include=README.markdown ++ echo README.markdown + godocs=README.markdown + [[ -n README.markdown ]] + IFS= + read -r f + echo %doc '"README.markdown"' + IFS= + read -r f + IFS= +++ realpath -e --relative-base=. LICENSE.txt +++ sort -u ++ listfiles_include=LICENSE.txt ++ echo LICENSE.txt + golicenses=LICENSE.txt + [[ -n LICENSE.txt ]] + IFS= + read -r f + echo %license '"LICENSE.txt"' + 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 + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BH6ePQ + umask 022 + cd /builddir/build/BUILD + cd go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990 + for version in 14 15 + export TAGS=llvm14 + TAGS=llvm14 + LDFLAGS=' -X tinygo.org/x/go-llvm/version=0 -X tinygo.org/x/go-llvm/version.commit=dcb078a262665943160fa7b6a8dd219c2e2fc990' + GO_TEST_FLAGS='-buildmode pie -compiler gc -tags=llvm14' + 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 tinygo.org/x/go-llvm -b /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/bin -s /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build -V 0-0.1.20221002gitdcb078a.fc37 -C dcb078a262665943160fa7b6a8dd219c2e2fc990 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc37.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src PATH: /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build:/usr/share/gocode GO111MODULE: off command: go test -buildmode pie -compiler gc -tags=llvm14 -ldflags " -X tinygo.org/x/go-llvm/version=0 -X tinygo.org/x/go-llvm/version.commit=dcb078a262665943160fa7b6a8dd219c2e2fc990 -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: tinygo.org/x/go-llvm tinygo.org/x/go-llvm WARNING: This target JIT is not designed for the host you are running. If bad things happen, please choose a different -march switch. LLVM ERROR: Relocation type not implemented yet! SIGABRT: abort PC=0x3feda2af46 m=0 sigcode=4294967290 signal arrived during cgo execution goroutine 4 [syscall]: runtime.cgocall(0x2acf0d3240, 0x3fc404d578) /usr/lib/golang/src/runtime/cgocall.go:158 +0x54 fp=0x3fc404d540 sp=0x3fc404d510 pc=0x2acefdcefc tinygo.org/x/go-llvm._Cfunc_LLVMRunFunction(0x2add36d920, 0x2add35be68, 0x1, 0x3fc4014360) _cgo_gotypes.go:8491 +0x3c fp=0x3fc404d570 sp=0x3fc404d540 pc=0x2acf0c65fc tinygo.org/x/go-llvm.ExecutionEngine.RunFunction.func1({0x2acf0c2d34?}, {0x8?}, 0x1, 0x3fc404d501?) /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0xd8 fp=0x3fc404d5c8 sp=0x3fc404d570 pc=0x2acf0c8400 tinygo.org/x/go-llvm.ExecutionEngine.RunFunction({0x2add367000?}, {0x100000002?}, {0x3fc4014360?, 0x0?, 0x3fc40142e0?}) /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0x60 fp=0x3fc404d5f0 sp=0x3fc404d5c8 pc=0x2acf0c8308 tinygo.org/x/go-llvm.TestFactorial(0x3fc4001d40) /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm/executionengine_test.go:91 +0x544 fp=0x3fc404d778 sp=0x3fc404d5f0 pc=0x2acf0c2d54 testing.tRunner(0x3fc4001d40, 0x2acf1590d0) /usr/lib/golang/src/testing/testing.go:1446 +0x11c fp=0x3fc404d7c0 sp=0x3fc404d778 pc=0x2acf089d3c testing.(*T).Run.func1() /usr/lib/golang/src/testing/testing.go:1493 +0x30 fp=0x3fc404d7d8 sp=0x3fc404d7c0 pc=0x2acf08a970 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:516 +0x4 fp=0x3fc404d7d8 sp=0x3fc404d7d8 pc=0x2acf03ddd4 created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1493 +0x338 goroutine 1 [chan receive]: runtime.gopark(0x2acefe5b30?, 0x2acf257140?, 0x70?, 0x5d?, 0x3fc4001d40?) /usr/lib/golang/src/runtime/proc.go:363 +0x110 fp=0x3fc405fa58 sp=0x3fc405fa40 pc=0x2acf0122c0 runtime.chanrecv(0x3fc40161c0, 0x3fc405fb57, 0xe8?) /usr/lib/golang/src/runtime/chan.go:583 +0x498 fp=0x3fc405fae8 sp=0x3fc405fa58 pc=0x2acefdff70 runtime.chanrecv1(0x3fc4010450?, 0x1?) /usr/lib/golang/src/runtime/chan.go:442 +0x14 fp=0x3fc405fb08 sp=0x3fc405fae8 pc=0x2acefdfabc testing.(*T).Run(0x3fc4001ba0, {0x2acf0f40d6?, 0x2acf04ca80?}, 0x2acf1590d0) /usr/lib/golang/src/testing/testing.go:1494 +0x34c fp=0x3fc405fba0 sp=0x3fc405fb08 pc=0x2acf08a8fc testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:1846 +0x78 fp=0x3fc405fbe8 sp=0x3fc405fba0 pc=0x2acf08c3e8 testing.tRunner(0x3fc4001ba0, 0x3fc405fcf0) /usr/lib/golang/src/testing/testing.go:1446 +0x11c fp=0x3fc405fc30 sp=0x3fc405fbe8 pc=0x2acf089d3c testing.runTests(0x3fc411a0a0?, {0x2acf20e4a0, 0x6, 0x6}, {0x3?, 0x40000000000c08?, 0x2acf229ac0?}) /usr/lib/golang/src/testing/testing.go:1844 +0x408 fp=0x3fc405fd10 sp=0x3fc405fc30 pc=0x2acf08c2d0 testing.(*M).Run(0x3fc411a0a0) /usr/lib/golang/src/testing/testing.go:1726 +0x504 fp=0x3fc405ff00 sp=0x3fc405fd10 pc=0x2acf08b0ac main.main() _testmain.go:59 +0x1a8 fp=0x3fc405ff80 sp=0x3fc405ff00 pc=0x2acf0cc7d8 runtime.main() /usr/lib/golang/src/runtime/proc.go:250 +0x218 fp=0x3fc405ffd8 sp=0x3fc405ff80 pc=0x2acf011ed0 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:516 +0x4 fp=0x3fc405ffd8 sp=0x3fc405ffd8 pc=0x2acf03ddd4 goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0x110 fp=0x3fc404cfb0 sp=0x3fc404cf98 pc=0x2acf0122c0 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.forcegchelper() /usr/lib/golang/src/runtime/proc.go:302 +0xb0 fp=0x3fc404cfd8 sp=0x3fc404cfb0 pc=0x2acf012148 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:516 +0x4 fp=0x3fc404cfd8 sp=0x3fc404cfd8 pc=0x2acf03ddd4 created by runtime.init.5 /usr/lib/golang/src/runtime/proc.go:290 +0x28 goroutine 18 [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0x110 fp=0x3fc4048798 sp=0x3fc4048780 pc=0x2acf0122c0 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.bgsweep(0x0?) /usr/lib/golang/src/runtime/mgcsweep.go:278 +0xa8 fp=0x3fc40487c8 sp=0x3fc4048798 pc=0x2aceffcf38 runtime.gcenable.func1() /usr/lib/golang/src/runtime/mgc.go:178 +0x2c fp=0x3fc40487d8 sp=0x3fc40487c8 pc=0x2aceff1764 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:516 +0x4 fp=0x3fc40487d8 sp=0x3fc40487d8 pc=0x2acf03ddd4 created by runtime.gcenable /usr/lib/golang/src/runtime/mgc.go:178 +0x70 goroutine 19 [GC scavenge wait]: runtime.gopark(0x3fc408e000?, 0x2acf121828?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:363 +0x110 fp=0x3fc4048f80 sp=0x3fc4048f68 pc=0x2acf0122c0 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.(*scavengerState).park(0x2acf229b40) /usr/lib/golang/src/runtime/mgcscavenge.go:389 +0x68 fp=0x3fc4048fa8 sp=0x3fc4048f80 pc=0x2aceffaed0 runtime.bgscavenge(0x0?) /usr/lib/golang/src/runtime/mgcscavenge.go:617 +0x50 fp=0x3fc4048fc8 sp=0x3fc4048fa8 pc=0x2aceffb420 runtime.gcenable.func2() /usr/lib/golang/src/runtime/mgc.go:179 +0x2c fp=0x3fc4048fd8 sp=0x3fc4048fc8 pc=0x2aceff1704 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:516 +0x4 fp=0x3fc4048fd8 sp=0x3fc4048fd8 pc=0x2acf03ddd4 created by runtime.gcenable /usr/lib/golang/src/runtime/mgc.go:179 +0xb0 goroutine 3 [finalizer wait]: runtime.gopark(0xff1?, 0x7f88?, 0xf1?, 0xf?, 0xff1?) /usr/lib/golang/src/runtime/proc.go:363 +0x110 fp=0x3fc404c5a8 sp=0x3fc404c590 pc=0x2acf0122c0 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:369 runtime.runfinq() /usr/lib/golang/src/runtime/mfinal.go:180 +0x110 fp=0x3fc404c7d8 sp=0x3fc404c5a8 pc=0x2aceff0958 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:516 +0x4 fp=0x3fc404c7d8 sp=0x3fc404c7d8 pc=0x2acf03ddd4 created by runtime.createfing /usr/lib/golang/src/runtime/mfinal.go:157 +0x64 ra 0x3feda2af38 sp 0x3fffe70988 gp 0x2acf2294e8 tp 0x3fed8be240 t0 0x0 t1 0x3fee7a02dc t2 0xb s0 0x496f0 s1 0x3fedb01d58 a0 0x0 a1 0x496f0 a2 0x6 a3 0x3fedb021b0 a4 0x1 a5 0x3fed8bdae0 a6 0xfefefefefefefeff a7 0x83 s2 0x3fed8bdae0 s3 0x6 s4 0x3ff3858d10 s5 0x6 s6 0x2add385c00 s7 0x0 s8 0x2add3b7c78 s9 0x0 s10 0xfffffffffffffff8 s11 0x2add385c00 t3 0x3fed9e5128 t4 0x3fffe70b30 t5 0x2add3e0f08 t6 0xcccccccccccccccd pc 0x3feda2af46 exit status 2 FAIL tinygo.org/x/go-llvm 2.932s error: Bad exit status from /var/tmp/rpm-tmp.BH6ePQ (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.BH6ePQ (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.10/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.10/site-packages/mockbuild/util.py", line 598, 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-tinygo-x-llvm.spec