Mock Version: 3.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sunpinyin.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667977705.835295/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ev1ppzq6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ev1ppzq6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '6a233f0b333a484cb4fbc294c1b833e2', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667977705.835295/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ev1ppzq6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/sunpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-le warning: line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-be Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/sunpinyin-3.0.0-0.8.20190805git.fc38.src.rpm RPM build warnings: line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-le line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-be Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sunpinyin.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1667977705.835295/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ev1ppzq6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ev1ppzq6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '2debf6218f8b4b0b9d32d329959eb6ce', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1667977705.835295/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ev1ppzq6:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/sunpinyin.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-le warning: line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-be Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.K48huo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sunpinyin-20190805 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sunpinyin-20190805.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd sunpinyin-20190805 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (sunpinyin-use-python3.patch): + echo 'Patch #0 (sunpinyin-use-python3.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .python3 --fuzz=0 patching file SConstruct patching file python/pinyin_info_gen.py patching file python/quanpin_trie_gen.py patching file python/trie.py Patch #1 (sunpinyin-fixes-scons.patch): + echo 'Patch #1 (sunpinyin-fixes-scons.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .scons --fuzz=0 patching file SConstruct patching file src/SConscript + mkdir -p raw + cp /builddir/build/SOURCES/lm_sc.3gm.arpa-20140820.tar.bz2 raw + cp /builddir/build/SOURCES/dict.utf8-20131214.tar.bz2 raw + pushd raw ~/build/BUILD/sunpinyin-20190805/raw ~/build/BUILD/sunpinyin-20190805 + tar xvf lm_sc.3gm.arpa-20140820.tar.bz2 lm_sc.3gm.arpa + tar xvf dict.utf8-20131214.tar.bz2 dict.utf8 ~/build/BUILD/sunpinyin-20190805 + popd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.gyjxDG + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sunpinyin-20190805 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure grep: ./configure: No such file or directory + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info /var/tmp/rpm-tmp.gyjxDG: line 75: ./configure: No such file or directory + : + scons -j2 --prefix=/usr --libdir=/usr/lib64 --datadir=/usr/share scons: Reading SConscript files ... Warning: you've set CC in the environmental variable! Warning: you've set CXX in the environmental variable! Warning: you've set CFLAGS in the environmental variable! Warning: you've set CXXFLAGS in the environmental variable! Warning: you've set LDFLAGS in the environmental variable! Checking for pkg-config... yes Checking for sqlite3... yes Checking for C header file assert.h... yes Checking for C function bind_textdomain_codeset()... yes Checking for C function dcgettext()... yes Checking for C function exp2()... no Checking for C header file fcntl.h... yes Checking for C header file getopt.h... yes Checking for C function getopt_long()... yes Checking for C function getpagesize()... yes Checking for C function get_opt()... no Checking for C header file iconv.h... yes Checking for C header file inttypes.h... yes Checking for C header file locale.h... yes Checking for C header file libintl.h... yes Checking for C header file limits.h... yes Checking for C header file locale.h... yes Checking for C function log2()... no Checking for C header file memory.h... yes Checking for C function memset()... yes Checking for C function mmap()... yes Checking for C function munmap()... yes Checking for C function setlocale()... yes Checking for C header file sys/mman.h... yes Checking for C header file sys/param.h... yes Checking for C header file sys/stat.h... yes Checking for C header file sys/types.h... yes Checking for C header file unistd.h... yes Checking for C header file wchar.h... yes scons: done reading SConscript files. scons: Building targets ... scons: Configure: creating config.h Creating 'doc/README' Creating 'doc/SLM-inst.mk' g++ -o src/portability.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/portability.cpp g++ -o src/slm/slm.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slm.cpp g++ -o src/lexicon/pytrie.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/lexicon/pytrie.cpp cd python && ./pinyin_info_gen.py > ../src/pinyin/pinyin_info.h g++ -o src/pinyin/pinyin_data.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/pinyin/pinyin_data.cpp cd python && ./quanpin_trie_gen.py > ../src/pinyin/quanpin_trie.h g++ -o src/pinyin/pinyin_seg.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/pinyin/pinyin_seg.cpp g++ -o src/pinyin/shuangpin_data.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/pinyin/shuangpin_data.cpp g++ -o src/pinyin/shuangpin_seg.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/pinyin/shuangpin_seg.cpp g++ -o src/pinyin/hunpin_seg.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/pinyin/hunpin_seg.cpp g++ -o src/ime-core/imi_context.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_context.cpp src/ime-core/imi_context.cpp: In member function ‘void CLatticeFrame::print(std::string)’: src/ime-core/imi_context.cpp:86:33: warning: ‘std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = void; _Tp = TLexiconState; _Arg = __cxx11::basic_string]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 86 | bind2nd(mem_fun_ref(&TLexiconState::print), prefix)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/string:48, from src/portability.h:45, from src/ime-core/imi_context.h:42, from src/ime-core/imi_context.cpp:45: /usr/include/c++/12/bits/stl_function.h:1413:5: note: declared here 1413 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ src/ime-core/imi_context.cpp:86:21: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t >; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 86 | bind2nd(mem_fun_ref(&TLexiconState::print), prefix)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/c++/12/bits/stl_function.h:1438: /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ src/ime-core/imi_context.cpp:90:33: warning: ‘std::const_mem_fun1_ref_t<_Ret, _Tp, _Arg> std::mem_fun_ref(_Ret (_Tp::*)(_Arg) const) [with _Ret = void; _Tp = TLatticeState; _Arg = __cxx11::basic_string]’ is deprecated: use 'std::mem_fn' instead [-Wdeprecated-declarations] 90 | bind2nd(mem_fun_ref(&TLatticeState::print), prefix)); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/bits/stl_function.h:1413:5: note: declared here 1413 | mem_fun_ref(_Ret (_Tp::*__f)(_Arg) const) | ^~~~~~~~~~~ src/ime-core/imi_context.cpp:90:21: warning: ‘std::binder2nd<_Operation> std::bind2nd(const _Operation&, const _Tp&) [with _Operation = const_mem_fun1_ref_t >; _Tp = __cxx11::basic_string]’ is deprecated: use 'std::bind' instead [-Wdeprecated-declarations] 90 | bind2nd(mem_fun_ref(&TLatticeState::print), prefix)); | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/c++/12/backward/binders.h:172:5: note: declared here 172 | bind2nd(const _Operation& __fn, const _Tp& __x) | ^~~~~~~ g++ -o src/ime-core/imi_data.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_data.cpp g++ -o src/ime-core/lattice_states.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/lattice_states.cpp g++ -o src/ime-core/imi_view.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_view.cpp g++ -o src/ime-core/imi_uiobjects.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_uiobjects.cpp g++ -o src/ime-core/imi_view_classic.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_view_classic.cpp g++ -o src/ime-core/imi_winHandler.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_winHandler.cpp g++ -o src/ime-core/ic_history.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/ic_history.cpp src/ime-core/ic_history.cpp: In member function ‘int CBigramHistory::uniFreq(TUnigram&)’: src/ime-core/ic_history.cpp:280:21: warning: ignoring return value of ‘constexpr std::reverse_iterator<_Iterator>::reference std::reverse_iterator<_Iterator>::operator*() const [with _Iterator = std::_Deque_iterator; reference = unsigned int&]’, declared with attribute ‘nodiscard’ [-Wunused-result] 280 | *rit++; | ^~ In file included from /usr/include/c++/12/bits/stl_algobase.h:67, from /usr/include/c++/12/algorithm:60, from src/ime-core/ic_history.cpp:50: /usr/include/c++/12/bits/stl_iterator.h:260:7: note: declared here 260 | operator*() const | ^~~~~~~~ g++ -o src/ime-core/imi_funcobjs.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_funcobjs.cpp src/ime-core/ic_history.cpp: In member function ‘virtual bool CBigramHistory::loadFromFile(const char*)’: src/ime-core/ic_history.cpp:191:13: warning: ignoring return value of ‘ssize_t read(int, void*, size_t)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 191 | read(fd, buf, info.st_size); | ~~~~^~~~~~~~~~~~~~~~~~~~~~~ g++ -o src/ime-core/imi_options.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_options.cpp g++ -o src/ime-core/imi_option_event.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/imi_option_event.cpp g++ -o src/ime-core/userdict.os -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -fPIC -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/ime-core/userdict.cpp In file included from /usr/include/stdio.h:906, from src/portability.h:42, from src/ime-core/userdict.h:43, from src/ime-core/userdict.cpp:40: In function ‘sprintf’, inlined from ‘CUserDict::removeWord(unsigned int)’ at src/ime-core/userdict.cpp:126:16: /usr/include/bits/stdio2.h:30:34: warning: ‘__sprintf_chk’ argument 5 overlaps destination object ‘sql’ [-Wrestrict] 30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 32 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ src/ime-core/userdict.cpp: In member function ‘CUserDict::removeWord(unsigned int)’: src/ime-core/userdict.cpp:123:10: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here 123 | char sql[256] = "DELETE FROM dict WHERE id="; | ^~~ pod2man man/genpyt.pod man/genpyt.1 pod2man man/getwordfreq.pod man/getwordfreq.1 pod2man man/idngram_merge.pod man/idngram_merge.1 pod2man man/ids2ngram.pod man/ids2ngram.1 pod2man man/mmseg.pod man/mmseg.1 pod2man man/slmbuild.pod man/slmbuild.1 g++ -o libsunpinyin.so.3.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 -Wl,-soname=libsunpinyin.so.3 -shared src/portability.os src/slm/slm.os src/lexicon/pytrie.os src/pinyin/pinyin_data.os src/pinyin/pinyin_seg.os src/pinyin/shuangpin_data.os src/pinyin/shuangpin_seg.os src/pinyin/hunpin_seg.os src/ime-core/imi_context.os src/ime-core/imi_data.os src/ime-core/lattice_states.os src/ime-core/imi_view.os src/ime-core/imi_uiobjects.os src/ime-core/imi_view_classic.os src/ime-core/imi_winHandler.os src/ime-core/ic_history.os src/ime-core/imi_funcobjs.os src/ime-core/imi_options.os src/ime-core/imi_option_event.os src/ime-core/userdict.os -lsqlite3 pod2man man/slminfo.pod man/slminfo.1 pod2man man/slmpack.pod man/slmpack.1 pod2man man/slmprune.pod man/slmprune.1 pod2man man/slmseg.pod man/slmseg.1 pod2man man/slmthread.pod man/slmthread.1 pod2man man/tslmendian.pod man/tslmendian.1 pod2man man/tslminfo.pod man/tslminfo.1 g++ -o src/portability.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/portability.cpp g++ -o src/slm/slm.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slm.cpp g++ -o src/slm/tslmendian/writer.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/tslmendian/writer.cpp g++ -o src/lexicon/trie_writer.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/lexicon/trie_writer.cpp g++ -o src/lexicon/genpyt.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/lexicon/genpyt.cpp g++ -o src/lexicon/pytrie.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/lexicon/pytrie.cpp g++ -o src/lexicon/pytrie_gen.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/lexicon/pytrie_gen.cpp g++ -o src/pinyin/pinyin_data.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/pinyin/pinyin_data.cpp g++ -o src/slm/getwordfreq/getwordfreq.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/getwordfreq/getwordfreq.cpp g++ -o src/getwordfreq -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 src/portability.o src/slm/slm.o src/slm/getwordfreq/getwordfreq.o -lsqlite3 g++ -o src/slm/ids2ngram/idngram_merge.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/ids2ngram/idngram_merge.cpp g++ -o src/genpyt -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 src/portability.o src/slm/slm.o src/slm/tslmendian/writer.o src/lexicon/trie_writer.o src/lexicon/genpyt.o src/lexicon/pytrie.o src/lexicon/pytrie_gen.o src/pinyin/pinyin_data.o -lsqlite3 g++ -o src/idngram_merge -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 src/portability.o src/slm/ids2ngram/idngram_merge.o -lsqlite3 g++ -o src/slm/ids2ngram/ids2ngram.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/ids2ngram/ids2ngram.cpp g++ -o src/slm/sim_dict.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/sim_dict.cpp src/slm/ids2ngram/ids2ngram.cpp: In function ‘void ProcessingRead(FILE*, FILE*, std::vector&, size_t) [with int N = 1]’: src/slm/ids2ngram/ids2ngram.cpp:88:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 88 | fread(ids, sizeof(TSIMWordId), N - 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/ids2ngram/ids2ngram.cpp: In function ‘void ProcessingRead(FILE*, FILE*, std::vector&, size_t) [with int N = 2]’: src/slm/ids2ngram/ids2ngram.cpp:88:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] src/slm/ids2ngram/ids2ngram.cpp: In function ‘void ProcessingRead(FILE*, FILE*, std::vector&, size_t) [with int N = 3]’: src/slm/ids2ngram/ids2ngram.cpp:88:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] g++ -o src/slm/sim_sen.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/sim_sen.cpp g++ -o src/slm/mmseg/mmseg.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/mmseg/mmseg.cpp g++ -o src/ids2ngram -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 src/portability.o src/slm/ids2ngram/ids2ngram.o -lsqlite3 g++ -o src/mmseg -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 src/portability.o src/slm/sim_dict.o src/slm/sim_sen.o src/slm/mmseg/mmseg.o -lsqlite3 g++ -o src/slm/sim_slm.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/sim_slm.cpp g++ -o src/slm/slmbuild/sim_slmbuilder.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slmbuild/sim_slmbuilder.cpp src/slm/sim_slm.cpp: In member function ‘bool CSIMSlm::Load(const char*)’: src/slm/sim_slm.cpp:52:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 52 | fread(sz, sizeof(int), N + 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/sim_slm.cpp:56:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 56 | fread(level[lvl], sizeof(TNode), sz[lvl], fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/sim_slm.cpp:59:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 59 | fread(level[lvl], sizeof(TLeaf), sz[lvl], fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o src/slm/slmbuild/slmbuild.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slmbuild/slmbuild.cpp g++ -o src/slm/slminfo/slminfo.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slminfo/slminfo.cpp g++ -o src/slm/slmpack/arpa_slm.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slmpack/arpa_slm.cpp src/slm/slminfo/slminfo.cpp: In function ‘void PrintARPALevel(int, FILE*, TReverseLexicon*, bool)’: src/slm/slminfo/slminfo.cpp:131:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 131 | fread(&N, sizeof(int), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:132:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 132 | fread(&bLogPrFile, sizeof(bLogPrFile), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:138:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 138 | fread(sz, sizeof(int), N + 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:154:18: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 154 | fread(&(nodes[i][0]), sizeof(CSIMSlm::TLeaf), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:155:18: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 155 | fread(&(nodes[i][1]), sizeof(CSIMSlm::TLeaf), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:160:18: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 160 | fread(&(nodes[i][0]), sizeof(CSIMSlm::TNode), 2, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:175:22: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 175 | fread(&(nodes[i][1]), sizeof(CSIMSlm::TNode), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:198:18: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 198 | fread(&(nodes[lvl][1]), sizeof(CSIMSlm::TLeaf), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:202:18: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 202 | fread(&(nodes[lvl][1]), sizeof(CSIMSlm::TNode), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp: In function ‘void PrintARPA(FILE*, const char*, bool)’: src/slm/slminfo/slminfo.cpp:238:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 238 | fread(&N, sizeof(N), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp: In function ‘void PrintSimple(FILE*)’: src/slm/slminfo/slminfo.cpp:251:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 251 | fread(&N, sizeof(N), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:252:10: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 252 | fread(&bLogPrFile, sizeof(bLogPrFile), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/slm/slminfo/slminfo.cpp:256:14: warning: ignoring return value of ‘size_t fread(void*, size_t, size_t, FILE*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 256 | fread(&nItem, sizeof(nItem), 1, fp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -o src/slm/slmpack/slmpack.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slmpack/slmpack.cpp g++ -o src/slm/slmprune/slmprune.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slmprune/slmprune.cpp g++ -o src/slm/slmseg/slmseg.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/slmseg/slmseg.cpp g++ -o src/slm/thread/ValueCompress.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/thread/ValueCompress.cpp g++ -o src/slm/thread/slmthread.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/thread/slmthread.cpp g++ -o src/slm/thread/test_vc.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/thread/test_vc.cpp g++ -o src/slm/tslmendian/slm_endian.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/tslmendian/slm_endian.cpp g++ -o src/slm/tslmendian/slm_file.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/tslmendian/slm_file.cpp g++ -o src/slm/tslminfo/tslminfo.o -c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -pipe -DHAVE_CONFIG_H -DSUNPINYIN_DATA_DIR='"/usr/share/sunpinyin"' -I. -Isrc -Isrc/slm -Isrc/slm/slmpack -Isrc/slm/tslminfo -Isrc/slm/getwordfreq -Isrc/slm/thread -Isrc/slm/slmbuild -Isrc/slm/ids2ngram -Isrc/slm/slmprune -Isrc/slm/slmseg -Isrc/slm/slminfo -Isrc/slm/mmseg -Isrc/slm/tools -Isrc/slm/tslmendian -Isrc/pinyin -Isrc/ime-core -Isrc/lexicon src/slm/tslminfo/tslminfo.cpp g++ -o src/slmbuild -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 src/portability.o src/slm/slmbuild/sim_slmbuilder.o src/slm/slmbuild/slmbuild.o -lsqlite3 g++ -o src/slminfo -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 src/portability.o src/slm/slminfo/slminfo.o -lsqlite3 g++ -o src/slmpack -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 src/portability.o src/slm/sim_slm.o src/slm/slmpack/slmpack.o src/slm/slmpack/arpa_slm.o -lsqlite3 g++ -o src/slmprune -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 src/portability.o src/slm/sim_slm.o src/slm/slmprune/slmprune.o -lsqlite3 g++ -o src/slmseg -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 src/portability.o src/slm/sim_dict.o src/slm/sim_sen.o src/slm/slm.o src/slm/slmseg/slmseg.o -lsqlite3 g++ -o src/slmthread -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 src/portability.o src/slm/sim_slm.o src/slm/thread/ValueCompress.o src/slm/thread/slmthread.o -lsqlite3 Creating 'src/sunpinyin-dictgen.mk' Copy("src/sunpinyin-dictgen", "src/sunpinyin-dictgen.mk") Chmod("src/sunpinyin-dictgen", "0755") g++ -o src/testvc -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 src/slm/thread/ValueCompress.o src/slm/thread/test_vc.o -lsqlite3 g++ -o src/tslmendian -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 src/slm/tslmendian/slm_file.o src/slm/tslmendian/slm_endian.o src/slm/tslmendian/writer.o -lsqlite3 g++ -o src/tslminfo -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 src/portability.o src/slm/slm.o src/slm/tslminfo/tslminfo.o -lsqlite3 Creating 'sunpinyin-2.0.pc' scons: done building targets. ++ pwd + export PATH=/builddir/build/BUILD/sunpinyin-20190805/src:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PATH=/builddir/build/BUILD/sunpinyin-20190805/src:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + pushd raw ~/build/BUILD/sunpinyin-20190805/raw ~/build/BUILD/sunpinyin-20190805 + ln -sf ../doc/SLM-inst.mk Makefile + make -j2 VERBOSE=1 slmpack lm_sc.3gm.arpa dict.utf8 lm_sc.3gm Loading lexicon...done. Loading ARPA slm... Writing out...done! slmthread lm_sc.3gm lm_sc.t3g.orig Loading original slm... first pass... Compressing pr values...65536 float values ==> 65536 values Compressing bow values...16384 float values ==> 16384 values Threading the new model... Writing out...done! tslmendian -e le -i lm_sc.t3g.orig -o lm_sc.t3g genpyt -e le -i dict.utf8 -s lm_sc.t3g.orig \ -l pydict_sc.log -o pydict_sc.bin Opening language model...done! Adding pinyin and corresponding words...converting from little-endian to little-endian ...done. 57449 primitive nodes 79225 total nodes Writing out...done! Printing the lexicon out to log_file...done! + popd ~/build/BUILD/sunpinyin-20190805 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.4s6AzD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 ++ dirname /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd sunpinyin-20190805 + scons -j2 --prefix=/usr --libdir=/usr/lib64 --datadir=/usr/share install --install-sandbox=/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 scons: Reading SConscript files ... Warning: you've set CC in the environmental variable! Warning: you've set CXX in the environmental variable! Warning: you've set CFLAGS in the environmental variable! Warning: you've set CXXFLAGS in the environmental variable! Warning: you've set LDFLAGS in the environmental variable! Checking for pkg-config... (cached) yes Checking for sqlite3... (cached) yes Checking for C header file assert.h... (cached) yes Checking for C function bind_textdomain_codeset()... (cached) yes Checking for C function dcgettext()... (cached) yes Checking for C function exp2()... (cached) no Checking for C header file fcntl.h... (cached) yes Checking for C header file getopt.h... (cached) yes Checking for C function getopt_long()... (cached) yes Checking for C function getpagesize()... (cached) yes Checking for C function get_opt()... (cached) no Checking for C header file iconv.h... (cached) yes Checking for C header file inttypes.h... (cached) yes Checking for C header file locale.h... (cached) yes Checking for C header file libintl.h... (cached) yes Checking for C header file limits.h... (cached) yes Checking for C header file locale.h... (cached) yes Checking for C function log2()... (cached) no Checking for C header file memory.h... (cached) yes Checking for C function memset()... (cached) yes Checking for C function mmap()... (cached) yes Checking for C function munmap()... (cached) yes Checking for C function setlocale()... (cached) yes Checking for C header file sys/mman.h... (cached) yes Checking for C header file sys/param.h... (cached) yes Checking for C header file sys/stat.h... (cached) yes Checking for C header file sys/types.h... (cached) yes Checking for C header file unistd.h... (cached) yes Checking for C header file wchar.h... (cached) yes scons: done reading SConscript files. scons: Building targets ... Install file: "src/mmseg" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/mmseg" Install file: "src/slmseg" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/slmseg" Install file: "src/ids2ngram" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/ids2ngram" Install file: "src/idngram_merge" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/idngram_merge" Install file: "src/slmbuild" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/slmbuild" Install file: "src/slmprune" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/slmprune" Install file: "src/slminfo" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/slminfo" Install file: "src/slmthread" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/slmthread" Install file: "src/tslmendian" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/tslmendian" Install file: "src/tslminfo" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/tslminfo" Install file: "src/slmpack" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/slmpack" Install file: "src/genpyt" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/genpyt" Install file: "src/getwordfreq" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/getwordfreq" Install file: "src/sunpinyin-dictgen" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/bin/sunpinyin-dictgen" Install file: "man/mmseg.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/mmseg.1" Install file: "man/slmseg.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/slmseg.1" Install file: "man/ids2ngram.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/ids2ngram.1" Install file: "man/idngram_merge.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/idngram_merge.1" Install file: "man/slmbuild.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/slmbuild.1" Install file: "man/slmprune.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/slmprune.1" Install file: "man/slminfo.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/slminfo.1" Install file: "man/slmthread.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/slmthread.1" Install file: "man/tslmendian.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/tslmendian.1" Install file: "man/tslminfo.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/tslminfo.1" Install file: "man/slmpack.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/slmpack.1" Install file: "man/genpyt.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/genpyt.1" Install file: "man/getwordfreq.1" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/man/man1/getwordfreq.1" Install file: "doc/README" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/doc/sunpinyin/README" Install file: "doc/SLM-train.mk" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/doc/sunpinyin/SLM-train.mk" Install file: "doc/SLM-inst.mk" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/doc/sunpinyin/SLM-inst.mk" Install file: "src/slm/ids2ngram/idngram.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/ids2ngram/idngram.h" Install file: "src/slm/ids2ngram/idngram_merge.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/ids2ngram/idngram_merge.h" Install file: "src/slm/slm.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/slm.h" Install file: "src/slm/sim_dict.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/sim_dict.h" Install file: "src/slm/sim_sen.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/sim_sen.h" Install file: "src/slm/sim_slm.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/sim_slm.h" Install file: "src/slm/thread/ValueCompress.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/thread/ValueCompress.h" Install file: "src/slm/sim_fmerge.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/sim_fmerge.h" Install file: "src/slm/slmbuild/sim_slmbuilder.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/slmbuild/sim_slmbuilder.h" Install file: "src/slm/slmpack/arpa_slm.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/slmpack/arpa_slm.h" Install file: "src/slm/slmpack/common.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/slmpack/common.h" Install file: "src/slm/tslmendian/slm_file.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/tslmendian/slm_file.h" Install file: "src/slm/tslmendian/writer.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/slm/tslmendian/writer.h" Install file: "src/lexicon/pytrie_gen.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/lexicon/pytrie_gen.h" Install file: "src/lexicon/trie_writer.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/lexicon/trie_writer.h" Install file: "src/lexicon/pytrie.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/lexicon/pytrie.h" Install file: "src/ime-core/imi_view_classic.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_view_classic.h" Install file: "src/ime-core/imi_uiobjects.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_uiobjects.h" Install file: "src/ime-core/lattice_states.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/lattice_states.h" Install file: "src/ime-core/ic_history.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/ic_history.h" Install file: "src/ime-core/imi_funcobjs.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_funcobjs.h" Install file: "src/ime-core/imi_context.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_context.h" Install file: "src/ime-core/imi_winHandler.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_winHandler.h" Install file: "src/ime-core/imi_glibHandler.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_glibHandler.h" Install file: "src/ime-core/userdict.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/userdict.h" Install file: "src/ime-core/imi_option_event.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_option_event.h" Install file: "src/ime-core/imi_data.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_data.h" Install file: "src/ime-core/utils.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/utils.h" Install file: "src/ime-core/imi_keys.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_keys.h" Install file: "src/ime-core/imi_option_keys.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_option_keys.h" Install file: "src/ime-core/imi_options.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_options.h" Install file: "src/ime-core/imi_defines.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_defines.h" Install file: "src/ime-core/imi_view.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/ime-core/imi_view.h" Install file: "src/portability.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/portability.h" Install file: "src/pinyin/segmentor.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/segmentor.h" Install file: "src/pinyin/shuangpin_seg.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/shuangpin_seg.h" Install file: "src/pinyin/datrie.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/datrie.h" Install file: "src/pinyin/quanpin_trie.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/quanpin_trie.h" Install file: "src/pinyin/pinyin_seg.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/pinyin_seg.h" Install file: "src/pinyin/pinyin_data.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/pinyin_data.h" Install file: "src/pinyin/syllable.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/syllable.h" Install file: "src/pinyin/shuangpin_data.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/shuangpin_data.h" Install file: "src/pinyin/hunpin_seg.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/hunpin_seg.h" Install file: "src/pinyin/datrie_impl.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/pinyin/datrie_impl.h" Install file: "src/sunpinyin.h" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/include/sunpinyin-2.0/sunpinyin.h" Install file: "libsunpinyin.so.3.0" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/lib64/libsunpinyin.so.3.0" cd /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/lib64 && ln -s libsunpinyin.so.3.0 libsunpinyin.so.3 cd /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/lib64 && ln -s libsunpinyin.so.3.0 libsunpinyin.so Install file: "sunpinyin-2.0.pc" as "/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/lib64/pkgconfig/sunpinyin-2.0.pc" scons: done building targets. + pushd raw ~/build/BUILD/sunpinyin-20190805/raw ~/build/BUILD/sunpinyin-20190805 + make install DESTDIR=/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 'INSTALL=install -p' install -d /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/sunpinyin install -Dm644 lm_sc.t3g pydict_sc.bin /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/sunpinyin + popd ~/build/BUILD/sunpinyin-20190805 + install -m0644 AUTHORS TODO /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/doc/sunpinyin + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.rm2whS + umask 022 + cd /builddir/build/BUILD + cd sunpinyin-20190805 + LICENSEDIR=/builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/licenses/sunpinyin + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/licenses/sunpinyin + cp -pr COPYING /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/licenses/sunpinyin + cp -pr LGPL.LICENSE OPENSOLARIS.LICENSE /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64/usr/share/licenses/sunpinyin + RPM_EC=0 ++ jobs -p + exit 0 Provides: libsunpinyin.so.3()(64bit) sunpinyin = 3.0.0-0.8.20190805git.fc38 sunpinyin(x86-64) = 3.0.0-0.8.20190805git.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.29)(64bit) libsqlite3.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Processing files: sunpinyin-devel-3.0.0-0.8.20190805git.fc38.x86_64 Provides: pkgconfig(sunpinyin-2.0) = 2.0.4 sunpinyin-devel = 3.0.0-0.8.20190805git.fc38 sunpinyin-devel(x86-64) = 3.0.0-0.8.20190805git.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libsunpinyin.so.3()(64bit) pkgconfig(sqlite3) Processing files: sunpinyin-data-3.0.0-0.8.20190805git.fc38.x86_64 Provides: sunpinyin-data = 3.0.0-0.8.20190805git.fc38 sunpinyin-data(x86-64) = 3.0.0-0.8.20190805git.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/make libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(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.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) rtld(GNU_HASH) Obsoletes: sunpinyin-data-be sunpinyin-data-le Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 Wrote: /builddir/build/RPMS/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/sunpinyin-devel-3.0.0-0.8.20190805git.fc38.x86_64.rpm Wrote: /builddir/build/RPMS/sunpinyin-data-3.0.0-0.8.20190805git.fc38.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.a4h7Qz + umask 022 + cd /builddir/build/BUILD + cd sunpinyin-20190805 + /usr/bin/rm -rf /builddir/build/BUILDROOT/sunpinyin-3.0.0-0.8.20190805git.fc38.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.af1BV9 + umask 022 + cd /builddir/build/BUILD + rm -rf sunpinyin-20190805 sunpinyin-20190805.gemspec + RPM_EC=0 RPM build warnings: ++ jobs -p + exit 0 line 44: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-le line 45: It's not recommended to have unversioned Obsoletes: Obsoletes: sunpinyin-data-be Child return code was: 0