<86>Apr 27 11:38:25 userdel[2929962]: delete user 'rooter' <86>Apr 27 11:38:25 userdel[2929962]: removed group 'rooter' owned by 'rooter' <86>Apr 27 11:38:25 userdel[2929962]: removed shadow group 'rooter' owned by 'rooter' <86>Apr 27 11:38:25 groupadd[2930100]: group added to /etc/group: name=rooter, GID=1838 <86>Apr 27 11:38:25 groupadd[2930100]: group added to /etc/gshadow: name=rooter <86>Apr 27 11:38:25 groupadd[2930100]: new group: name=rooter, GID=1838 <86>Apr 27 11:38:25 useradd[2930207]: new user: name=rooter, UID=1838, GID=1838, home=/root, shell=/bin/bash, from=none <86>Apr 27 11:38:25 userdel[2930342]: delete user 'builder' <86>Apr 27 11:38:25 userdel[2930342]: removed group 'builder' owned by 'builder' <86>Apr 27 11:38:25 userdel[2930342]: removed shadow group 'builder' owned by 'builder' <86>Apr 27 11:38:25 groupadd[2930444]: group added to /etc/group: name=builder, GID=1839 <86>Apr 27 11:38:25 groupadd[2930444]: group added to /etc/gshadow: name=builder <86>Apr 27 11:38:25 groupadd[2930444]: new group: name=builder, GID=1839 <86>Apr 27 11:38:25 useradd[2930536]: new user: name=builder, UID=1839, GID=1839, home=/usr/src, shell=/bin/bash, from=none <13>Apr 27 11:38:29 rpmi: libkyotocabinet-1.2.76-alt3 1500283658 installed <13>Apr 27 11:38:29 rpmi: desktop-file-utils-0.26-alt6 sisyphus+331944.100.1.3 1697550035 installed <13>Apr 27 11:38:29 rpmi: shared-mime-info-2.4-alt1 sisyphus+334259.100.1.1 1699787317 installed <13>Apr 27 11:38:29 rpmi: gsettings-desktop-schemas-data-46.0-alt1 sisyphus+343025.100.4.2 1710847127 installed <13>Apr 27 11:38:29 rpmi: libgio-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 27 11:38:29 rpmi: gsettings-desktop-schemas-46.0-alt1 sisyphus+343025.100.4.2 1710847126 installed <13>Apr 27 11:38:29 rpmi: libmpdec3-2.5.1-alt3 sisyphus+314490.500.5.1 1675432033 installed <13>Apr 27 11:38:29 rpmi: libgdbm-1.8.3-alt10 sisyphus+278100.1600.1.1 1626059138 installed <13>Apr 27 11:38:29 rpmi: libexpat-2.5.0-alt1 sisyphus+309227.100.1.1 1667075766 installed <13>Apr 27 11:38:29 rpmi: libb2-0.98.1-alt1_1 sisyphus+291614.100.1.1 1638962878 installed <13>Apr 27 11:38:29 rpmi: xml-utils-1:2.12.5-alt1 sisyphus+342268.100.2.1 1710156418 installed <13>Apr 27 11:38:29 rpmi: rpm-build-gir-0.7.3-alt3.1 sisyphus+319393.100.1.1 1682538783 installed <13>Apr 27 11:38:29 rpmi: gcc-c++-common-1.4.27-alt1 sisyphus+278099.1300.1.1 1626028636 installed <13>Apr 27 11:38:29 rpmi: libstdc++13-devel-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 27 11:38:30 rpmi: gcc13-c++-13.2.1-alt3 sisyphus+339335.100.1.1 1706563095 installed <13>Apr 27 11:38:30 rpmi: libp11-kit-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 27 11:38:30 rpmi: libtasn1-4.19.0-alt3 sisyphus+327816.100.1.1 1692802618 installed <13>Apr 27 11:38:30 rpmi: rpm-macros-alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 27 11:38:30 rpmi: alternatives-0.5.2-alt2 sisyphus+315270.200.2.1 1676457367 installed <13>Apr 27 11:38:30 rpmi: ca-certificates-2024.02.24-alt1 sisyphus+341362.100.1.1 1708791001 installed <13>Apr 27 11:38:30 rpmi: ca-trust-0.2.0-alt1 sisyphus+344843.100.1.1 1712743326 installed <13>Apr 27 11:38:30 rpmi: p11-kit-trust-1:0.25.3-alt2 sisyphus+336533.100.1.1 1702645575 installed <13>Apr 27 11:38:30 rpmi: libcrypto3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <13>Apr 27 11:38:30 rpmi: libssl3-3.1.5-alt2 sisyphus+343320.140.3.1 1711982452 installed <13>Apr 27 11:38:30 rpmi: python3-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Apr 27 11:38:31 rpmi: python3-base-3.12.2-alt1 sisyphus+341702.200.1.1 1709232959 installed <13>Apr 27 11:38:31 rpmi: python3-module-packaging-24.0-alt1 sisyphus+342487.100.2.1 1710407438 installed <13>Apr 27 11:38:32 rpmi: glib2-devel-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 27 11:38:32 rpmi: libgio-devel-2.80.0-alt2.1 sisyphus+343856.100.1.1 1711642825 installed <13>Apr 27 11:38:32 rpmi: gcc-c++-13-alt1 sisyphus+323337.300.1.1 1687268227 installed <13>Apr 27 11:38:32 rpmi: libkyotocabinet-devel-1.2.76-alt3 1500283658 installed <13>Apr 27 11:38:32 rpmi: libdb4.7-devel-4.7.25-alt13 sisyphus+341099.200.4.1 1709732039 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libpinyin-2.8.1-alt1_5.nosrc.rpm (w1.gzdio) Installing libpinyin-2.8.1-alt1_5.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.81364 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libpinyin-2.8.1 + echo 'Source #0 (libpinyin-2.8.1.tar.gz):' Source #0 (libpinyin-2.8.1.tar.gz): + /bin/gzip -dc /usr/src/RPM/SOURCES/libpinyin-2.8.1.tar.gz + /bin/tar -xf - + cd libpinyin-2.8.1 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.81364 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.8.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 + readlink -e -- ./configure + xargs -ri dirname -- '{}' + xargs -ri find '{}' -type f '(' -name config.sub -or -name config.guess ')' -printf '%h/\n' + sort -u + xargs -rn1 install -pm755 -- /usr/share/gnu-config/config.sub /usr/share/gnu-config/config.guess + configure_runstatedir_flags= + grep -qF runstatedir=DIR ./configure + configure_runstatedir_flags=--runstatedir=/var/run + ./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 --runstatedir=/var/run --without-included-gettext --disable-static --with-dbm=KyotoCabinet --enable-libzhuyin configure: WARNING: unrecognized options: --without-included-gettext checking for a BSD-compatible install... /usr/bin/ginstall -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for 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 the compiler supports GNU C++... yes checking whether i586-alt-linux-g++ accepts -g... yes checking for i586-alt-linux-g++ option to enable C++11 features... none needed 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 the compiler supports GNU C... yes checking whether i586-alt-linux-gcc accepts -g... yes checking for i586-alt-linux-gcc option to enable C11 features... 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... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/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 stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/time.h... yes checking for sys/param.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no 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-file... no checking for file... file 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... /usr/bin/dd checking how to truncate binary pipes... /usr/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 egrep... (cached) /usr/bin/grep -E checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for GNU libc compatible malloc... yes checking for working memcmp... 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 getpagesize... yes checking for working mmap... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for string.h... (cached) yes checking for KYOTOCABINET... yes checking for library containing kcdbopen... -lkyotocabinet checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libpinyin.pc config.status: creating libzhuyin.pc config.status: creating libpinyin.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating 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.8.1 Install prefix /usr DBM KyotoCabinet Enable libzhuyin yes + make -j16 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.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:541:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 541 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 542 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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_kyotodb.o ngram_kyotodb.cpp In file included from ngram_kyotodb.cpp:26: kyotodb_utils.h:50:21: warning: 'pinyin::empty_vbuf' defined but not used [-Wunused-variable] 50 | static const char * empty_vbuf = (char *)UINTPTR_MAX; | ^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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_kyotodb.o phrase_large_table3_kyotodb.cpp make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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_kyotodb.o chewing_large_table2_kyotodb.cpp In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp: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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp: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 = 3]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp: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 = 4]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp: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 = 5]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp: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 = 6]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp: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 | ^~~~~~~~~~~ pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 7]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:197: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:198: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:199: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:200: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:201: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:202: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:203: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:204: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:205: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_kyotodb.cpp:206: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.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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_kyotodb.o phrase_large_table3_kyotodb.o chewing_large_table2_kyotodb.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.8.1/src/storage' Making all in lookup make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from pinyin_internal.cpp:1: ../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:541:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 541 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 542 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:33, 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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:562:31: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 562 | if (phrase_length == keys->len) { /* valid pinyin */ | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp:507:9: warning: unused variable 'num' [-Wunused-variable] 507 | 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:606:23: warning: comparison of integer expressions of different signedness: 'glong' {aka 'long int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 606 | if (phrase_length != keys->len) | ~~~~~~~~~~~~~~^~~~~~~~~~~~ pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': pinyin.cpp:1226:17: warning: unused variable 'num' [-Wunused-variable] 1226 | 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:1614:19: warning: comparison of integer expressions of different signedness: 'ssize_t' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1614 | for (i = 0; i < items->len; ++i) { | ~~^~~~~~~~~~~~ pinyin.cpp: In function 'bool _prepend_longer_candidates(pinyin_instance_t*, CandidateVector)': pinyin.cpp:1701:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] 1701 | for (int i = 0; i < tokenarray->len; ++i) { | ~~^~~~~~~~~~~~~~~~~ pinyin.cpp:1694:9: warning: unused variable 'result' [-Wunused-variable] 1694 | int result = search_suggestion_with_matrix | ^~~~~~ pinyin.cpp:1696:9: warning: unused variable 'num' [-Wunused-variable] 1696 | int num = reduce_tokens(tokens, tokenarray, false); | ^~~ pinyin.cpp: In function 'bool _compute_phrase_length(pinyin_context_t*, CandidateVector)': pinyin.cpp:1776:15: warning: enumeration value 'LONGER_CANDIDATE' not handled in switch [-Wswitch] 1776 | switch(candidate->m_candidate_type) { | ^ pinyin.cpp: In function 'bool pinyin_guess_predicted_candidates(pinyin_instance_t*, const char*)': pinyin.cpp:2190:9: warning: unused variable 'result' [-Wunused-variable] 2190 | int result = context->m_phrase_table->search_suggestion | ^~~~~~ pinyin.cpp:2192:9: warning: unused variable 'num' [-Wunused-variable] 2192 | int num = reduce_tokens(phrase_tokens, tokenarray, false); | ^~~ pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': pinyin.cpp:2316:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] 2316 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': pinyin.cpp:2396:9: warning: unused variable 'num' [-Wunused-variable] 2396 | int num = reduce_tokens(tokens, tokenarray); | ^~~ pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': pinyin.cpp:2847:13: warning: unused variable 'retval' [-Wunused-variable] 2847 | 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:33, from pinyin.cpp:27: pinyin.cpp: In function 'bool pinyin_get_character_offset(pinyin_instance_t*, const char*, size_t, size_t*)': pinyin.cpp:2962:31: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 2962 | 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:3328:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3328 | if (cached_keys->len != phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp:3376:30: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'const glong' {aka 'const long int'} [-Wsign-compare] 3376 | if (cached_keys->len >= phrase_length) | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ pinyin.cpp: In function 'bool pinyin_remember_user_input(pinyin_instance_t*, const char*, gint)': pinyin.cpp:3429:28: warning: comparison of integer expressions of different signedness: 'guint' {aka 'unsigned int'} and 'glong' {aka 'long int'} [-Wsign-compare] 3429 | if (cached_tokens->len != phrase_length) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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_kyotodb.lo storage/ngram_kyotodb.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_kyotodb.cpp -fPIC -DPIC -o storage/.libs/ngram_kyotodb.o In file included from storage/ngram_kyotodb.cpp:26: storage/kyotodb_utils.h:50:21: warning: 'pinyin::empty_vbuf' defined but not used [-Wunused-variable] 50 | static const char * empty_vbuf = (char *)UINTPTR_MAX; | ^~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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_kyotodb.lo storage/phrase_large_table3_kyotodb.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_kyotodb.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3_kyotodb.o make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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_kyotodb.lo storage/chewing_large_table2_kyotodb.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_kyotodb.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2_kyotodb.o In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2_kyotodb.cpp:21: storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.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 = 3]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.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 = 4]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.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 = 5]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.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 = 6]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.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 | ^~~~~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 7]': storage/chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:197: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:198: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:199: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:200: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:201: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:202: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:203: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:204: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:205: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:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_kyotodb.cpp:176: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_kyotodb.cpp:206: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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 15: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_kyotodb.lo storage/phrase_large_table3_kyotodb.lo storage/chewing_large_table2_kyotodb.lo pinyin.lo -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/13/../../../crti.o /usr/lib/gcc/i586-alt-linux/13/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_kyotodb.o storage/.libs/phrase_large_table3_kyotodb.o storage/.libs/chewing_large_table2_kyotodb.o .libs/pinyin.o -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/i586-alt-linux/13 -L/usr/lib/gcc/i586-alt-linux/13/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/13/crtendS.o /usr/lib/gcc/i586-alt-linux/13/../../../crtn.o -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,--version-script=./libpinyin.ver -Wl,-soname -Wl,libpinyin.so.15 -o .libs/libpinyin.so.15.0.0 libtool: link: (cd ".libs" && rm -f "libpinyin.so.15" && ln -s "libpinyin.so.15.0.0" "libpinyin.so.15") libtool: link: (cd ".libs" && rm -f "libpinyin.so" && ln -s "libpinyin.so.15.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.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 15: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_kyotodb.lo storage/phrase_large_table3_kyotodb.lo storage/chewing_large_table2_kyotodb.lo zhuyin.lo -lglib-2.0 -lkyotocabinet libtool: link: i586-alt-linux-g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i586-alt-linux/13/../../../crti.o /usr/lib/gcc/i586-alt-linux/13/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_kyotodb.o storage/.libs/phrase_large_table3_kyotodb.o storage/.libs/chewing_large_table2_kyotodb.o .libs/zhuyin.o -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/i586-alt-linux/13 -L/usr/lib/gcc/i586-alt-linux/13/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i586-alt-linux/13/crtendS.o /usr/lib/gcc/i586-alt-linux/13/../../../crtn.o -g -O2 -flto=auto -march=i586 -mtune=generic -Wl,--version-script=./libzhuyin.ver -Wl,-soname -Wl,libzhuyin.so.15 -o .libs/libzhuyin.so.15.0.0 libtool: link: (cd ".libs" && rm -f "libzhuyin.so.15" && ln -s "libzhuyin.so.15.0.0" "libzhuyin.so.15") libtool: link: (cd ".libs" && rm -f "libzhuyin.so" && ln -s "libzhuyin.so.15.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.8.1/src' Making all in tests Making all in include make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_memory_chunk.cpp:2: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_parser2.cpp:32: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_chewing_table.cpp:27: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_phrase_index_logger.cpp:21: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_phrase_table.cpp:7: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_table_info.cpp:23: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_phrase_index.cpp:4: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_ngram.cpp:2: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_matrix.cpp:27: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_flexible_ngram.cpp:22: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' Making all in lookup make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from test_phrase_lookup.cpp:28: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lglib-2.0 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lglib-2.0 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lglib-2.0 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lglib-2.0 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making all in utils Making all in storage make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from gen_zhuyin_table.cpp:28: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from gen_pinyin_table.cpp:24: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from gen_binary_files.cpp:23: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from import_interpolation.cpp:28: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from export_interpolation.cpp:25: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' Making all in segment make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from mergeseq.cpp:29: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from ngseg.cpp:28: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from spseg.cpp:29: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' Making all in training make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from k_mixture_model_to_interpolation.cpp:25: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from gen_deleted_ngram.cpp:30: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from gen_unigram.cpp:23: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from gen_ngram.cpp:30: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from estimate_interpolation.cpp:27: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from validate_k_mixture_model.cpp:21: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from estimate_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from prune_k_mixture_model.cpp:26: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from export_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from import_k_mixture_model.cpp:27: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from merge_k_mixture_model.cpp:22: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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:43, from gen_k_mixture_model.cpp:28: ../../src/lookup/phonetic_lookup.h: At global scope: ../../src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] 174 | static gint trellis_value_compare(const trellis_value_t ** lhs, | ^~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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 -lkyotocabinet 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 -lkyotocabinet make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.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.8.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.93716 + 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:/usr/bin:/bin:/usr/local/bin:/usr/games + cd libpinyin-2.8.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.8.1' Making install in src make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making install in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' /usr/libexec/rpm-build/install -p -m 644 novel_types.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' /usr/libexec/rpm-build/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' Making install in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/src/lookup' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' /usr/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.15.0.0 /usr/src/tmp/libpinyin-buildroot/usr/lib/libpinyin.so.15.0.0 libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libpinyin.so.15.0.0 libpinyin.so.15 || { rm -f libpinyin.so.15 && ln -s libpinyin.so.15.0.0 libpinyin.so.15; }; }) libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libpinyin.so.15.0.0 libpinyin.so || { rm -f libpinyin.so && ln -s libpinyin.so.15.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.15.0.0 /usr/src/tmp/libpinyin-buildroot/usr/lib/libzhuyin.so.15.0.0 libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libzhuyin.so.15.0.0 libzhuyin.so.15 || { rm -f libzhuyin.so.15 && ln -s libzhuyin.so.15.0.0 libzhuyin.so.15; }; }) libtool: install: (cd /usr/src/tmp/libpinyin-buildroot/usr/lib && { ln -s -f libzhuyin.so.15.0.0 libzhuyin.so || { rm -f libzhuyin.so && ln -s libzhuyin.so.15.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' /usr/bin/mkdir -p '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' /usr/libexec/rpm-build/install -p -m 644 pinyin.h zhuyin.h '/usr/src/tmp/libpinyin-buildroot/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making install in tests make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making install in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' Making install in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests/lookup' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/tests' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making install in utils make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making install in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' /usr/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.8.1/utils/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' Making install in segment make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/utils/segment' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' Making install in training make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' /usr/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.8.1/utils/training' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.8.1/utils' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making install in data make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/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.8.1/data' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' Making install in doc make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/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.8.1/doc' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/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.8.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.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.15.0.0' changed from 0755 (rwxr-xr-x) to 0644 (rw-r--r--) mode of './usr/lib/libpinyin.so.15.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.15 -> libpinyin.so.15.0.0 libzhuyin.so.15 -> libzhuyin.so.15.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.15.0.0: uses non-LFS functions: fopen lseek mmap open verify-elf: WARNING: ./usr/lib/libpinyin.so.15.0.0: uses non-LFS functions: fopen lseek mmap open Splitting links to aliased files under /{,s}bin in /usr/src/tmp/libpinyin-buildroot Executing(%check): /bin/sh -e /usr/src/tmp/rpm-tmp.68933 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.8.1 + make check make: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' Making check in src make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making check in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/include' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/storage' Making check in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/src' Making check in tests make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making check in include make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make check-TESTS make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[4]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' PASS: test_memory_chunk ============================================================================ Testsuite summary for libpinyin 2.8.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.8.1/tests/include' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/include' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make check-TESTS make[3]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[4]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' PASS: test_phrase_index_logger PASS: test_ngram PASS: test_flexible_ngram ============================================================================ Testsuite summary for libpinyin 2.8.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.8.1/tests/storage' make[3]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/storage' Making check in lookup make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests/lookup' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/tests' Making check in utils make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making check in storage make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/storage' Making check in segment make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/segment' Making check in training make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils/training' make[2]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/utils' Making check in data make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/data' Making check in doc make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1/doc' make[1]: Entering directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make[1]: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' make: Leaving directory '/usr/src/RPM/BUILD/libpinyin-2.8.1' + exit 0 Processing files: libpinyin-2.8.1-alt1_5 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.68933 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libpinyin-2.8.1 + DOCDIR=/usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + export DOCDIR + rm -rf /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + /bin/mkdir -p /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + cp -prL AUTHORS COPYING README /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + chmod -R go-w /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + chmod -R a+rX /usr/src/tmp/libpinyin-buildroot/usr/share/doc/libpinyin-2.8.1 + exit 0 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.bjZDG8 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.15: 74 symbols, 17 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZBQqYi 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.15 = set:kdcBGTZi2d9h5sJWCLu7kodQR47ca6yFjkf2e8rrx284HGo8Z2EE2wrbL8Qne3l8OeXmSPCcnHBk3sHgRSdEFpQbt2LzBihB1ys5d4H5RvFAQbUuEY0uA5dYGZnlpZgc9DOI19JT1vrHljbcizcp7DilW91, libpinyin.so.15(LIBPINYIN) Requires: libpinyin-data = 2.8.1-alt1_5, 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.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libglib-2.0.so.0 >= set:oifwKSvNHACiSm7f0KqCb14oGZ4ZK3NJn7OQ0v972X5Q6HVaKMlqMJFjZ1avlyybmcZwzRIg8CXWg1LBFC5CGy9D42CTcA7b7, libkyotocabinet.so.16 >= set:ohwDZ0Pc3AkD4xkIH8UOiRwKqFBidXhbL11ar6dVZukE1FQNE5wGm5SWEIQDWZjlxRvWx2abRFOzSDGHLZgN74sHp1uxiokTz4yqX4q7Yfuei18QKcsXqErDachunUhHGvn6RcXxIDPkLuyyVK3Nmnl9OkGkx3AOsbFMwFZ461e5RDQyUSMBMBRGl2M4J1, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.32), 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.KtoMZe Creating libpinyin-debuginfo package Processing files: libpinyin-devel-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iiOR2q 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.ZcQqDo 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.8.1-alt1_5, pkgconfig(libpinyin) = 2.8.1, pkgconfig(libzhuyin) = 2.8.1 Requires: libpinyin = 2.8.1-alt1_5, libzhuyin = 2.8.1-alt1_5, /usr/lib/libpinyin.so.15.0.0, /usr/lib/libzhuyin.so.15.0.0, /usr/lib/pkgconfig, glib2-devel, pkgconfig(glib-2.0) Obsoletes: libzhuyin-devel < 2.8.1-alt1_5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ossuCO Processing files: libpinyin-data-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.i1MZo0 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.e5Arjf 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.8.1-alt1_5 Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.iGYTBE Processing files: libpinyin-tools-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Jw5nxy 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.XzxOFG 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.8.1-alt1_5, /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.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libglib-2.0.so.0 >= set:oifwKZg4vgXidZJbQfCLZJ00UDnZlQlIQDQlNxCyH97OktVLwifDxhPDQdJkbUadN6TCeR7GfSggaA0HWd3uGVz88O2vHmxgcQG7DxgxFGoOLGn0LZm, libkyotocabinet.so.16 >= set:ohwDZ0Pc3AkD4xkIH8UOiRwKqFBidXhbL11ar6dVZukE1FQNE5wGm5SWEIQDWZjlxRvWx2abRFOzSDGHLZgN74sHp1uxiokTz4yqX4q7Yfuei18QKcsXqErDachunUhHGvn6RcXxIDPkLuyyVK3Nmnl9OkGkx3AOsbFMwFZ461e5RDQyUSMBMBRGl2M4J1, libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.32), 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.hoqElO Creating libpinyin-tools-debuginfo package Processing files: libzhuyin-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.EDMepH 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.15: 52 symbols, 16 bpp Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.MzzAaP 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.15 = set:jdZhZ1SIbBBjeBSiW0OJtj54xjC1Z2iDQXReqhBDNQ6EmZohwpDYdpqK02awG68dAhNuuhZ3xk1bZhJBe5RsqAx7nRzEPurRyPK4AiNRex2, libzhuyin.so.15(LIBZHUYIN) Requires: libpinyin = 2.8.1-alt1_5, 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.38), libc.so.6(GLIBC_2.4), libgcc_s.so.1(GCC_3.0), libgcc_s.so.1(GCC_3.3.1), libgcc_s.so.1(GLIBC_2.0), libglib-2.0.so.0 >= set:oifwKZg4vgraprtY8lb0uB3wQTnZK3NJn7OQ0v972X5Q6HVaKMlqMJFjZ1avli2IGTc4PfcmP2xoKH35YmCqmoGaCsi8ouPguIs, libkyotocabinet.so.16 >= set:ohwDZ0Pc3AkD4xkIH8UOiRwKqFBidXhbL11ar6dVZukE1FQNE5wGm5SWEIQDWZjlxRvWx2abRFOzSDGHLZgN74sHp1uxiokTz4yqX4q7Yfuei18QKcsXqErDachunUhHGvn6RcXxIDPkLuyyVK3Nmnl9OkGkx3AOsbFMwFZ461e5RDQyUSMBMBRGl2M4J1, libm.so.6(GLIBC_2.0), libm.so.6(GLIBC_2.29), libstdc++.so.6(CXXABI_1.3), libstdc++.so.6(CXXABI_1.3.8), libstdc++.so.6(CXXABI_1.3.9), libstdc++.so.6(GLIBCXX_3.4), libstdc++.so.6(GLIBCXX_3.4.15), libstdc++.so.6(GLIBCXX_3.4.21), libstdc++.so.6(GLIBCXX_3.4.32), 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.4G8Ptl Creating libzhuyin-debuginfo package Processing files: libpinyin-debuginfo-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.YNVZcZ find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.6NC7Ia find-requires: running scripts (debuginfo) Provides: debug(libpinyin.so.15) Requires: libpinyin = 2.8.1-alt1_5, debug(libc.so.6), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libkyotocabinet.so.16), debug(libm.so.6), debug(libstdc++.so.6) Processing files: libpinyin-tools-debuginfo-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.H4T4K2 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.StcQ5I find-requires: running scripts (debuginfo) Requires: libpinyin-tools = 2.8.1-alt1_5, /usr/lib/debug/lib/ld-linux.so.2.debug, debug(libc.so.6), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libkyotocabinet.so.16), debug(libstdc++.so.6) Processing files: libzhuyin-debuginfo-2.8.1-alt1_5 Finding Provides (using /usr/lib/rpm/find-provides) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.ZVtCOd find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.grFQ4X find-requires: running scripts (debuginfo) Provides: debug(libzhuyin.so.15) Requires: libzhuyin = 2.8.1-alt1_5, debug(libc.so.6), debug(libgcc_s.so.1), debug(libglib-2.0.so.0), debug(libkyotocabinet.so.16), 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 37 sources provided by libpinyin-debuginfo also prunning dir /usr/src/debug/libpinyin-2.8.1/src/include also prunning dir /usr/src/debug/libpinyin-2.8.1/src/lookup Adding to libzhuyin-debuginfo a strict dependency on libpinyin-debuginfo Removing from libzhuyin-debuginfo 55 sources provided by libpinyin-debuginfo also prunning dir /usr/src/debug/libpinyin-2.8.1/src/include also prunning dir /usr/src/debug/libpinyin-2.8.1/src/lookup also prunning dir /usr/src/debug/libpinyin-2.8.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 19 extra deps from libpinyin-tools due to repentancy on libpinyin Removing 21 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.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-devel-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-data-2.8.1-alt1_5.i586.rpm (w2T16.xzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-tools-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libzhuyin-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-debuginfo-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libpinyin-tools-debuginfo-2.8.1-alt1_5.i586.rpm (w2.lzdio) Wrote: /usr/src/RPM/RPMS/i586/libzhuyin-debuginfo-2.8.1-alt1_5.i586.rpm (w2.lzdio) 624.08user 45.40system 2:24.18elapsed 464%CPU (0avgtext+0avgdata 358676maxresident)k 0inputs+0outputs (0major+9949642minor)pagefaults 0swaps 4.22user 3.09system 2:41.24elapsed 4%CPU (0avgtext+0avgdata 127412maxresident)k 800inputs+0outputs (0major+211713minor)pagefaults 0swaps --- libpinyin-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-2.8.1-alt1_5.i586.rpm.hasher 2024-04-27 11:41:02.041629050 +0000 @@ -36,3 +36,3 @@ File: /usr/lib/libpinyin.so.15 120777 root:root libpinyin.so.15.0.0 -File: /usr/lib/libpinyin.so.15.0.0 100644 root:root d7f3e165596a5a1053696d6f27fffce3 +File: /usr/lib/libpinyin.so.15.0.0 100644 root:root 973e6809602a155780fe82de2b222ace File: /usr/share/doc/libpinyin-2.8.1 40755 root:root @@ -41,2 +41,2 @@ File: /usr/share/doc/libpinyin-2.8.1/README 100644 root:root 66599c9cfc80e47e4babe1babec0c96e -RPMIdentity: c964b16dee1c4145fc88ab91a9d94c0a4c2d09b6f1a8af8d0dd3bf41240486e3251bd129f049c7b950b2798ebb0694c8e025c516b75cea78a002527f5e223df3 +RPMIdentity: fa5bc3d7cd1aa7c8f6459b06e481d98aee8c0b1ff86f62caf79739a68e1b71cefd30f70922cd61b82eb44c5975ed63f4c452ff1889137ae3a9d1b4abc00c4c8c --- libpinyin-data-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-data-2.8.1-alt1_5.i586.rpm.hasher 2024-04-27 11:41:02.114630526 +0000 @@ -28,3 +28,3 @@ File: /usr/lib/libpinyin/data/addon_phrase_index.bin 100644 root:root f4a28d14157d138afbebcb89cddac792 -File: /usr/lib/libpinyin/data/addon_pinyin_index.bin 100644 root:root 12c5302934f700e7927f65f534862d2b +File: /usr/lib/libpinyin/data/addon_pinyin_index.bin 100644 root:root 414bafdc85cd20da1740fef3a3d7f3b5 File: /usr/lib/libpinyin/data/art.bin 100644 root:root ab205ffe4223d7f4868dcfb51c83b18e @@ -43,3 +43,3 @@ File: /usr/lib/libpinyin/data/phrase_index.bin 100644 root:root 900a383c94de40a779652c63418a1d02 -File: /usr/lib/libpinyin/data/pinyin_index.bin 100644 root:root c31fef39e3c6c79371f800087cb6aea1 +File: /usr/lib/libpinyin/data/pinyin_index.bin 100644 root:root ba84c5a4927dba35cc72802a2f17f79b File: /usr/lib/libpinyin/data/science.bin 100644 root:root 9b602abff28398ac0a8c0bc22bc54b44 @@ -49,2 +49,2 @@ File: /usr/lib/libpinyin/data/technology.bin 100644 root:root fabebfbad08828cb7e601a759b572c87 -RPMIdentity: 78a2ca25e6beb51d24374ff941473b06ebccff040e726e1befc70417789178bb71942dd9f66e7a148e876a3c1244307bba3a77c0a467a89de3cb3a26f319e86c +RPMIdentity: b5b29de7e5efcbe3434e8f1ca5d6842aa7c29b38da6969d56c53bf4b89605179b92c28a8e7bf6d4eb2afb660625e6f1c002eacb4b9d291ed18eea64ddc79fb91 --- libpinyin-debuginfo-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:28.000000000 +0000 +++ libpinyin-debuginfo-2.8.1-alt1_5.i586.rpm.hasher 2024-04-27 11:41:02.187632003 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/8e 40755 root:root -/usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca 120777 root:root ../../../libpinyin.so.15.0.0 -/usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug +/usr/lib/debug/.build-id/03 40755 root:root +/usr/lib/debug/.build-id/03/5a69e5420c8dab226c21cadb4fce1bd0a0cc24 120777 root:root ../../../libpinyin.so.15.0.0 +/usr/lib/debug/.build-id/03/5a69e5420c8dab226c21cadb4fce1bd0a0cc24.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug /usr/lib/debug/usr/lib/libpinyin.so.15.0.0.debug 100644 root:root @@ -77,6 +77,6 @@ Provides: libpinyin-debuginfo = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/lib/debug/.build-id/8e 40755 root:root -File: /usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca 120777 root:root ../../../libpinyin.so.15.0.0 -File: /usr/lib/debug/.build-id/8e/5a6d8b29f8d728cfd896bfdbc8adbacbbb76ca.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug -File: /usr/lib/debug/usr/lib/libpinyin.so.15.0.0.debug 100644 root:root 7973dcc3fb812da0802ca2aff813e0ac +File: /usr/lib/debug/.build-id/03 40755 root:root +File: /usr/lib/debug/.build-id/03/5a69e5420c8dab226c21cadb4fce1bd0a0cc24 120777 root:root ../../../libpinyin.so.15.0.0 +File: /usr/lib/debug/.build-id/03/5a69e5420c8dab226c21cadb4fce1bd0a0cc24.debug 120777 root:root ../../usr/lib/libpinyin.so.15.0.0.debug +File: /usr/lib/debug/usr/lib/libpinyin.so.15.0.0.debug 100644 root:root 5e08d28e087dada1dace9a58eb131214 File: /usr/lib/debug/usr/lib/libpinyin.so.15.debug 120777 root:root libpinyin.so.15.0.0.debug @@ -144,2 +144,2 @@ File: /usr/src/debug/libpinyin-2.8.1/src/storage/zhuyin_table.h 100644 root:root eea9f724c55e54669fad41821176e683 -RPMIdentity: aedf07baac164a97d1162fa3d488087f51395329714b8b2d5d637c5812dd00622dfa46035033d506c80f040652f6096cd634b5dfa3fd7b974ccd38bc6321cbf8 +RPMIdentity: 2168ca6f53bcf4d75a16bbc302410dec2691d219460c6fab91c770de573ff514ac054fa78c19056c032e063bd29675e4c1050b5351473de296d5643abe310e06 --- libpinyin-tools-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-tools-2.8.1-alt1_5.i586.rpm.hasher 2024-04-27 11:41:02.327634835 +0000 @@ -10,6 +10,6 @@ Provides: libpinyin-tools = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/bin/gen_binary_files 100755 root:root abd4d3832d6ec3e260445ea28fef2de3 -File: /usr/bin/gen_unigram 100755 root:root 160b6c216c1f5ae31f7694b465f0fa91 -File: /usr/bin/import_interpolation 100755 root:root ddf94ad08d6fda7bd636680f094ee065 +File: /usr/bin/gen_binary_files 100755 root:root 1da4db92cbc17a13a2f66727eb3c16d8 +File: /usr/bin/gen_unigram 100755 root:root 314e33155901c301c52fc635d7e124f3 +File: /usr/bin/import_interpolation 100755 root:root 7acbfa70cfd52db8edd12ce3503a7900 File: /usr/share/man/man1/libpinyin.1.xz 100644 root:root 123bc41968ca973f6d3dd5ee974addfc -RPMIdentity: c55c2fb50d651d7055ddfd87fa07ad88e70b334503c50432e2ada58d76e9ed89d9d43ca29f1b1a787d47ab29e280c91cb5201f87ae6db229086312d040cb70e5 +RPMIdentity: bdfc06443c97f96b781703056971c7ade0d9c244ee575e6a3447d466874763dbd1e742c8275f33ef0a4b7791f5b23f998e267ba7c1922c121fac8117a23524cd --- libpinyin-tools-debuginfo-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libpinyin-tools-debuginfo-2.8.1-alt1_5.i586.rpm.hasher 2024-04-27 11:41:02.397636250 +0000 @@ -1,10 +1,10 @@ -/usr/lib/debug/.build-id/1d 40755 root:root -/usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c 120777 root:root ../../../../bin/import_interpolation -/usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c.debug 120777 root:root ../../usr/bin/import_interpolation.debug -/usr/lib/debug/.build-id/2c 40755 root:root -/usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9 120777 root:root ../../../../bin/gen_binary_files -/usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9.debug 120777 root:root ../../usr/bin/gen_binary_files.debug -/usr/lib/debug/.build-id/c9 40755 root:root -/usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e 120777 root:root ../../../../bin/gen_unigram -/usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e.debug 120777 root:root ../../usr/bin/gen_unigram.debug +/usr/lib/debug/.build-id/51 40755 root:root +/usr/lib/debug/.build-id/51/7d279720c8b256328cdfd5be59e5c581be87c5 120777 root:root ../../../../bin/import_interpolation +/usr/lib/debug/.build-id/51/7d279720c8b256328cdfd5be59e5c581be87c5.debug 120777 root:root ../../usr/bin/import_interpolation.debug +/usr/lib/debug/.build-id/65 40755 root:root +/usr/lib/debug/.build-id/65/b314604138b7d33b0605fab7c397ce08ee8173 120777 root:root ../../../../bin/gen_binary_files +/usr/lib/debug/.build-id/65/b314604138b7d33b0605fab7c397ce08ee8173.debug 120777 root:root ../../usr/bin/gen_binary_files.debug +/usr/lib/debug/.build-id/7c 40755 root:root +/usr/lib/debug/.build-id/7c/52fe6cd944133b5125219a2aad3c7e89a8fa99 120777 root:root ../../../../bin/gen_unigram +/usr/lib/debug/.build-id/7c/52fe6cd944133b5125219a2aad3c7e89a8fa99.debug 120777 root:root ../../usr/bin/gen_unigram.debug /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root @@ -28,14 +28,14 @@ Provides: libpinyin-tools-debuginfo = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/lib/debug/.build-id/1d 40755 root:root -File: /usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c 120777 root:root ../../../../bin/import_interpolation -File: /usr/lib/debug/.build-id/1d/d97bfd54efb6a305641f993ce2a3db841c570c.debug 120777 root:root ../../usr/bin/import_interpolation.debug -File: /usr/lib/debug/.build-id/2c 40755 root:root -File: /usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9 120777 root:root ../../../../bin/gen_binary_files -File: /usr/lib/debug/.build-id/2c/412262d82c854368c7a2939f2c51a86a9f07c9.debug 120777 root:root ../../usr/bin/gen_binary_files.debug -File: /usr/lib/debug/.build-id/c9 40755 root:root -File: /usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e 120777 root:root ../../../../bin/gen_unigram -File: /usr/lib/debug/.build-id/c9/d47da17407baa74c5329b0e5d632d245c3673e.debug 120777 root:root ../../usr/bin/gen_unigram.debug -File: /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root a4a640736f8e134eb04e32903c7bd36d -File: /usr/lib/debug/usr/bin/gen_unigram.debug 100644 root:root 92e30ee0a0958f4fa1e4ed64e3928c80 -File: /usr/lib/debug/usr/bin/import_interpolation.debug 100644 root:root 7cebea82272aed34360386b164cad8f7 +File: /usr/lib/debug/.build-id/51 40755 root:root +File: /usr/lib/debug/.build-id/51/7d279720c8b256328cdfd5be59e5c581be87c5 120777 root:root ../../../../bin/import_interpolation +File: /usr/lib/debug/.build-id/51/7d279720c8b256328cdfd5be59e5c581be87c5.debug 120777 root:root ../../usr/bin/import_interpolation.debug +File: /usr/lib/debug/.build-id/65 40755 root:root +File: /usr/lib/debug/.build-id/65/b314604138b7d33b0605fab7c397ce08ee8173 120777 root:root ../../../../bin/gen_binary_files +File: /usr/lib/debug/.build-id/65/b314604138b7d33b0605fab7c397ce08ee8173.debug 120777 root:root ../../usr/bin/gen_binary_files.debug +File: /usr/lib/debug/.build-id/7c 40755 root:root +File: /usr/lib/debug/.build-id/7c/52fe6cd944133b5125219a2aad3c7e89a8fa99 120777 root:root ../../../../bin/gen_unigram +File: /usr/lib/debug/.build-id/7c/52fe6cd944133b5125219a2aad3c7e89a8fa99.debug 120777 root:root ../../usr/bin/gen_unigram.debug +File: /usr/lib/debug/usr/bin/gen_binary_files.debug 100644 root:root 0fb0d6beff9a612dcf638af72e7ea267 +File: /usr/lib/debug/usr/bin/gen_unigram.debug 100644 root:root dc529ec5221e7ae007e183654e9cd712 +File: /usr/lib/debug/usr/bin/import_interpolation.debug 100644 root:root 5eff6b45e6d90604563323f6ec9ec530 File: /usr/src/debug/libpinyin-2.8.1 40755 root:root @@ -51,2 +51,2 @@ File: /usr/src/debug/libpinyin-2.8.1/utils/utils_helper.h 100644 root:root eeb95e82354fdfef3fd5ebf54f8b27d9 -RPMIdentity: 6a67da961d8fbc1dd1244a7b958ba8db297f3c4bdd270a7fa5bcdf2f7eeac08b3695e36819f95ceec0eef4137c553eff282260fcd3051d972d8aa03e0d47b7e5 +RPMIdentity: 126410930fd300a8ed590466d84e67cb57bbb2847f8dc42768c022f7e974ba876469ea132e839744f89f3b6eb34d71f305c2ab9ffdf2bcccd2c9cb3067d3d984 --- libzhuyin-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:29.000000000 +0000 +++ libzhuyin-2.8.1-alt1_5.i586.rpm.hasher 2024-04-27 11:41:02.457637464 +0000 @@ -9,3 +9,3 @@ File: /usr/lib/libzhuyin.so.15 120777 root:root libzhuyin.so.15.0.0 -File: /usr/lib/libzhuyin.so.15.0.0 100644 root:root 1bc4a8936e52add124e01e3111868c36 -RPMIdentity: ce1383dcb1a41696d51c97dda0c6e04b8fcf370a9807abe69869ee878011bd9e5cc972b1e1a5c05696cc83f4526cd2a0cb29c50cd88f66028d6699cd871b1821 +File: /usr/lib/libzhuyin.so.15.0.0 100644 root:root 68cb21896aea7b374106a63f30386a5c +RPMIdentity: e0da675794a8060c20139bdda7232945d9c78a1684ea51b744fa41322369af0f9f6e0655b6a9e6db06f38125f76501be3a29d7433445fabb0d14f2df92744d9e --- libzhuyin-debuginfo-2.8.1-alt1_5.i586.rpm.repo 2023-08-29 19:27:28.000000000 +0000 +++ libzhuyin-debuginfo-2.8.1-alt1_5.i586.rpm.hasher 2024-04-27 11:41:02.540639143 +0000 @@ -1,4 +1,4 @@ -/usr/lib/debug/.build-id/40 40755 root:root -/usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de 120777 root:root ../../../libzhuyin.so.15.0.0 -/usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug +/usr/lib/debug/.build-id/d2 40755 root:root +/usr/lib/debug/.build-id/d2/291742a9c8d3247b4fcc942749ed0c14236f22 120777 root:root ../../../libzhuyin.so.15.0.0 +/usr/lib/debug/.build-id/d2/291742a9c8d3247b4fcc942749ed0c14236f22.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug /usr/lib/debug/usr/lib/libzhuyin.so.15.0.0.debug 100644 root:root @@ -14,6 +14,6 @@ Provides: libzhuyin-debuginfo = 2.8.1-alt1_5:sisyphus+328224.100.1.1 -File: /usr/lib/debug/.build-id/40 40755 root:root -File: /usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de 120777 root:root ../../../libzhuyin.so.15.0.0 -File: /usr/lib/debug/.build-id/40/f8b4dbd08698053da3a78086b5f915bb50c5de.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug -File: /usr/lib/debug/usr/lib/libzhuyin.so.15.0.0.debug 100644 root:root e52e7eacea9a60469fd0967e3f5d868e +File: /usr/lib/debug/.build-id/d2 40755 root:root +File: /usr/lib/debug/.build-id/d2/291742a9c8d3247b4fcc942749ed0c14236f22 120777 root:root ../../../libzhuyin.so.15.0.0 +File: /usr/lib/debug/.build-id/d2/291742a9c8d3247b4fcc942749ed0c14236f22.debug 120777 root:root ../../usr/lib/libzhuyin.so.15.0.0.debug +File: /usr/lib/debug/usr/lib/libzhuyin.so.15.0.0.debug 100644 root:root e21c4a17ac2be8313f20fbfe45605c71 File: /usr/lib/debug/usr/lib/libzhuyin.so.15.debug 120777 root:root libzhuyin.so.15.0.0.debug @@ -23,2 +23,2 @@ File: /usr/src/debug/libpinyin-2.8.1/src/zhuyin.h 100644 root:root c0408220d79bdda81a8e3e2f0bb26061 -RPMIdentity: 6ddf55c10fe3164f99a3de541dd85745e2d8a28f500347fd1228a7bb8ae6dab497d3d662074e1bf024a193fdea9ad27c8b9e19886e1a683f68d789641dbfbd29 +RPMIdentity: f2deb3d77e9fb4fcd8c0e242ce31a7574bd30087c4d014a9930b6e497148bec07add117cefd68127cbc83e1c097505225ea8011fce3cf760b73dc14499027365