Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/f41-build-826203-154851/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Wrote: /builddir/build/SRPMS/libpinyin-2.8.1-8.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.spec'], chrootPath='/var/lib/mock/f41-build-826203-154851/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721260800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.xR0ayk + umask 022 + cd /builddir/build/BUILD/libpinyin-2.8.1-build + test -d /builddir/build/BUILD/libpinyin-2.8.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libpinyin-2.8.1-build + /usr/bin/rm -rf /builddir/build/BUILD/libpinyin-2.8.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libpinyin-2.8.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libpinyin-2.8.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.WyfgBR + umask 022 + cd /builddir/build/BUILD/libpinyin-2.8.1-build + cd /builddir/build/BUILD/libpinyin-2.8.1-build + rm -rf libpinyin-2.8.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libpinyin-2.8.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libpinyin-2.8.1 + /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.U54JQS + umask 022 + cd /builddir/build/BUILD/libpinyin-2.8.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.8.1 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --with-dbm=KyotoCabinet --enable-libzhuyin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a 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 riscv64-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... riscv64-redhat-linux-gnu checking host system type... riscv64-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 riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-file... no checking for file... file checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB2... yes checking for egrep... (cached) /usr/bin/grep -E checking for locale.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for _Bool... yes checking for stdbool.h that conforms to C99... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking for size_t... yes checking for GNU libc compatible malloc... yes checking for working memcmp... yes checking for GNU libc compatible realloc... yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for getpagesize... yes checking for working mmap... yes checking for gettimeofday... yes checking for memmove... yes checking for memset... yes checking for setlocale... yes checking for string.h... (cached) yes checking for KYOTOCABINET... yes checking for library containing kcdbopen... -lkyotocabinet checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating libpinyin.pc config.status: creating libzhuyin.pc config.status: creating libpinyin.spec config.status: creating Makefile config.status: creating doc/Makefile config.status: creating data/Makefile config.status: creating data/table.conf config.status: creating src/Makefile config.status: creating src/include/Makefile config.status: creating src/storage/Makefile config.status: creating src/lookup/Makefile config.status: creating tests/Makefile config.status: creating tests/include/Makefile config.status: creating tests/storage/Makefile config.status: creating tests/lookup/Makefile config.status: creating utils/Makefile config.status: creating utils/storage/Makefile config.status: creating utils/segment/Makefile config.status: creating utils/training/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands Build options: Version 2.8.1 Install prefix /usr DBM KyotoCabinet Enable libzhuyin yes + /usr/bin/make -O -j4 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.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o phrase_large_table3.o phrase_large_table3.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o phrase_index.o phrase_index.cpp In file included from phrase_index.h:30, from phrase_index.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ngram.o ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o phrase_large_table2.o phrase_large_table2.cpp phrase_large_table2.cpp:64:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 64 | PhraseIndexItem2(const ucs4_t phrase[], phrase_token_t token){ | ^ phrase_large_table2.cpp:64:36: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o tag_utility.o tag_utility.cpp In file included from phrase_index.h:30, from tag_utility.cpp:6: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o phonetic_key_matrix.o phonetic_key_matrix.cpp In file included from chewing_large_table2.h:27, from facade_chewing_table2.h:25, from phonetic_key_matrix.h:27, from phonetic_key_matrix.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o chewing_large_table.o chewing_large_table.cpp In file included from chewing_large_table.cpp:24: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o chewing_key.o chewing_key.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o table_info.o table_info.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o chewing_large_table2.o chewing_large_table2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' In file included from chewing_large_table2.h:27, from chewing_large_table2.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o pinyin_parser2.o pinyin_parser2.cpp In file included from pinyin_parser2.cpp:28: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o zhuyin_parser2.o zhuyin_parser2.cpp In file included from zhuyin_parser2.cpp:27: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ngram_kyotodb.o ngram_kyotodb.cpp In file included from ngram_kyotodb.cpp:26: kyotodb_utils.h:50:21: warning: ‘pinyin::empty_vbuf’ defined but not used [-Wunused-variable] 50 | static const char * empty_vbuf = (char *)UINTPTR_MAX; | ^~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o phrase_large_table3_kyotodb.o phrase_large_table3_kyotodb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o chewing_large_table2_kyotodb.o chewing_large_table2_kyotodb.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' In file included from chewing_large_table2.h:27, from chewing_large_table2_kyotodb.cpp:21: pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ pinyin_phrase3.h:186:37: note: remove the ‘< >’ pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ pinyin_phrase3.h:191:37: note: remove the ‘< >’ pinyin_phrase3.h: In instantiation of ‘pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:191:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:192:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:193:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:194:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:195:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:196:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:197:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:198:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:199:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:200:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:201:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:202:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:203:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:204:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:205:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]’ 132 | IndexItem item; | ^~~~ chewing_large_table2_kyotodb.cpp:176:27: required from ‘int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]’ 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ chewing_large_table2_kyotodb.cpp:206:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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.8.1-build/libpinyin-2.8.1/src/storage' rm -f libstorage.a ar cru libstorage.a phrase_index.o phrase_large_table2.o phrase_large_table3.o ngram.o tag_utility.o chewing_key.o pinyin_parser2.o zhuyin_parser2.o phonetic_key_matrix.o chewing_large_table.o chewing_large_table2.o table_info.o ngram_kyotodb.o phrase_large_table3_kyotodb.o chewing_large_table2_kyotodb.o ranlib libstorage.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o lookup.o lookup.cpp In file included from ../../src/storage/phrase_index.h:30, from lookup.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o phonetic_lookup.o phonetic_lookup.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from phonetic_lookup.h:29, from phonetic_lookup.cpp:21: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from phonetic_lookup.h:118: phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ 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.8.1-build/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o phrase_lookup.o phrase_lookup.cpp In file included from ../../src/storage/phrase_index.h:30, from phrase_lookup.cpp:24: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src/include -I../../src/storage -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o pinyin_lookup2.o pinyin_lookup2.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from pinyin_lookup2.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' rm -f liblookup.a ar cru liblookup.a pinyin_lookup2.o phrase_lookup.o lookup.o phonetic_lookup.o ranlib liblookup.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o pinyin_internal.o pinyin_internal.cpp In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from pinyin_internal.h:33, from pinyin_internal.cpp:1: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../src/lookup/phonetic_lookup.h:118, from pinyin_internal.h:43: ../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../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.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c pinyin.cpp -fPIC -DPIC -o .libs/pinyin.o In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from pinyin_internal.h:33, from pinyin.cpp:27: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../src/lookup/phonetic_lookup.h:118, from pinyin_internal.h:43: ../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': pinyin.cpp:507:9: warning: unused variable 'num' [-Wunused-variable] 507 | int num = reduce_tokens(tokens, tokenarray); | ^~~ 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 '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); | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o storage/ngram_kyotodb.lo storage/ngram_kyotodb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/ngram_kyotodb.cpp -fPIC -DPIC -o storage/.libs/ngram_kyotodb.o In file included from storage/ngram_kyotodb.cpp:26: storage/kyotodb_utils.h:50:21: warning: 'pinyin::empty_vbuf' defined but not used [-Wunused-variable] 50 | static const char * empty_vbuf = (char *)UINTPTR_MAX; | ^~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' rm -f libpinyin_internal.a ar cru libpinyin_internal.a pinyin_internal.o storage/libstorage.a lookup/liblookup.a ranlib libpinyin_internal.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c zhuyin.cpp -fPIC -DPIC -o .libs/zhuyin.o In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from pinyin_internal.h:33, from zhuyin.cpp:25: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from ../src/lookup/phonetic_lookup.h:118, from pinyin_internal.h:43: ../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': zhuyin.cpp:427:9: warning: unused variable 'num' [-Wunused-variable] 427 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'void _compute_prefixes(zhuyin_instance_t*, const char*)': zhuyin.cpp:933:17: warning: unused variable 'num' [-Wunused-variable] 933 | int num = reduce_tokens(tokens, tokenarray); | ^~~ zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': zhuyin.cpp: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); | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phrase_index.cpp -fPIC -DPIC -o storage/.libs/phrase_index.o In file included from storage/phrase_index.h:30, from storage/phrase_index.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phrase_large_table3.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phrase_large_table2.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table2.o storage/phrase_large_table2.cpp:64:36: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 64 | PhraseIndexItem2(const ucs4_t phrase[], phrase_token_t token){ | ^ storage/phrase_large_table2.cpp:64:36: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/ngram.cpp -fPIC -DPIC -o storage/.libs/ngram.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o storage/phrase_large_table3_kyotodb.lo storage/phrase_large_table3_kyotodb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phrase_large_table3_kyotodb.cpp -fPIC -DPIC -o storage/.libs/phrase_large_table3_kyotodb.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/tag_utility.cpp -fPIC -DPIC -o storage/.libs/tag_utility.o In file included from storage/phrase_index.h:30, from storage/tag_utility.cpp:6: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o storage/chewing_large_table2_kyotodb.lo storage/chewing_large_table2_kyotodb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/chewing_large_table2_kyotodb.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2_kyotodb.o In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2_kyotodb.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 1; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:191:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 2; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:192:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 3; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:193:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 4; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:194:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 5; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:195:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ storage/pinyin_phrase3.h:187:15: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'ChewingKey' {aka 'struct _ChewingKey'}; use assignment or value-initialization instead [-Wclass-memaccess] 187 | memset(m_keys, 0, sizeof(ChewingKey) * phrase_length); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ storage/chewing_key.h:41:8: note: 'ChewingKey' {aka 'struct _ChewingKey'} declared here 41 | struct _ChewingKey | ^~~~make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' ~~~~~~~ storage/pinyin_phrase3.h: In instantiation of 'pinyin::PinyinIndexItem2::PinyinIndexItem2() [with long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 6; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:196:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 7; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:197:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 8; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:198:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 9; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:199:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 10; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:200:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 11; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:201:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 12; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:202:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 13; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:203:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 14; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:204:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 15; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:205:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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 long 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]' 132 | IndexItem item; | ^~~~ storage/chewing_large_table2_kyotodb.cpp:176:27: required from 'int pinyin::ChewingLargeTable2::search_internal(const ChewingKey*, const ChewingKey*, GArray**) const [with int phrase_length = 16; ChewingKey = _ChewingKey; GArray = _GArray]' 176 | result = entry->search(keys, ranges) | result; | ~~~~~~~~~~~~~^~~~~~~~~~~~~~ storage/chewing_large_table2_kyotodb.cpp:206:9: required from here 187 | return search_internal(index, keys, ranges); \ | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ 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.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/chewing_key.cpp -fPIC -DPIC -o storage/.libs/chewing_key.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phonetic_key_matrix.cpp -fPIC -DPIC -o storage/.libs/phonetic_key_matrix.o In file included from storage/chewing_large_table2.h:27, from storage/facade_chewing_table2.h:25, from storage/phonetic_key_matrix.h:27, from storage/phonetic_key_matrix.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/zhuyin_parser2.cpp -fPIC -DPIC -o storage/.libs/zhuyin_parser2.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' In file included from storage/zhuyin_parser2.cpp:27: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/table_info.cpp -fPIC -DPIC -o storage/.libs/table_info.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/pinyin_parser2.cpp -fPIC -DPIC -o storage/.libs/pinyin_parser2.o In file included from storage/pinyin_parser2.cpp:28: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/chewing_large_table2.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table2.o In file included from storage/chewing_large_table2.h:27, from storage/chewing_large_table2.cpp:21: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lookup/lookup.cpp -fPIC -DPIC -o lookup/.libs/lookup.o In file included from ../src/storage/phrase_index.h:30, from lookup/lookup.cpp:23: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lookup/pinyin_lookup2.cpp -fPIC -DPIC -o lookup/.libs/pinyin_lookup2.o In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from lookup/pinyin_lookup2.cpp:22: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lookup/phrase_lookup.cpp -fPIC -DPIC -o lookup/.libs/phrase_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' In file included from ../src/storage/phrase_index.h:30, from lookup/phrase_lookup.cpp:24: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lookup/phonetic_lookup.cpp -fPIC -DPIC -o lookup/.libs/phonetic_lookup.o make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' In file included from ../src/storage/chewing_large_table2.h:27, from ../src/storage/facade_chewing_table2.h:25, from ../src/storage/phonetic_key_matrix.h:27, from lookup/phonetic_lookup.h:29, from lookup/phonetic_lookup.cpp:21: ../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../src/storage/pinyin_phrase3.h:186:37: note: remove the '< >' ../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../src/storage/pinyin_phrase3.h:191:37: note: remove the '< >' In file included from lookup/phonetic_lookup.h:118: lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ lookup/phonetic_lookup_heap.h:95:22: note: remove the '< >' 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.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/chewing_large_table.cpp -fPIC -DPIC -o storage/.libs/chewing_large_table.o In file included from storage/chewing_large_table.cpp:24: storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ storage/pinyin_phrase3.h:186:37: note: remove the '< >' storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ storage/pinyin_phrase3.h:191:37: note: remove the '< >' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64 storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_kyotodb.lo storage/phrase_large_table3_kyotodb.lo storage/chewing_large_table2_kyotodb.lo zhuyin.lo -lglib-2.0 -lkyotocabinet libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/14/crti.o /usr/lib/gcc/riscv64-redhat-linux/14/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_kyotodb.o storage/.libs/phrase_large_table3_kyotodb.o storage/.libs/chewing_large_table2_kyotodb.o .libs/zhuyin.o -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/riscv64-redhat-linux/14 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/14/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/14/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mno-omit-leaf-frame-pointer -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.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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/lib64 storage/phrase_index.lo storage/phrase_large_table2.lo storage/phrase_large_table3.lo storage/ngram.lo storage/tag_utility.lo storage/chewing_key.lo storage/pinyin_parser2.lo storage/zhuyin_parser2.lo storage/phonetic_key_matrix.lo storage/chewing_large_table.lo storage/chewing_large_table2.lo storage/table_info.lo lookup/pinyin_lookup2.lo lookup/phrase_lookup.lo lookup/lookup.lo lookup/phonetic_lookup.lo storage/ngram_kyotodb.lo storage/phrase_large_table3_kyotodb.lo storage/chewing_large_table2_kyotodb.lo pinyin.lo -lglib-2.0 -lkyotocabinet libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/riscv64-redhat-linux/14/crti.o /usr/lib/gcc/riscv64-redhat-linux/14/crtbeginS.o storage/.libs/phrase_index.o storage/.libs/phrase_large_table2.o storage/.libs/phrase_large_table3.o storage/.libs/ngram.o storage/.libs/tag_utility.o storage/.libs/chewing_key.o storage/.libs/pinyin_parser2.o storage/.libs/zhuyin_parser2.o storage/.libs/phonetic_key_matrix.o storage/.libs/chewing_large_table.o storage/.libs/chewing_large_table2.o storage/.libs/table_info.o lookup/.libs/pinyin_lookup2.o lookup/.libs/phrase_lookup.o lookup/.libs/lookup.o lookup/.libs/phonetic_lookup.o storage/.libs/ngram_kyotodb.o storage/.libs/phrase_large_table3_kyotodb.o storage/.libs/chewing_large_table2_kyotodb.o .libs/pinyin.o -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/riscv64-redhat-linux/14 -L/lib64/lp64d/../lib64/lp64d -L/usr/lib64/lp64d/../lib64/lp64d -L/lib/../lib64/lp64d -L/usr/lib/../lib64/lp64d -L/lib64/lp64d -L/usr/lib64/lp64d -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/riscv64-redhat-linux/14/crtendS.o /usr/lib/gcc/riscv64-redhat-linux/14/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mno-omit-leaf-frame-pointer -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.8.1-build/libpinyin-2.8.1/src' Making all in tests Making all in include make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_memory_chunk.o test_memory_chunk.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_memory_chunk.cpp:2: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_ngram.o test_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_ngram.cpp:2: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_phrase_table.o test_phrase_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_table.cpp:7: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ test_phrase_table.cpp: In function ‘int main(int, char**)’: test_phrase_table.cpp:67:23: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘glong’ {aka ‘long int’} [-Wsign-compare] 67 | for (i = 1; i < phrase_len; ++i) { | ~~^~~~~~~~~~~~ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_phrase_index_logger.o test_phrase_index_logger.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_index_logger.cpp:21: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_phrase_index.o test_phrase_index.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_index.cpp:4: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_parser2.o test_parser2.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_parser2.cpp:32: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_matrix.o test_matrix.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_matrix.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_chewing_table.o test_chewing_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_chewing_table.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_table_info.o test_table_info.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_table_info.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_flexible_ngram.o test_flexible_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_flexible_ngram.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_phrase_lookup.o test_phrase_lookup.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_phrase_lookup.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/tests/lookup' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../tests -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_pinyin_lookup.o test_pinyin_lookup.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from test_pinyin_lookup.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_chewing.o test_chewing.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_phrase.o test_phrase.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_zhuyin.o test_zhuyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I../src/include -I../src/storage -I../src/lookup -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o test_pinyin.o test_pinyin.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' Making all in utils Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o export_interpolation.o export_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from export_interpolation.cpp:25: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gen_binary_files.o gen_binary_files.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_binary_files.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gen_pinyin_table.o gen_pinyin_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_pinyin_table.cpp:24: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o import_interpolation.o import_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from import_interpolation.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gen_zhuyin_table.o gen_zhuyin_table.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_zhuyin_table.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ 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 | ^~~~~~~~ ../../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.8.1-build/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' Making all in segment make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o ngseg.o ngseg.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from ngseg.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o mergeseq.o mergeseq.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from mergeseq.cpp:29: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ 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); | ^~~ ../../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.8.1-build/libpinyin-2.8.1/utils/segment' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o spseg.o spseg.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from spseg.cpp:29: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ spseg.cpp: In function ‘bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)’: spseg.cpp:114:17: warning: unused variable ‘num’ [-Wunused-variable] 114 | int num = get_first_token(tokens, token); | ^~~ ../../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.8.1-build/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' Making all in training make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gen_deleted_ngram.o gen_deleted_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_deleted_ngram.cpp:30: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gen_unigram.o gen_unigram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_unigram.cpp:23: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gen_ngram.o gen_ngram.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_ngram.cpp:30: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o estimate_interpolation.o estimate_interpolation.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from estimate_interpolation.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ 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; | ^~~~~~~ ../../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.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o gen_k_mixture_model.o gen_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from gen_k_mixture_model.cpp:28: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ 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); | ^~~~~~ ../../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.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o estimate_k_mixture_model.o estimate_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from estimate_k_mixture_model.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ 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; | ^~~~~~~ ../../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.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o merge_k_mixture_model.o merge_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from merge_k_mixture_model.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o k_mixture_model_to_interpolation.o k_mixture_model_to_interpolation.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from k_mixture_model_to_interpolation.cpp:25: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o prune_k_mixture_model.o prune_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from prune_k_mixture_model.cpp:26: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ 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; | ^~~~~~~ ../../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.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o eval_correction_rate.o eval_correction_rate.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from eval_correction_rate.cpp:26: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o import_k_mixture_model.o import_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from import_k_mixture_model.cpp:27: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o export_k_mixture_model.o export_k_mixture_model.cpp make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from export_k_mixture_model.cpp:22: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' g++ -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src/include -I../../src/storage -I../../src/lookup -I../../utils -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c -o validate_k_mixture_model.o validate_k_mixture_model.cpp In file included from ../../src/storage/chewing_large_table2.h:27, from ../../src/storage/facade_chewing_table2.h:25, from ../../src/storage/phonetic_key_matrix.h:27, from ../../src/pinyin_internal.h:33, from validate_k_mixture_model.cpp:21: ../../src/storage/pinyin_phrase3.h:186:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 186 | PinyinIndexItem2 () { | ^ ../../src/storage/pinyin_phrase3.h:186:37: note: remove the ‘< >’ ../../src/storage/pinyin_phrase3.h:191:37: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 191 | PinyinIndexItem2 (const ChewingKey * keys, | ^ ../../src/storage/pinyin_phrase3.h:191:37: note: remove the ‘< >’ In file included from ../../src/lookup/phonetic_lookup.h:118, from ../../src/pinyin_internal.h:43: ../../src/lookup/phonetic_lookup_heap.h:95:22: warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor] 95 | trellis_node <1> () : m_element(-FLT_MAX) {} | ^ ../../src/lookup/phonetic_lookup_heap.h:95:22: note: remove the ‘< >’ ../../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.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /bin/sh ../../libtool --tag=CXX --mode=link g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet libtool: link: g++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -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 -lkyotocabinet make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Nothing to be done for 'all-am'. Making all in data make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/data' rm -f phrase_index.bin pinyin_index.bin addon_phrase_index.bin addon_pinyin_index.bin bigram.db gb_char.bin gbk_char.bin opengram.bin merged.bin art.bin culture.bin economy.bin geology.bin history.bin life.bin nature.bin people.bin science.bin society.bin sport.bin technology.bin ../utils/storage/gen_binary_files --table-dir ../data ../utils/storage/import_interpolation --table-dir ../data < ../data/interpolation2.text ../utils/training/gen_unigram --table-dir ../data make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/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.2r3O7n + umask 022 + cd /builddir/build/BUILD/libpinyin-2.8.1-build + '[' /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libpinyin-2.8.1-build + mkdir /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.8.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/include/libpinyin-2.8.1' /usr/bin/install -p -m 644 novel_types.h '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/include/libpinyin-2.8.1' /usr/bin/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libpinyin.la libzhuyin.la '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libpinyin.so.15.0.0 /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/libpinyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64 && { 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/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64 && { 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/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/libpinyin.la libtool: install: /usr/bin/install -p .libs/libzhuyin.so.15.0.0 /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/libzhuyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64 && { 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/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64 && { 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/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/libzhuyin.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/include/libpinyin-2.8.1' /usr/bin/install -p -m 644 pinyin.h zhuyin.h '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/include/libpinyin-2.8.1' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_binary_files import_interpolation '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/bin' libtool: install: /usr/bin/install -p gen_binary_files /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/bin/gen_binary_files libtool: install: /usr/bin/install -p import_interpolation /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/bin/import_interpolation make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' Making install in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' Making install in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_unigram '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/bin' libtool: install: /usr/bin/install -p gen_unigram /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/bin/gen_unigram make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' make[3]: Nothing to be done for 'install-exec-am'. make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' Making install in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/data' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/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/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/libpinyin/data' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/data' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/data' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/doc' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 libpinyin.1 '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/doc' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libpinyin.pc libzhuyin.pc '/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1' + find /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT -name '*.la' -exec rm -f '{}' ';' + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 2.8.1-8.fc41 --unique-debug-suffix -2.8.1-8.fc41.riscv64 --unique-debug-src-base libpinyin-2.8.1-8.fc41.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libpinyin-2.8.1-8.fc41.riscv64 2553 blocks find-debuginfo: done + /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 + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j4 /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT Scanned 28 directories and 109 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/libpinyin-2.8.1-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GFX1Ez + umask 022 + cd /builddir/build/BUILD/libpinyin-2.8.1-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd libpinyin-2.8.1 + make check Making check in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/include' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/src' Making check in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' Making check in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' PASS: test_memory_chunk ============================================================================ Testsuite summary for libpinyin 2.8.1 ============================================================================ # TOTAL: 1 # PASS: 1 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/include' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make check-TESTS make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[4]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' PASS: test_phrase_index_logger PASS: test_ngram PASS: test_flexible_ngram ============================================================================ Testsuite summary for libpinyin 2.8.1 ============================================================================ # TOTAL: 3 # PASS: 3 # SKIP: 0 # XFAIL: 0 # FAIL: 0 # XPASS: 0 # ERROR: 0 ============================================================================ make[4]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/storage' Making check in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/tests' Making check in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' Making check in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/storage' Making check in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/segment' Making check in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[2]: Nothing to be done for 'check'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' make[2]: Nothing to be done for 'check-am'. make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/utils' Making check in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/data' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/data' Making check in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/doc' make[1]: Nothing to be done for 'check'. make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1' + RPM_EC=0 ++ jobs -p + exit 0 Processing files: libpinyin-2.8.1-8.fc41.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.VgQtcl + umask 022 + cd /builddir/build/BUILD/libpinyin-2.8.1-build + cd libpinyin-2.8.1 + DOCDIR=/builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/share/doc/libpinyin + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/share/doc/libpinyin + cp -pr /builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/AUTHORS /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/share/doc/libpinyin + cp -pr /builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/COPYING /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/share/doc/libpinyin + cp -pr /builddir/build/BUILD/libpinyin-2.8.1-build/libpinyin-2.8.1/README /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT/usr/share/doc/libpinyin + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpinyin = 2.8.1-8.fc41 libpinyin(riscv-64) = 2.8.1-8.fc41 libpinyin.so.15()(64bit) libpinyin.so.15(LIBPINYIN)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) rtld(GNU_HASH) Processing files: libpinyin-devel-2.8.1-8.fc41.riscv64 Provides: libpinyin-devel = 2.8.1-8.fc41 libpinyin-devel(riscv-64) = 2.8.1-8.fc41 libzhuyin-devel = 2.8.1-8.fc41 pkgconfig(libpinyin) = 2.8.1 pkgconfig(libzhuyin) = 2.8.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libpinyin.so.15()(64bit) libzhuyin.so.15()(64bit) pkgconfig(glib-2.0) Obsoletes: libzhuyin-devel < 2.8.1-8.fc41 Processing files: libpinyin-data-2.8.1-8.fc41.riscv64 Provides: libpinyin-data = 2.8.1-8.fc41 libpinyin-data(riscv-64) = 2.8.1-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-tools-2.8.1-8.fc41.riscv64 Provides: libpinyin-tools = 2.8.1-8.fc41 libpinyin-tools(riscv-64) = 2.8.1-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) rtld(GNU_HASH) Processing files: libzhuyin-2.8.1-8.fc41.riscv64 Provides: libzhuyin = 2.8.1-8.fc41 libzhuyin(riscv-64) = 2.8.1-8.fc41 libzhuyin.so.15()(64bit) libzhuyin.so.15(LIBZHUYIN)(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.38)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.4)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) rtld(GNU_HASH) Processing files: libpinyin-debugsource-2.8.1-8.fc41.riscv64 Provides: libpinyin-debugsource = 2.8.1-8.fc41 libpinyin-debugsource(riscv-64) = 2.8.1-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libpinyin-debuginfo-2.8.1-8.fc41.riscv64 Provides: debuginfo(build-id) = 879d584e7d6f87417b8d6ae573e08f907b2c8cc1 libpinyin-debuginfo = 2.8.1-8.fc41 libpinyin-debuginfo(riscv-64) = 2.8.1-8.fc41 libpinyin.so.15.0.0-2.8.1-8.fc41.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(riscv-64) = 2.8.1-8.fc41 Processing files: libpinyin-tools-debuginfo-2.8.1-8.fc41.riscv64 Provides: debuginfo(build-id) = 14889331ff498875ebb7ff318251a479d0ca59ef debuginfo(build-id) = 1db6eca06ad7733c2a8284d5b8b8f9a343ca93ff debuginfo(build-id) = 8deb3bfe61bfeefe860c97ae575d4ee6c0e5d9c1 libpinyin-tools-debuginfo = 2.8.1-8.fc41 libpinyin-tools-debuginfo(riscv-64) = 2.8.1-8.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(riscv-64) = 2.8.1-8.fc41 Processing files: libzhuyin-debuginfo-2.8.1-8.fc41.riscv64 Provides: debuginfo(build-id) = cda5058090ec14f9fb40eb8dfe4bc002c8319a0e libzhuyin-debuginfo = 2.8.1-8.fc41 libzhuyin-debuginfo(riscv-64) = 2.8.1-8.fc41 libzhuyin.so.15.0.0-2.8.1-8.fc41.riscv64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libpinyin-debugsource(riscv-64) = 2.8.1-8.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libpinyin-2.8.1-build/BUILDROOT Wrote: /builddir/build/RPMS/libzhuyin-debuginfo-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-debuginfo-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-tools-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-debuginfo-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-devel-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-debugsource-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libzhuyin-2.8.1-8.fc41.riscv64.rpm Wrote: /builddir/build/RPMS/libpinyin-data-2.8.1-8.fc41.riscv64.rpm Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.nFJZtf + umask 022 + cd /builddir/build/BUILD/libpinyin-2.8.1-build + test -d /builddir/build/BUILD/libpinyin-2.8.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libpinyin-2.8.1-build + rm -rf /builddir/build/BUILD/libpinyin-2.8.1-build + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0