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/f38-build-side-42-init-devel-480706-23755/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=1682035200 Wrote: /builddir/build/SRPMS/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc38.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/f38-build-side-42-init-devel-480706-23755/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=1682035200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.uEFEdL + 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.uEFEdL: line 65: type: llvm-config-14-64: not found + type llvm-config-14 llvm-config-14 is /usr/bin/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 llvm-config-15-64 is /usr/bin/llvm-config-15-64 + type 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.6qe03D + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc38.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.fc38 -C dcb078a262665943160fa7b6a8dd219c2e2fc990 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc38.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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.TeUwmm + 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.fc38 -C dcb078a262665943160fa7b6a8dd219c2e2fc990 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20221002gitdcb078a.fc38.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=0x3fef34bc8c m=4 sigcode=4294967290 signal arrived during cgo execution goroutine 21 [syscall]: runtime.cgocall(0x2ac62ed690, 0x3fc4049578) /usr/lib/golang/src/runtime/cgocall.go:157 +0x54 fp=0x3fc4049540 sp=0x3fc4049510 pc=0x2ac61f520c tinygo.org/x/go-llvm._Cfunc_LLVMRunFunction(0x3fac009a80, 0x3fac001228, 0x1, 0x3fc40142d0) _cgo_gotypes.go:8468 +0x3c fp=0x3fc4049570 sp=0x3fc4049540 pc=0x2ac62e0984 tinygo.org/x/go-llvm.ExecutionEngine.RunFunction.func1({0x2ac62dd0c4?}, {0x8?}, 0x1, 0x3fc4049501?) /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0xd8 fp=0x3fc40495c8 sp=0x3fc4049570 pc=0x2ac62e2788 tinygo.org/x/go-llvm.ExecutionEngine.RunFunction({0x3fac002d10?}, {0x100000002?}, {0x3fc40142d0?, 0x0?, 0x3fc4014250?}) /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0x60 fp=0x3fc40495f0 sp=0x3fc40495c8 pc=0x2ac62e2690 tinygo.org/x/go-llvm.TestFactorial(0x3fc4083040) /builddir/build/BUILD/go-llvm-dcb078a262665943160fa7b6a8dd219c2e2fc990/_build/src/tinygo.org/x/go-llvm/executionengine_test.go:91 +0x544 fp=0x3fc4049778 sp=0x3fc40495f0 pc=0x2ac62dd0e4 testing.tRunner(0x3fc4083040, 0x2ac637af68) /usr/lib/golang/src/testing/testing.go:1576 +0x11c fp=0x3fc40497c0 sp=0x3fc4049778 pc=0x2ac62a3f04 testing.(*T).Run.func1() /usr/lib/golang/src/testing/testing.go:1629 +0x30 fp=0x3fc40497d8 sp=0x3fc40497c0 pc=0x2ac62a4c68 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3fc40497d8 sp=0x3fc40497d8 pc=0x2ac62563ac created by testing.(*T).Run /usr/lib/golang/src/testing/testing.go:1629 +0x3a0 goroutine 1 [chan receive]: runtime.gopark(0x2ac61fd838?, 0x2ac6455040?, 0x50?, 0x67?, 0x2ac61fe070?) /usr/lib/golang/src/runtime/proc.go:381 +0x110 fp=0x3fc405a9d8 sp=0x3fc405a9c0 pc=0x2ac6229678 runtime.chanrecv(0x3fc408e0e0, 0x3fc405aad7, 0x50?) /usr/lib/golang/src/runtime/chan.go:583 +0x498 fp=0x3fc405aa68 sp=0x3fc405a9d8 pc=0x2ac61f7fc0 runtime.chanrecv1(0x2ac6454760?, 0x2ac6354a20?) /usr/lib/golang/src/runtime/chan.go:442 +0x14 fp=0x3fc405aa88 sp=0x3fc405aa68 pc=0x2ac61f7b0c testing.(*T).Run(0x3fc4082ea0, {0x2ac630e0f6?, 0x2ac6265e00?}, 0x2ac637af68) /usr/lib/golang/src/testing/testing.go:1630 +0x3b4 fp=0x3fc405ab40 sp=0x3fc405aa88 pc=0x2ac62a4b64 testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:2036 +0x54 fp=0x3fc405ab88 sp=0x3fc405ab40 pc=0x2ac62a688c testing.tRunner(0x3fc4082ea0, 0x3fc405aca0) /usr/lib/golang/src/testing/testing.go:1576 +0x11c fp=0x3fc405abd0 sp=0x3fc405ab88 pc=0x2ac62a3f04 testing.runTests(0x3fc40b80a0?, {0x2ac6439440, 0x6, 0x6}, {0x2ac6203978?, 0xd0?, 0x2ac6454880?}) /usr/lib/golang/src/testing/testing.go:2034 +0x424 fp=0x3fc405acc0 sp=0x3fc405abd0 pc=0x2ac62a67bc testing.(*M).Run(0x3fc40b80a0) /usr/lib/golang/src/testing/testing.go:1906 +0x560 fp=0x3fc405af00 sp=0x3fc405acc0 pc=0x2ac62a5400 main.main() _testmain.go:59 +0x1a8 fp=0x3fc405af80 sp=0x3fc405af00 pc=0x2ac62e6c30 runtime.main() /usr/lib/golang/src/runtime/proc.go:250 +0x218 fp=0x3fc405afd8 sp=0x3fc405af80 pc=0x2ac6229218 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3fc405afd8 sp=0x3fc405afd8 pc=0x2ac62563ac goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:381 +0x110 fp=0x3fc404cfb0 sp=0x3fc404cf98 pc=0x2ac6229678 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:387 runtime.forcegchelper() /usr/lib/golang/src/runtime/proc.go:305 +0xc8 fp=0x3fc404cfd8 sp=0x3fc404cfb0 pc=0x2ac62294b0 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3fc404cfd8 sp=0x3fc404cfd8 pc=0x2ac62563ac created by runtime.init.5 /usr/lib/golang/src/runtime/proc.go:293 +0x28 goroutine 18 [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:381 +0x110 fp=0x3fc4048788 sp=0x3fc4048770 pc=0x2ac6229678 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:387 runtime.bgsweep(0x0?) /usr/lib/golang/src/runtime/mgcsweep.go:278 +0xa8 fp=0x3fc40487c8 sp=0x3fc4048788 pc=0x2ac62142f0 runtime.gcenable.func1() /usr/lib/golang/src/runtime/mgc.go:178 +0x2c fp=0x3fc40487d8 sp=0x3fc40487c8 pc=0x2ac620901c runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3fc40487d8 sp=0x3fc40487d8 pc=0x2ac62563ac created by runtime.gcenable /usr/lib/golang/src/runtime/mgc.go:178 +0x70 goroutine 19 [GC scavenge wait]: runtime.gopark(0x3fc408e000?, 0x2ac6338650?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:381 +0x110 fp=0x3fc4048f80 sp=0x3fc4048f68 pc=0x2ac6229678 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:387 runtime.(*scavengerState).park(0x2ac6454900) /usr/lib/golang/src/runtime/mgcscavenge.go:400 +0x68 fp=0x3fc4048fa8 sp=0x3fc4048f80 pc=0x2ac62121c8 runtime.bgscavenge(0x0?) /usr/lib/golang/src/runtime/mgcscavenge.go:628 +0x50 fp=0x3fc4048fc8 sp=0x3fc4048fa8 pc=0x2ac6212720 runtime.gcenable.func2() /usr/lib/golang/src/runtime/mgc.go:179 +0x2c fp=0x3fc4048fd8 sp=0x3fc4048fc8 pc=0x2ac6208fbc runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3fc4048fd8 sp=0x3fc4048fd8 pc=0x2ac62563ac created by runtime.gcenable /usr/lib/golang/src/runtime/mgc.go:179 +0xb0 goroutine 20 [finalizer wait]: runtime.gopark(0x3fc404c590?, 0x2ac61fe070?, 0x80?, 0x26?, 0x1a0?) /usr/lib/golang/src/runtime/proc.go:381 +0x110 fp=0x3fc404c5a8 sp=0x3fc404c590 pc=0x2ac6229678 runtime.runfinq() /usr/lib/golang/src/runtime/mfinal.go:193 +0x100 fp=0x3fc404c7d8 sp=0x3fc404c5a8 pc=0x2ac6208128 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3fc404c7d8 sp=0x3fc404c7d8 pc=0x2ac62563ac created by runtime.createfing /usr/lib/golang/src/runtime/mfinal.go:163 +0x64 ra 0x3fef34bc7e sp 0x3fc25a5ee0 gp 0x2ac64541c8 tp 0x3fc25a78a0 t0 0x0 t1 0x3ff01092dc t2 0x2ff0912 s0 0x3fc25a5f30 s1 0x333d3 a0 0x0 a1 0x333d3 a2 0x6 a3 0x3fef4461ce a4 0x1 a5 0x3fc25a7140 a6 0xfefefefefefefeff a7 0x83 s2 0x3fef445d58 s3 0x3fc25a7140 s4 0x6 s5 0x3ff51c4d50 s6 0x3fac021e80 s7 0x0 s8 0x3fac052a38 s9 0x0 s10 0xfffffffffffffff8 s11 0x3fac021e80 t3 0x3fef30113c t4 0x3fc25a60a8 t5 0x3fac07ce78 t6 0xcccccccccccccccd pc 0x3fef34bc8c exit status 2 FAIL tinygo.org/x/go-llvm 4.583s error: Bad exit status from /var/tmp/rpm-tmp.TeUwmm (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.TeUwmm (%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