<86>Jan 21 06:18:43 userdel[449106]: delete user 'rooter' <86>Jan 21 06:18:43 userdel[449106]: removed group 'rooter' owned by 'rooter' <86>Jan 21 06:18:43 userdel[449106]: removed shadow group 'rooter' owned by 'rooter' <86>Jan 21 06:18:43 groupadd[449126]: group added to /etc/group: name=rooter, GID=798 <86>Jan 21 06:18:43 groupadd[449126]: group added to /etc/gshadow: name=rooter <86>Jan 21 06:18:43 groupadd[449126]: new group: name=rooter, GID=798 <86>Jan 21 06:18:43 useradd[449146]: new user: name=rooter, UID=798, GID=798, home=/root, shell=/bin/bash <86>Jan 21 06:18:43 userdel[449173]: delete user 'builder' <86>Jan 21 06:18:43 userdel[449173]: removed group 'builder' owned by 'builder' <86>Jan 21 06:18:43 userdel[449173]: removed shadow group 'builder' owned by 'builder' <86>Jan 21 06:18:43 groupadd[449187]: group added to /etc/group: name=builder, GID=799 <86>Jan 21 06:18:43 groupadd[449187]: group added to /etc/gshadow: name=builder <86>Jan 21 06:18:43 groupadd[449187]: new group: name=builder, GID=799 <86>Jan 21 06:18:43 useradd[449196]: new user: name=builder, UID=799, GID=799, home=/usr/src, shell=/bin/bash warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root warning: user igor does not exist - using root warning: group igor does not exist - using root <13>Jan 21 06:18:45 rpmi: libkyotocabinet-1.2.76-alt3 1500283658 installed <13>Jan 21 06:18:45 rpmi: desktop-file-utils-0.26-alt3 sisyphus+297027.100.1.1 1648023316 installed <13>Jan 21 06:18:45 rpmi: shared-mime-info-2.2-alt1 sisyphus+297388.100.1.1 1648466617 installed <13>Jan 21 06:18:45 rpmi: libdb4.8-4.8.30-alt6 sisyphus+284556.100.1.1 1630699521 installed <13>Jan 21 06:18:45 rpmi: gsettings-desktop-schemas-data-43.0-alt1 sisyphus+307196.300.10.1 1664047363 installed <13>Jan 21 06:18:45 rpmi: libgio-2.74.5-alt1 sisyphus+313763.100.1.1 1674192550 installed <13>Jan 21 06:18:45 rpmi: gsettings-desktop-schemas-43.0-alt1 sisyphus+307196.300.10.1 1664047369 installed <13>Jan 21 06:18:45 rpmi: mpdecimal-2.5.1-alt1 sisyphus+291245.40.54.1 1643293464 installed <13>Jan 21 06:18:45 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Jan 21 06:18:45 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Jan 21 06:18:45 rpmi: xml-utils-1:2.10.3-alt1 sisyphus+308392.100.3.1 1666013214 installed <13>Jan 21 06:18:45 rpmi: rpm-build-gir-0.7.3-alt3 sisyphus+242150.100.1.1 1575312005 installed <13>Jan 21 06:18:45 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Jan 21 06:18:46 rpmi: libstdc++12-devel-12.1.1-alt2 sisyphus+307182.100.1.1 1663782147 installed <13>Jan 21 06:18:47 rpmi: gcc12-c++-12.1.1-alt2 sisyphus+307182.100.1.1 1663782147 installed <13>Jan 21 06:18:47 rpmi: libp11-kit-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jan 21 06:18:47 rpmi: libtasn1-4.19.0-alt1 sisyphus+305700.100.1.1 1661359628 installed <13>Jan 21 06:18:47 rpmi: rpm-macros-alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Jan 21 06:18:47 rpmi: alternatives-0.5.2-alt1 sisyphus+300869.100.1.1 1653844113 installed <13>Jan 21 06:18:47 rpmi: ca-certificates-2022.12.14-alt1 sisyphus+311754.200.1.1 1671046143 installed <13>Jan 21 06:18:47 rpmi: ca-trust-0.1.4-alt1 sisyphus+308690.100.1.1 1666182992 installed <13>Jan 21 06:18:47 rpmi: p11-kit-trust-0.24.1-alt1 sisyphus+293720.100.1.1 1642535281 installed <13>Jan 21 06:18:47 rpmi: libcrypto1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Jan 21 06:18:47 rpmi: libssl1.1-1.1.1q-alt1 sisyphus+303203.100.1.1 1657027052 installed <13>Jan 21 06:18:47 rpmi: python3-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed <13>Jan 21 06:18:48 rpmi: python3-base-3.10.8-alt1.1 sisyphus+311926.100.2.1 1671363746 installed <13>Jan 21 06:18:48 rpmi: glib2-devel-2.74.5-alt1 sisyphus+313763.100.1.1 1674192550 installed <13>Jan 21 06:18:48 rpmi: libgio-devel-2.74.5-alt1 sisyphus+313763.100.1.1 1674192550 installed <13>Jan 21 06:18:48 rpmi: gcc-c++-12-alt1 sisyphus+300988.300.1.1 1654033914 installed <13>Jan 21 06:18:48 rpmi: libdb4.8-devel-4.8.30-alt6 sisyphus+284556.100.1.1 1630699521 installed <13>Jan 21 06:18:48 rpmi: libkyotocabinet-devel-1.2.76-alt3 1500283658 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libpinyin-2.6.1-alt1_2.nosrc.rpm (w1.gzdio) Installing libpinyin-2.6.1-alt1_2.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.87665 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libpinyin-2.6.1 + echo 'Source #0 (libpinyin-2.6.1.tar.gz):' Source #0 (libpinyin-2.6.1.tar.gz): + /bin/tar -xf - + /bin/gzip -dc /usr/src/RPM/SOURCES/libpinyin-2.6.1.tar.gz + cd libpinyin-2.6.1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.15781 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.6.1 + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export CFLAGS + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export CXXFLAGS + FFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export FFLAGS + FCFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' + export FCFLAGS + '[' -n '' ']' ++ printf %s '-pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC' ++ sed -r 's/(^|[[:space:]]+)-[^m][^[:space:]]*//g' + ASFLAGS=' -march=i586 -mtune=generic' + export ASFLAGS + export lt_cv_deplibs_check_method=pass_all + lt_cv_deplibs_check_method=pass_all + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + xargs -ri dirname -- '{}' + sort -u + readlink -e -- ./configure + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + ./configure --build=i586-alt-linux --host=i586-alt-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-dependency-tracking --disable-silent-rules --without-included-gettext --disable-static --with-dbm=BerkeleyDB --enable-libzhuyin configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /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 i586-alt-linux-g++... i586-alt-linux-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 i586-alt-linux-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of i586-alt-linux-g++... none checking for i586-alt-linux-gcc... i586-alt-linux-gcc checking whether we are using the GNU C compiler... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to accept ISO C89... none needed checking whether i586-alt-linux-gcc understands -c and -o together... yes checking dependency style of i586-alt-linux-gcc... none checking how to run the C preprocessor... i586-alt-linux-gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... i586-alt-linux-gnu checking host system type... i586-alt-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking how to print strings... printf checking for ld used by i586-alt-linux-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether i586-alt-linux-g++ supports C++11 features by default... 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 i586-alt-linux-gnu file names to i586-alt-linux-gnu format... func_convert_file_noop checking how to convert i586-alt-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i586-alt-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... (cached) pass_all checking for i586-alt-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i586-alt-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i586-alt-linux-strip... no checking for strip... strip checking for i586-alt-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from i586-alt-linux-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for i586-alt-linux-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if i586-alt-linux-gcc supports -fno-rtti -fno-exceptions... no checking for i586-alt-linux-gcc option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-gcc PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-gcc static flag -static works... no checking if i586-alt-linux-gcc supports -c -o file.o... yes checking if i586-alt-linux-gcc supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-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... i586-alt-linux-g++ -E checking for ld used by i586-alt-linux-g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the i586-alt-linux-g++ linker (/usr/bin/ld) supports shared libraries... yes checking for i586-alt-linux-g++ option to produce PIC... -fPIC -DPIC checking if i586-alt-linux-g++ PIC flag -fPIC -DPIC works... yes checking if i586-alt-linux-g++ static flag -static works... no checking if i586-alt-linux-g++ supports -c -o file.o... yes checking if i586-alt-linux-g++ supports -c -o file.o... (cached) yes checking whether the i586-alt-linux-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 i586-alt-linux-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for ANSI C header files... (cached) yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking whether time.h and sys/time.h may both be included... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for string.h... (cached) yes checking 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 libpinyin.pc config.status: creating libzhuyin.pc config.status: creating libpinyin.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating data/table.conf 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 configure: WARNING: unrecognized options: --without-included-gettext Build options: Version 2.6.1 Install prefix /usr DBM BerkeleyDB Enable libzhuyin yes + make -j8 make all-recursive Making all in src Making all in include make[3]: Nothing to be done for 'all'. Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o tag_utility.o tag_utility.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_index.o phrase_index.cpp phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': phrase_index.cpp:534:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 534 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 535 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_large_table3.o phrase_large_table3.cpp phrase_large_table3.cpp: In member function 'bool pinyin::PhraseLargeTable3::load_text(FILE*)': phrase_large_table3.cpp:135:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 135 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 136 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o ngram.o ngram.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o table_info.o table_info.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_large_table2.o phrase_large_table2.cpp phrase_large_table2.cpp: In member function 'bool pinyin::PhraseLargeTable2::load_text(FILE*)': phrase_large_table2.cpp:479:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 479 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 480 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_large_table2.o chewing_large_table2.cpp chewing_large_table2.cpp: In member function 'bool pinyin::ChewingLargeTable2::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': chewing_large_table2.cpp:122:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 122 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 123 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} chewing_large_table2.cpp:156:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 156 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ chewing_large_table2.cpp:157:74: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 157 | fprintf(stderr, "ChewingLargeTable2::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 158 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o ngram_bdb.o ngram_bdb.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_large_table3_bdb.o phrase_large_table3_bdb.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phonetic_key_matrix.o phonetic_key_matrix.cpp phonetic_key_matrix.cpp: In function 'bool pinyin::dump_matrix(PhoneticKeyMatrix*)': phonetic_key_matrix.cpp:330:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 330 | printf("Column:%ld:\n", index); | ~~^ ~~~~~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_key.o chewing_key.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_large_table.o chewing_large_table.cpp chewing_large_table.cpp: In member function 'bool pinyin::ChewingLargeTable::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': chewing_large_table.cpp:676:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 676 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 677 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} chewing_large_table.cpp:710:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 710 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ chewing_large_table.cpp:711:73: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 711 | fprintf(stderr, "ChewingLargeTable::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 712 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o zhuyin_parser2.o zhuyin_parser2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin_parser2.o pinyin_parser2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o chewing_large_table2_bdb.o chewing_large_table2_bdb.cpp In file included from chewing_large_table2.h:27, from chewing_large_table2_bdb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:181:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from chewing_large_table2.h:26: chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 2]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:182:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 3]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:183:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 4]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:184:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 5]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:185:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 6]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:186:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 7]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:187:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 8]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:188:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 9]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:189:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 10]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:190:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 11]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 12]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:192:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 13]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:193:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 14]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:194:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 15]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:195:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 16]': chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:196:9: required from here pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' rm -f libstorage.a ar cru libstorage.a phrase_index.o phrase_large_table2.o phrase_large_table3.o ngram.o tag_utility.o chewing_key.o pinyin_parser2.o zhuyin_parser2.o phonetic_key_matrix.o chewing_large_table.o chewing_large_table2.o table_info.o ngram_bdb.o phrase_large_table3_bdb.o chewing_large_table2_bdb.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib libstorage.a make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' Making all in lookup make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup.o lookup.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phonetic_lookup.o phonetic_lookup.cpp In file included from phonetic_lookup.cpp:21: phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin_lookup2.o pinyin_lookup2.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' i586-alt-linux-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o phrase_lookup.o phrase_lookup.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' rm -f liblookup.a ar cru liblookup.a pinyin_lookup2.o phrase_lookup.o lookup.o phonetic_lookup.o ar: `u' modifier ignored since `D' is the default (see `U') ranlib liblookup.a make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin_internal.o pinyin_internal.cpp In file included from pinyin_internal.h:42, from pinyin_internal.cpp:1: ../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' rm -f libpinyin_internal.a ar cru libpinyin_internal.a pinyin_internal.o storage/libstorage.a lookup/liblookup.a ar: `u' modifier ignored since `D' is the default (see `U') ranlib libpinyin_internal.a make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/ngram_bdb.lo storage/ngram_bdb.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/ngram_bdb.cpp -fPIC -DPIC -o storage/.libs/ngram_bdb.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_large_table3_bdb.lo storage/phrase_large_table3_bdb.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_large_table3_bdb.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3_bdb.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o zhuyin.lo zhuyin.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c zhuyin.cpp -fPIC -DPIC -o .libs/zhuyin.o zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': zhuyin.cpp:482:31: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 482 | if (phrase_length == keys->len) { /* valid pinyin */ | ~~~~~~~~~~~~~~^~~~~~~~~~~~ zhuyin.cpp:427:9: warning: unused variable 'num' [-Wunused-variable] 427 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'bool zhuyin_iterator_add_phrase(import_iterator_t*, const char*, const char*, gint)': zhuyin.cpp:525:23: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 525 | if (phrase_length != keys->len) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ zhuyin.cpp: In function 'void _compute_prefixes(zhuyin_instance_t*, const char*)': zhuyin.cpp:933:17: warning: unused variable 'num' [-Wunused-variable] 933 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'void _compute_frequency_of_items(zhuyin_context_t*, phrase_token_t, pinyin::SingleGram*, CandidateVector)': zhuyin.cpp:1238:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1238 | for (i = 0; i < items->len; ++i) { | ~~^~~~~~~~~~~~ zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': zhuyin.cpp:1651:16: warning: unused variable 'len' [-Wunused-variable] 1651 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1658:16: warning: unused variable 'len' [-Wunused-variable] 1658 | guint8 len = constraints->add_constraint | ^~~ zhuyin.cpp:1638:26: warning: unused variable 'context' [-Wunused-variable] 1638 | zhuyin_context_t * & context = instance->m_context; | ^~~~~~~ zhuyin.cpp:1641:25: warning: unused variable 'results' [-Wunused-variable] 1641 | NBestMatchResults & results = instance->m_nbest_results; | ^~~~~~~ zhuyin.cpp:1647:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 1647 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ zhuyin.cpp: In function 'bool zhuyin_lookup_tokens(zhuyin_instance_t*, const char*, GArray*)': zhuyin.cpp:1690:9: warning: unused variable 'num' [-Wunused-variable] 1690 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'bool _pre_compute_tokens(zhuyin_context_t*, TokenVector, ucs4_t*, size_t)': zhuyin.cpp:2078:13: warning: unused variable 'retval' [-Wunused-variable] 2078 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ In file included from ../src/storage/phrase_index_logger.h:25, from ../src/storage/phrase_index.h:32, from ../src/storage/phonetic_key_matrix.h:28, from pinyin_internal.h:32, from zhuyin.cpp:25: zhuyin.cpp: In function 'bool zhuyin_get_character_offset(zhuyin_instance_t*, const char*, size_t, size_t*)': zhuyin.cpp:2185:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 2185 | assert(cached_tokens->len == phrase_length); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_index.lo storage/phrase_index.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_index.cpp -fPIC -DPIC -o storage/.libs/phrase_index.o storage/phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/phrase_index.cpp:534:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 534 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 535 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_large_table3.lo storage/phrase_large_table3.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_large_table3.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3.o storage/phrase_large_table3.cpp: In member function 'bool pinyin::PhraseLargeTable3::load_text(FILE*)': storage/phrase_large_table3.cpp:135:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 135 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 136 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/ngram.lo storage/ngram.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/ngram.cpp -fPIC -DPIC -o storage/.libs/ngram.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o pinyin.lo pinyin.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c pinyin.cpp -fPIC -DPIC -o .libs/pinyin.o pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': pinyin.cpp:556:31: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 556 | if (phrase_length == keys->len) { /* valid pinyin */ | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp:501:9: warning: unused variable 'num' [-Wunused-variable] 501 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool pinyin_iterator_add_phrase(import_iterator_t*, const char*, const char*, gint)': pinyin.cpp:600:23: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 600 | if (phrase_length != keys->len) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': pinyin.cpp:1208:17: warning: unused variable 'num' [-Wunused-variable] 1208 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'void _compute_frequency_of_items(pinyin_context_t*, phrase_token_t, pinyin::SingleGram*, CandidateVector)': pinyin.cpp:1583:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1583 | for (i = 0; i < items->len; ++i) { | ~~^~~~~~~~~~~~ pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': pinyin.cpp:2114:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 2114 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': pinyin.cpp:2189:9: warning: unused variable 'num' [-Wunused-variable] 2189 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': pinyin.cpp:2640:13: warning: unused variable 'retval' [-Wunused-variable] 2640 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ In file included from ../src/storage/phrase_index_logger.h:25, from ../src/storage/phrase_index.h:32, from ../src/storage/phonetic_key_matrix.h:28, from pinyin_internal.h:32, from pinyin.cpp:27: pinyin.cpp: In function 'bool pinyin_get_character_offset(pinyin_instance_t*, const char*, size_t, size_t*)': pinyin.cpp:2755:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 2755 | assert(cached_tokens->len == phrase_length); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp: In function 'bool _remember_phrase_recur(pinyin_instance_t*, ChewingKeyVector, TokenVector, size_t, ucs4_t*, gint)': pinyin.cpp:3121:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3121 | if (cached_keys->len != phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp:3169:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3169 | if (cached_keys->len >= phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp: In function 'bool pinyin_remember_user_input(pinyin_instance_t*, const char*, gint)': pinyin.cpp:3222:28: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 3222 | if (cached_tokens->len != phrase_length) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phrase_large_table2.lo storage/phrase_large_table2.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phrase_large_table2.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table2.o storage/phrase_large_table2.cpp: In member function 'bool pinyin::PhraseLargeTable2::load_text(FILE*)': storage/phrase_large_table2.cpp:479:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 479 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 480 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/tag_utility.lo storage/tag_utility.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/tag_utility.cpp -fPIC -DPIC -o storage/.libs/tag_utility.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/table_info.lo storage/table_info.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/table_info.cpp -fPIC -DPIC -o storage/.libs/table_info.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/phonetic_key_matrix.lo storage/phonetic_key_matrix.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/phonetic_key_matrix.cpp -fPIC -DPIC -o storage/.libs/phonetic_key_matrix.o storage/phonetic_key_matrix.cpp: In function 'bool pinyin::dump_matrix(PhoneticKeyMatrix*)': storage/phonetic_key_matrix.cpp:330:26: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 330 | printf("Column:%ld:\n", index); | ~~^ ~~~~~ | | | | | size_t {aka unsigned int} | long int | %d make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_large_table2.lo storage/chewing_large_table2.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_large_table2.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2.o storage/chewing_large_table2.cpp: In member function 'bool pinyin::ChewingLargeTable2::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/chewing_large_table2.cpp:122:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 122 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 123 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} storage/chewing_large_table2.cpp:156:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 156 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ storage/chewing_large_table2.cpp:157:74: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 157 | fprintf(stderr, "ChewingLargeTable2::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 158 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_large_table2_bdb.lo storage/chewing_large_table2_bdb.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_large_table2_bdb.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2_bdb.o In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2_bdb.cpp:21: storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:181:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from storage/chewing_large_table2.h:26: storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 2]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:182:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 3]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:183:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 4]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:184:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 5]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:185:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 6]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:186:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 7]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:187:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 8]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:188:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 9]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:189:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 10]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:190:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 11]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:191:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 12]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:192:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 13]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:193:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 14]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:194:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 15]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:195:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 16]': storage/chewing_large_table2.h:106:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:166:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:196:9: required from here storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/pinyin_lookup2.lo lookup/pinyin_lookup2.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/pinyin_lookup2.cpp -fPIC -DPIC -o lookup/.libs/pinyin_lookup2.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/lookup.lo lookup/lookup.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/lookup.cpp -fPIC -DPIC -o lookup/.libs/lookup.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_key.lo storage/chewing_key.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_key.cpp -fPIC -DPIC -o storage/.libs/chewing_key.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/phrase_lookup.lo lookup/phrase_lookup.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/phrase_lookup.cpp -fPIC -DPIC -o lookup/.libs/phrase_lookup.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/zhuyin_parser2.lo storage/zhuyin_parser2.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/zhuyin_parser2.cpp -fPIC -DPIC -o storage/.libs/zhuyin_parser2.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/pinyin_parser2.lo storage/pinyin_parser2.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/pinyin_parser2.cpp -fPIC -DPIC -o storage/.libs/pinyin_parser2.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o lookup/phonetic_lookup.lo lookup/phonetic_lookup.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c lookup/phonetic_lookup.cpp -fPIC -DPIC -o lookup/.libs/phonetic_lookup.o In file included from lookup/phonetic_lookup.cpp:21: lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=compile i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o storage/chewing_large_table.lo storage/chewing_large_table.cpp libtool: compile: i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c storage/chewing_large_table.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table.o storage/chewing_large_table.cpp: In member function 'bool pinyin::ChewingLargeTable::load_text(FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/chewing_large_table.cpp:676:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 676 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 677 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} storage/chewing_large_table.cpp:710:17: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 710 | if (len != keys->len) { | ~~~~^~~~~~~~~~~~ storage/chewing_large_table.cpp:711:73: warning: format '%ld' expects argument of type 'long int', but argument 6 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 711 | fprintf(stderr, "ChewingLargeTable::load_text:%s\t%s\t%u\t%ld\n", | ~~^ | | | long int | %d 712 | pinyin, phrase, token, freq); | ~~~~ | | | size_t {aka unsigned int} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -Wl,--version-script=./libzhuyin.ver -version-info 13:0 -o libzhuyin.la -rpath /usr/lib storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_bdb.lo storage/phrase_large_table3_bdb.lo storage/chewing_large_table2_bdb.lo zhuyin.lo -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/12/../../../crti.o /usr/lib/gcc/i586-alt-linux/12/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_bdb.o storage/.libs/phrase_large_table3_bdb.o storage/.libs/chewing_large_table2_bdb.o .libs/zhuyin.o -lglib-2.0 -ldb -L/usr/lib/gcc/i586-alt-linux/12 -L/usr/lib/gcc/i586-alt-linux/12/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/12/crtendS.o /usr/lib/gcc/i586-alt-linux/12/../../../crtn.o -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,--version-script=./libzhuyin.ver -Wl,-soname -Wl,libzhuyin.so.13 -o .libs/libzhuyin.so.13.0.0 libtool: link: (cd ".libs" && rm -f "libzhuyin.so.13" && ln -s "libzhuyin.so.13.0.0" "libzhuyin.so.13") libtool: link: (cd ".libs" && rm -f "libzhuyin.so" && ln -s "libzhuyin.so.13.0.0" "libzhuyin.so") libtool: link: ( cd ".libs" && rm -f "libzhuyin.la" && ln -s "../libzhuyin.la" "libzhuyin.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -Wl,--version-script=./libpinyin.ver -version-info 13:0 -o libpinyin.la -rpath /usr/lib storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_bdb.lo storage/phrase_large_table3_bdb.lo storage/chewing_large_table2_bdb.lo pinyin.lo -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/12/../../../crti.o /usr/lib/gcc/i586-alt-linux/12/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_bdb.o storage/.libs/phrase_large_table3_bdb.o storage/.libs/chewing_large_table2_bdb.o .libs/pinyin.o -lglib-2.0 -ldb -L/usr/lib/gcc/i586-alt-linux/12 -L/usr/lib/gcc/i586-alt-linux/12/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/12/crtendS.o /usr/lib/gcc/i586-alt-linux/12/../../../crtn.o -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,--version-script=./libpinyin.ver -Wl,-soname -Wl,libpinyin.so.13 -o .libs/libpinyin.so.13.0.0 libtool: link: (cd ".libs" && rm -f "libpinyin.so.13" && ln -s "libpinyin.so.13.0.0" "libpinyin.so.13") libtool: link: (cd ".libs" && rm -f "libpinyin.so" && ln -s "libpinyin.so.13.0.0" "libpinyin.so") libtool: link: ( cd ".libs" && rm -f "libpinyin.la" && ln -s "../libpinyin.la" "libpinyin.la" ) make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' Making all in tests Making all in include make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_memory_chunk.o test_memory_chunk.cpp test_memory_chunk.cpp: In function 'int main(int, char**)': test_memory_chunk.cpp:14:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 14 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d test_memory_chunk.cpp:21:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 21 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d test_memory_chunk.cpp:30:15: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 30 | printf("%ld\n", chunk->capacity()); | ~~^ ~~~~~~~~~~~~~~~~~ | | | | long int size_t {aka unsigned int} | %d In file included from ../../src/pinyin_internal.h:42, from test_memory_chunk.cpp:2: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_flexible_ngram.o test_flexible_ngram.cpp In file included from ../../src/pinyin_internal.h:42, from test_flexible_ngram.cpp:22: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_index.o test_phrase_index.cpp In file included from ../../src/pinyin_internal.h:42, from test_phrase_index.cpp:4: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_index_logger.o test_phrase_index_logger.cpp In file included from ../../src/pinyin_internal.h:42, from test_phrase_index_logger.cpp:21: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_ngram.o test_ngram.cpp In file included from ../../src/pinyin_internal.h:42, from test_ngram.cpp:2: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_chewing_table.o test_chewing_table.cpp test_chewing_table.cpp: In function 'int main(int, char**)': test_chewing_table.cpp:98:68: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 98 | printf("return continued information with length:%ld\n", i); | ~~^ ~ | | | | | size_t {aka unsigned int} | long int | %d In file included from ../../src/pinyin_internal.h:42, from test_chewing_table.cpp:27: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_matrix.o test_matrix.cpp test_matrix.cpp: In function 'int main(int, char**)': test_matrix.cpp:153:47: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("search index: start %ld\t end %ld\n", i, j); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d test_matrix.cpp:153:57: warning: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 153 | printf("search index: start %ld\t end %ld\n", i, j); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d In file included from ../../src/pinyin_internal.h:42, from test_matrix.cpp:27: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_table.o test_phrase_table.cpp test_phrase_table.cpp: In function 'int main(int, char**)': test_phrase_table.cpp:67:23: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 67 | for (i = 1; i < phrase_len; ++i) { | ~~^~~~~~~~~~~~ test_phrase_table.cpp:71:68: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 71 | printf("return continued information with length:%ld\n", i); | ~~^ ~ | | | | | size_t {aka unsigned int} | long int | %d In file included from ../../src/pinyin_internal.h:42, from test_phrase_table.cpp:7: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_parser2.o test_parser2.cpp In file included from ../../src/pinyin_internal.h:42, from test_parser2.cpp:32: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_table_info.o test_table_info.cpp In file included from ../../src/pinyin_internal.h:42, from test_table_info.cpp:23: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' Making all in lookup make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase_lookup.o test_phrase_lookup.cpp In file included from ../../src/pinyin_internal.h:42, from test_phrase_lookup.cpp:28: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_pinyin_lookup.o test_pinyin_lookup.cpp test_pinyin_lookup.cpp: In function 'int main(int, char**)': test_pinyin_lookup.cpp:124:31: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 124 | printf("pos:%ld,token:%d\t", j, *token); | ~~^ ~ | | | | long int size_t {aka unsigned int} | %d make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_pinyin.o test_pinyin.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_zhuyin.o test_zhuyin.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_chewing.o test_chewing.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o test_phrase.o test_phrase.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_pinyin test_pinyin.o ../src/libpinyin.la -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_pinyin test_pinyin.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_chewing test_chewing.o ../src/libpinyin.la -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_chewing test_chewing.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_phrase test_phrase.o ../src/libpinyin.la -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_phrase test_phrase.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' /bin/sh ../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o test_zhuyin test_zhuyin.o ../src/libzhuyin.la -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o .libs/test_zhuyin test_zhuyin.o ../src/.libs/libzhuyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' Making all in utils Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_pinyin_table.o gen_pinyin_table.cpp In file included from ../../src/pinyin_internal.h:42, from gen_pinyin_table.cpp:24: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_binary_files.o gen_binary_files.cpp In file included from ../../src/pinyin_internal.h:42, from gen_binary_files.cpp:23: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o import_interpolation.o import_interpolation.cpp In file included from ../../src/pinyin_internal.h:42, from import_interpolation.cpp:28: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o export_interpolation.o export_interpolation.cpp export_interpolation.cpp: In function 'bool gen_unigram(FILE*, pinyin::FacadePhraseIndex*)': export_interpolation.cpp:98:55: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'size_t' {aka 'unsigned int'} [-Wformat=] 98 | fprintf(output, "\\item %d %s count %ld\n", token, phrase, freq); | ~~^ ~~~~ | | | | long int size_t {aka unsigned int} | %d In file included from ../../src/pinyin_internal.h:42, from export_interpolation.cpp:25: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_zhuyin_table.o gen_zhuyin_table.cpp gen_zhuyin_table.cpp: In function 'void gen_phrase_file(const char*, int)': gen_zhuyin_table.cpp:311:36: warning: variable 'key_rest' set but not used [-Wunused-but-set-variable] 311 | ChewingKeyRest key_rest = g_array_index | ^~~~~~~~ In file included from ../../src/pinyin_internal.h:42, from gen_zhuyin_table.cpp:28: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' Making all in segment make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o spseg.o spseg.cpp spseg.cpp: In function 'bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)': spseg.cpp:93:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 93 | for ( glong i = 0; i < phrase_len + 1; ++i ){ | ~~^~~~~~~~~~~~~~~~ spseg.cpp:104:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 104 | for ( glong i = 0; i < phrase_len + 1; ++i ) { | ~~^~~~~~~~~~~~~~~~ spseg.cpp:107:34: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 107 | for ( glong k = i + 1; k < phrase_len + 1; ++k ) { | ~~^~~~~~~~~~~~~~~~ spseg.cpp:114:17: warning: unused variable 'num' [-Wunused-variable] 114 | int num = get_first_token(tokens, token); | ^~~ spseg.cpp: In function 'bool deal_with_segmentable(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, FILE*)': spseg.cpp:177:26: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 177 | for ( glong i = 0; i < strings->len; ++i ) { | ~~^~~~~~~~~~~~~~ In file included from ../../src/pinyin_internal.h:42, from spseg.cpp:29: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o mergeseq.o mergeseq.cpp mergeseq.cpp: In function 'bool merge_sequence(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, UnicodeCharVector, TokenInfoVector)': mergeseq.cpp:99:17: warning: unused variable 'num' [-Wunused-variable] 99 | int num = get_first_token(tokens, token); | ^~~ In file included from ../../src/pinyin_internal.h:42, from mergeseq.cpp:29: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o ngseg.o ngseg.cpp In file included from ../../src/pinyin_internal.h:42, from ngseg.cpp:28: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' Making all in training make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_k_mixture_model.o gen_k_mixture_model.cpp gen_k_mixture_model.cpp: In function 'void train_word_pair(HashofUnigram, pinyin::KMixtureModelSingleGram*, phrase_token_t, guint32)': gen_k_mixture_model.cpp:184:20: warning: comparison of integer expressions of different signedness: 'guint32' {aka 'unsigned int'} and 'gint' {aka 'int'} [-Wsign-compare] 184 | if ( count > g_maximum_occurs ){ | ~~~~~~^~~~~~~~~~~~~~~~~~ gen_k_mixture_model.cpp: In function 'bool post_processing_unigram(pinyin::KMixtureModelBigram*, HashofUnigram)': gen_k_mixture_model.cpp:302:14: warning: unused variable 'result' [-Wunused-variable] 302 | bool result = bigram->get_array_header(token, array_header); | ^~~~~~ In file included from ../../src/pinyin_internal.h:42, from gen_k_mixture_model.cpp:28: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_unigram.o gen_unigram.cpp In file included from ../../src/pinyin_internal.h:42, from gen_unigram.cpp:23: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o merge_k_mixture_model.o merge_k_mixture_model.cpp In file included from ../../src/pinyin_internal.h:42, from merge_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o estimate_interpolation.o estimate_interpolation.cpp estimate_interpolation.cpp: In function 'parameter_t compute_interpolation(pinyin::SingleGram*, pinyin::FacadePhraseIndex*, pinyin::SingleGram*)': estimate_interpolation.cpp:33:10: warning: unused variable 'success' [-Wunused-variable] 33 | bool success; | ^~~~~~~ In file included from ../../src/pinyin_internal.h:42, from estimate_interpolation.cpp:27: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o prune_k_mixture_model.o prune_k_mixture_model.cpp prune_k_mixture_model.cpp: In function 'bool prune_k_mixture_model(pinyin::KMixtureModelMagicHeader*, pinyin::KMixtureModelSingleGram*&, pinyin::FlexibleBigramPhraseArray)': prune_k_mixture_model.cpp:48:10: warning: unused variable 'success' [-Wunused-variable] 48 | bool success; | ^~~~~~~ In file included from ../../src/pinyin_internal.h:42, from prune_k_mixture_model.cpp:26: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_deleted_ngram.o gen_deleted_ngram.cpp In file included from ../../src/pinyin_internal.h:42, from gen_deleted_ngram.cpp:30: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o gen_ngram.o gen_ngram.cpp In file included from ../../src/pinyin_internal.h:42, from gen_ngram.cpp:30: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o estimate_k_mixture_model.o estimate_k_mixture_model.cpp estimate_k_mixture_model.cpp: In function 'parameter_t compute_interpolation(pinyin::KMixtureModelSingleGram*, pinyin::KMixtureModelBigram*, pinyin::KMixtureModelSingleGram*)': estimate_k_mixture_model.cpp:39:10: warning: unused variable 'success' [-Wunused-variable] 39 | bool success; | ^~~~~~~ In file included from ../../src/pinyin_internal.h:42, from estimate_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o k_mixture_model_to_interpolation.o k_mixture_model_to_interpolation.cpp In file included from ../../src/pinyin_internal.h:42, from k_mixture_model_to_interpolation.cpp:25: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o validate_k_mixture_model.o validate_k_mixture_model.cpp In file included from ../../src/pinyin_internal.h:42, from validate_k_mixture_model.cpp:21: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o import_k_mixture_model.o import_k_mixture_model.cpp In file included from ../../src/pinyin_internal.h:42, from import_k_mixture_model.cpp:27: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o export_k_mixture_model.o export_k_mixture_model.cpp In file included from ../../src/pinyin_internal.h:42, from export_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h:173:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 173 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' i586-alt-linux-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/lib/glib-2.0/include -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -c -o eval_correction_rate.o eval_correction_rate.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: i586-alt-linux-g++ -pipe -frecord-gcc-switches -Wall -g -O2 -flto=auto -march=i586 -mtune=generic -fPIC -DPIC -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Nothing to be done for 'all-am'. Making all in data make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' rm -f phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin ../utils/storage/gen_binary_files --table-dir ../data ../utils/storage/import_interpolation --table-dir ../data < ../data/interpolation2.text ../utils/training/gen_unigram --table-dir ../data make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' Making all in doc make[2]: Nothing to be done for 'all'. + exit 0 Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.69808 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /bin/chmod -Rf u+rwX -- /usr/src/tmp/libpinyin-buildroot + : + /bin/rm -rf -- /usr/src/tmp/libpinyin-buildroot + PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games + cd libpinyin-2.6.1 + make 'INSTALL=/usr/libexec/rpm-build/install -p' install DESTDIR=/usr/src/tmp/libpinyin-buildroot make: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' Making install in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/include' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.6.1' /usr/libexec/rpm-build/install -p -m 644 novel_types.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.6.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/include' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.6.1' /usr/libexec/rpm-build/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.6.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' Making install in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.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 '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/lib' /bin/sh ../libtool --mode=install /usr/libexec/rpm-build/install -p libpinyin.la libzhuyin.la '/usr/src/tmp/libpinyin-buildroot/usr/lib' libtool: install: /usr/libexec/rpm-build/install -p .libs/libpinyin.so.13.0.0 /usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin.so.13.0.0 libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libpinyin.so.13.0.0 libpinyin.so.13 || { rm -f libpinyin.so.13 && ln -s libpinyin.so.13.0.0 libpinyin.so.13; }; }) libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libpinyin.so.13.0.0 libpinyin.so || { rm -f libpinyin.so && ln -s libpinyin.so.13.0.0 libpinyin.so; }; }) libtool: install: /usr/libexec/rpm-build/install -p .libs/libpinyin.lai /usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin.la libtool: install: /usr/libexec/rpm-build/install -p .libs/libzhuyin.so.13.0.0 /usr/src/tmp/libpinyin-buildroot/usr/lib/libzhuyin.so.13.0.0 libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libzhuyin.so.13.0.0 libzhuyin.so.13 || { rm -f libzhuyin.so.13 && ln -s libzhuyin.so.13.0.0 libzhuyin.so.13; }; }) libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libzhuyin.so.13.0.0 libzhuyin.so || { rm -f libzhuyin.so && ln -s libzhuyin.so.13.0.0 libzhuyin.so; }; }) libtool: install: /usr/libexec/rpm-build/install -p .libs/libzhuyin.lai /usr/src/tmp/libpinyin-buildroot/usr/lib/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib' /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.6.1' /usr/libexec/rpm-build/install -p -m 644 pinyin.h zhuyin.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.6.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' Making install in tests make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' Making install in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.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 '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.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 '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' Making install in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.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 '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.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 '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' Making install in utils make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /usr/libexec/rpm-build/install -p gen_binary_files import_interpolation '/usr/src/tmp/libpinyin-buildroot/usr/bin' libtool: install: /usr/libexec/rpm-build/install -p gen_binary_files /usr/src/tmp/libpinyin-buildroot/usr/bin/gen_binary_files libtool: install: /usr/libexec/rpm-build/install -p import_interpolation /usr/src/tmp/libpinyin-buildroot/usr/bin/import_interpolation make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' Making install in segment make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.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 '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' Making install in training make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/bin' /bin/sh ../../libtool --mode=install /usr/libexec/rpm-build/install -p gen_unigram '/usr/src/tmp/libpinyin-buildroot/usr/bin' libtool: install: /usr/libexec/rpm-build/install -p gen_unigram /usr/src/tmp/libpinyin-buildroot/usr/bin/gen_unigram make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.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 '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' Making install in data make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin/data' /usr/libexec/rpm-build/install -p -m 644 phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin table.conf '/usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin/data' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' Making install in doc make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/doc' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/share/man/man1' /usr/libexec/rpm-build/install -p -m 644 libpinyin.1 '/usr/src/tmp/libpinyin-buildroot/usr/share/man/man1' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/doc' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/doc' make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' make[2]: Nothing to be done for 'install-exec-am'. /bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/lib/pkgconfig' /usr/libexec/rpm-build/install -p -m 644 libpinyin.pc libzhuyin.pc '/usr/src/tmp/libpinyin-buildroot/usr/lib/pkgconfig' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' make: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' + find /usr/src/tmp/libpinyin-buildroot -name '*.la' -exec rm -f '{}' ';' + /usr/lib/rpm/brp-alt Cleaning files in /usr/src/tmp/libpinyin-buildroot (auto) mode of './usr/lib/libzhuyin.so.13.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libpinyin.so.13.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) Verifying and fixing files in /usr/src/tmp/libpinyin-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig) /usr/lib/pkgconfig/libzhuyin.pc: Libs: '-L${libdir} -lzhuyin' --> '-lzhuyin' /usr/lib/pkgconfig/libpinyin.pc: Libs: '-L${libdir} -lpinyin' --> '-lpinyin' Checking contents of files in /usr/src/tmp/libpinyin-buildroot/ (default) Compressing files in /usr/src/tmp/libpinyin-buildroot (auto) Adjusting library links in /usr/src/tmp/libpinyin-buildroot ./usr/lib: (from :0) libpinyin.so.13 -> libpinyin.so.13.0.0 libzhuyin.so.13 -> libzhuyin.so.13.0.0 Verifying ELF objects in /usr/src/tmp/libpinyin-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal) verify-elf: WARNING: ./usr/bin/gen_unigram: uses non-LFS functions: fopen lseek open verify-elf: WARNING: ./usr/bin/import_interpolation: uses non-LFS functions: fopen lseek open verify-elf: WARNING: ./usr/bin/gen_binary_files: uses non-LFS functions: fopen open verify-elf: WARNING: ./usr/lib/libzhuyin.so.13.0.0: uses non-LFS functions: fopen lseek mmap open verify-elf: WARNING: ./usr/lib/libpinyin.so.13.0.0: uses non-LFS functions: fopen lseek mmap open Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.73147 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.6.1 + make check make: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' Making check in src make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' Making check in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/include' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/storage' Making check in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/src' Making check in tests make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' Making check in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' make check-TESTS make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' make[4]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' PASS: test_memory_chunk ============================================================================ Testsuite summary for libpinyin 2.6.1 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/include' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make check-TESTS make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[4]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' PASS: test_phrase_index_logger PASS: test_ngram PASS: test_flexible_ngram ============================================================================ Testsuite summary for libpinyin 2.6.1 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/storage' Making check in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/tests' Making check in utils make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/storage' Making check in segment make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/segment' Making check in training make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils/training' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/utils' Making check in data make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/data' Making check in doc make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1/doc' make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' make: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.6.1' + exit 0 Processing files: libpinyin-2.6.1-alt1_2 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.73147 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.6.1 + DOCDIR=/usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.6.1 + export DOCDIR + rm -rf /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.6.1 + /bin/mkdir -p /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.6.1 + cp -prL AUTHORS COPYING README /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.6.1 + chmod -R go-w /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.6.1 + chmod -R a+rX /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.6.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.c98kjF find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) lib.prov: /usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin.so.13: 74 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WYGCax find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libpinyin.so.13 = set:kdcBGTZi2d9h5sJWCLu7kodQR47ca6yFjkf2e8rrx284HGo8Z2EE2wrbL8Qne3l8OeXmSPCcnHBk3sHgRSdEFpQbt2LzBihB1ys5d4H5RvFAQbUuEY0uA5dYGZnlpZgc9DOI19JT1vrHljbcizcp7DilW91, libpinyin.so.13(LIBPINYIN) Requires: libpinyin-data = 2.6.1-alt1_2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libdb-4.8.so >= set:on7Co7, libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libglib-2.0.so.0 >= set:oifwKSvNHACiSm7fiR2wyW4oGZ4ZK3NJn7OQ0v972X5Q6HVaKMlqMJFjZ1avlyybmcZwzRIg8CXWg1LBFC5CGy9D42CTcA7b7, libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ai2orO Creating libpinyin-debuginfo package Processing files: libpinyin-devel-2.6.1-alt1_2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iFOLPP find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Nb9Irl find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libzhuyin-devel = 2.6.1-alt1_2, pkgconfig(libpinyin) = 2.6.1, pkgconfig(libzhuyin) = 2.6.1 Requires: libpinyin = 2.6.1-alt1_2, libzhuyin = 2.6.1-alt1_2, /usr/lib/libpinyin.so.13.0.0, /usr/lib/libzhuyin.so.13.0.0, /usr/lib/pkgconfig, glib2-devel, pkgconfig(glib-2.0) Obsoletes: libzhuyin-devel < 2.6.1-alt1_2 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.eBb5ED Processing files: libpinyin-data-2.6.1-alt1_2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EBN9Cg find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.9zLZ5A find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: libpinyin = 2.6.1-alt1_2 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.46MeRg Processing files: libpinyin-tools-2.6.1-alt1_2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZdnkS8 find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.gJTdvD find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Requires: libpinyin = 2.6.1-alt1_2, /lib/ld-linux.so.2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.34), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libdb-4.8.so >= set:on7Co7, libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libglib-2.0.so.0 >= set:oifwKZg4vgXidZJbQfCLZJ00UDnZlQlIQDQlNxCyH97OktVLwifDxhPDQdJkbUadN6TCeR7GfSggaA0HWd3uGVz88O2vHmxgcQG7DxgxFGoOLGn0LZm, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.dj3cYw Creating libpinyin-tools-debuginfo package Processing files: libzhuyin-2.6.1-alt1_2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bE1T5X find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,python3,shell,typelib) lib.prov: /usr/src/tmp/libpinyin-buildroot/usr/lib/libzhuyin.so.13: 52 symbols, 16 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.qstAGB find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,python3,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib) Provides: libzhuyin.so.13 = set:jdZhZ1SIbBBjeBSiW0OJtj54xjC1Z2iDQXReqhBDNQ6EmZohwpDYdpqK02awG68dAhNuuhZ3xk1bZhJBe5RsqAx7nRzEPurRyPK4AiNRex2, libzhuyin.so.13(LIBZHUYIN) Requires: libpinyin = 2.6.1-alt1_2, libc.so.6(GLIBC_2.0), libc.so.6(GLIBC_2.1), libc.so.6(GLIBC_2.1.3), libc.so.6(GLIBC_2.3.4), libc.so.6(GLIBC_2.4), libc.so.6(GLIBC_2.7), libdb-4.8.so >= set:on7Co7, libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libglib-2.0.so.0 >= set:oifwKZg4vgraprtY8lb00s96WT7yrLeAF1ZiVgoLwSodnN5Ki3KdtGfkZqiiwlZ66yV76HpxgcTRx2ubjdbcl5je94cLp8fme, libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), rtld(GNU_HASH) Requires(rpmlib): rpmlib(SetVersions) Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.U1l1i3 Creating libzhuyin-debuginfo package Processing files: libpinyin-debuginfo-2.6.1-alt1_2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.hhf8Qn find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.JKfrmB find-requires: running scripts (debuginfo) Provides: debug(libpinyin.so.13) Requires: libpinyin = 2.6.1-alt1_2, debug(libc.so.6), debug(libdb-4.8.so), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libm.so.6), debug(libstdc++.so.6) Processing files: libpinyin-tools-debuginfo-2.6.1-alt1_2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.72ryT1 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.h5IGI3 find-requires: running scripts (debuginfo) Requires: libpinyin-tools = 2.6.1-alt1_2, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libdb-4.8.so), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libstdc++.so.6) Processing files: libzhuyin-debuginfo-2.6.1-alt1_2 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.GxsU2g find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.WZWIxs find-requires: running scripts (debuginfo) Provides: debug(libzhuyin.so.13) Requires: libzhuyin = 2.6.1-alt1_2, debug(libc.so.6), debug(libdb-4.8.so), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libm.so.6), debug(libstdc++.so.6) Adding to libpinyin-devel a strict dependency on libpinyin Adding to libpinyin a strict dependency on libpinyin-data Adding to libpinyin-data a strict dependency on libpinyin Adding to libpinyin-tools a strict dependency on libpinyin Adding to libzhuyin a strict dependency on libpinyin Adding to libpinyin-debuginfo a strict dependency on libpinyin Adding to libpinyin-devel a strict dependency on libzhuyin Adding to libpinyin-tools-debuginfo a strict dependency on libpinyin-tools Adding to libzhuyin-debuginfo a strict dependency on libzhuyin Adding to libpinyin-tools-debuginfo a strict dependency on libpinyin-debuginfo Removing from libpinyin-tools-debuginfo 35 sources provided by libpinyin-debuginfo also prunning dir /usr/src/debug/libpinyin-2.6.1/src/include also prunning dir /usr/src/debug/libpinyin-2.6.1/src/lookup Adding to libzhuyin-debuginfo a strict dependency on libpinyin-debuginfo Removing from libzhuyin-debuginfo 53 sources provided by libpinyin-debuginfo also prunning dir /usr/src/debug/libpinyin-2.6.1/src/include also prunning dir /usr/src/debug/libpinyin-2.6.1/src/lookup also prunning dir /usr/src/debug/libpinyin-2.6.1/src/storage Removing 1 extra deps from libpinyin-devel due to dependency on libpinyin Removing 1 extra deps from libpinyin-devel due to dependency on libzhuyin Removing 14 extra deps from libpinyin-tools due to repentancy on libpinyin Removing 15 extra deps from libzhuyin due to repentancy on libpinyin Removing 1 extra deps from libpinyin-devel due to repentancy on libzhuyin Removing 5 extra deps from libpinyin-tools-debuginfo due to repentancy on libpinyin-debuginfo Removing 6 extra deps from libzhuyin-debuginfo due to repentancy on libpinyin-debuginfo Wrote: /usr/src/RPM/RPMS/i586/libpinyin-2.6.1-alt1_2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-devel-2.6.1-alt1_2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-data-2.6.1-alt1_2.i586.rpm (w2T8.xzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-tools-2.6.1-alt1_2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libzhuyin-2.6.1-alt1_2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-debuginfo-2.6.1-alt1_2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-tools-debuginfo-2.6.1-alt1_2.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libzhuyin-debuginfo-2.6.1-alt1_2.i586.rpm (w2.lzdio) 512.30user 18.43system 3:24.47elapsed 259%CPU (0avgtext+0avgdata 360036maxresident)k 0inputs+0outputs (0major+5686700minor)pagefaults 0swaps 2.92user 1.75system 3:38.21elapsed 2%CPU (0avgtext+0avgdata 107324maxresident)k 2120inputs+0outputs (31872major+172600minor)pagefaults 0swaps --- libpinyin-2.6.1-alt1_2.i586.rpm.repo 2021-11-13 20:01:35.000000000 +0000 +++ libpinyin-2.6.1-alt1_2.i586.rpm.hasher 2023-01-21 06:22:17.498392199 +0000 @@ -30,3 +30,3 @@ File: /usr/lib/libpinyin.so.13 120777 root:root libpinyin.so.13.0.0 -File: /usr/lib/libpinyin.so.13.0.0 100644 root:root d983775f068eda9439d882bca2b93762 +File: /usr/lib/libpinyin.so.13.0.0 100644 root:root ea083369d358a21943c422b4f01634a6 File: /usr/share/doc/libpinyin-2.6.1 40755 root:root @@ -35,2 +35,2 @@ File: /usr/share/doc/libpinyin-2.6.1/README 100644 root:root 66599c9cfc80e47e4babe1babec0c96e -RPMIdentity: 390fcd05939c69b866bba28e6ca9a0e236e6ad859e78e61a822fc966bd1db0feac55618241cec44a921fec04565a28ca1e91a5a1c8d606ccea74b26e363ccd2b +RPMIdentity: 6f55c8191f8455fd756351615dbcda1f672ff4b98be1830bb913bd5f8b09d9e5d4b7ef230bec131799398b366df2edb297b8ccab2c02c8ae9a28b6a935c646e6 --- libpinyin-data-2.6.1-alt1_2.i586.rpm.repo 2021-11-13 20:01:35.000000000 +0000 +++ libpinyin-data-2.6.1-alt1_2.i586.rpm.hasher 2023-01-21 06:22:17.565392321 +0000 @@ -27,6 +27,6 @@ File: /usr/lib/libpinyin/data 40755 root:root -File: /usr/lib/libpinyin/data/addon_phrase_index.bin 100644 root:root d7ee41fd1650ea9e0e9dbe8f6d304108 -File: /usr/lib/libpinyin/data/addon_pinyin_index.bin 100644 root:root 7558a4eb6a6a9e005bc5b4faddaaff17 +File: /usr/lib/libpinyin/data/addon_phrase_index.bin 100644 root:root fb5fd9f229c5b646eb8714200ec56123 +File: /usr/lib/libpinyin/data/addon_pinyin_index.bin 100644 root:root 2c1b9936661b29c22ec1c132730a7b78 File: /usr/lib/libpinyin/data/art.bin 100644 root:root cf2b4acac22ceb9c1be7996b72387914 -File: /usr/lib/libpinyin/data/bigram.db 100644 root:root a863cf57879dfa7dadaf9ff832487e80 +File: /usr/lib/libpinyin/data/bigram.db 100644 root:root 5d2a14d5dd4c738eb39401badfaa4229 File: /usr/lib/libpinyin/data/culture.bin 100644 root:root fefda2587545d76a26968d67221a122e @@ -42,4 +42,4 @@ File: /usr/lib/libpinyin/data/people.bin 100644 root:root 5d3d4eaa8ee2ee9a936f9e531949327e -File: /usr/lib/libpinyin/data/phrase_index.bin 100644 root:root 5949c43682cb165b5eb3b91bae755468 -File: /usr/lib/libpinyin/data/pinyin_index.bin 100644 root:root 8cdecee805e51d77bdf418fff04033d6 +File: /usr/lib/libpinyin/data/phrase_index.bin 100644 root:root 6406cebd0cf1c05007ac49dbd59e0910 +File: /usr/lib/libpinyin/data/pinyin_index.bin 100644 root:root f48efef46371ba391fabfe97a98b860b File: /usr/lib/libpinyin/data/science.bin 100644 root:root aa771f11c256250de41361306978b0d0 @@ -49,2 +49,2 @@ File: /usr/lib/libpinyin/data/technology.bin 100644 root:root 2d5110a701e721743bb8771f71ff6c34 -RPMIdentity: b91a79ce84157308b8edd2bf8f4388faa131345baad29b7ce02bebd0004cf1e5dbfb235579f1e224219343f0c6d36dd35fa0576136ad264e345fff0afd10387c +RPMIdentity: b7438bbd7ab37573ec59abe7f84d0db6c077fe3c2dd667d83f0c29f0f5f70df2e19170525023813ddc60110ee8accf99ecc00f9ddb9284ae16c409a71681de76 --- libpinyin-debuginfo-2.6.1-alt1_2.i586.rpm.repo 2021-11-13 20:01:34.000000000 +0000 +++ libpinyin-debuginfo-2.6.1-alt1_2.i586.rpm.hasher 2023-01-21 06:22:17.653392482 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/43 40755 root:root -/usr/lib/debug/.build-id/43/920fbd1dd6bc4b2e0d1c6106f1ca154e8daeb2 120777 root:root ../../../libpinyin.so.13.0.0 -/usr/lib/debug/.build-id/43/920fbd1dd6bc4b2e0d1c6106f1ca154e8daeb2.debug 120777 root:root ../../usr/lib/libpinyin.so.13.0.0.debug +/usr/lib/debug/.build-id/fc 40755 root:root +/usr/lib/debug/.build-id/fc/cd9a893ce53bb4f534170cddfb68da065c927c 120777 root:root ../../../libpinyin.so.13.0.0 +/usr/lib/debug/.build-id/fc/cd9a893ce53bb4f534170cddfb68da065c927c.debug 120777 root:root ../../usr/lib/libpinyin.so.13.0.0.debug /usr/lib/debug/usr/lib/libpinyin.so.13.0.0.debug 100644 root:root @@ -75,6 +75,6 @@ Provides: libpinyin-debuginfo = 2.6.1-alt1_2:sisyphus+289770.100.1.1 -File: /usr/lib/debug/.build-id/43 40755 root:root -File: /usr/lib/debug/.build-id/43/920fbd1dd6bc4b2e0d1c6106f1ca154e8daeb2 120777 root:root ../../../libpinyin.so.13.0.0 -File: /usr/lib/debug/.build-id/43/920fbd1dd6bc4b2e0d1c6106f1ca154e8daeb2.debug 120777 root:root ../../usr/lib/libpinyin.so.13.0.0.debug -File: /usr/lib/debug/usr/lib/libpinyin.so.13.0.0.debug 100644 root:root 8e9b99e090de30d3ea408f7131dad278 +File: /usr/lib/debug/.build-id/fc 40755 root:root +File: /usr/lib/debug/.build-id/fc/cd9a893ce53bb4f534170cddfb68da065c927c 120777 root:root ../../../libpinyin.so.13.0.0 +File: /usr/lib/debug/.build-id/fc/cd9a893ce53bb4f534170cddfb68da065c927c.debug 120777 root:root ../../usr/lib/libpinyin.so.13.0.0.debug +File: /usr/lib/debug/usr/lib/libpinyin.so.13.0.0.debug 100644 root:root 5f27f7435989c6e4da80927205e3f3d5 File: /usr/lib/debug/usr/lib/libpinyin.so.13.debug 120777 root:root libpinyin.so.13.0.0.debug @@ -140,2 +140,2 @@ File: /usr/src/debug/libpinyin-2.6.1/src/storage/zhuyin_table.h 100644 root:root eea9f724c55e54669fad41821176e683 -RPMIdentity: c029e7d734524501ab5fb85eccc6fb72a27540000c0b0ed1434aaaae97e4b7dc3686f679d5b6de6e41649e4fbd7857b04492f4ed7fe24daa2b43994c6660e10d +RPMIdentity: ce76445693a180ab6fe895614460489b842928886786928281742fa8c9f1fedf227320a7a19af286e68475a9fd358bb7ceb3b3ce8970c4f17e2c20dd239cce85 --- libpinyin-tools-2.6.1-alt1_2.i586.rpm.repo 2021-11-13 20:01:35.000000000 +0000 +++ libpinyin-tools-2.6.1-alt1_2.i586.rpm.hasher 2023-01-21 06:22:17.803392755 +0000 @@ -10,6 +10,6 @@ Provides: libpinyin-tools = 2.6.1-alt1_2:sisyphus+289770.100.1.1 -File: /usr/bin/gen_binary_files 100755 root:root 2dc7b0b6fbc5e609a6ce6c09d3006e29 -File: /usr/bin/gen_unigram 100755 root:root faff4902bf6737dab164942dfa30f21f -File: /usr/bin/import_interpolation 100755 root:root c79ac09e739c9844b9454bd7ce5dbfc4 +File: /usr/bin/gen_binary_files 100755 root:root 51b764ee0626fe028e71be78ac74b790 +File: /usr/bin/gen_unigram 100755 root:root d0155ef5097ba68b88bf1ad456304576 +File: /usr/bin/import_interpolation 100755 root:root d16e791877e2ed78e958e10f78ed88dc File: /usr/share/man/man1/libpinyin.1.xz 100644 root:root 123bc41968ca973f6d3dd5ee974addfc -RPMIdentity: eec752373372af441868ef951c632c1a4f126bc6372a32940bb3809c24c2511bc3159e09bb98d8fcf36a358fd06fc515238a81f5de6c0eba472ab0ae61747898 +RPMIdentity: 5cd35ed4ef23584cf84e133314962be20060a2388000eec1562f76f6dbedfc8e94a2150bfbc967d5dd4ff6249290696a8e35bdce25e96b74bc0aed77a2f656e6 --- libpinyin-tools-debuginfo-2.6.1-alt1_2.i586.rpm.repo 2021-11-13 20:01:34.000000000 +0000 +++ libpinyin-tools-debuginfo-2.6.1-alt1_2.i586.rpm.hasher 2023-01-21 06:22:17.883392901 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/59 40755 root:root -/usr/lib/debug/.build-id/59/8066763879b20ce577037e1aa01a2788159fdd 120777 root:root ../../../../bin/import_interpolation -/usr/lib/debug/.build-id/59/8066763879b20ce577037e1aa01a2788159fdd.debug 120777 root:root ../../usr/bin/import_interpolation.debug -/usr/lib/debug/.build-id/cf 40755 root:root -/usr/lib/debug/.build-id/cf/b915fee8f6799991bbb50b864be5e3276d2c5b 120777 root:root ../../../../bin/gen_binary_files -/usr/lib/debug/.build-id/cf/b915fee8f6799991bbb50b864be5e3276d2c5b.debug 120777 root:root ../../usr/bin/gen_binary_files.debug -/usr/lib/debug/.build-id/f6 40755 root:root -/usr/lib/debug/.build-id/f6/6c5709dcf4506d1cbbbeb91aa8fe82257002d6 120777 root:root ../../../../bin/gen_unigram -/usr/lib/debug/.build-id/f6/6c5709dcf4506d1cbbbeb91aa8fe82257002d6.debug 120777 root:root ../../usr/bin/gen_unigram.debug +/usr/lib/debug/.build-id/21 40755 root:root +/usr/lib/debug/.build-id/21/d998f64713ac4c023d7930e78172012821e992 120777 root:root ../../../../bin/gen_unigram +/usr/lib/debug/.build-id/21/d998f64713ac4c023d7930e78172012821e992.debug 120777 root:root ../../usr/bin/gen_unigram.debug +/usr/lib/debug/.build-id/ee 40755 root:root +/usr/lib/debug/.build-id/ee/3ecd96e52578d6a15ab5e067b94f3dfed88898 120777 root:root ../../../../bin/import_interpolation +/usr/lib/debug/.build-id/ee/3ecd96e52578d6a15ab5e067b94f3dfed88898.debug 120777 root:root ../../usr/bin/import_interpolation.debug +/usr/lib/debug/.build-id/fa 40755 root:root +/usr/lib/debug/.build-id/fa/5849b4a22a8e4b552f1c7e82f7d140436a6406 120777 root:root ../../../../bin/gen_binary_files +/usr/lib/debug/.build-id/fa/5849b4a22a8e4b552f1c7e82f7d140436a6406.debug 120777 root:root ../../usr/bin/gen_binary_files.debug /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root @@ -28,14 +28,14 @@ Provides: libpinyin-tools-debuginfo = 2.6.1-alt1_2:sisyphus+289770.100.1.1 -File: /usr/lib/debug/.build-id/59 40755 root:root -File: /usr/lib/debug/.build-id/59/8066763879b20ce577037e1aa01a2788159fdd 120777 root:root ../../../../bin/import_interpolation -File: /usr/lib/debug/.build-id/59/8066763879b20ce577037e1aa01a2788159fdd.debug 120777 root:root ../../usr/bin/import_interpolation.debug -File: /usr/lib/debug/.build-id/cf 40755 root:root -File: /usr/lib/debug/.build-id/cf/b915fee8f6799991bbb50b864be5e3276d2c5b 120777 root:root ../../../../bin/gen_binary_files -File: /usr/lib/debug/.build-id/cf/b915fee8f6799991bbb50b864be5e3276d2c5b.debug 120777 root:root ../../usr/bin/gen_binary_files.debug -File: /usr/lib/debug/.build-id/f6 40755 root:root -File: /usr/lib/debug/.build-id/f6/6c5709dcf4506d1cbbbeb91aa8fe82257002d6 120777 root:root ../../../../bin/gen_unigram -File: /usr/lib/debug/.build-id/f6/6c5709dcf4506d1cbbbeb91aa8fe82257002d6.debug 120777 root:root ../../usr/bin/gen_unigram.debug -File: /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root 17af7b16cbb634835759c1fa9b406b4c -File: /usr/lib/debug/usr/bin/gen_unigram.debug 100644 root:root b25f13846aa9d97f597dbd172f47b1c4 -File: /usr/lib/debug/usr/bin/import_interpolation.debug 100644 root:root d5f3292274a3d0748496aa50087eb3ad +File: /usr/lib/debug/.build-id/21 40755 root:root +File: /usr/lib/debug/.build-id/21/d998f64713ac4c023d7930e78172012821e992 120777 root:root ../../../../bin/gen_unigram +File: /usr/lib/debug/.build-id/21/d998f64713ac4c023d7930e78172012821e992.debug 120777 root:root ../../usr/bin/gen_unigram.debug +File: /usr/lib/debug/.build-id/ee 40755 root:root +File: /usr/lib/debug/.build-id/ee/3ecd96e52578d6a15ab5e067b94f3dfed88898 120777 root:root ../../../../bin/import_interpolation +File: /usr/lib/debug/.build-id/ee/3ecd96e52578d6a15ab5e067b94f3dfed88898.debug 120777 root:root ../../usr/bin/import_interpolation.debug +File: /usr/lib/debug/.build-id/fa 40755 root:root +File: /usr/lib/debug/.build-id/fa/5849b4a22a8e4b552f1c7e82f7d140436a6406 120777 root:root ../../../../bin/gen_binary_files +File: /usr/lib/debug/.build-id/fa/5849b4a22a8e4b552f1c7e82f7d140436a6406.debug 120777 root:root ../../usr/bin/gen_binary_files.debug +File: /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root 5d68c742867cd1ff2e3205b7e6480b2e +File: /usr/lib/debug/usr/bin/gen_unigram.debug 100644 root:root a1560974d8c206b4b5e23726950f60a9 +File: /usr/lib/debug/usr/bin/import_interpolation.debug 100644 root:root df4c3315c70b2e3ab46ca4b70a2b4f3f File: /usr/src/debug/libpinyin-2.6.1 40755 root:root @@ -51,2 +51,2 @@ File: /usr/src/debug/libpinyin-2.6.1/utils/utils_helper.h 100644 root:root ff4be9f8847138ef1d2b3423125600dd -RPMIdentity: dedac50e90e74ca56d50a201ee50c30e476750951172df3f683920dbbc42b04b8801f13d8b8fbb3ecc2a1bc258d686533eaa86bb7fb9945240c2930924d358d5 +RPMIdentity: b565e79c937db6383a1a95ae7b68e4b2f3e072539ac8499d35f3f23dc0186565f891dbbc47732d0882504a21b3670fc46bfc716df0f73f2dc30d33e6e729ebe0 --- libzhuyin-2.6.1-alt1_2.i586.rpm.repo 2021-11-13 20:01:35.000000000 +0000 +++ libzhuyin-2.6.1-alt1_2.i586.rpm.hasher 2023-01-21 06:22:17.950393023 +0000 @@ -9,3 +9,3 @@ File: /usr/lib/libzhuyin.so.13 120777 root:root libzhuyin.so.13.0.0 -File: /usr/lib/libzhuyin.so.13.0.0 100644 root:root dc9cb02370fef39d41bd675e4f1c8516 -RPMIdentity: b09a1e788365b0d881c5aafbe421b53656584e3f42da0d6e5ec43ad47f45d2e59eb6ee2fcd3480c93fc643ddc4c25c62714ee3921df278d2bb35f9879d764dde +File: /usr/lib/libzhuyin.so.13.0.0 100644 root:root 9058c72dab3d9340b5b5778f026e19ec +RPMIdentity: 45aa25986908e59a76d460ea3d2fb88590c9861855d3391dd824416aff925dff6e5d253659d8d439398d88854265a986477533cb188b43d3d146af01b0ddd45b --- libzhuyin-debuginfo-2.6.1-alt1_2.i586.rpm.repo 2021-11-13 20:01:34.000000000 +0000 +++ libzhuyin-debuginfo-2.6.1-alt1_2.i586.rpm.hasher 2023-01-21 06:22:18.027393164 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/14 40755 root:root -/usr/lib/debug/.build-id/14/71317e8e1b6f5559639249c05751f21c12efb3 120777 root:root ../../../libzhuyin.so.13.0.0 -/usr/lib/debug/.build-id/14/71317e8e1b6f5559639249c05751f21c12efb3.debug 120777 root:root ../../usr/lib/libzhuyin.so.13.0.0.debug +/usr/lib/debug/.build-id/e2 40755 root:root +/usr/lib/debug/.build-id/e2/6385324cbf223ddf57e57a1481a0ed27693751 120777 root:root ../../../libzhuyin.so.13.0.0 +/usr/lib/debug/.build-id/e2/6385324cbf223ddf57e57a1481a0ed27693751.debug 120777 root:root ../../usr/lib/libzhuyin.so.13.0.0.debug /usr/lib/debug/usr/lib/libzhuyin.so.13.0.0.debug 100644 root:root @@ -14,6 +14,6 @@ Provides: libzhuyin-debuginfo = 2.6.1-alt1_2:sisyphus+289770.100.1.1 -File: /usr/lib/debug/.build-id/14 40755 root:root -File: /usr/lib/debug/.build-id/14/71317e8e1b6f5559639249c05751f21c12efb3 120777 root:root ../../../libzhuyin.so.13.0.0 -File: /usr/lib/debug/.build-id/14/71317e8e1b6f5559639249c05751f21c12efb3.debug 120777 root:root ../../usr/lib/libzhuyin.so.13.0.0.debug -File: /usr/lib/debug/usr/lib/libzhuyin.so.13.0.0.debug 100644 root:root 0b0ecc93c1527abc3dec049d97170b05 +File: /usr/lib/debug/.build-id/e2 40755 root:root +File: /usr/lib/debug/.build-id/e2/6385324cbf223ddf57e57a1481a0ed27693751 120777 root:root ../../../libzhuyin.so.13.0.0 +File: /usr/lib/debug/.build-id/e2/6385324cbf223ddf57e57a1481a0ed27693751.debug 120777 root:root ../../usr/lib/libzhuyin.so.13.0.0.debug +File: /usr/lib/debug/usr/lib/libzhuyin.so.13.0.0.debug 100644 root:root b8eab80be676800d2baf1cab6281cb37 File: /usr/lib/debug/usr/lib/libzhuyin.so.13.debug 120777 root:root libzhuyin.so.13.0.0.debug @@ -23,2 +23,2 @@ File: /usr/src/debug/libpinyin-2.6.1/src/zhuyin.h 100644 root:root c0408220d79bdda81a8e3e2f0bb26061 -RPMIdentity: e443ffde751c09386b402d5ee93c6c2315a1997e9880604e6769302ac32b2fe4903208a0652ed518af3f8d5eea0d6a56a18991dcc867bdcee4bfc0e4ce41c28f +RPMIdentity: 1a65e37e7e15c915e78a996429601ea0863aa40fd0df925c5345d4d266fb31bcb1f6a9da47abcf546cd507fc256c865331c956cde3aeb1c1617bd572e2343398