Mock Version: 5.5 Mock Version: 5.5 Mock Version: 5.5 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-2694237-69069/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '5d38d3bf06ae4cb58a0a8e213a59d64f', '-D', '/var/lib/mock/f40-build-2694237-69069/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/golang-tinygo-x-llvm-0-0.42.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-2694237-69069/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=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'cbf45d97b32b42998ac325af8d60791e', '-D', '/var/lib/mock/f40-build-2694237-69069/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', '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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.p4mpwS + 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 llvm-config-14 is /usr/bin/llvm-config-14 + type llvm-config-14-64 /var/tmp/rpm-tmp.p4mpwS: line 65: type: llvm-config-14-64: not found + type llvm-config-14 + LLVM_CONFIG=llvm-config-14 ++ 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-config-14 --cppflags + 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 llvm-config-15 is /usr/bin/llvm-config-15 /var/tmp/rpm-tmp.p4mpwS: line 65: type: llvm-config-15-64: not found + type llvm-config-15 + LLVM_CONFIG=llvm-config-15 ++ 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-config-15 --cppflags + 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' ++ tr '\n' ' ' ++ 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 + 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.p4mpwS: 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' ++ tr '\n' ' ' ++ 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 + 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 is /usr/bin/llvm-config-17 + type llvm-config-17-64 /var/tmp/rpm-tmp.p4mpwS: line 65: type: llvm-config-17-64: not found + type llvm-config-17 + LLVM_CONFIG=llvm-config-17 ++ llvm-config-17 --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/llvm17/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 --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/llvm17/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 --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/llvm17/lib -lLLVM-17 ' ++ echo -L/usr/lib64/llvm17/lib -lLLVM-17 ++ sed 's!/usr/lib64\b!/usr/lib!g' + LLVM_32_LDFLAGS='-L/usr/lib/llvm17/lib -lLLVM-17' ++ echo -L/usr/lib64/llvm17/lib -lLLVM-17 ++ sed 's!/usr/lib\b!/usr/lib64!g' + LLVM_64_LDFLAGS='-L/usr/lib64/llvm17/lib -lLLVM-17' + cat + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FNwOJs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.42.20230924gite9707cc.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.42.20230924gite9707cc.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.42.20230924gite9707cc.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.42.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.42.20230924gite9707cc.fc40 -C e9707ccad600f53e0844c64256be978cdb4844e5 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.42.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 -j32 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.XvF8jp + 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.commit=e9707ccad600f53e0844c64256be978cdb4844e5 -X tinygo.org/x/go-llvm/version=0' + 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.42.20230924gite9707cc.fc40 -C e9707ccad600f53e0844c64256be978cdb4844e5 -p /builddir/build/BUILDROOT/golang-tinygo-x-llvm-0-0.42.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.commit=e9707ccad600f53e0844c64256be978cdb4844e5 -X tinygo.org/x/go-llvm/version=0 -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=0xffffff90102074 m=0 sigcode=4294967290 signal arrived during cgo execution goroutine 20 gp=0xc000182700 m=0 mp=0xaaaaaad2131900 [syscall]: runtime.cgocall(0xaaaaaad1fc00ae, 0xc000089588) /usr/lib/golang/src/runtime/cgocall.go:157 +0x48 fp=0xc000089550 sp=0xc000089520 pc=0xaaaaaad1eb9188 tinygo.org/x/go-llvm._Cfunc_LLVMRunFunction(0xaaaaaae213f220, 0xaaaaaae212b028, 0x1, 0xc0001980c8) _cgo_gotypes.go:7979 +0x38 fp=0xc000089580 sp=0xc000089550 pc=0xaaaaaad1fb4d30 tinygo.org/x/go-llvm.ExecutionEngine.RunFunction.func1({0xaaaaaad1faf208?}, {0x8?}, 0x1, 0xc0001980c8) /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0xc4 fp=0xc0000895d0 sp=0xc000089580 pc=0xaaaaaad1fb65e4 tinygo.org/x/go-llvm.ExecutionEngine.RunFunction({0xaaaaaae212b0b0?}, {0xa?}, {0xc0001980c8?, 0x0?, 0xc0001980b0?}) /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm/executionengine.go:141 +0x60 fp=0xc0000895f8 sp=0xc0000895d0 pc=0xaaaaaad1fb6510 tinygo.org/x/go-llvm.TestFactorial(0xc0001ac4e0) /builddir/build/BUILD/go-llvm-e9707ccad600f53e0844c64256be978cdb4844e5/_build/src/tinygo.org/x/go-llvm/executionengine_test.go:82 +0x518 fp=0xc000089778 sp=0xc0000895f8 pc=0xaaaaaad1faf228 testing.tRunner(0xc0001ac4e0, 0xaaaaaad205b1e0) /usr/lib/golang/src/testing/testing.go:1689 +0x108 fp=0xc0000897c0 sp=0xc000089778 pc=0xaaaaaad1f78ce8 testing.(*T).Run.gowrap1() /usr/lib/golang/src/testing/testing.go:1742 +0x30 fp=0xc0000897d8 sp=0xc0000897c0 pc=0xaaaaaad1f79a38 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_riscv64.s:540 +0x4 fp=0xc0000897d8 sp=0xc0000897d8 pc=0xaaaaaad1f22b3c created by testing.(*T).Run in goroutine 1 /usr/lib/golang/src/testing/testing.go:1742 +0x348 goroutine 1 gp=0xc0000001c0 m=nil [chan receive]: runtime.gopark(0xc0001a2340?, 0xc0001a23c8?, 0x40?, 0x6?, 0xffffff4840e988?) /usr/lib/golang/src/runtime/proc.go:402 +0x108 fp=0xc0000a1a10 sp=0xc0000a19f8 pc=0xaaaaaad1ef01b0 runtime.chanrecv(0xc00018e0e0, 0xc0000a1af7, 0x20?) /usr/lib/golang/src/runtime/chan.go:583 +0x420 fp=0xc0000a1a88 sp=0xc0000a1a10 pc=0xaaaaaad1ebb598 runtime.chanrecv1(0xaaaaaad2130c80?, 0xaaaaaad202e8c0?) /usr/lib/golang/src/runtime/chan.go:442 +0x14 fp=0xc0000a1aa8 sp=0xc0000a1a88 pc=0xaaaaaad1ebb16c testing.(*T).Run(0xc0001ac340, {0xaaaaaad1fe0040?, 0xc0290f7a02?}, 0xaaaaaad205b1e0) /usr/lib/golang/src/testing/testing.go:1750 +0x35c fp=0xc0000a1b60 sp=0xc0000a1aa8 pc=0xaaaaaad1f79934 testing.runTests.func1(0xc0001ac340) /usr/lib/golang/src/testing/testing.go:2161 +0x4c fp=0xc0000a1b98 sp=0xc0000a1b60 pc=0xaaaaaad1f7b62c testing.tRunner(0xc0001ac340, 0xc0000a1ca0) /usr/lib/golang/src/testing/testing.go:1689 +0x108 fp=0xc0000a1be0 sp=0xc0000a1b98 pc=0xaaaaaad1f78ce8 testing.runTests(0xc0001ba000, {0xaaaaaad2117cc0, 0x7, 0x7}, {0x10?, 0xaaaaaad1ec9e40?, 0xaaaaaad2130e60?}) /usr/lib/golang/src/testing/testing.go:2159 +0x404 fp=0xc0000a1cc0 sp=0xc0000a1be0 pc=0xaaaaaad1f7b564 testing.(*M).Run(0xc0001960a0) /usr/lib/golang/src/testing/testing.go:2027 +0x5ec fp=0xc0000a1ee8 sp=0xc0000a1cc0 pc=0xaaaaaad1f7a24c main.main() _testmain.go:61 +0x16c fp=0xc0000a1f68 sp=0xc0000a1ee8 pc=0xaaaaaad1fb95ec runtime.main() /usr/lib/golang/src/runtime/proc.go:271 +0x280 fp=0xc0000a1fd8 sp=0xc0000a1f68 pc=0xaaaaaad1eefd28 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_riscv64.s:540 +0x4 fp=0xc0000a1fd8 sp=0xc0000a1fd8 pc=0xaaaaaad1f22b3c goroutine 2 gp=0xc000000c40 m=nil [force gc (idle)]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:402 +0x108 fp=0xc00008cfa8 sp=0xc00008cf90 pc=0xaaaaaad1ef01b0 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:408 runtime.forcegchelper() /usr/lib/golang/src/runtime/proc.go:326 +0xd4 fp=0xc00008cfd8 sp=0xc00008cfa8 pc=0xaaaaaad1eefff4 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_riscv64.s:540 +0x4 fp=0xc00008cfd8 sp=0xc00008cfd8 pc=0xaaaaaad1f22b3c created by runtime.init.5 in goroutine 1 /usr/lib/golang/src/runtime/proc.go:314 +0x28 goroutine 18 gp=0xc000182380 m=nil [GC sweep wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:402 +0x108 fp=0xc000088788 sp=0xc000088770 pc=0xaaaaaad1ef01b0 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:408 runtime.bgsweep(0xc00018e000) /usr/lib/golang/src/runtime/mgcsweep.go:278 +0xb4 fp=0xc0000887c8 sp=0xc000088788 pc=0xaaaaaad1eda524 runtime.gcenable.gowrap1() /usr/lib/golang/src/runtime/mgc.go:203 +0x2c fp=0xc0000887d8 sp=0xc0000887c8 pc=0xaaaaaad1eced84 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_riscv64.s:540 +0x4 fp=0xc0000887d8 sp=0xc0000887d8 pc=0xaaaaaad1f22b3c created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:203 +0x70 goroutine 19 gp=0xc000182540 m=nil [GC scavenge wait]: runtime.gopark(0xc00018e000?, 0xaaaaaad2011710?, 0x0?, 0x0?, 0xc000182540?) /usr/lib/golang/src/runtime/proc.go:402 +0x108 fp=0xc000088f88 sp=0xc000088f70 pc=0xaaaaaad1ef01b0 runtime.goparkunlock(...) /usr/lib/golang/src/runtime/proc.go:408 runtime.(*scavengerState).park(0xaaaaaad2130f80) /usr/lib/golang/src/runtime/mgcscavenge.go:425 +0x68 fp=0xc000088fb0 sp=0xc000088f88 pc=0xaaaaaad1ed7f60 runtime.bgscavenge(0xc00018e000) /usr/lib/golang/src/runtime/mgcscavenge.go:653 +0x50 fp=0xc000088fc8 sp=0xc000088fb0 pc=0xaaaaaad1ed8490 runtime.gcenable.gowrap2() /usr/lib/golang/src/runtime/mgc.go:204 +0x2c fp=0xc000088fd8 sp=0xc000088fc8 pc=0xaaaaaad1eced34 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_riscv64.s:540 +0x4 fp=0xc000088fd8 sp=0xc000088fd8 pc=0xaaaaaad1f22b3c created by runtime.gcenable in goroutine 1 /usr/lib/golang/src/runtime/mgc.go:204 +0xb0 goroutine 34 gp=0xc000210000 m=nil [finalizer wait]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) /usr/lib/golang/src/runtime/proc.go:402 +0x108 fp=0xc0002165a8 sp=0xc000216590 pc=0xaaaaaad1ef01b0 runtime.runfinq() /usr/lib/golang/src/runtime/mfinal.go:194 +0x108 fp=0xc0002167d8 sp=0xc0002165a8 pc=0xaaaaaad1ecded8 runtime.goexit({}) /usr/lib/golang/src/runtime/asm_riscv64.s:540 +0x4 fp=0xc0002167d8 sp=0xc0002167d8 pc=0xaaaaaad1f22b3c created by runtime.createfing in goroutine 1 /usr/lib/golang/src/runtime/mfinal.go:164 +0x64 ra 0xffffff90102066 sp 0xffffffcab28848 gp 0xaaaaaad2130c40 tp 0xffffff95b7b280 t0 0xfffffffffffffffa t1 0xffffff902a40ac t2 0xaaaaaae2176a90 s0 0xffffffcab28898 s1 0xae9 a0 0x0 a1 0xae9 a2 0x6 a3 0xffffff901fe1de a4 0x1 a5 0xffffff95b7ab20 a6 0xffffff95b7ac28 a7 0x83 s2 0xffffff901fdc00 s3 0xffffff95b7ab20 s4 0x6 s5 0xffffff95c8ad50 s6 0xffffffff s7 0x6 s8 0xcccccccccccccccd s9 0xfffffffffffffffa s10 0x50 s11 0xaaaaaaaaaaaaaaab t3 0xffffff900b714c t4 0xffffffcab288b0 t5 0xfffffffffffffffd t6 0xffffff95bfe1e8 pc 0xffffff90102074 exit status 2 FAIL tinygo.org/x/go-llvm 47.621s error: Bad exit status from /var/tmp/rpm-tmp.XvF8jp (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.XvF8jp (%check) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M cbf45d97b32b42998ac325af8d60791e -D /var/lib/mock/f40-build-2694237-69069/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off 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 612, 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: # /usr/bin/systemd-nspawn -q -M cbf45d97b32b42998ac325af8d60791e -D /var/lib/mock/f40-build-2694237-69069/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.sexs1mxn:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/golang-tinygo-x-llvm.spec'