^~~~~ BUILDSTDERR: txt BUILDSTDERR: transliterator.cpp:101:11: error: 'Transliterator' is not a class, namespace, or enumeration BUILDSTDERR: trans = Transliterator::createInstance(UnicodeString(id, id_len), UTRANS_FORWARD, p_error, status); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:106:15: error: expected type-specifier before 'UnicodeString' BUILDSTDERR: u_txt = new UnicodeString(txt, txt_len); BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:108:3: error: 'StringByteSink' was not declared in this scope BUILDSTDERR: StringByteSink sink(&result); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:108:3: note: suggested alternative: BUILDSTDERR: In file included from /usr/include/unicode/unistr.h:37, BUILDSTDERR: from /usr/include/unicode/translit.h:25, BUILDSTDERR: from transliterator.cpp:5: BUILDSTDERR: /usr/include/unicode/bytestream.h:232:7: note: 'icu_62::StringByteSink' BUILDSTDERR: class StringByteSink : public ByteSink { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:108:29: error: expected primary-expression before '>' token BUILDSTDERR: StringByteSink sink(&result); BUILDSTDERR: ^ BUILDSTDERR: transliterator.cpp:108:31: error: 'sink' was not declared in this scope BUILDSTDERR: StringByteSink sink(&result); BUILDSTDERR: ^~~~ BUILDSTDERR: transliterator.cpp:108:31: note: suggested alternative: 'link' BUILDSTDERR: StringByteSink sink(&result); BUILDSTDERR: ^~~~ BUILDSTDERR: link BUILDSTDERR: transliterator.cpp:111:10: error: type '' argument given to 'delete', expected pointer BUILDSTDERR: delete u_txt; BUILDSTDERR: ^~~~~ BUILDSTDERR: transliterator.cpp:112:10: error: type '' argument given to 'delete', expected pointer BUILDSTDERR: delete trans; BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from transliterator.cpp:1: BUILDSTDERR: common.h: At global scope: BUILDSTDERR: common.h:32:14: warning: 'VALUE charlock_new_str2(const char*)' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_str2(const char *str) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: common.h:14:14: warning: 'VALUE charlock_new_enc_str(const char*, size_t, void*)' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_enc_str(const char *str, size_t len, void *encoding) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [Makefile:235: transliterator.o] Error 1 BUILDSTDERR: ERROR: Error installing charlock_holmes-0.7.3.gem: BUILDSTDERR: ERROR: Failed to build gem native extension. BUILDSTDERR: Building has failed. See above output for more information on the failure. BUILDSTDERR: make failed, exit code 2 BUILDSTDERR: Gem files will remain installed in /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3 for inspection. BUILDSTDERR: Results logged to /builddir/build/BUILD/charlock_holmes-0.7.3/usr/lib64/gems/ruby/charlock_holmes-0.7.3/gem_make.out RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.C4OI9v (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.C4OI9v (%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/rubygem-charlock_holmes.spec