Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/f33-build-127067-40159/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/libpinyin-2.3.0-3.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/f33-build-127067-40159/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tHKmlv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpinyin-2.3.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/libpinyin-2.3.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libpinyin-2.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AwgZIv + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.3.0 + 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' + export CFLAGS + CXXFLAGS='-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' + export CXXFLAGS + FFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-dbm=KyotoCabinet --enable-libzhuyin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for riscv64-redhat-linux-gnu-g++... no checking for riscv64-redhat-linux-gnu-c++... no checking for riscv64-redhat-linux-gnu-gpp... no checking for riscv64-redhat-linux-gnu-aCC... no checking for riscv64-redhat-linux-gnu-CC... no checking for riscv64-redhat-linux-gnu-cxx... no checking for riscv64-redhat-linux-gnu-cc++... no checking for riscv64-redhat-linux-gnu-cl.exe... no checking for riscv64-redhat-linux-gnu-FCC... no checking for riscv64-redhat-linux-gnu-KCC... no checking for riscv64-redhat-linux-gnu-RCC... no checking for riscv64-redhat-linux-gnu-xlC_r... no checking for riscv64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether g++ supports C++11 features by default... yes checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for ANSI C header files... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for string.h... (cached) yes checking for KYOTOCABINET... yes checking for library containing kcdbopen... -lkyotocabinet checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libpinyin.pc config.status: creating libzhuyin.pc config.status: creating libpinyin.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/storage/Makefile config.status: creating src/lookup/Makefile config.status: creating tests/Makefile config.status: creating tests/include/Makefile config.status: creating tests/storage/Makefile config.status: creating tests/lookup/Makefile config.status: creating utils/Makefile config.status: creating utils/storage/Makefile config.status: creating utils/segment/Makefile config.status: creating utils/training/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Build options: Version 2.3.0 Install prefix /usr DBM KyotoCabinet Enable libzhuyin yes + make -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' CXX libstorage_la-phrase_index.lo CXX libstorage_la-phrase_large_table2.lo CXX libstorage_la-ngram.lo CXX libstorage_la-phrase_large_table3.lo CXX libstorage_la-tag_utility.lo CXX libstorage_la-chewing_key.lo CXX libstorage_la-pinyin_parser2.lo CXX libstorage_la-zhuyin_parser2.lo CXX libstorage_la-phonetic_key_matrix.lo CXX libstorage_la-chewing_large_table.lo CXX libstorage_la-chewing_large_table2.lo CXX libstorage_la-table_info.lo CXX libstorage_la-ngram_kyotodb.lo CXX libstorage_la-phrase_large_table3_kyotodb.lo CXX libstorage_la-chewing_large_table2_kyotodb.lo In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 1]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:155:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 2]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:156:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 3]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:157:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 4]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:158:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 5]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:159:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 6]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:160:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 7]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:161:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 8]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:162:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 9]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:163:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 10]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:164:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 11]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:165:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 12]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:166:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 13]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:167:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 14]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:168:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 15]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:169:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long unsigned int phrase_length = 16]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:140:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:170:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26, from chewing_large_table2_kyotodb.cpp:21: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ CXXLD libstorage.la make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' CXX liblookup_la-pinyin_lookup2.lo CXX liblookup_la-lookup.lo CXX liblookup_la-phonetic_lookup.lo CXX liblookup_la-phrase_lookup.lo CXXLD liblookup.la make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src' CXX pinyin.lo CXX zhuyin.lo CXX pinyin_internal.lo pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': pinyin.cpp:501:9: warning: unused variable 'num' [-Wunused-variable] 501 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': pinyin.cpp:1135:17: warning: unused variable 'num' [-Wunused-variable] 1135 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': pinyin.cpp:2038:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 2038 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': pinyin.cpp:2113:9: warning: unused variable 'num' [-Wunused-variable] 2113 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': pinyin.cpp:2564:13: warning: unused variable 'retval' [-Wunused-variable] 2564 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': zhuyin.cpp:427:9: warning: unused variable 'num' [-Wunused-variable] 427 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'void _compute_prefixes(zhuyin_instance_t*, const char*)': zhuyin.cpp:933:17: warning: unused variable 'num' [-Wunused-variable] 933 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': zhuyin.cpp:1649:16: warning: unused variable 'len' [-Wunused-variable] 1649 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1656:16: warning: unused variable 'len' [-Wunused-variable] 1656 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1636:26: warning: unused variable 'context' [-Wunused-variable] 1636 | zhuyin_context_t * & context = instance->m_context; | ^~~~~~~ zhuyin.cpp:1639:25: warning: unused variable 'results' [-Wunused-variable] 1639 | NBestMatchResults & results = instance->m_nbest_results; | ^~~~~~~ zhuyin.cpp:1645:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 1645 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ zhuyin.cpp: In function 'bool zhuyin_lookup_tokens(zhuyin_instance_t*, const char*, GArray*)': zhuyin.cpp:1688:9: warning: unused variable 'num' [-Wunused-variable] 1688 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'bool _pre_compute_tokens(zhuyin_context_t*, TokenVector, ucs4_t*, size_t)': zhuyin.cpp:2048:13: warning: unused variable 'retval' [-Wunused-variable] 2048 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ CXXLD libpinyin_internal.la CXXLD libzhuyin.la CXXLD libpinyin.la make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' Making all in include make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' CXX test_memory_chunk.o CXXLD test_memory_chunk make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' CXX test_phrase_index_logger.o CXX test_phrase_index.o CXX test_phrase_table.o CXX test_ngram.o test_phrase_table.cpp: In function 'int main(int, char**)': test_phrase_table.cpp:67:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 67 | for (i = 1; i < phrase_len; ++i) { | ~~^~~~~~~~~~~~ CXX test_flexible_ngram.o CXX test_parser2.o CXX test_matrix.o CXX test_chewing_table.o CXX test_table_info.o CXXLD test_phrase_index CXXLD test_phrase_index_logger CXXLD test_phrase_table CXXLD test_ngram CXXLD test_parser2 CXXLD test_matrix CXXLD test_chewing_table CXXLD test_table_info CXXLD test_flexible_ngram make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' CXX test_pinyin_lookup.o CXX test_phrase_lookup.o CXXLD test_phrase_lookup CXXLD test_pinyin_lookup make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' CXX test_pinyin.o CXX test_phrase.o CXX test_chewing.o CXX test_zhuyin.o CXXLD test_zhuyin CXXLD test_phrase CXXLD test_pinyin CXXLD test_chewing make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' Making all in utils make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' CXX gen_binary_files.o CXX gen_pinyin_table.o CXX export_interpolation.o CXX import_interpolation.o CXX gen_zhuyin_table.o CXXLD gen_binary_files CXXLD gen_pinyin_table CXXLD import_interpolation CXXLD export_interpolation gen_zhuyin_table.cpp: In function 'void gen_phrase_file(const char*, int)': gen_zhuyin_table.cpp:311:36: warning: variable 'key_rest' set but not used [-Wunused-but-set-variable] 311 | ChewingKeyRest key_rest = g_array_index | ^~~~~~~~ CXXLD gen_zhuyin_table make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' Making all in segment make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' CXX mergeseq.o CXX spseg.o CXX ngseg.o mergeseq.cpp: In function 'bool merge_sequence(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, UnicodeCharVector, TokenInfoVector)': mergeseq.cpp:99:17: warning: unused variable 'num' [-Wunused-variable] 99 | int num = get_first_token(tokens, token); | ^~~ spseg.cpp: In function 'bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)': spseg.cpp:114:17: warning: unused variable 'num' [-Wunused-variable] 114 | int num = get_first_token(tokens, token); | ^~~ CXXLD ngseg CXXLD mergeseq CXXLD spseg make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' Making all in training make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' CXX gen_unigram.o CXX gen_ngram.o CXX gen_deleted_ngram.o CXX gen_k_mixture_model.o gen_k_mixture_model.cpp: In function 'void train_word_pair(HashofUnigram, pinyin::KMixtureModelSingleGram*, phrase_token_t, guint32)': gen_k_mixture_model.cpp:184:20: warning: comparison of integer expressions of different signedness: 'guint32' {aka 'unsigned int'} and 'gint' {aka 'int'} [-Wsign-compare] 184 | if ( count > g_maximum_occurs ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ gen_k_mixture_model.cpp: In function 'bool post_processing_unigram(pinyin::KMixtureModelBigram*, HashofUnigram)': gen_k_mixture_model.cpp:302:14: warning: unused variable 'result' [-Wunused-variable] 302 | bool result = bigram->get_array_header(token, array_header); | ^~~~~~ CXX estimate_interpolation.o CXX estimate_k_mixture_model.o CXX merge_k_mixture_model.o estimate_interpolation.cpp: In function 'parameter_t compute_interpolation(pinyin::SingleGram*, pinyin::FacadePhraseIndex*, pinyin::SingleGram*)': estimate_interpolation.cpp:33:10: warning: unused variable 'success' [-Wunused-variable] 33 | bool success; | ^~~~~~~ estimate_k_mixture_model.cpp: In function 'parameter_t compute_interpolation(pinyin::KMixtureModelSingleGram*, pinyin::KMixtureModelBigram*, pinyin::KMixtureModelSingleGram*)': estimate_k_mixture_model.cpp:39:10: warning: unused variable 'success' [-Wunused-variable] 39 | bool success; | ^~~~~~~ CXX prune_k_mixture_model.o prune_k_mixture_model.cpp: In function 'bool prune_k_mixture_model(pinyin::KMixtureModelMagicHeader*, pinyin::KMixtureModelSingleGram*&, pinyin::FlexibleBigramPhraseArray)': prune_k_mixture_model.cpp:48:10: warning: unused variable 'success' [-Wunused-variable] 48 | bool success; | ^~~~~~~ CXX import_k_mixture_model.o CXX export_k_mixture_model.o CXX k_mixture_model_to_interpolation.o CXX validate_k_mixture_model.o CXX eval_correction_rate.o CXXLD gen_unigram CXXLD gen_ngram CXXLD gen_deleted_ngram CXXLD gen_k_mixture_model CXXLD estimate_interpolation CXXLD estimate_k_mixture_model CXXLD merge_k_mixture_model CXXLD prune_k_mixture_model CXXLD import_k_mixture_model CXXLD export_k_mixture_model CXXLD k_mixture_model_to_interpolation CXXLD eval_correction_rate CXXLD validate_k_mixture_model make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' Making all in data make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/data' rm -f phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin ../utils/storage/gen_binary_files --table-dir ../data ../utils/storage/import_interpolation --table-dir ../data < ../data/interpolation2.text ../utils/training/gen_unigram --table-dir ../data make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/data' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.N668Du + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 + cd libpinyin-2.3.0 + make install DESTDIR=/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/include/libpinyin-2.3.0' install -p -m 644 novel_types.h '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/include/libpinyin-2.3.0' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/include/libpinyin-2.3.0' install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/include/libpinyin-2.3.0' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64' /bin/sh ../libtool --mode=install install -p libpinyin.la libzhuyin.la '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64' libtool: install: install -p .libs/libpinyin.so.13.0.0 /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libpinyin.so.13.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64 && { ln -s -f libpinyin.so.13.0.0 libpinyin.so.13 || { rm -f libpinyin.so.13 && ln -s libpinyin.so.13.0.0 libpinyin.so.13; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64 && { ln -s -f libpinyin.so.13.0.0 libpinyin.so || { rm -f libpinyin.so && ln -s libpinyin.so.13.0.0 libpinyin.so; }; }) libtool: install: install -p .libs/libpinyin.lai /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libpinyin.la libtool: install: install -p .libs/libzhuyin.so.13.0.0 /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libzhuyin.so.13.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64 && { ln -s -f libzhuyin.so.13.0.0 libzhuyin.so.13 || { rm -f libzhuyin.so.13 && ln -s libzhuyin.so.13.0.0 libzhuyin.so.13; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64 && { ln -s -f libzhuyin.so.13.0.0 libzhuyin.so || { rm -f libzhuyin.so && ln -s libzhuyin.so.13.0.0 libzhuyin.so; }; }) libtool: install: install -p .libs/libzhuyin.lai /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/include/libpinyin-2.3.0' install -p -m 644 pinyin.h zhuyin.h '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/include/libpinyin-2.3.0' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin' /bin/sh ../../libtool --mode=install install -p gen_binary_files import_interpolation '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin' libtool: install: install -p gen_binary_files /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/gen_binary_files libtool: install: install -p import_interpolation /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/import_interpolation make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' Making install in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' Making install in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin' /bin/sh ../../libtool --mode=install install -p gen_unigram '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin' libtool: install: install -p gen_unigram /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/gen_unigram make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' Making install in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/data' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libpinyin/data' install -p -m 644 phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin table.conf '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libpinyin/data' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/data' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/data' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/share/man/man1' install -p -m 644 libpinyin.1 '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/pkgconfig' install -p -m 644 libpinyin.pc libzhuyin.pc '/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0' + find /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.3.0-3.fc33 --unique-debug-suffix -2.3.0-3.fc33.riscv64 --unique-debug-src-base libpinyin-2.3.0-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libpinyin-2.3.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/gen_binary_files explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/gen_unigram explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libpinyin.so.13.0.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/import_interpolation extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/gen_binary_files extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/import_interpolation extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libpinyin.so.13.0.0 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/bin/gen_unigram explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libzhuyin.so.13.0.0 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/lib64/libzhuyin.so.13.0.0 original debug info size: 35172kB, size after compression: 27812kB /usr/lib/rpm/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 2480 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.1ub2Bs + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.3.0 + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/src' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' PASS: test_memory_chunk ============================================================================ Testsuite summary for libpinyin 2.3.0 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' PASS: test_phrase_index_logger PASS: test_ngram PASS: test_flexible_ngram ============================================================================ Testsuite summary for libpinyin 2.3.0 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/tests' Making check in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/storage' Making check in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/segment' Making check in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/utils' Making check in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/data' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/data' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.3.0' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.3.0' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libpinyin-2.3.0-3.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.zTTF1r + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.3.0 + DOCDIR=/builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/share/doc/libpinyin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/share/doc/libpinyin + cp -pr AUTHORS /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/share/doc/libpinyin + cp -pr COPYING /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/share/doc/libpinyin + cp -pr README /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64/usr/share/doc/libpinyin + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpinyin = 2.3.0-3.fc33 libpinyin(riscv-64) = 2.3.0-3.fc33 libpinyin.so.13()(64bit) libpinyin.so.13(LIBPINYIN)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) rtld(GNU_HASH) Processing files: libpinyin-devel-2.3.0-3.fc33.riscv64 Provides: libpinyin-devel = 2.3.0-3.fc33 libpinyin-devel(riscv-64) = 2.3.0-3.fc33 libzhuyin-devel = 2.3.0-3.fc33 pkgconfig(libpinyin) = 2.3.0 pkgconfig(libzhuyin) = 2.3.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libpinyin.so.13()(64bit) libzhuyin.so.13()(64bit) pkgconfig(glib-2.0) Obsoletes: libzhuyin-devel < 2.3.0-3.fc33 Processing files: libpinyin-data-2.3.0-3.fc33.riscv64 Provides: libpinyin-data = 2.3.0-3.fc33 libpinyin-data(riscv-64) = 2.3.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-tools-2.3.0-3.fc33.riscv64 Provides: libpinyin-tools = 2.3.0-3.fc33 libpinyin-tools(riscv-64) = 2.3.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) rtld(GNU_HASH) Processing files: libzhuyin-2.3.0-3.fc33.riscv64 Provides: libzhuyin = 2.3.0-3.fc33 libzhuyin(riscv-64) = 2.3.0-3.fc33 libzhuyin.so.13()(64bit) libzhuyin.so.13(LIBZHUYIN)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libgcc_s.so.1(GCC_4.2.0)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) rtld(GNU_HASH) Processing files: libpinyin-debugsource-2.3.0-3.fc33.riscv64 Provides: libpinyin-debugsource = 2.3.0-3.fc33 libpinyin-debugsource(riscv-64) = 2.3.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-debuginfo-2.3.0-3.fc33.riscv64 Provides: debuginfo(build-id) = cc40acb13503064cc5df472170f05db59846116b libpinyin-debuginfo = 2.3.0-3.fc33 libpinyin-debuginfo(riscv-64) = 2.3.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(riscv-64) = 2.3.0-3.fc33 Processing files: libpinyin-tools-debuginfo-2.3.0-3.fc33.riscv64 Provides: debuginfo(build-id) = 97e700ecba2ce8308566a94238db794f8f2b51f3 debuginfo(build-id) = ebfb12a74b6dc34e5e274bc40c8158181d2c7291 debuginfo(build-id) = f99c7033170f2331d60cd16905f88b4e7aee5913 libpinyin-tools-debuginfo = 2.3.0-3.fc33 libpinyin-tools-debuginfo(riscv-64) = 2.3.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(riscv-64) = 2.3.0-3.fc33 Processing files: libzhuyin-debuginfo-2.3.0-3.fc33.riscv64 Provides: debuginfo(build-id) = 7243bcd34e0f832f8a9212198b12a4a83acff85d libzhuyin-debuginfo = 2.3.0-3.fc33 libzhuyin-debuginfo(riscv-64) = 2.3.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(riscv-64) = 2.3.0-3.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 Wrote: /builddir/build/RPMS/libpinyin-devel-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libzhuyin-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-debugsource-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libzhuyin-debuginfo-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-debuginfo-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-debuginfo-2.3.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-data-2.3.0-3.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wF094v + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.3.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libpinyin-2.3.0-3.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0