Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.spec'], chrootPath='/var/lib/mock/f40-build-2562667-62142/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --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=1710720000 Wrote: /builddir/build/SRPMS/golang-tinygo-x-llvm-0-0.1.20230924gite9707cc.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.spec'], chrootPath='/var/lib/mock/f40-build-2562667-62142/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=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --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=1710720000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZvFyVr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5 + rm -rf /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -fr /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/vendor + [[ ! -e /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/bin ]] + install -m 0755 -vd /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/bin install: creating directory '/builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build' install: creating directory '/builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/bin' + export GOPATH=/builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build:/usr/share/gocode + GOPATH=/builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build:/usr/share/gocode + [[ ! -e /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm ]] ++ dirname /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm + install -m 0755 -vd /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x install: creating directory '/builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src' install: creating directory '/builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org' install: creating directory '/builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x' + ln -fs /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5 /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm + cd /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm + rm llvm_config_linux_llvm14.go llvm_config_linux_llvm15.go llvm_config_linux_llvm16.go llvm_config_linux_llvm17.go + for version in 14 15 16 17 + type llvm-config-14-64 llvm-config-14 is /usr/bin/llvm-config-14 /var/tmp/rpm-tmp.ZvFyVr: line 65: type: llvm-config-14-64: not found + type llvm-config-14 + LLVM_CONFIG=llvm-config-14 ++ llvm-config-14 --cppflags ++ sed -e 's!/usr/lib64\b!/usr/lib!g' -e 's/-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS/-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS/' + LLVM_32_CPPFLAGS='-I/usr/lib/llvm14/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' ++ llvm-config-14 --cppflags ++ sed -e 's!/usr/lib\b!/usr/lib64!g' -e 's/-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 //' + LLVM_64_CPPFLAGS='-I/usr/lib64/llvm14/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' + '[' 14 -gt 15 ']' + LLVM_CPP_STD=c++14 + LLVM_COMPONENTS='all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target' ++ llvm-config-14 --ldflags --libs --system-libs all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target ++ tr '\n' ' ' + LLVM_LDFLAGS='-L/usr/lib64/llvm14/lib -lLLVM-14 ' ++ echo -L/usr/lib64/llvm14/lib -lLLVM-14 ++ sed 's!/usr/lib64\b!/usr/lib!g' + LLVM_32_LDFLAGS='-L/usr/lib/llvm14/lib -lLLVM-14' ++ echo -L/usr/lib64/llvm14/lib -lLLVM-14 ++ sed 's!/usr/lib\b!/usr/lib64!g' + LLVM_64_LDFLAGS='-L/usr/lib64/llvm14/lib -lLLVM-14' + cat + for version in 14 15 16 17 + type llvm-config-15-64 /var/tmp/rpm-tmp.ZvFyVr: line 65: type: llvm-config-15-64: not found + type llvm-config-15 llvm-config-15 is /usr/bin/llvm-config-15 + LLVM_CONFIG=llvm-config-15 ++ llvm-config-15 --cppflags ++ sed -e 's!/usr/lib64\b!/usr/lib!g' -e 's/-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS/-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS/' + LLVM_32_CPPFLAGS='-I/usr/lib/llvm15/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' ++ llvm-config-15 --cppflags ++ sed -e 's!/usr/lib\b!/usr/lib64!g' -e 's/-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 //' + LLVM_64_CPPFLAGS='-I/usr/lib64/llvm15/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' + '[' 15 -gt 15 ']' + LLVM_CPP_STD=c++14 + LLVM_COMPONENTS='all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target' ++ llvm-config-15 --ldflags --libs --system-libs all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target ++ tr '\n' ' ' + LLVM_LDFLAGS='-L/usr/lib64/llvm15/lib -lLLVM-15 ' ++ echo -L/usr/lib64/llvm15/lib -lLLVM-15 ++ sed 's!/usr/lib64\b!/usr/lib!g' + LLVM_32_LDFLAGS='-L/usr/lib/llvm15/lib -lLLVM-15' ++ echo -L/usr/lib64/llvm15/lib -lLLVM-15 ++ sed 's!/usr/lib\b!/usr/lib64!g' + LLVM_64_LDFLAGS='-L/usr/lib64/llvm15/lib -lLLVM-15' + cat + for version in 14 15 16 17 + type llvm-config-16-64 llvm-config-16 is /usr/bin/llvm-config-16 /var/tmp/rpm-tmp.ZvFyVr: line 65: type: llvm-config-16-64: not found + type llvm-config-16 + LLVM_CONFIG=llvm-config-16 ++ llvm-config-16 --cppflags ++ sed -e 's!/usr/lib64\b!/usr/lib!g' -e 's/-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS/-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS/' + LLVM_32_CPPFLAGS='-I/usr/lib/llvm16/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' ++ llvm-config-16 --cppflags ++ sed -e 's!/usr/lib\b!/usr/lib64!g' -e 's/-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 //' + LLVM_64_CPPFLAGS='-I/usr/lib64/llvm16/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' + '[' 16 -gt 15 ']' + LLVM_CPP_STD=c++17 + LLVM_COMPONENTS='all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target' ++ llvm-config-16 --ldflags --libs --system-libs all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target ++ tr '\n' ' ' + LLVM_LDFLAGS='-L/usr/lib64/llvm16/lib -lLLVM-16 ' ++ echo -L/usr/lib64/llvm16/lib -lLLVM-16 ++ sed 's!/usr/lib64\b!/usr/lib!g' + LLVM_32_LDFLAGS='-L/usr/lib/llvm16/lib -lLLVM-16' ++ echo -L/usr/lib64/llvm16/lib -lLLVM-16 ++ sed 's!/usr/lib\b!/usr/lib64!g' + LLVM_64_LDFLAGS='-L/usr/lib64/llvm16/lib -lLLVM-16' + cat + for version in 14 15 16 17 llvm-config-17-64 is /usr/bin/llvm-config-17-64 + type llvm-config-17-64 + LLVM_CONFIG=llvm-config-17-64 ++ llvm-config-17-64 --cppflags ++ sed -e 's!/usr/lib64\b!/usr/lib!g' -e 's/-D_GNU_SOURCE -D__STDC_CONSTANT_MACROS/-D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS/' + LLVM_32_CPPFLAGS='-I/usr/include -D_GNU_SOURCE -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' ++ llvm-config-17-64 --cppflags ++ sed -e 's!/usr/lib\b!/usr/lib64!g' -e 's/-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 //' + LLVM_64_CPPFLAGS='-I/usr/include -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS' + '[' 17 -gt 15 ']' + LLVM_CPP_STD=c++17 + LLVM_COMPONENTS='all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target' ++ llvm-config-17-64 --ldflags --libs --system-libs all-targets analysis asmparser asmprinter bitreader bitwriter codegen core coroutines debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target ++ tr '\n' ' ' + LLVM_LDFLAGS='-L/usr/lib64 -lLLVM-17 ' ++ echo -L/usr/lib64 -lLLVM-17 ++ sed 's!/usr/lib64\b!/usr/lib!g' + LLVM_32_LDFLAGS='-L/usr/lib -lLLVM-17' ++ echo -L/usr/lib64 -lLLVM-17 ++ sed 's!/usr/lib\b!/usr/lib64!g' + LLVM_64_LDFLAGS='-L/usr/lib64 -lLLVM-17' + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Uf6wtB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20230924gite9707cc.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20230924gite9707cc.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20230924gite9707cc.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20230924gite9707cc.fc40.riscv64 + cd go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5 + cd /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_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-e9707ccad600f53e0844c64256be978cdb4844e5/_build/bin -s /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build -o golang-tinygo-x-llvm-devel.file-list -O /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5 -V 0-0.1.20230924gite9707cc.fc40 -C e9707ccad600f53e0844c64256be978cdb4844e5 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20230924gite9707cc.fc40.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 -j64 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.yeOP7m + umask 022 + cd /builddir/build/BUILD + cd go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5 + for version in 14 15 16 17 + export TAGS=llvm14 + TAGS=llvm14 + LDFLAGS=' -X tinygo.org/x/go-llvm/version=0 -X tinygo.org/x/go-llvm/version.commit=e9707ccad600f53e0844c64256be978cdb4844e5' + 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-e9707ccad600f53e0844c64256be978cdb4844e5/_build/bin -s /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build -V 0-0.1.20230924gite9707cc.fc40 -C e9707ccad600f53e0844c64256be978cdb4844e5 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.1.20230924gite9707cc.fc40.riscv64 -g /usr/share/gocode -r '.*example.*' Testing in: /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src PATH: /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin GOPATH: /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_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=e9707ccad600f53e0844c64256be978cdb4844e5 -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. /usr/bin/../lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/stl_deque.h:1385: const_reference std::deque::operator[](size_type) const [_Tp = llvm::SectionEntry, _Alloc = std::allocator]: Assertion '__n < this->size()' failed. SIGABRT: abort PC=0x3f7ab02074 m=0 sigcode=4294967290 signal arrived during cgo execution goroutine 19 [syscall]: runtime.cgocall(0x2ace147d0e, 0x3f300c6580) /usr/lib/golang/src/runtime/cgocall.go:157 +0x48 fp=0x3f300c6548 sp=0x3f300c6518 pc=0x2ace046b30 tinygo.org/x/go-llvm._Cfunc_LLVMRunFunction(0x2ad2f79fc0, 0x2ad2f66028, 0x1, 0x3f30142288) _cgo_gotypes.go:7975 +0x3c fp=0x3f300c6578 sp=0x3f300c6548 pc=0x2ace13c484 tinygo.org/x/go-llvm.ExecutionEngine.RunFunction.func1({0x2ace13606c?}, {0x8?}, 0x1, 0x1?) /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0xd8 fp=0x3f300c65d0 sp=0x3f300c6578 pc=0x2ace13de88 tinygo.org/x/go-llvm.ExecutionEngine.RunFunction({0x2ad2f708f0?}, {0x100000002?}, {0x3f30142288?, 0x0?, 0x3f30142240?}) /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0x60 fp=0x3f300c65f8 sp=0x3f300c65d0 pc=0x2ace13dd90 tinygo.org/x/go-llvm.TestFactorial(0x3f30102d00) /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm/executionengine_test.go:82 +0x51c fp=0x3f300c6778 sp=0x3f300c65f8 pc=0x2ace13608c testing.tRunner(0x3f30102d00, 0x2ace1db040) /usr/lib/golang/src/testing/testing.go:1595 +0x104 fp=0x3f300c67c0 sp=0x3f300c6778 pc=0x2ace0fcae4 testing.(*T).Run.func1() /usr/lib/golang/src/testing/testing.go:1648 +0x30 fp=0x3f300c67d8 sp=0x3f300c67c0 pc=0x2ace0fd818 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f300c67d8 sp=0x3f300c67d8 pc=0x2ace0acb74 created by testing.(*T).Run in goroutine 1 /usr/lib/golang/src/testing/testing.go:1648 +0x36c goroutine 1 [chan receive]: runtime.gopark(0x2ace04f3a0?, 0x3f3011c0a8?, 0x18?, 0x0?, 0x18?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f300da9b8 sp=0x3f300da9a0 pc=0x2ace07d8ec runtime.chanrecv(0x3f30154070, 0x3f300daa9f, 0xfc?) /usr/lib/golang/src/runtime/chan.go:583 +0x430 fp=0x3f300daa30 sp=0x3f300da9b8 pc=0x2ace049030 runtime.chanrecv1(0x2ace2bf440?, 0x2ace1b0880?) /usr/lib/golang/src/runtime/chan.go:442 +0x14 fp=0x3f300daa50 sp=0x3f300daa30 pc=0x2ace048be4 testing.(*T).Run(0x3f30102b60, {0x2ace167f45?, 0x2ace0bcdc8?}, 0x2ace1db040) /usr/lib/golang/src/testing/testing.go:1649 +0x380 fp=0x3f300dab08 sp=0x3f300daa50 pc=0x2ace0fd710 testing.runTests.func1(0x1a0?) /usr/lib/golang/src/testing/testing.go:2054 +0x54 fp=0x3f300dab50 sp=0x3f300dab08 pc=0x2ace0ff474 testing.tRunner(0x3f30102b60, 0x3f300dac68) /usr/lib/golang/src/testing/testing.go:1595 +0x104 fp=0x3f300dab98 sp=0x3f300dab50 pc=0x2ace0fcae4 testing.runTests(0x3f301220a0?, {0x2ace2a6820, 0x7, 0x7}, {0x2ace1c7de0?, 0x3f3012b201?, 0x2ace2bf640?}) /usr/lib/golang/src/testing/testing.go:2052 +0x414 fp=0x3f300dac88 sp=0x3f300dab98 pc=0x2ace0ff3a4 testing.(*M).Run(0x3f301220a0) /usr/lib/golang/src/testing/testing.go:1925 +0x564 fp=0x3f300daec8 sp=0x3f300dac88 pc=0x2ace0fdfb4 main.main() _testmain.go:61 +0x1a8 fp=0x3f300daf48 sp=0x3f300daec8 pc=0x2ace141290 runtime.main() /usr/lib/golang/src/runtime/proc.go:267 +0x2d0 fp=0x3f300dafd8 sp=0x3f300daf48 pc=0x2ace07d430 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f300dafd8 sp=0x3f300dafd8 pc=0x2ace0acb74 goroutine 2 [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f300cafa8 sp=0x3f300caf90 pc=0x2ace07d8ec runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:404 runtime.forcegchelper() /usr/lib/golang/src/runtime/proc.go:322 +0xd4 fp=0x3f300cafd8 sp=0x3f300cafa8 pc=0x2ace07d72c runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f300cafd8 sp=0x3f300cafd8 pc=0x2ace0acb74 created by runtime.init.5 in goroutine 1 /usr/lib/golang/src/runtime/proc.go:310 +0x28 goroutine 3 [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f300cb780 sp=0x3f300cb768 pc=0x2ace07d8ec runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:404 runtime.bgsweep(0x0?) /usr/lib/golang/src/runtime/mgcsweep.go:280 +0xb4 fp=0x3f300cb7c8 sp=0x3f300cb780 pc=0x2ace067b4c runtime.gcenable.func1() /usr/lib/golang/src/runtime/mgc.go:200 +0x2c fp=0x3f300cb7d8 sp=0x3f300cb7c8 pc=0x2ace05c2c4 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f300cb7d8 sp=0x3f300cb7d8 pc=0x2ace0acb74 created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:200 +0x70 goroutine 4 [GC scavenge wait]: runtime.gopark(0x3f300141c0?, 0x2ace1956e8?, 0x0?, 0x0?, 0x3f300011e0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f300cbf80 sp=0x3f300cbf68 pc=0x2ace07d8ec runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:404 runtime.(*scavengerState).park(0x2ace2bf6c0) /usr/lib/golang/src/runtime/mgcscavenge.go:425 +0x68 fp=0x3f300cbfa8 sp=0x3f300cbf80 pc=0x2ace0652c8 runtime.bgscavenge(0x0?) /usr/lib/golang/src/runtime/mgcscavenge.go:653 +0x50 fp=0x3f300cbfc8 sp=0x3f300cbfa8 pc=0x2ace065840 runtime.gcenable.func2() /usr/lib/golang/src/runtime/mgc.go:201 +0x2c fp=0x3f300cbfd8 sp=0x3f300cbfc8 pc=0x2ace05c264 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f300cbfd8 sp=0x3f300cbfd8 pc=0x2ace0acb74 created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:201 +0xb0 goroutine 18 [finalizer wait]: runtime.gopark(0x2ace0a92b8?, 0x2ace196a10?, 0xa?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:398 +0x10c fp=0x3f300ca5a8 sp=0x3f300ca590 pc=0x2ace07d8ec runtime.runfinq() /usr/lib/golang/src/runtime/mfinal.go:193 +0x108 fp=0x3f300ca7d8 sp=0x3f300ca5a8 pc=0x2ace05b3b8 runtime.goexit() /usr/lib/golang/src/runtime/asm_riscv64.s:512 +0x4 fp=0x3f300ca7d8 sp=0x3f300ca7d8 pc=0x2ace0acb74 created by runtime.createfing in goroutine 1 /usr/lib/golang/src/runtime/mfinal.go:163 +0x64 ra 0x3f7ab02066 sp 0x3ffa1db958 gp 0x2ace2bf3e0 tp 0x3f7a9d7280 t0 0xfffffffffffffffa t1 0x3f7aca40ac t2 0x2ad2fb1990 s0 0x3ffa1db9a8 s1 0x18042 a0 0x0 a1 0x18042 a2 0x6 a3 0x3f7abfe1de a4 0x1 a5 0x3f7a9d6b20 a6 0x3f7a9d6c28 a7 0x83 s2 0x3f7abfdc00 s3 0x3f7a9d6b20 s4 0x6 s5 0x3f80620d50 s6 0xffffffff s7 0x6 s8 0xcccccccccccccccd s9 0xfffffffffffffffa s10 0x50 s11 0xaaaaaaaaaaaaaaab t3 0x3f7aab714c t4 0x3ffa1db9c0 t5 0xfffffffffffffffd t6 0x3f805941e8 pc 0x3f7ab02074 exit status 2 FAIL tinygo.org/x/go-llvm 0.617s error: Bad exit status from /var/tmp/rpm-tmp.yeOP7m (%check) Bad exit status from /var/tmp/rpm-tmp.yeOP7m (%check) RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.spec'