+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/libzhuyin.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Ileex3 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libzhuyin-1.1.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/libzhuyin-1.1.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd libzhuyin-1.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TJlIN3 + umask 022 + cd /builddir/build/BUILD + cd libzhuyin-1.1.1 + 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 ' + 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 ' + 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 -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 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 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-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="-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 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 for style of include used by make... GNU 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 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 libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for string.h... (cached) yes checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for library containing db_create... -ldb checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libzhuyin.pc config.status: creating libzhuyin.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 1.1.1 Install prefix /usr + make V=1 -j4 make all-recursive make[1]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1' Making all in src make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' Making all in include make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/include' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/storage' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o libstorage_la-phrase_index.lo `test -f 'phrase_index.cpp' || echo './'`phrase_index.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o libstorage_la-phrase_large_table2.lo `test -f 'phrase_large_table2.cpp' || echo './'`phrase_large_table2.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o libstorage_la-ngram.lo `test -f 'ngram.cpp' || echo './'`ngram.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o libstorage_la-tag_utility.lo `test -f 'tag_utility.cpp' || echo './'`tag_utility.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c phrase_large_table2.cpp -fPIC -DPIC -o .libs/libstorage_la-phrase_large_table2.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c phrase_index.cpp -fPIC -DPIC -o .libs/libstorage_la-phrase_index.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c ngram.cpp -fPIC -DPIC -o .libs/libstorage_la-ngram.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c tag_utility.cpp -fPIC -DPIC -o .libs/libstorage_la-tag_utility.o phrase_large_table2.cpp: In member function 'int zhuyin::PhraseLengthIndexLevel2::search(int, const ucs4_t*, GArray**) const': phrase_large_table2.cpp:199:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if(m_phrase_array_indexes->len < phrase_length) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ phrase_large_table2.cpp:201:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_phrase_array_indexes->len > phrase_length) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ phrase_large_table2.cpp: In member function 'int zhuyin::PhraseLengthIndexLevel2::add_index(int, const ucs4_t*, phrase_token_t)': phrase_large_table2.cpp:322:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_phrase_array_indexes->len < phrase_length) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ phrase_large_table2.cpp: In member function 'int zhuyin::PhraseLengthIndexLevel2::remove_index(int, const ucs4_t*, phrase_token_t)': phrase_large_table2.cpp:364:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (m_phrase_array_indexes->len < phrase_length) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o libstorage_la-pinyin_parser2.lo `test -f 'pinyin_parser2.cpp' || echo './'`pinyin_parser2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c pinyin_parser2.cpp -fPIC -DPIC -o .libs/libstorage_la-pinyin_parser2.o /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o libstorage_la-chewing_large_table.lo `test -f 'chewing_large_table.cpp' || echo './'`chewing_large_table.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c chewing_large_table.cpp -fPIC -DPIC -o .libs/libstorage_la-chewing_large_table.o /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o libstorage_la-table_info.lo `test -f 'table_info.cpp' || echo './'`table_info.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c table_info.cpp -fPIC -DPIC -o .libs/libstorage_la-table_info.o /bin/sh ../../libtool --tag=CXX --mode=link g++ "-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 -static -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libstorage.la libstorage_la-phrase_index.lo libstorage_la-phrase_large_table2.lo libstorage_la-ngram.lo libstorage_la-tag_utility.lo libstorage_la-pinyin_parser2.lo libstorage_la-chewing_large_table.lo libstorage_la-table_info.lo -ldb libtool: link: ar cru .libs/libstorage.a .libs/libstorage_la-phrase_index.o .libs/libstorage_la-phrase_large_table2.o .libs/libstorage_la-ngram.o .libs/libstorage_la-tag_utility.o .libs/libstorage_la-pinyin_parser2.o .libs/libstorage_la-chewing_large_table.o .libs/libstorage_la-table_info.o libtool: link: ranlib .libs/libstorage.a libtool: link: ( cd ".libs" && rm -f "libstorage.la" && ln -s "../libstorage.la" "libstorage.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/lookup' /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o liblookup_la-pinyin_lookup2.lo `test -f 'pinyin_lookup2.cpp' || echo './'`pinyin_lookup2.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o liblookup_la-phrase_lookup.lo `test -f 'phrase_lookup.cpp' || echo './'`phrase_lookup.cpp /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include "-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 -c -o liblookup_la-lookup.lo `test -f 'lookup.cpp' || echo './'`lookup.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c phrase_lookup.cpp -fPIC -DPIC -o .libs/liblookup_la-phrase_lookup.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c pinyin_lookup2.cpp -fPIC -DPIC -o .libs/liblookup_la-pinyin_lookup2.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c lookup.cpp -fPIC -DPIC -o .libs/liblookup_la-lookup.o pinyin_lookup2.cpp: In member function 'bool zhuyin::PinyinLookup2::clear_constraint(CandidateConstraints, int)': pinyin_lookup2.cpp:652:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (index < 0 || index >= constraints->len) ~~~~~~^~~~~~~~~~~~~~~~~~~ pinyin_lookup2.cpp: At global scope: pinyin_lookup2.cpp:57:13: warning: 'bool dump_all_values(GPtrArray*)' defined but not used [-Wunused-function] static bool dump_all_values(GPtrArray * values) { ^~~~~~~~~~~~~~~ pinyin_lookup2.cpp:37:13: warning: 'bool dump_max_value(GPtrArray*)' defined but not used [-Wunused-function] static bool dump_max_value(GPtrArray * values){ ^~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ "-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 -static -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o liblookup.la liblookup_la-pinyin_lookup2.lo liblookup_la-phrase_lookup.lo liblookup_la-lookup.lo -ldb libtool: link: ar cru .libs/liblookup.a .libs/liblookup_la-pinyin_lookup2.o .libs/liblookup_la-phrase_lookup.o .libs/liblookup_la-lookup.o libtool: link: ranlib .libs/liblookup.a libtool: link: ( cd ".libs" && rm -f "liblookup.la" && ln -s "../liblookup.la" "liblookup.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o zhuyin.lo zhuyin.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o zhuyin_internal.lo zhuyin_internal.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c zhuyin.cpp -fPIC -DPIC -o .libs/zhuyin.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c zhuyin_internal.cpp -fPIC -DPIC -o .libs/zhuyin_internal.o zhuyin.cpp: In function 'bool zhuyin_iterator_add_phrase(import_iterator_t*, const char*, const char*, gint)': zhuyin.cpp:404:9: warning: unused variable 'num' [-Wunused-variable] int num = reduce_tokens(tokens, tokenarray); ^~~ zhuyin.cpp: In function 'bool zhuyin_guess_sentence_with_prefix(zhuyin_instance_t*, const char*)': zhuyin.cpp:871:17: warning: unused variable 'num' [-Wunused-variable] int num = reduce_tokens(tokens, tokenarray); ^~~ /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libzhuyin_internal.la zhuyin_internal.lo storage/libstorage.la lookup/liblookup.la -ldb zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': zhuyin.cpp:1559:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] bool retval = context->m_pinyin_lookup->validate_constraint ^~~~~~ zhuyin.cpp: In function 'bool zhuyin_lookup_tokens(zhuyin_instance_t*, const char*, GArray*)': zhuyin.cpp:1610:9: warning: unused variable 'num' [-Wunused-variable] int num = reduce_tokens(tokens, tokenarray); ^~~ libtool: link: (cd .libs/libzhuyin_internal.lax/libstorage.a && ar x "/builddir/build/BUILD/libzhuyin-1.1.1/src/storage/.libs/libstorage.a") libtool: link: (cd .libs/libzhuyin_internal.lax/liblookup.a && ar x "/builddir/build/BUILD/libzhuyin-1.1.1/src/lookup/.libs/liblookup.a") libtool: link: ar cru .libs/libzhuyin_internal.a .libs/zhuyin_internal.o .libs/libzhuyin_internal.lax/libstorage.a/libstorage_la-chewing_large_table.o .libs/libzhuyin_internal.lax/libstorage.a/libstorage_la-ngram.o .libs/libzhuyin_internal.lax/libstorage.a/libstorage_la-phrase_index.o .libs/libzhuyin_internal.lax/libstorage.a/libstorage_la-phrase_large_table2.o .libs/libzhuyin_internal.lax/libstorage.a/libstorage_la-pinyin_parser2.o .libs/libzhuyin_internal.lax/libstorage.a/libstorage_la-table_info.o .libs/libzhuyin_internal.lax/libstorage.a/libstorage_la-tag_utility.o .libs/libzhuyin_internal.lax/liblookup.a/liblookup_la-lookup.o .libs/libzhuyin_internal.lax/liblookup.a/liblookup_la-phrase_lookup.o .libs/libzhuyin_internal.lax/liblookup.a/liblookup_la-pinyin_lookup2.o libtool: link: ranlib .libs/libzhuyin_internal.a libtool: link: rm -fr .libs/libzhuyin_internal.lax libtool: link: ( cd ".libs" && rm -f "libzhuyin_internal.la" && ln -s "../libzhuyin_internal.la" "libzhuyin_internal.la" ) /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wl,--version-script=./libzhuyin.ver -version-info 7:0 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libzhuyin.la -rpath /usr/lib64 zhuyin.lo storage/libstorage.la lookup/liblookup.la -lglib-2.0 -ldb libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/crti.o /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/crtbeginS.o .libs/zhuyin.o -Wl,--whole-archive storage/.libs/libstorage.a lookup/.libs/liblookup.a -Wl,--no-whole-archive -lglib-2.0 -ldb -L/usr/lib64/gcc/riscv64-unknown-linux-gnu/7 -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lc -lgcc_s /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/crtendS.o /usr/lib64/gcc/riscv64-unknown-linux-gnu/7/crtn.o -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,--version-script=./libzhuyin.ver -Wl,-z -Wl,relro -Wl,-soname -Wl,libzhuyin.so.7 -o .libs/libzhuyin.so.7.0.0 libtool: link: (cd ".libs" && rm -f "libzhuyin.so.7" && ln -s "libzhuyin.so.7.0.0" "libzhuyin.so.7") libtool: link: (cd ".libs" && rm -f "libzhuyin.so" && ln -s "libzhuyin.so.7.0.0" "libzhuyin.so") libtool: link: ( cd ".libs" && rm -f "libzhuyin.la" && ln -s "../libzhuyin.la" "libzhuyin.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' Making all in tests make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' Making all in include make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/include' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_memory_chunk.o test_memory_chunk.cpp /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_phrase_index.o test_phrase_index.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_phrase_index_logger.o test_phrase_index_logger.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_phrase_table.o test_phrase_table.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_ngram.o test_ngram.cpp In file included from test_phrase_index.cpp:5:0: ../../tests/tests_helper.h:25:13: warning: 'bool load_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ In file included from test_phrase_table.cpp:4:0: ../../tests/tests_helper.h:25:13: warning: 'bool load_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_flexible_ngram.o test_flexible_ngram.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_parser2.o test_parser2.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_chewing_table.o test_chewing_table.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_table_info.o test_table_info.cpp /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_index test_phrase_index.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_index test_phrase_index.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb In file included from test_chewing_table.cpp:25:0: ../../tests/tests_helper.h:25:13: warning: 'bool load_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_table test_phrase_table.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb test_flexible_ngram.cpp: In function 'int main(int, char**)': test_flexible_ngram.cpp:114:48: warning: 'train_gram' may be used uninitialized in this function [-Wmaybe-uninitialized] FlexibleSingleGram * train_gram; ^~~~~~~~~~ test_flexible_ngram.cpp:72:48: warning: 'train_gram' may be used uninitialized in this function [-Wmaybe-uninitialized] FlexibleSingleGram * train_gram; ^~~~~~~~~~ libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_index_logger test_phrase_index_logger.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_ngram test_ngram.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_table test_phrase_table.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_parser2 test_parser2.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_chewing_table test_chewing_table.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_table_info test_table_info.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_ngram test_ngram.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_parser2 test_parser2.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_flexible_ngram test_flexible_ngram.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_chewing_table test_chewing_table.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_table_info test_table_info.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_flexible_ngram test_flexible_ngram.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_pinyin_lookup.o test_pinyin_lookup.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_phrase_lookup.o test_phrase_lookup.cpp In file included from test_phrase_lookup.cpp:26:0: ../../tests/tests_helper.h:52:13: warning: 'bool load_phrase_table(const zhuyin::pinyin_table_info_t*, zhuyin::ChewingLargeTable*, zhuyin::PhraseLargeTable2*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_table(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ In file included from test_pinyin_lookup.cpp:26:0: ../../tests/tests_helper.h:52:13: warning: 'bool load_phrase_table(const zhuyin::pinyin_table_info_t*, zhuyin::ChewingLargeTable*, zhuyin::PhraseLargeTable2*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_table(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_lookup test_phrase_lookup.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase_lookup test_phrase_lookup.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_pinyin_lookup test_pinyin_lookup.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_pinyin.o test_pinyin.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_phrase.o test_phrase.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o test_chewing.o test_chewing.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_chewing test_chewing.o ../src/libzhuyin.la -lglib-2.0 -ldb /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_phrase test_phrase.o ../src/libzhuyin.la -lglib-2.0 -ldb /bin/sh ../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o test_pinyin test_pinyin.o ../src/libzhuyin.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_chewing test_chewing.o ../src/.libs/libzhuyin.so -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_phrase test_phrase.o ../src/.libs/libzhuyin.so -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o .libs/test_pinyin test_pinyin.o ../src/.libs/libzhuyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' Making all in utils make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o gen_binary_files.o gen_binary_files.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o import_interpolation.o import_interpolation.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o export_interpolation.o export_interpolation.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o gen_zhuyin_table.o gen_zhuyin_table.cpp In file included from import_interpolation.cpp:26:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ In file included from gen_binary_files.cpp:25:0: ../../utils/utils_helper.h:73:13: warning: 'bool load_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ gen_zhuyin_table.cpp: In function 'void gen_phrase_file(const char*, int)': gen_zhuyin_table.cpp:308:36: warning: variable 'key_rest' set but not used [-Wunused-but-set-variable] ChewingKeyRest key_rest = g_array_index ^~~~~~~~ In file included from export_interpolation.cpp:27:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_binary_files gen_binary_files.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o export_interpolation export_interpolation.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o import_interpolation import_interpolation.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_binary_files gen_binary_files.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_zhuyin_table gen_zhuyin_table.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o export_interpolation export_interpolation.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o import_interpolation import_interpolation.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/storage' Making all in segment make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o spseg.o spseg.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o ngseg.o ngseg.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o mergeseq.o mergeseq.cpp spseg.cpp: In function 'bool segment(zhuyin::FacadePhraseTable2*, zhuyin::FacadePhraseIndex*, GArray*, GArray*)': spseg.cpp:110:17: warning: unused variable 'num' [-Wunused-variable] int num = get_first_token(tokens, token); ^~~ In file included from spseg.cpp:27:0: ../../utils/utils_helper.h: At global scope: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ In file included from ngseg.cpp:26:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ mergeseq.cpp: In function 'bool merge_sequence(zhuyin::FacadePhraseTable2*, zhuyin::FacadePhraseIndex*, UnicodeCharVector, TokenInfoVector)': mergeseq.cpp:96:17: warning: unused variable 'num' [-Wunused-variable] int num = get_first_token(tokens, token); ^~~ In file included from mergeseq.cpp:27:0: ../../utils/utils_helper.h: At global scope: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngseg ngseg.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o spseg spseg.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mergeseq mergeseq.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o ngseg ngseg.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o mergeseq mergeseq.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o spseg spseg.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/segment' Making all in training make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o gen_ngram.o gen_ngram.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o gen_unigram.o gen_unigram.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o gen_deleted_ngram.o gen_deleted_ngram.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o gen_k_mixture_model.o gen_k_mixture_model.cpp In file included from gen_unigram.cpp:25:0: ../../utils/utils_helper.h:73:13: warning: 'bool load_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ In file included from gen_ngram.cpp:28:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ In file included from gen_deleted_ngram.cpp:28:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ gen_k_mixture_model.cpp: In function 'void train_word_pair(HashofUnigram, zhuyin::KMixtureModelSingleGram*, phrase_token_t, guint32)': gen_k_mixture_model.cpp:181:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( count > g_maximum_occurs ){ ~~~~~~^~~~~~~~~~~~~~~~~~ gen_k_mixture_model.cpp: In function 'bool post_processing_unigram(zhuyin::KMixtureModelBigram*, HashofUnigram)': gen_k_mixture_model.cpp:299:14: warning: unused variable 'result' [-Wunused-variable] bool result = bigram->get_array_header(token, array_header); ^~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o estimate_interpolation.o estimate_interpolation.cpp In file included from gen_k_mixture_model.cpp:26:0: ../../utils/utils_helper.h: At global scope: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o estimate_k_mixture_model.o estimate_k_mixture_model.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o merge_k_mixture_model.o merge_k_mixture_model.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o prune_k_mixture_model.o prune_k_mixture_model.cpp estimate_interpolation.cpp: In function 'parameter_t compute_interpolation(zhuyin::SingleGram*, zhuyin::FacadePhraseIndex*, zhuyin::SingleGram*)': estimate_interpolation.cpp:48:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int i = 0; i < array->len; ++i){ ~~^~~~~~~~~~~~ estimate_interpolation.cpp:34:10: warning: unused variable 'success' [-Wunused-variable] bool success; ^~~~~~~ estimate_interpolation.cpp: In function 'int main(int, char**)': estimate_interpolation.cpp:120:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int i = 0; i < deleted_items->len; ++i ){ ~~^~~~~~~~~~~~~~~~~~~~ In file included from estimate_interpolation.cpp:29:0: ../../utils/utils_helper.h: At global scope: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ estimate_k_mixture_model.cpp: In function 'parameter_t compute_interpolation(zhuyin::KMixtureModelSingleGram*, zhuyin::KMixtureModelBigram*, zhuyin::KMixtureModelSingleGram*)': estimate_k_mixture_model.cpp:40:10: warning: unused variable 'success' [-Wunused-variable] bool success; ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o import_k_mixture_model.o import_k_mixture_model.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o export_k_mixture_model.o export_k_mixture_model.cpp prune_k_mixture_model.cpp: In function 'bool prune_k_mixture_model(zhuyin::KMixtureModelMagicHeader*, zhuyin::KMixtureModelSingleGram*&, zhuyin::FlexibleBigramPhraseArray)': prune_k_mixture_model.cpp:59:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( size_t k = 0; k < g_prune_k; ++k){ ~~^~~~~~~~~~~ prune_k_mixture_model.cpp:49:10: warning: unused variable 'success' [-Wunused-variable] bool success; ^~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o k_mixture_model_to_interpolation.o k_mixture_model_to_interpolation.cpp g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o validate_k_mixture_model.o validate_k_mixture_model.cpp In file included from import_k_mixture_model.cpp:25:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ In file included from export_k_mixture_model.cpp:25:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ In file included from k_mixture_model_to_interpolation.cpp:23:0: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ ../../utils/utils_helper.h:73:13: warning: 'bool load_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool load_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -c -o eval_correction_rate.o eval_correction_rate.cpp /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_ngram gen_ngram.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_unigram gen_unigram.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_ngram gen_ngram.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_unigram gen_unigram.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o estimate_interpolation estimate_interpolation.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_deleted_ngram gen_deleted_ngram.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o gen_k_mixture_model gen_k_mixture_model.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb eval_correction_rate.cpp: In function 'int main(int, char**)': eval_correction_rate.cpp:170:20: warning: unused variable 'token' [-Wunused-variable] phrase_token_t token = null_token; ^~~~~ libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o estimate_interpolation estimate_interpolation.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb In file included from eval_correction_rate.cpp:24:0: ../../utils/utils_helper.h: At global scope: ../../utils/utils_helper.h:122:13: warning: 'bool save_dictionary(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_dictionary(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~ ../../utils/utils_helper.h:97:13: warning: 'bool save_phrase_index(const zhuyin::pinyin_table_info_t*, zhuyin::FacadePhraseIndex*)' defined but not used [-Wunused-function] static bool save_phrase_index(const pinyin_table_info_t * phrase_files, ^~~~~~~~~~~~~~~~~ /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o import_k_mixture_model import_k_mixture_model.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o merge_k_mixture_model merge_k_mixture_model.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o export_k_mixture_model export_k_mixture_model.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o prune_k_mixture_model prune_k_mixture_model.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o import_k_mixture_model import_k_mixture_model.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o export_k_mixture_model export_k_mixture_model.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb /bin/sh ../../libtool --tag=CXX --mode=link g++ -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 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o eval_correction_rate eval_correction_rate.o ../../src/libzhuyin_internal.la -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o validate_k_mixture_model validate_k_mixture_model.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb libtool: link: g++ -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 -Wl,-z -Wl,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o eval_correction_rate eval_correction_rate.o ../../src/.libs/libzhuyin_internal.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' Making all in data make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/data' rm -f phrase_index.bin pinyin_index.bin bigram.db tsi.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/libzhuyin-1.1.1/data' Making all in doc make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/doc' make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1' make[1]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.H6mBqT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 + cd libzhuyin-1.1.1 + make install DESTDIR=/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 'INSTALL=install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/include' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/include/libzhuyin-1.1.1' install -p -m 644 novel_types.h '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/include/libzhuyin-1.1.1' make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/include' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/include/libzhuyin-1.1.1' install -p -m 644 zhuyin_custom2.h '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/include/libzhuyin-1.1.1' make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/storage' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/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/libzhuyin-1.1.1/src/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64' /bin/sh ../libtool --mode=install install -p libzhuyin.la '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64' libtool: install: install -p .libs/libzhuyin.so.7.0.0 /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64/libzhuyin.so.7.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64 && { ln -s -f libzhuyin.so.7.0.0 libzhuyin.so.7 || { rm -f libzhuyin.so.7 && ln -s libzhuyin.so.7.0.0 libzhuyin.so.7; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64 && { ln -s -f libzhuyin.so.7.0.0 libzhuyin.so || { rm -f libzhuyin.so && ln -s libzhuyin.so.7.0.0 libzhuyin.so; }; }) libtool: install: install -p .libs/libzhuyin.lai /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/include/libzhuyin-1.1.1' install -p -m 644 zhuyin.h '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/include/libzhuyin-1.1.1' make[3]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/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/libzhuyin-1.1.1/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/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/libzhuyin-1.1.1/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/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/libzhuyin-1.1.1/tests/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/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/libzhuyin-1.1.1/tests' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' make[1]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/tests' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/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/libzhuyin-1.1.1/utils/storage' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/storage' Making install in segment make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/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/libzhuyin-1.1.1/utils/segment' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/segment' Making install in training make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/training' 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/libzhuyin-1.1.1/utils/training' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' make[3]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/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/libzhuyin-1.1.1/utils' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' make[1]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/utils' Making install in data make[1]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/data' make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64/libzhuyin/data' install -p -m 644 phrase_index.bin pinyin_index.bin bigram.db tsi.bin table.conf '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64/libzhuyin/data' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/data' make[1]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/data' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/doc' make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/share/man/man1' install -p -m 644 libzhuyin.1 '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/doc' make[1]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1/doc' make[1]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1' make[2]: Entering directory '/builddir/build/BUILD/libzhuyin-1.1.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64/pkgconfig' install -p -m 644 libzhuyin.pc '/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1' make[1]: Leaving directory '/builddir/build/BUILD/libzhuyin-1.1.1' + find /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: libzhuyin-1.1.1-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KuE43k + umask 022 + cd /builddir/build/BUILD + cd libzhuyin-1.1.1 + DOCDIR=/builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/share/doc/libzhuyin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/share/doc/libzhuyin + cp -pr AUTHORS /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/share/doc/libzhuyin + cp -pr COPYING /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/share/doc/libzhuyin + cp -pr README /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64/usr/share/doc/libzhuyin + exit 0 Provides: libzhuyin = 1.1.1-1.fc28 libzhuyin(riscv-64) = 1.1.1-1.fc28 libzhuyin.so.7()(64bit) libzhuyin.so.7(LIBZHUYIN)(64bit) Requires(interp): /sbin/ldconfig /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /sbin/ldconfig Requires(postun): /sbin/ldconfig 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) libdb-5.3.so()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libglib-2.0.so.0()(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.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: libzhuyin-devel-1.1.1-1.fc28.riscv64 Provides: libzhuyin-devel = 1.1.1-1.fc28 libzhuyin-devel(riscv-64) = 1.1.1-1.fc28 pkgconfig(libzhuyin) = 1.1.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libzhuyin.so.7()(64bit) pkgconfig(glib-2.0) Processing files: libzhuyin-data-1.1.1-1.fc28.riscv64 Provides: libzhuyin-data = 1.1.1-1.fc28 libzhuyin-data(riscv-64) = 1.1.1-1.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/libzhuyin-1.1.1-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/libzhuyin-1.1.1-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libzhuyin-devel-1.1.1-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/libzhuyin-data-1.1.1-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.gCAXdJ + umask 022 + cd /builddir/build/BUILD + cd libzhuyin-1.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libzhuyin-1.1.1-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff