Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-charlock_holmes.spec'], chrootPath='/var/lib/mock/f29-build-5084-1198/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rubygem-charlock_holmes.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/rubygem-charlock_holmes-0.7.3-19.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-charlock_holmes.spec'], chrootPath='/var/lib/mock/f29-build-5084-1198/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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=995gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/rubygem-charlock_holmes.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': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8LLkRK + umask 022 + cd /builddir/build/BUILD + gem unpack /builddir/build/SOURCES/charlock_holmes-0.7.3.gem Unpacked gem: '/builddir/build/BUILD/charlock_holmes-0.7.3' + cd /builddir/build/BUILD + cd charlock_holmes-0.7.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + gem spec /builddir/build/SOURCES/charlock_holmes-0.7.3.gem -l --ruby + sed -i /bundler/d test/helper.rb + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.z2TQeM + umask 022 + cd /builddir/build/BUILD + cd charlock_holmes-0.7.3 + gem build charlock_holmes.gemspec BUILDSTDERR: WARNING: open-ended dependency on rake-compiler (>= 0.7.5, development) is not recommended BUILDSTDERR: if rake-compiler is semantically versioned, use: BUILDSTDERR: add_development_dependency 'rake-compiler', '~> 0.7', '>= 0.7.5' BUILDSTDERR: WARNING: open-ended dependency on minitest (>= 0, development) is not recommended BUILDSTDERR: if minitest is semantically versioned, use: BUILDSTDERR: add_development_dependency 'minitest', '~> 0' BUILDSTDERR: WARNING: open-ended dependency on chardet (>= 0, development) is not recommended BUILDSTDERR: if chardet is semantically versioned, use: BUILDSTDERR: add_development_dependency 'chardet', '~> 0' BUILDSTDERR: WARNING: See http://guides.rubygems.org/specification-reference/ for help Successfully built RubyGem Name: charlock_holmes Version: 0.7.3 File: charlock_holmes-0.7.3.gem + mkdir -p ./usr/share/gems + CONFIGURE_ARGS='--with-cflags='\''-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'\'' ' + gem install -V --local --build-root . --force --document=ri,rdoc charlock_holmes-0.7.3.gem BUILDSTDERR: WARNING: You build with buildroot. BUILDSTDERR: Build root: /builddir/build/BUILD/charlock_holmes-0.7.3 BUILDSTDERR: Bin dir: /builddir/build/BUILD/charlock_holmes-0.7.3/usr/bin BUILDSTDERR: Gem home: /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/.gitignore /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/Gemfile /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/MIT-LICENSE /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/README.md /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/Rakefile /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/benchmark/detection.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/benchmark/test.txt /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/charlock_holmes.gemspec /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes/common.h /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes/converter.c /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes/encoding_detector.c /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes/ext.c /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes/extconf.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes/transliterator.cpp /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/lib/charlock_holmes.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/lib/charlock_holmes/encoding_detector.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/lib/charlock_holmes/string.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/lib/charlock_holmes/version.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/converter_test.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/encoding_detector_test.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/AnsiGraph.psm1 /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/ISO-2022-KR.txt /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/TwigExtensionsDate.es.yml /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/cl-messagepack.lisp /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/core.rkt /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/foo.pdf /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/hello_world /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/laholator.py /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/octocat.ai /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/octocat.gif /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/octocat.jpg /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/octocat.png /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/octocat.psd /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/repl2.cljs /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/sierpinski.ps /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/utf16be.html /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/utf32be.html /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/utf32le.html /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/utf8.html /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/fixtures/vimrc /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/helper.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/string_methods_test.rb /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/test/transliterator_test.rb Building native extensions. This could take a while... current directory: /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes /usr/bin/ruby -r ./siteconf20180528-4267-1vj3j3w.rb extconf.rb checking for -licui18n... yes checking for -licui18n... yes checking for unicode/ucnv.h... yes checking for -lz... yes checking for -licuuc... yes checking for -licudata... yes creating Makefile current directory: /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes make "DESTDIR=" clean rm -f rm -f charlock_holmes.so *.o *.bak mkmf.log .*.time current directory: /builddir/build/BUILD/charlock_holmes-0.7.3/usr/share/gems/gems/charlock_holmes-0.7.3/ext/charlock_holmes make "DESTDIR=" gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNICODE_UCNV_H -fPIC -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 -Wall -funroll-loops -o converter.o -c converter.c BUILDSTDERR: In file included from converter.c:2: BUILDSTDERR: common.h:32:14: warning: 'charlock_new_str2' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_str2(const char *str) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: common.h:23:14: warning: 'charlock_new_str' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_str(const char *str, size_t len) BUILDSTDERR: ^~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNICODE_UCNV_H -fPIC -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 -Wall -funroll-loops -o encoding_detector.o -c encoding_detector.c BUILDSTDERR: In file included from encoding_detector.c:2: BUILDSTDERR: common.h:14:14: warning: 'charlock_new_enc_str' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_enc_str(const char *str, size_t len, void *encoding) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ gcc -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNICODE_UCNV_H -fPIC -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 -Wall -funroll-loops -o ext.o -c ext.c BUILDSTDERR: In file included from ext.c:1: BUILDSTDERR: common.h:32:14: warning: 'charlock_new_str2' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_str2(const char *str) BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: common.h:23:14: warning: 'charlock_new_str' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_str(const char *str, size_t len) BUILDSTDERR: ^~~~~~~~~~~~~~~~ BUILDSTDERR: common.h:14:14: warning: 'charlock_new_enc_str' defined but not used [-Wunused-function] BUILDSTDERR: static VALUE charlock_new_enc_str(const char *str, size_t len, void *encoding) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ g++ -I. -I/usr/include -I/usr/include/ruby/backward -I/usr/include -I. -DHAVE_UNICODE_UCNV_H -fPIC -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 -o transliterator.o -c transliterator.cpp BUILDSTDERR: transliterator.cpp: In function 'VALUE rb_transliterator_id_list(VALUE)': BUILDSTDERR: transliterator.cpp:39:3: error: 'StringEnumeration' was not declared in this scope BUILDSTDERR: StringEnumeration *id_list; BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:39:3: note: suggested alternative: BUILDSTDERR: In file included from /usr/include/unicode/translit.h:28, BUILDSTDERR: from transliterator.cpp:5: BUILDSTDERR: /usr/include/unicode/strenum.h:57:20: note: 'icu_61::StringEnumeration' BUILDSTDERR: class U_COMMON_API StringEnumeration : public UObject { BUILDSTDERR: ^~~~~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:39:22: error: 'id_list' was not declared in this scope BUILDSTDERR: StringEnumeration *id_list; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: transliterator.cpp:39:22: note: suggested alternative: 'va_list' BUILDSTDERR: StringEnumeration *id_list; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: va_list BUILDSTDERR: transliterator.cpp:47:13: error: 'Transliterator' has not been declared BUILDSTDERR: id_list = Transliterator::getAvailableIDs(status); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:73:10: error: type '' argument given to 'delete', expected pointer BUILDSTDERR: delete id_list; BUILDSTDERR: ^~~~~~~ BUILDSTDERR: transliterator.cpp: In function 'VALUE rb_transliterator_transliterate(VALUE, VALUE, VALUE)': BUILDSTDERR: transliterator.cpp:81:3: error: 'Transliterator' was not declared in this scope BUILDSTDERR: Transliterator *trans; BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:81:3: note: suggested alternative: BUILDSTDERR: In file included from transliterator.cpp:5: BUILDSTDERR: /usr/include/unicode/translit.h:243:18: note: 'icu_61::Transliterator' BUILDSTDERR: class U_I18N_API Transliterator : public UObject { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:81:19: error: 'trans' was not declared in this scope BUILDSTDERR: Transliterator *trans; BUILDSTDERR: ^~~~~ BUILDSTDERR: transliterator.cpp:81:19: note: suggested alternative: 'srand' BUILDSTDERR: Transliterator *trans; BUILDSTDERR: ^~~~~ BUILDSTDERR: srand BUILDSTDERR: transliterator.cpp:86:3: error: 'UnicodeString' was not declared in this scope BUILDSTDERR: UnicodeString *u_txt; BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:86:3: note: suggested alternative: BUILDSTDERR: In file included from /usr/include/unicode/translit.h:25, BUILDSTDERR: from transliterator.cpp:5: BUILDSTDERR: /usr/include/unicode/unistr.h:286:20: note: 'icu_61::UnicodeString' BUILDSTDERR: class U_COMMON_API UnicodeString : public Replaceable BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: transliterator.cpp:86:18: error: 'u_txt' was not declared in this scope BUILDSTDERR: UnicodeString *u_txt; BUILDSTDERR: ^~~~~ BUILDSTDERR: transliterator.cpp:86:18: note: suggested alternative: 'txt' BUILDSTDERR: UnicodeString *u_txt; BUILDSTDERR: ^~~~~ 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_61::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 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.z2TQeM (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.z2TQeM (%build) RPM build errors: 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