/redhat/redhat-hardened-ld -fstack-protector-strong -rdynamic -Wl,-export-dynamic -fstack-protector-strong main.o dmydln.o miniinit.o dmyext.o abrt.o array.o ast.o bignum.o class.o compar.o compile.o complex.o cont.o debug.o debug_counter.o dir.o dln_find.o encoding.o enum.o enumerator.o error.o eval.o file.o gc.o hash.o inits.o io.o iseq.o load.o marshal.o math.o mjit.o mjit_compile.o node.o numeric.o object.o pack.o parse.o proc.o process.o random.o range.o rational.o re.o regcomp.o regenc.o regerror.o regexec.o regparse.o regsyntax.o ruby.o safe.o signal.o sprintf.o st.o strftime.o string.o struct.o symbol.o thread.o time.o transcode.o transient_heap.o util.o variable.o version.o vm.o vm_backtrace.o vm_dump.o vm_trace.o coroutine/ucontext/Context.o probes.o enc/ascii.o enc/us_ascii.o enc/unicode.o enc/utf_8.o enc/trans/newline.o setproctitle.o strlcat.o strlcpy.o addr2line.o -lpthread -lrt -lrt -lgmp -ldl -lcrypt -lm -lm -o miniruby ./tool/ifchange "--timestamp=.ext/.timestamp/rb_mjit_header.time" rb_mjit_header.h rb_mjit_header.h.new rb_mjit_header.h updated : ./miniruby -I./lib -I. -I.ext/common -n \ -e 'BEGIN{version=ARGV.shift;mis=ARGV.dup}' \ -e 'END{abort "UNICODE version mismatch: #{mis}" unless mis.empty?}' \ -e '(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \ 12.1.0 ./enc/unicode/12.1.0/casefold.h ./enc/unicode/12.1.0/name2ctype.h ./miniruby -I./lib -I. -I.ext/common ./tool/mk_builtin_binary.rb --cross=no generating encdb.h ./miniruby -I./lib -I. -I.ext/common ./tool/generic_erb.rb -c -o encdb.h ./template/encdb.h.tmpl ./enc enc building .ext/include/riscv64-linux/rb_mjit_min_header-2.7.0.h ./miniruby -I./lib -I. -I.ext/common ./tool/transform_mjit_header.rb "gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC " rb_mjit_header.h .ext/include/riscv64-linux/rb_mjit_min_header-2.7.0.h compiling builtin.c gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/riscv64-linux -I./include -I. -I./enc/unicode/12.1.0 -o builtin.o -c builtin.c encdb.h updated BUILDSTDERR: miniruby: thread_pthread.c:1935: rb_sigwait_fd_put: Assertion `old == th' failed. ./miniruby -I./lib -I. -I.ext/common ./tool/mkconfig.rb \ -arch=riscv64-linux -version=2.7.0 \ -install_name=ruby \ -so_name=ruby \ -unicode_version=12.1.0 \ -unicode_emoji_version=12.1 \ > rbconfig.tmp BUILDSTDERR: make: *** [uncommon.mk:241: .ext/include/riscv64-linux/rb_mjit_min_header-2.7.0.h] Aborted (core dumped) BUILDSTDERR: make: *** Waiting for unfinished jobs.... ./tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp rbconfig.rb updated RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.Kq8VPS (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.Kq8VPS (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do 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/ruby.spec