Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672031745.784311/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0l8rsyat:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0l8rsyat:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '1f4367848e0c49fb8e826d1ce2e327b6', '-D', '/var/lib/mock/fedora-rawhide-i686-1672031745.784311/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0l8rsyat:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/libpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1666137600 Wrote: /builddir/build/SRPMS/libpinyin-2.7.92-1.fc38.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1672031745.784311/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0l8rsyat:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0l8rsyat:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3cef5cadc2804f8c83d58df41deb201d', '-D', '/var/lib/mock/fedora-rawhide-i686-1672031745.784311/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.0l8rsyat:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/libpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1666137600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GZLPTN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libpinyin-2.7.92 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libpinyin-2.7.92.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libpinyin-2.7.92 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.X0G955 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.7.92 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-10-19 06:07:29.000000000 +0000 +++ ./configure 2022-12-26 05:16:57.309011466 +0000 @@ -1834,7 +1834,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-12-26 05:16:57.309011466 +0000 +++ ./configure 2022-12-26 05:16:57.333011110 +0000 @@ -9133,7 +9133,7 @@ # Transform an extracted symbol line into a proper C declaration. # Some systems (esp. on ia64) link data and code symbols differently, # so use this general approach. -lt_cv_sys_global_symbol_to_cdecl="$SED -n"\ +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" $lt_cdecl_hook\ " -e 's/^T .* \(.*\)$/extern int \1();/p'"\ " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'" @@ -20543,7 +20543,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-dbm=BerkeleyDB --enable-libzhuyin checking for a BSD-compatible install... /usr/bin/install -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 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 g++ accepts -g... yes checking for g++ option to enable C++11 features... none needed checking whether make supports the include directive... yes (GNU style) checking dependency style of g++... none checking for i686-redhat-linux-gnu-gcc... gcc checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking whether ln -s works... yes checking whether make sets $(MAKE)... (cached) yes checking build system type... i686-redhat-linux-gnu checking host system type... i686-redhat-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 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 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 i686-redhat-linux-gnu file names to i686-redhat-linux-gnu format... func_convert_file_noop checking how to convert i686-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for i686-redhat-linux-gnu-file... no checking for file... file checking for i686-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i686-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for i686-redhat-linux-gnu-strip... no checking for strip... strip checking for i686-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 9139: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory 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 i686-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for i686-redhat-linux-gnu-pkg-config... /usr/bin/i686-redhat-linux-gnu-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 db.h... yes checking for library containing db_create... -ldb checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libpinyin.pc config.status: creating libzhuyin.pc config.status: creating libpinyin.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating data/table.conf config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/storage/Makefile config.status: creating src/lookup/Makefile config.status: creating tests/Makefile config.status: creating tests/include/Makefile config.status: creating tests/storage/Makefile config.status: creating tests/lookup/Makefile config.status: creating utils/Makefile config.status: creating utils/storage/Makefile config.status: creating utils/segment/Makefile config.status: creating utils/training/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Build options: Version 2.7.92 Install prefix /usr DBM BerkeleyDB Enable libzhuyin yes + /usr/bin/make -O -j2 V=1 VERBOSE=1 /usr/bin/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 '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_index.o phrase_index.cpp phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': phrase_index.cpp:534:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 534 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 535 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_large_table3.o phrase_large_table3.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ngram.o ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o tag_utility.o tag_utility.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_large_table2.o phrase_large_table2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o chewing_key.o chewing_key.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pinyin_parser2.o pinyin_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o table_info.o table_info.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o zhuyin_parser2.o zhuyin_parser2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o ngram_bdb.o ngram_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_large_table3_bdb.o phrase_large_table3_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o chewing_large_table2_bdb.o chewing_large_table2_bdb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' In file included from chewing_large_table2.h:27, from chewing_large_table2_bdb.cpp:21: pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': chewing_large_table2.h:132:19: required from 'int pinyin::ChewingTableEntry::search(const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp: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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:207: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:208: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:209: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:210: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:211: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:212: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:213: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:214: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:215: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:216: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:217: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:218: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:219: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:220: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' chewing_large_table2_bdb.cpp:221: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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' rm -f libstorage.a ar cru libstorage.a phrase_index.o phrase_large_table2.o phrase_large_table3.o ngram.o tag_utility.o chewing_key.o pinyin_parser2.o zhuyin_parser2.o phonetic_key_matrix.o chewing_large_table.o chewing_large_table2.o table_info.o ngram_bdb.o phrase_large_table3_bdb.o chewing_large_table2_bdb.o ranlib libstorage.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phrase_lookup.o phrase_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pinyin_lookup2.o pinyin_lookup2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lookup.o lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o phonetic_lookup.o phonetic_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' rm -f liblookup.a ar cru liblookup.a pinyin_lookup2.o phrase_lookup.o lookup.o phonetic_lookup.o ranlib liblookup.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' 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 -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/ngram_bdb.lo storage/ngram_bdb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/ngram_bdb.cpp -fPIC -DPIC -o storage/.libs/ngram_bdb.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/phrase_large_table3_bdb.lo storage/phrase_large_table3_bdb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/phrase_large_table3_bdb.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3_bdb.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o pinyin.lo pinyin.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o zhuyin.lo zhuyin.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' rm -f libpinyin_internal.a ar cru libpinyin_internal.a pinyin_internal.o storage/libstorage.a lookup/liblookup.a ranlib libpinyin_internal.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/chewing_large_table2_bdb.lo storage/chewing_large_table2_bdb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/chewing_large_table2_bdb.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2_bdb.o In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2_bdb.cpp:21: storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with unsigned int phrase_length = 1]': storage/chewing_large_table2.h: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp: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); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:207: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:208: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:209: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:210: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:211: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:212: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:213: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:214: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:215: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:216: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:217: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:218: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:219: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_make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' 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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:220: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_bdb.cpp:191:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' storage/chewing_large_table2_bdb.cpp:221: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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/phrase_index.lo storage/phrase_index.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/phrase_index.cpp -fPIC -DPIC -o storage/.libs/phrase_index.o storage/phrase_index.cpp: In member function 'bool pinyin::FacadePhraseIndex::load_text(guint8, FILE*, pinyin::TABLE_PHONETIC_TYPE)': storage/phrase_index.cpp:534:52: warning: format '%ld' expects argument of type 'long int*', but argument 6 has type 'size_t*' {aka 'unsigned int*'} [-Wformat=] 534 | int num = fscanf(infile, "%255s %255s %u %ld", | ~~^ | | | long int* | %d 535 | pinyin, phrase, &token, &freq); | ~~~~~ | | | size_t* {aka unsigned int*} make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/phrase_large_table3.lo storage/phrase_large_table3.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/ngram.lo storage/ngram.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/ngram.cpp -fPIC -DPIC -o storage/.libs/ngram.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/tag_utility.lo storage/tag_utility.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/tag_utility.cpp -fPIC -DPIC -o storage/.libs/tag_utility.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/phrase_large_table2.lo storage/phrase_large_table2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/chewing_key.lo storage/chewing_key.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/chewing_key.cpp -fPIC -DPIC -o storage/.libs/chewing_key.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/pinyin_parser2.lo storage/pinyin_parser2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/pinyin_parser2.cpp -fPIC -DPIC -o storage/.libs/pinyin_parser2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/phonetic_key_matrix.lo storage/phonetic_key_matrix.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/chewing_large_table.lo storage/chewing_large_table.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/chewing_large_table2.lo storage/chewing_large_table2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/zhuyin_parser2.lo storage/zhuyin_parser2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/zhuyin_parser2.cpp -fPIC -DPIC -o storage/.libs/zhuyin_parser2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o storage/table_info.lo storage/table_info.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c storage/table_info.cpp -fPIC -DPIC -o storage/.libs/table_info.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lookup/phrase_lookup.lo lookup/phrase_lookup.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/phrase_lookup.cpp -fPIC -DPIC -o lookup/.libs/phrase_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lookup/pinyin_lookup2.lo lookup/pinyin_lookup2.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/pinyin_lookup2.cpp -fPIC -DPIC -o lookup/.libs/pinyin_lookup2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lookup/lookup.lo lookup/lookup.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/lookup.cpp -fPIC -DPIC -o lookup/.libs/lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o lookup/phonetic_lookup.lo lookup/phonetic_lookup.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c lookup/phonetic_lookup.cpp -fPIC -DPIC -o lookup/.libs/phonetic_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--version-script=./libzhuyin.ver -version-info 15:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libzhuyin.la -rpath /usr/lib storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_bdb.lo storage/phrase_large_table3_bdb.lo storage/chewing_large_table2_bdb.lo zhuyin.lo -lglib-2.0 -ldb libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/13/../../../crti.o /usr/lib/gcc/i686-redhat-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_bdb.o storage/.libs/phrase_large_table3_bdb.o storage/.libs/chewing_large_table2_bdb.o .libs/zhuyin.o -lglib-2.0 -ldb -L/usr/lib/gcc/i686-redhat-linux/13 -L/usr/lib/gcc/i686-redhat-linux/13/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/13/crtendS.o /usr/lib/gcc/i686-redhat-linux/13/../../../crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -Wl,--version-script=./libzhuyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,--version-script=./libpinyin.ver -version-info 15:0 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libpinyin.la -rpath /usr/lib storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_bdb.lo storage/phrase_large_table3_bdb.lo storage/chewing_large_table2_bdb.lo pinyin.lo -lglib-2.0 -ldb libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/13/../../../crti.o /usr/lib/gcc/i686-redhat-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_bdb.o storage/.libs/phrase_large_table3_bdb.o storage/.libs/chewing_large_table2_bdb.o .libs/pinyin.o -lglib-2.0 -ldb -L/usr/lib/gcc/i686-redhat-linux/13 -L/usr/lib/gcc/i686-redhat-linux/13/../../.. -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/13/crtendS.o /usr/lib/gcc/i686-redhat-linux/13/../../../crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -Wl,--version-script=./libpinyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -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 '/builddir/build/BUILD/libpinyin-2.7.92/src' Making all in tests Making all in include make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_memory_chunk.o test_memory_chunk.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_memory_chunk test_memory_chunk.o -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_phrase_index.o test_phrase_index.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_flexible_ngram.o test_flexible_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_chewing_table.o test_chewing_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_index_logger test_phrase_index_logger.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_index test_phrase_index.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_ngram test_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_flexible_ngram test_flexible_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_table test_phrase_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_matrix test_matrix.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_parser2 test_parser2.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_table_info test_table_info.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_chewing_table test_chewing_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase_lookup test_phrase_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_pinyin_lookup test_pinyin_lookup.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_phrase.o test_phrase.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_pinyin.o test_pinyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_chewing.o test_chewing.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o test_zhuyin.o test_zhuyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_phrase test_phrase.o ../src/libpinyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/test_phrase test_phrase.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_pinyin test_pinyin.o ../src/libpinyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/test_pinyin test_pinyin.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_zhuyin test_zhuyin.o ../src/libzhuyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/test_zhuyin test_zhuyin.o ../src/.libs/libzhuyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_chewing test_chewing.o ../src/libpinyin.la -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/test_chewing test_chewing.o ../src/.libs/libpinyin.so -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' Making all in utils Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o export_interpolation.o export_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o import_interpolation import_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o export_interpolation export_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_binary_files gen_binary_files.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_pinyin_table gen_pinyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_zhuyin_table gen_zhuyin_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' Making all in segment make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o mergeseq.o mergeseq.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' 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]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o spseg spseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ngseg ngseg.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o mergeseq mergeseq.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' Making all in training make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_unigram gen_unigram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/sysprof-4 -pthread -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -c -o eval_correction_rate.o eval_correction_rate.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_ngram gen_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_deleted_ngram gen_deleted_ngram.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o gen_k_mixture_model gen_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o estimate_interpolation estimate_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o estimate_k_mixture_model estimate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o merge_k_mixture_model merge_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o prune_k_mixture_model prune_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o import_k_mixture_model import_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o export_k_mixture_model export_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o validate_k_mixture_model validate_k_mixture_model.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o k_mixture_model_to_interpolation k_mixture_model_to_interpolation.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o eval_correction_rate eval_correction_rate.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0 -ldb make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Nothing to be done for 'all-am'. Making all in data make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/data' rm -f phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin ../utils/storage/gen_binary_files --table-dir ../data ../utils/storage/import_interpolation --table-dir ../data < ../data/interpolation2.text ../utils/training/gen_unigram --table-dir ../data make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/data' Making all in doc make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ng9His + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 ++ dirname /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.7.92 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/include/libpinyin-2.7.92' /usr/bin/install -p -m 644 novel_types.h '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/include/libpinyin-2.7.92' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/include/libpinyin-2.7.92' /usr/bin/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/include/libpinyin-2.7.92' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib' /bin/sh ../libtool --mode=install /usr/bin/install -p libpinyin.la libzhuyin.la '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib' libtool: install: /usr/bin/install -p .libs/libpinyin.so.15.0.0 /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libpinyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/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 /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/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/bin/install -p .libs/libpinyin.lai /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libpinyin.la libtool: install: /usr/bin/install -p .libs/libzhuyin.so.15.0.0 /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libzhuyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/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 /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/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/bin/install -p .libs/libzhuyin.lai /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/include/libpinyin-2.7.92' /usr/bin/install -p -m 644 pinyin.h zhuyin.h '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/include/libpinyin-2.7.92' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_binary_files import_interpolation '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin' libtool: install: /usr/bin/install -p gen_binary_files /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin/gen_binary_files libtool: install: /usr/bin/install -p import_interpolation /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin/import_interpolation make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' Making install in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' Making install in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_unigram '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin' libtool: install: /usr/bin/install -p gen_unigram /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin/gen_unigram make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' Making install in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/data' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libpinyin/data' /usr/bin/install -p -m 644 phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin table.conf '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libpinyin/data' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/data' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/data' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/doc' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/share/man/man1' /usr/bin/install -p -m 644 libpinyin.1 '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/doc' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/pkgconfig' /usr/bin/install -p -m 644 libpinyin.pc libzhuyin.pc '/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92' + find /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 -name '*.la' -exec rm -f '{}' ';' + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 2.7.92-1.fc38 --unique-debug-suffix -2.7.92-1.fc38.i386 --unique-debug-src-base libpinyin-2.7.92-1.fc38.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libpinyin-2.7.92 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin/gen_binary_files extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin/gen_unigram extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/bin/import_interpolation extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libpinyin.so.15.0.0 extracting debug info from /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/lib/libzhuyin.so.15.0.0 original debug info size: 8004kB, size after compression: 6368kB /usr/bin/sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. 2527 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.zQgiSJ + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.7.92 + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/src' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' PASS: test_memory_chunk ============================================================================ Testsuite summary for libpinyin 2.7.92 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' PASS: test_phrase_index_logger PASS: test_ngram PASS: test_flexible_ngram ============================================================================ Testsuite summary for libpinyin 2.7.92 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/tests' Making check in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/storage' Making check in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/segment' Making check in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/utils' Making check in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/data' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/data' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.7.92' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.7.92' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libpinyin-2.7.92-1.fc38.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.siiPrq + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.7.92 + DOCDIR=/builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/share/doc/libpinyin + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/share/doc/libpinyin + cp -pr AUTHORS /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/share/doc/libpinyin + cp -pr COPYING /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/share/doc/libpinyin + cp -pr README /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386/usr/share/doc/libpinyin + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpinyin = 2.7.92-1.fc38 libpinyin(x86-32) = 2.7.92-1.fc38 libpinyin.so.15 libpinyin.so.15(LIBPINYIN) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdb-5.3.so libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libglib-2.0.so.0 libm.so.6 libm.so.6(GLIBC_2.29) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.30) rtld(GNU_HASH) Processing files: libpinyin-devel-2.7.92-1.fc38.i686 Provides: libpinyin-devel = 2.7.92-1.fc38 libpinyin-devel(x86-32) = 2.7.92-1.fc38 libzhuyin-devel = 2.7.92-1.fc38 pkgconfig(libpinyin) = 2.7.92 pkgconfig(libzhuyin) = 2.7.92 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libpinyin.so.15 libzhuyin.so.15 pkgconfig(glib-2.0) Obsoletes: libzhuyin-devel < 2.7.92-1.fc38 Processing files: libpinyin-data-2.7.92-1.fc38.i686 Provides: libpinyin-data = 2.7.92-1.fc38 libpinyin-data(x86-32) = 2.7.92-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-tools-2.7.92-1.fc38.i686 Provides: libpinyin-tools = 2.7.92-1.fc38 libpinyin-tools(x86-32) = 2.7.92-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdb-5.3.so libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libglib-2.0.so.0 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: libzhuyin-2.7.92-1.fc38.i686 Provides: libzhuyin = 2.7.92-1.fc38 libzhuyin(x86-32) = 2.7.92-1.fc38 libzhuyin.so.15 libzhuyin.so.15(LIBZHUYIN) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libdb-5.3.so libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libgcc_s.so.1(GCC_3.3.1) libglib-2.0.so.0 libm.so.6 libm.so.6(GLIBC_2.29) libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(CXXABI_1.3.9) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: libpinyin-debugsource-2.7.92-1.fc38.i686 Provides: libpinyin-debugsource = 2.7.92-1.fc38 libpinyin-debugsource(x86-32) = 2.7.92-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-debuginfo-2.7.92-1.fc38.i686 Provides: debuginfo(build-id) = 585719b4992d67c316772ef3ecb407e8a1874f22 libpinyin-debuginfo = 2.7.92-1.fc38 libpinyin-debuginfo(x86-32) = 2.7.92-1.fc38 libpinyin.so.15.0.0-2.7.92-1.fc38.i386.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(x86-32) = 2.7.92-1.fc38 Processing files: libpinyin-tools-debuginfo-2.7.92-1.fc38.i686 Provides: debuginfo(build-id) = 3e11d8187bcbfe07a020b13e2c28ed740cbbe2db debuginfo(build-id) = bfc3be415d845084dfba62351be0fe8c0e004023 debuginfo(build-id) = ee67dfe5e91bb3cfdbadab75b4c6773d1d6a84e6 libpinyin-tools-debuginfo = 2.7.92-1.fc38 libpinyin-tools-debuginfo(x86-32) = 2.7.92-1.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(x86-32) = 2.7.92-1.fc38 Processing files: libzhuyin-debuginfo-2.7.92-1.fc38.i686 Provides: debuginfo(build-id) = 0c02e85eb91a7f5fccd6c0055cbca48c94dfdce3 libzhuyin-debuginfo = 2.7.92-1.fc38 libzhuyin-debuginfo(x86-32) = 2.7.92-1.fc38 libzhuyin.so.15.0.0-2.7.92-1.fc38.i386.debug Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(x86-32) = 2.7.92-1.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 Wrote: /builddir/build/RPMS/libpinyin-debuginfo-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libzhuyin-debuginfo-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-debuginfo-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-debugsource-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libzhuyin-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-devel-2.7.92-1.fc38.i686.rpm Wrote: /builddir/build/RPMS/libpinyin-data-2.7.92-1.fc38.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.fs3q4E + umask 022 + cd /builddir/build/BUILD + cd libpinyin-2.7.92 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libpinyin-2.7.92-1.fc38.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.In2Fq4 + umask 022 + cd /builddir/build/BUILD + rm -rf libpinyin-2.7.92 libpinyin-2.7.92.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0