Task #52283 - stdout.log

back to task #52283
download
COMMAND: koji -p koji download-build --noprogress --arch=src libpinyin-2.10.1-1.fc43
-------------------------------------------------------------------------------
Downloading [1/1]: libpinyin-2.10.1-1.fc43.src.rpm
COMMAND: su - csmock --session-command 'cd /tmp/tmpubly9zdn && csmock -r fedora-rawhide-x86_64 -t unicontrol,cppcheck,gcc,clippy,shellcheck -o /tmp/tmpubly9zdn/libpinyin-2.10.1-1.fc43.tar.xz --gcc-analyze --unicontrol-notests --unicontrol-bidi-only --install pam --gcc-analyzer-bin=/usr/bin/gcc /tmp/tmpubly9zdn/libpinyin-2.10.1-1.fc43.src.rpm'
-------------------------------------------------------------------------------
scan.ini: [scan]
scan.ini: tool = csmock
scan.ini: tool-version = csmock-3.8.1.20250422.172604.g26bc3d6-1.el9
scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmpubly9zdn/libpinyin-2.10.1-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmpubly9zdn/libpinyin-2.10.1-1.fc43.src.rpm'
scan.ini: host = ip-172-16-1-141.us-west-2.compute.internal
scan.ini: store-results-to = /tmp/tmpubly9zdn/libpinyin-2.10.1-1.fc43.tar.xz
scan.ini: time-created = 2025-04-25 14:06:12
scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol
scan.ini: mock-config = fedora-rawhide-x86_64
scan.ini: project-name = libpinyin-2.10.1-1.fc43
scan.ini: known-false-positives = /usr/share/csmock/known-false-positives.js
scan.ini: known-false-positives-rpm = known-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
>>> 2025-04-25 14:06:12	rpm -qa | sort -V > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/rpm-list-host.txt'

scan.ini: analyzer-version-unicontrol = 0.0.2
>>> 2025-04-25 14:06:13	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init"
INFO: mock.py version 6.1 starting (python version = 3.9.21, NVR = mock-6.1-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Start: clean chroot
Finish: clean chroot
Mock Version: 6.1
INFO: Mock Version: 6.1
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
Start: unpacking root cache
Finish: unpacking root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
Finish: run

>>> 2025-04-25 14:06:14	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1742774400
Wrote: /builddir/build/SRPMS/libpinyin-2.10.1-1.fc43.src.rpm
Updating and loading repositories:
 fedora                                 100% |   1.1 MiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package                Arch   Version              Repository      Size
Installing:
 gcc-c++               x86_64 15.0.1-0.14.fc43     fedora      41.3 MiB
 glib2-devel           x86_64 2.84.1-1.fc43        fedora      15.8 MiB
 kyotocabinet-devel    x86_64 1.2.80-7.fc42        fedora     984.9 KiB
 make                  x86_64 1:4.4.1-10.fc42      fedora       1.8 MiB
Installing dependencies:
 annobin-docs          noarch 12.93-1.fc43         fedora      98.9 KiB
 annobin-plugin-gcc    x86_64 12.93-1.fc43         fedora     993.4 KiB
 cmake-filesystem      x86_64 3.31.6-2.fc43        fedora       0.0   B
 cpp                   x86_64 15.0.1-0.14.fc43     fedora      37.8 MiB
 expat                 x86_64 2.7.1-1.fc43         fedora     294.2 KiB
 gcc                   x86_64 15.0.1-0.14.fc43     fedora     111.0 MiB
 gcc-plugin-annobin    x86_64 15.0.1-0.14.fc43     fedora      57.2 KiB
 glib2                 x86_64 2.84.1-1.fc43        fedora      14.7 MiB
 glibc-devel           x86_64 2.41.9000-10.fc43    fedora       2.3 MiB
 kernel-headers        x86_64 6.15.0-0.rc2.22.fc43 fedora       6.6 MiB
 kyotocabinet-libs     x86_64 1.2.80-7.fc42        fedora     989.8 KiB
 libb2                 x86_64 0.98.1-13.fc42       fedora      46.1 KiB
 libblkid-devel        x86_64 2.40.4-7.fc43        fedora      44.9 KiB
 libffi-devel          x86_64 3.4.7-4.fc43         fedora      33.1 KiB
 libmount-devel        x86_64 2.40.4-7.fc43        fedora      63.5 KiB
 libmpc                x86_64 1.3.1-7.fc42         fedora     164.5 KiB
 libselinux-devel      x86_64 3.8-1.fc42           fedora     126.8 KiB
 libsepol-devel        x86_64 3.8-1.fc42           fedora     120.8 KiB
 libstdc++-devel       x86_64 15.0.1-0.14.fc43     fedora      16.1 MiB
 libxcrypt-devel       x86_64 4.4.38-7.fc43        fedora      30.8 KiB
 lzo                   x86_64 2.10-14.fc42         fedora     170.9 KiB
 mpdecimal             x86_64 4.0.0-2.fc43         fedora     216.8 KiB
 pcre2-devel           x86_64 10.45-1.fc43         fedora       2.1 MiB
 pcre2-utf16           x86_64 10.45-1.fc43         fedora     626.3 KiB
 pcre2-utf32           x86_64 10.45-1.fc43         fedora     598.2 KiB
 python-pip-wheel      noarch 25.0.1-3.fc43        fedora       1.3 MiB
 python3               x86_64 3.13.3-2.fc43        fedora      28.7 KiB
 python3-libs          x86_64 3.13.3-2.fc43        fedora      39.9 MiB
 python3-packaging     noarch 24.2-3.fc42          fedora     555.7 KiB
 sysprof-capture-devel x86_64 48.0-1.fc43          fedora     273.8 KiB
 tzdata                noarch 2025b-1.fc43         fedora       1.6 MiB
 zlib-ng-compat-devel  x86_64 2.2.4-2.fc43         fedora     107.0 KiB

Transaction Summary:
 Installing:        36 packages

Total size of inbound packages is 92 MiB. Need to download 0 B.
After this operation, 299 MiB extra will be used (install 299 MiB, remove 0 B).
[ 1/36] make-1:4.4.1-10.fc42.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 2/36] gcc-c++-0:15.0.1-0.14.fc43.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 3/36] glib2-devel-0:2.84.1-1.fc43.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 4/36] kyotocabinet-devel-0:1.2.80-7.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 5/36] gcc-0:15.0.1-0.14.fc43.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 6/36] libmpc-0:1.3.1-7.fc42.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 7/36] glib2-0:2.84.1-1.fc43.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 8/36] python3-packaging-0:24.2-3.fc42 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 9/36] kyotocabinet-libs-0:1.2.80-7.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[10/36] cpp-0:15.0.1-0.14.fc43.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[11/36] lzo-0:2.10-14.fc42.x86_64       100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[12/36] python3-0:3.13.3-2.fc43.x86_64  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[13/36] python3-libs-0:3.13.3-2.fc43.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[14/36] expat-0:2.7.1-1.fc43.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[15/36] libb2-0:0.98.1-13.fc42.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[16/36] mpdecimal-0:4.0.0-2.fc43.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[17/36] python-pip-wheel-0:25.0.1-3.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[18/36] tzdata-0:2025b-1.fc43.noarch    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[19/36] libffi-devel-0:3.4.7-4.fc43.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[20/36] libmount-devel-0:2.40.4-7.fc43. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[21/36] libselinux-devel-0:3.8-1.fc42.x 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[22/36] libsepol-devel-0:3.8-1.fc42.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[23/36] pcre2-devel-0:10.45-1.fc43.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[24/36] pcre2-utf16-0:10.45-1.fc43.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[25/36] pcre2-utf32-0:10.45-1.fc43.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[26/36] sysprof-capture-devel-0:48.0-1. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[27/36] zlib-ng-compat-devel-0:2.2.4-2. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[28/36] cmake-filesystem-0:3.31.6-2.fc4 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[29/36] libstdc++-devel-0:15.0.1-0.14.f 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[30/36] glibc-devel-0:2.41.9000-10.fc43 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[31/36] libxcrypt-devel-0:4.4.38-7.fc43 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[32/36] libblkid-devel-0:2.40.4-7.fc43. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[33/36] kernel-headers-0:6.15.0-0.rc2.2 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[34/36] annobin-plugin-gcc-0:12.93-1.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[35/36] gcc-plugin-annobin-0:15.0.1-0.1 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[36/36] annobin-docs-0:12.93-1.fc43.noa 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[36/36] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/38] Verify package files            100% | 223.0   B/s |  36.0   B |  00m00s
[ 2/38] Prepare transaction             100% | 666.0   B/s |  36.0   B |  00m00s
[ 3/38] Installing libmpc-0:1.3.1-7.fc4 100% |  20.3 MiB/s | 166.1 KiB |  00m00s
[ 4/38] Installing cpp-0:15.0.1-0.14.fc 100% | 259.2 MiB/s |  37.8 MiB |  00m00s
[ 5/38] Installing annobin-docs-0:12.93 100% |  16.3 MiB/s | 100.0 KiB |  00m00s
[ 6/38] Installing kernel-headers-0:6.1 100% | 101.9 MiB/s |   6.7 MiB |  00m00s
[ 7/38] Installing glibc-devel-0:2.41.9 100% |  78.0 MiB/s |   2.3 MiB |  00m00s
[ 8/38] Installing libxcrypt-devel-0:4. 100% |   6.5 MiB/s |  33.1 KiB |  00m00s
[ 9/38] Installing libblkid-devel-0:2.4 100% |   7.5 MiB/s |  46.0 KiB |  00m00s
[10/38] Installing libstdc++-devel-0:15 100% | 219.0 MiB/s |  16.2 MiB |  00m00s
[11/38] Installing cmake-filesystem-0:3 100% |   1.1 MiB/s |   7.6 KiB |  00m00s
[12/38] Installing zlib-ng-compat-devel 100% |  21.2 MiB/s | 108.5 KiB |  00m00s
[13/38] Installing sysprof-capture-deve 100% |  54.0 MiB/s | 276.7 KiB |  00m00s
[14/38] Installing pcre2-utf32-0:10.45- 100% |  97.5 MiB/s | 599.1 KiB |  00m00s
[15/38] Installing pcre2-utf16-0:10.45- 100% | 102.1 MiB/s | 627.2 KiB |  00m00s
[16/38] Installing pcre2-devel-0:10.45- 100% |  65.4 MiB/s |   2.1 MiB |  00m00s
[17/38] Installing libsepol-devel-0:3.8 100% |  15.7 MiB/s | 128.3 KiB |  00m00s
[18/38] Installing libselinux-devel-0:3 100% |  11.3 MiB/s | 161.6 KiB |  00m00s
[19/38] Installing libmount-devel-0:2.4 100% |  15.8 MiB/s |  64.5 KiB |  00m00s
[20/38] Installing libffi-devel-0:3.4.7 100% |   3.8 MiB/s |  34.8 KiB |  00m00s
[21/38] Installing tzdata-0:2025b-1.fc4 100% |  28.7 MiB/s |   1.9 MiB |  00m00s
[22/38] Installing python-pip-wheel-0:2 100% | 210.4 MiB/s |   1.3 MiB |  00m00s
[23/38] Installing mpdecimal-0:4.0.0-2. 100% |  42.6 MiB/s | 218.4 KiB |  00m00s
[24/38] Installing libb2-0:0.98.1-13.fc 100% |  11.5 MiB/s |  47.2 KiB |  00m00s
[25/38] Installing expat-0:2.7.1-1.fc43 100% |  11.1 MiB/s | 296.3 KiB |  00m00s
[26/38] Installing python3-libs-0:3.13. 100% | 206.6 MiB/s |  40.3 MiB |  00m00s
[27/38] Installing python3-0:3.13.3-2.f 100% |   1.6 MiB/s |  30.5 KiB |  00m00s
[28/38] Installing python3-packaging-0: 100% |  61.6 MiB/s | 568.0 KiB |  00m00s
[29/38] Installing lzo-0:2.10-14.fc42.x 100% |  33.7 MiB/s | 172.5 KiB |  00m00s
[30/38] Installing kyotocabinet-libs-0: 100% | 107.6 MiB/s | 991.5 KiB |  00m00s
[31/38] Installing glib2-0:2.84.1-1.fc4 100% | 213.1 MiB/s |  14.7 MiB |  00m00s
[32/38] Installing make-1:4.4.1-10.fc42 100% |  62.1 MiB/s |   1.8 MiB |  00m00s
[33/38] Installing gcc-0:15.0.1-0.14.fc 100% | 308.5 MiB/s | 111.0 MiB |  00m00s
[34/38] Installing gcc-c++-0:15.0.1-0.1 100% | 253.3 MiB/s |  41.3 MiB |  00m00s
[35/38] Installing annobin-plugin-gcc-0 100% |  54.0 MiB/s | 995.0 KiB |  00m00s
[36/38] Installing gcc-plugin-annobin-0 100% |   3.0 MiB/s |  58.6 KiB |  00m00s
[37/38] Installing glib2-devel-0:2.84.1 100% | 230.5 MiB/s |  15.9 MiB |  00m00s
[38/38] Installing kyotocabinet-devel-0 100% | 278.5 KiB/s | 987.9 KiB |  00m04s
Complete!

>>> 2025-04-25 14:06:24	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
 fedora                                 100% |   1.1 MiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package "tar-2:1.35-5.fc42.x86_64" is already installed.
Package "gcc-15.0.1-0.14.fc43.x86_64" is already installed.

Package          Arch   Version            Repository      Size
Installing:
 ShellCheck      x86_64 0.10.0-5.fc43      fedora      21.7 MiB
 cppcheck        x86_64 2.17.1-1.fc43      fedora      10.7 MiB
 pam             x86_64 1.7.0-4.fc42       fedora       1.6 MiB
Installing dependencies:
 authselect      x86_64 1.5.1-1.fc43       fedora     153.9 KiB
 authselect-libs x86_64 1.5.1-1.fc43       fedora     825.0 KiB
 cracklib        x86_64 2.9.11-7.fc42      fedora     242.4 KiB
 gdbm            x86_64 1:1.23-9.fc42      fedora     460.3 KiB
 libnsl2         x86_64 2.0.1-3.fc42       fedora      57.9 KiB
 libpwquality    x86_64 1.4.5-12.fc42      fedora     409.3 KiB
 libtirpc        x86_64 1.3.6-1.rc3.fc42.2 fedora     199.0 KiB
 pcre            x86_64 8.45-1.fc42.8      fedora     537.6 KiB
 tinyxml2        x86_64 10.0.0-2.fc42      fedora     103.8 KiB

Transaction Summary:
 Installing:        12 packages

Total size of inbound packages is 8 MiB. Need to download 0 B.
After this operation, 37 MiB extra will be used (install 37 MiB, remove 0 B).
[ 1/12] cppcheck-0:2.17.1-1.fc43.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 2/12] ShellCheck-0:0.10.0-5.fc43.x86_ 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 3/12] pam-0:1.7.0-4.fc42.x86_64       100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 4/12] pcre-0:8.45-1.fc42.8.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 5/12] tinyxml2-0:10.0.0-2.fc42.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 6/12] authselect-0:1.5.1-1.fc43.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 7/12] libnsl2-0:2.0.1-3.fc42.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 8/12] libpwquality-0:1.4.5-12.fc42.x8 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 9/12] libtirpc-0:1.3.6-1.rc3.fc42.2.x 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[10/12] authselect-libs-0:1.5.1-1.fc43. 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[11/12] cracklib-0:2.9.11-7.fc42.x86_64 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[12/12] gdbm-1:1.23-9.fc42.x86_64       100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[12/12] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/14] Verify package files            100% | 857.0   B/s |  12.0   B |  00m00s
[ 2/14] Prepare transaction             100% | 521.0   B/s |  12.0   B |  00m00s
[ 3/14] Installing libtirpc-0:1.3.6-1.r 100% |  24.5 MiB/s | 200.7 KiB |  00m00s
[ 4/14] Installing libnsl2-0:2.0.1-3.fc 100% |  14.4 MiB/s |  59.0 KiB |  00m00s
[ 5/14] Installing gdbm-1:1.23-9.fc42.x 100% |  18.9 MiB/s | 465.2 KiB |  00m00s
[ 6/14] Installing cracklib-0:2.9.11-7. 100% |   9.9 MiB/s | 253.7 KiB |  00m00s
[ 7/14] Installing libpwquality-0:1.4.5 100% |  15.8 MiB/s | 421.6 KiB |  00m00s
[ 8/14] Installing authselect-libs-0:1. 100% |  63.1 MiB/s | 840.0 KiB |  00m00s
[ 9/14] Installing tinyxml2-0:10.0.0-2. 100% |  20.5 MiB/s | 104.9 KiB |  00m00s
[10/14] Installing pcre-0:8.45-1.fc42.8 100% |  75.3 MiB/s | 539.9 KiB |  00m00s
[11/14] Installing cppcheck-0:2.17.1-1. 100% | 202.3 MiB/s |  10.7 MiB |  00m00s
[12/14] Installing authselect-0:1.5.1-1 100% |   5.9 MiB/s | 158.2 KiB |  00m00s
[13/14] Installing pam-0:1.7.0-4.fc42.x 100% |  41.3 MiB/s |   1.7 MiB |  00m00s
[14/14] Installing ShellCheck-0:0.10.0- 100% | 153.1 MiB/s |  21.7 MiB |  00m00s
Complete!

>>> 2025-04-25 14:06:26	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/rpm-list-mock.txt

>>> 2025-04-25 14:06:28	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockcru5u02v/rpm-list-mock-provides.txt

>>> 2025-04-25 14:06:29	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43.src.rpm" "/builddir/libpinyin-2.10.1-1.fc43.src.rpm"

>>> 2025-04-25 14:06:30	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir"

>>> 2025-04-25 14:06:31	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/libpinyin-2.10.1-1.fc43.src.rpm'\""
Updating / installing...
libpinyin-2.10.1-1.fc43               ########################################

>>> 2025-04-25 14:06:32	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/libpinyin.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' && sh -c 'cd /builddir/build/SRPMS && eval mv -v *.src.rpm /builddir/libpinyin-2.10.1-1.fc43.src.rpm || :'\""
setting SOURCE_DATE_EPOCH=1742774400
Wrote: /builddir/build/SRPMS/libpinyin-2.10.1-1.fc43.src.rpm
renamed 'libpinyin-2.10.1-1.fc43.src.rpm' -> '/builddir/libpinyin-2.10.1-1.fc43.src.rpm'

>>> 2025-04-25 14:06:34	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/libpinyin-2.10.1-1.fc43.src.rpm" "/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43.src.rpm"

>>> 2025-04-25 14:06:35	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43.src.rpm"
Building target platforms: x86_64
Building for target x86_64
setting SOURCE_DATE_EPOCH=1742774400
Wrote: /builddir/build/SRPMS/libpinyin-2.10.1-1.fc43.src.rpm
Updating and loading repositories:
 fedora                                 100% | 982.1 KiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package "gcc-c++-15.0.1-0.14.fc43.x86_64" is already installed.
Package "glib2-devel-2.84.1-1.fc43.x86_64" is already installed.
Package "kyotocabinet-devel-1.2.80-7.fc42.x86_64" is already installed.
Package "make-1:4.4.1-10.fc42.x86_64" is already installed.

Nothing to do.

>>> 2025-04-25 14:06:39	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "pam" "cppcheck" "gcc" "ShellCheck"
Updating and loading repositories:
 fedora                                 100% |   1.0 MiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package "tar-2:1.35-5.fc42.x86_64" is already installed.
Package "pam-1.7.0-4.fc42.x86_64" is already installed.
Package "cppcheck-2.17.1-1.fc43.x86_64" is already installed.
Package "gcc-15.0.1-0.14.fc43.x86_64" is already installed.
Package "ShellCheck-0.10.0-5.fc43.x86_64" is already installed.

Nothing to do.

>>> 2025-04-25 14:06:41	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/rpm-list-mock.txt

>>> 2025-04-25 14:06:42	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockcru5u02v/rpm-list-mock-provides.txt

>>> 2025-04-25 14:06:43	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff"
Updating and loading repositories:
 fedora                                 100% |   1.1 MiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package                Arch   Version        Repository      Size
Installing:
 csdiff                x86_64 3.5.4-1.fc43   fedora       3.9 MiB
Installing dependencies:
 boost-atomic          x86_64 1.83.0-12.fc42 fedora      20.9 KiB
 boost-filesystem      x86_64 1.83.0-12.fc42 fedora     143.6 KiB
 boost-program-options x86_64 1.83.0-12.fc42 fedora     276.7 KiB
 boost-system          x86_64 1.83.0-12.fc42 fedora      12.2 KiB

Transaction Summary:
 Installing:         5 packages

Total size of inbound packages is 1 MiB. Need to download 0 B.
After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B).
[1/5] csdiff-0:3.5.4-1.fc43.x86_64      100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[2/5] boost-filesystem-0:1.83.0-12.fc42 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[3/5] boost-program-options-0:1.83.0-12 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[4/5] boost-atomic-0:1.83.0-12.fc42.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[5/5] boost-system-0:1.83.0-12.fc42.x86 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[5/5] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[1/7] Verify package files              100% |   2.4 KiB/s |   5.0   B |  00m00s
[2/7] Prepare transaction               100% | 263.0   B/s |   5.0   B |  00m00s
[3/7] Installing boost-system-0:1.83.0- 100% |   4.3 MiB/s |  13.2 KiB |  00m00s
[4/7] Installing boost-atomic-0:1.83.0- 100% |  10.7 MiB/s |  21.9 KiB |  00m00s
[5/7] Installing boost-filesystem-0:1.8 100% |  47.1 MiB/s | 144.6 KiB |  00m00s
[6/7] Installing boost-program-options- 100% |  90.4 MiB/s | 277.8 KiB |  00m00s
[7/7] Installing csdiff-0:3.5.4-1.fc43. 100% |  52.1 MiB/s |   3.9 MiB |  00m00s
Complete!

>>> 2025-04-25 14:06:45	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy"
Updating and loading repositories:
 fedora                                 100% |   1.1 MiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package          Arch   Version                 Repository      Size
Installing:
 clippy          x86_64 1.86.0-1.fc43           fedora      11.7 MiB
Installing dependencies:
 cargo           x86_64 1.86.0-1.fc43           fedora      20.3 MiB
 libedit         x86_64 3.1-55.20250104cvs.fc42 fedora     244.1 KiB
 libgit2         x86_64 1.9.0-4.fc42            fedora       1.3 MiB
 libssh2         x86_64 1.11.1-3.fc42           fedora     322.7 KiB
 llhttp          x86_64 9.2.1-5.fc42            fedora      76.5 KiB
 llvm-filesystem x86_64 20.1.3-1.fc43           fedora       0.0   B
 llvm-libs       x86_64 20.1.3-1.fc43           fedora     137.0 MiB
 rust            x86_64 1.86.0-1.fc43           fedora      85.0 MiB
 rust-std-static x86_64 1.86.0-1.fc43           fedora     151.1 MiB

Transaction Summary:
 Installing:        10 packages

Total size of inbound packages is 110 MiB. Need to download 0 B.
After this operation, 407 MiB extra will be used (install 407 MiB, remove 0 B).
[ 1/10] clippy-0:1.86.0-1.fc43.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 2/10] cargo-0:1.86.0-1.fc43.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 3/10] rust-0:1.86.0-1.fc43.x86_64     100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 4/10] libgit2-0:1.9.0-4.fc42.x86_64   100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 5/10] libssh2-0:1.11.1-3.fc42.x86_64  100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 6/10] llvm-libs-0:20.1.3-1.fc43.x86_6 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 7/10] rust-std-static-0:1.86.0-1.fc43 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 8/10] llhttp-0:9.2.1-5.fc42.x86_64    100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[ 9/10] libedit-0:3.1-55.20250104cvs.fc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
[10/10] llvm-filesystem-0:20.1.3-1.fc43 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[10/10] Total                           100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[ 1/12] Verify package files            100% |  52.0   B/s |  10.0   B |  00m00s
[ 2/12] Prepare transaction             100% | 454.0   B/s |  10.0   B |  00m00s
[ 3/12] Installing libssh2-0:1.11.1-3.f 100% |  63.4 MiB/s | 324.4 KiB |  00m00s
[ 4/12] Installing llvm-filesystem-0:20 100% | 529.3 KiB/s |   1.1 KiB |  00m00s
[ 5/12] Installing libedit-0:3.1-55.202 100% |  80.0 MiB/s | 245.8 KiB |  00m00s
[ 6/12] Installing llvm-libs-0:20.1.3-1 100% | 350.5 MiB/s | 137.1 MiB |  00m00s
[ 7/12] Installing rust-0:1.86.0-1.fc43 100% | 299.4 MiB/s |  85.0 MiB |  00m00s
[ 8/12] Installing rust-std-static-0:1. 100% | 390.5 MiB/s | 151.1 MiB |  00m00s
[ 9/12] Installing llhttp-0:9.2.1-5.fc4 100% |  37.9 MiB/s |  77.7 KiB |  00m00s
[10/12] Installing libgit2-0:1.9.0-4.fc 100% | 189.6 MiB/s |   1.3 MiB |  00m00s
[11/12] Installing cargo-0:1.86.0-1.fc4 100% | 248.1 MiB/s |  20.3 MiB |  00m00s
[12/12] Installing clippy-0:1.86.0-1.fc 100% |   4.9 MiB/s |  11.7 MiB |  00m02s
Complete!

>>> 2025-04-25 14:06:51	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic"
Updating and loading repositories:
 fedora                                 100% |   1.0 MiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package        Arch   Version        Repository      Size
Installing:
 python3-magic noarch 0.4.27-11.fc43 fedora      67.4 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 31 KiB. Need to download 0 B.
After this operation, 67 KiB extra will be used (install 67 KiB, remove 0 B).
[1/1] python3-magic-0:0.4.27-11.fc43.no 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[1/1] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[1/3] Verify package files              100% |   0.0   B/s |   1.0   B |  00m00s
[2/3] Prepare transaction               100% | 166.0   B/s |   1.0   B |  00m00s
[3/3] Installing python3-magic-0:0.4.27 100% |   2.9 MiB/s |  71.3 KiB |  00m00s
Complete!

>>> 2025-04-25 14:06:53	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six"
Updating and loading repositories:
 fedora                                 100% |   1.0 MiB/s |  29.5 KiB |  00m00s
Repositories loaded.
Package      Arch   Version       Repository      Size
Installing:
 python3-six noarch 1.17.0-2.fc42 fedora     116.9 KiB

Transaction Summary:
 Installing:         1 package

Total size of inbound packages is 41 KiB. Need to download 0 B.
After this operation, 117 KiB extra will be used (install 117 KiB, remove 0 B).
[1/1] python3-six-0:1.17.0-2.fc42.noarc 100% |   0.0   B/s |   0.0   B |  00m00s
>>> Already downloaded                                                          
--------------------------------------------------------------------------------
[1/1] Total                             100% |   0.0   B/s |   0.0   B |  00m00s
Running transaction
[1/3] Verify package files              100% |   0.0   B/s |   1.0   B |  00m00s
[2/3] Prepare transaction               100% | 200.0   B/s |   1.0   B |  00m00s
[3/3] Installing python3-six-0:1.17.0-2 100% |   3.6 MiB/s | 119.0 KiB |  00m00s
Complete!

>>> 2025-04-25 14:06:55	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/rpm-list-mock.txt

>>> 2025-04-25 14:06:56	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockcru5u02v/rpm-list-mock-provides.txt

>>> 2025-04-25 14:06:57	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir"

>>> 2025-04-25 14:06:58	tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'
tar: Removing leading `/' from member names

scan.ini: analyzer-version-clippy = 1.86.0
>>> 2025-04-25 14:06:59	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh"
renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original'

scan.ini: analyzer-version-cppcheck = 2.17.1
scan.ini: analyzer-version-gcc = 15.0.1
>>> 2025-04-25 14:07:02	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\""

>>> 2025-04-25 14:07:03	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /usr/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\""

>>> 2025-04-25 14:07:04	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "echo '#!/bin/bash
fn=\$(flock /builddir/gcc-results mktemp \"/builddir/gcc-results/\$\$-XXXX.sarif\")
exec /usr/bin/gcc \"\$@\" -fdiagnostics-set-output=\"sarif:file=\$fn\"
' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper"

>>> 2025-04-25 14:07:05	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper"

scan.ini: analyzer-version-gcc-analyzer = 15.0.1
scan.ini: analyzer-version-shellcheck = 0.10.0
>>> 2025-04-25 14:07:08	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"mkdir -pv '/builddir/gcc-results' && touch '/builddir/gcc-results/empty.sarif'\""
mkdir: created directory '/builddir/gcc-results'

>>> 2025-04-25 14:07:09	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43.src.rpm'"
Updating / installing...
libpinyin-2.10.1-1.fc43               ########################################

>>> 2025-04-25 14:07:10	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir"

>>> 2025-04-25 14:07:11	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done"
RUN: /usr/share/csmock/scripts/chroot-fixups/00-pre-usr-move-shells.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh
+ /usr/bin/gio-querymodules-64 /usr/lib64/gio/modules
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
No schema files found: doing nothing.
RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh
+ sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs
'/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true'
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh
RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh

>>> 2025-04-25 14:07:12	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/libpinyin.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\""
INFO: mock.py version 6.1 starting (python version = 3.9.21, NVR = mock-6.1-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libpinyin.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.1
INFO: Mock Version: 6.1
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Start: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
setting SOURCE_DATE_EPOCH=1742774400
Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.CWjA6x
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.espZyi
+ umask 022
+ cd /builddir/build/BUILD/libpinyin-2.10.1-build
+ cd /builddir/build/BUILD/libpinyin-2.10.1-build
+ rm -rf libpinyin-2.10.1
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libpinyin-2.10.1.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libpinyin-2.10.1
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"']
Finish: run

>>> 2025-04-25 14:07:14	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build"

>>> 2025-04-25 14:07:15	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.1 starting (python version = 3.9.21, NVR = mock-6.1-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.1
INFO: Mock Version: 6.1
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1742774400
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.COHGjP
+ umask 022
+ cd /builddir/build/BUILD/libpinyin-2.10.1-build
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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
+ for file in $(find . -type f -name configure -print)
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure
+ diff -u ./configure.backup ./configure
+ mv ./configure.backup ./configure
+ /usr/bin/sed -r --in-place=.backup '/lt_cv_sys_global_symbol_to_cdecl=/s#(".*"|'\''.*'\'')#"sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure
+ diff -u ./configure.backup ./configure
--- ./configure.backup	2025-03-24 02:42:45.000000000 +0000
+++ ./configure	2025-04-25 14:07:16.867361630 +0000
@@ -9269,7 +9269,7 @@
 # Transform an extracted symbol line into a proper C declaration.
 # Some systems (esp. on ia64) link data and code symbols differently,
 # so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"\
 $lt_cdecl_hook\
 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -20827,7 +20827,7 @@
 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
-lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
+ '[' 1 = 1 ']'
+++ dirname ./configure
++ find . -name config.guess -o -name config.sub
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./config.guess
++ basename ./config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess
'/usr/lib/rpm/redhat/config.guess' -> './config.guess'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./config.sub
++ basename ./config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ '[' 1 = 1 ']'
+ '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' ']'
++ 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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors"~' ./ltmain.sh
++ grep -q runstatedir=DIR ./configure
++ echo --runstatedir=/run
+ ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --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 x86_64-redhat-linux-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... x86_64-redhat-linux-gnu
checking host system type... x86_64-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 x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-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 x86_64-redhat-linux-file... no
checking for file... file
checking for x86_64-redhat-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-redhat-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-redhat-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for x86_64-redhat-linux-strip... no
checking for strip... strip
checking for x86_64-redhat-linux-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 x86_64-redhat-linux-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking for dlfcn.h... yes
checking for objdir... .libs
checking if 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 -m elf_x86_64) 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 -m elf_x86_64
checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) 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 -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-redhat-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for glib-2.0 >= 2.4.0... 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 or later... 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.10.1
    Install prefix              /usr
    DBM                         KyotoCabinet
    Enable libzhuyin            yes

+ /usr/bin/make -O -j8 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.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o phrase_large_table3.o phrase_large_table3.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o phrase_index.o phrase_index.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/phrase_index.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o ngram.o ngram.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/ngram.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o tag_utility.o tag_utility.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/tag_utility.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o table_info.o table_info.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/table_info.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o phrase_large_table2.o phrase_large_table2.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o chewing_large_table2.o chewing_large_table2.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/chewing_large_table2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o punct_table.o punct_table.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o phonetic_key_matrix.o phonetic_key_matrix.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/phonetic_key_matrix.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o zhuyin_parser2.o zhuyin_parser2.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/zhuyin_parser2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o chewing_large_table.o chewing_large_table.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/chewing_large_table.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o pinyin_parser2.o pinyin_parser2.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:359: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:360: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:365: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o ngram_kyotodb.o ngram_kyotodb.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/ngram_kyotodb.cpp:26: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/kyotodb_utils.h:50:21: warning: ‘pinyin::empty_vbuf’ defined but not used [-Wunused-variable] <--[g++]
   50 | static const char * empty_vbuf = (char *)UINTPTR_MAX;
      |                     ^~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/phrase_large_table3_kyotodb.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o punct_table_kyotodb.o punct_table_kyotodb.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/punct_table_kyotodb.cpp:24: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/kyotodb_utils.h:50:21: warning: ‘pinyin::empty_vbuf’ defined but not used [-Wunused-variable] <--[g++]
   50 | static const char * empty_vbuf = (char *)UINTPTR_MAX;
      |                     ^~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/chewing_large_table2_kyotodb.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 punct_table.o  ngram_kyotodb.o phrase_large_table3_kyotodb.o chewing_large_table2_kyotodb.o punct_table_kyotodb.o 
ranlib libstorage.a
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
Making all in lookup
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o lookup.o lookup.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o phonetic_lookup.o phonetic_lookup.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.cpp:21: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o phrase_lookup.o phrase_lookup.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phrase_lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src/lookup'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/pinyin_lookup2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/src/lookup'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phrase_index.cpp  -fPIC -DPIC -o storage/.libs/phrase_index.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/phrase_index.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phrase_large_table3.cpp  -fPIC -DPIC -o storage/.libs/phrase_large_table3.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/ngram.cpp  -fPIC -DPIC -o storage/.libs/ngram.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/ngram.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/tag_utility.cpp  -fPIC -DPIC -o storage/.libs/tag_utility.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/tag_utility.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o pinyin_internal.o pinyin_internal.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.cpp:1: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c pinyin.cpp  -fPIC -DPIC -o .libs/pinyin.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:541:9: warning: unused variable 'num' [-Wunused-variable] <--[g++]
  541 |     int num = reduce_tokens(tokens, tokenarray);
      |         ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:1415:17: warning: unused variable 'num' [-Wunused-variable] <--[g++]
 1415 |             int num = reduce_tokens(tokens, tokenarray);
      |                 ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool _prepend_longer_candidates(pinyin_instance_t*, CandidateVector)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:1890:23: warning: comparison of integer expressions of different signedness: 'int' and 'guint' {aka 'unsigned int'} [-Wsign-compare] <--[g++]
 1890 |     for (int i = 0; i < tokenarray->len; ++i) {
      |                     ~~^~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:1883:9: warning: unused variable 'result' [-Wunused-variable] <--[g++]
 1883 |     int result = search_suggestion_with_matrix
      |         ^~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:1885:9: warning: unused variable 'num' [-Wunused-variable] <--[g++]
 1885 |     int num = reduce_tokens(tokens, tokenarray, false);
      |         ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool _compute_phrase_length(pinyin_context_t*, CandidateVector)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:1965:15: warning: enumeration value 'LONGER_CANDIDATE' not handled in switch [-Wswitch] <--[g++]
 1965 |         switch(candidate->m_candidate_type) {
      |               ^
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:1965:15: warning: enumeration value 'PREDICTED_PUNCTUATION_CANDIDATE' not handled in switch [-Wswitch] <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool _compute_predicted_prefix_candidates(pinyin_instance_t*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2373:17: warning: unused variable 'prefixes' [-Wunused-variable] <--[g++]
 2373 |     TokenVector prefixes = instance->m_prefixes;
      |                 ^~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2381:9: warning: unused variable 'result' [-Wunused-variable] <--[g++]
 2381 |     int result = context->m_phrase_table->search_suggestion
      |         ^~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2383:9: warning: unused variable 'num' [-Wunused-variable] <--[g++]
 2383 |     int num = reduce_tokens(phrase_tokens, tokenarray, false);
      |         ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool pinyin_guess_predicted_candidates(pinyin_instance_t*, const char*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2413:25: warning: unused variable 'phrase_index' [-Wunused-variable] <--[g++]
 2413 |     FacadePhraseIndex * phrase_index = context->m_phrase_index;
      |                         ^~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool pinyin_guess_predicted_candidates_with_punctuations(pinyin_instance_t*, const char*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2468:32: warning: comparison of integer expressions of different signedness: 'gint' {aka 'int'} and 'guint' {aka 'unsigned int'} [-Wsign-compare] <--[g++]
 2468 |     for (gint index = 0; index < prefixes->len; ++index) {
      |                          ~~~~~~^~~~~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2460:25: warning: unused variable 'phrase_index' [-Wunused-variable] <--[g++]
 2460 |     FacadePhraseIndex * phrase_index = context->m_phrase_index;
      |                         ^~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2578:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] <--[g++]
 2578 |     bool retval = constraints->validate_constraint(&matrix);
      |          ^~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:2663:9: warning: unused variable 'num' [-Wunused-variable] <--[g++]
 2663 |     int num = reduce_tokens(tokens, tokenarray);
      |         ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin.cpp:3114:13: warning: unused variable 'retval' [-Wunused-variable] <--[g++]
 3114 |         int retval = phrase_table->search(1, &character, tokens);
      |             ^~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phrase_large_table2.cpp  -fPIC -DPIC -o storage/.libs/phrase_large_table2.o
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c zhuyin.cpp  -fPIC -DPIC -o .libs/zhuyin.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:427:9: warning: unused variable 'num' [-Wunused-variable] <--[g++]
  427 |     int num = reduce_tokens(tokens, tokenarray);
      |         ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp: In function 'void _compute_prefixes(zhuyin_instance_t*, const char*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:933:17: warning: unused variable 'num' [-Wunused-variable] <--[g++]
  933 |             int num = reduce_tokens(tokens, tokenarray);
      |                 ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:1651:16: warning: unused variable 'len' [-Wunused-variable] <--[g++]
 1651 |         guint8 len = constraints->add_constraint
      |                ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:1658:16: warning: unused variable 'len' [-Wunused-variable] <--[g++]
 1658 |         guint8 len = constraints->add_constraint
      |                ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:1638:26: warning: unused variable 'context' [-Wunused-variable] <--[g++]
 1638 |     zhuyin_context_t * & context = instance->m_context;
      |                          ^~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:1641:25: warning: unused variable 'results' [-Wunused-variable] <--[g++]
 1641 |     NBestMatchResults & results = instance->m_nbest_results;
      |                         ^~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:1647:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] <--[g++]
 1647 |     bool retval = constraints->validate_constraint(&matrix);
      |          ^~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp: In function 'bool zhuyin_lookup_tokens(zhuyin_instance_t*, const char*, GArray*)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:1690:9: warning: unused variable 'num' [-Wunused-variable] <--[g++]
 1690 |     int num = reduce_tokens(tokens, tokenarray);
      |         ^~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp: In function 'bool _pre_compute_tokens(zhuyin_context_t*, TokenVector, ucs4_t*, size_t)': <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/zhuyin.cpp:2078:13: warning: unused variable 'retval' [-Wunused-variable] <--[g++]
 2078 |         int retval = phrase_table->search(1, &character, tokens);
      |             ^~~~~~
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/table_info.cpp  -fPIC -DPIC -o storage/.libs/table_info.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/table_info.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o storage/punct_table.lo storage/punct_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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/punct_table.cpp  -fPIC -DPIC -o storage/.libs/punct_table.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/phonetic_key_matrix.cpp  -fPIC -DPIC -o storage/.libs/phonetic_key_matrix.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/phonetic_key_matrix.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/chewing_large_table2.cpp  -fPIC -DPIC -o storage/.libs/chewing_large_table2.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/chewing_large_table2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lookup/lookup.cpp  -fPIC -DPIC -o lookup/.libs/lookup.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/zhuyin_parser2.cpp  -fPIC -DPIC -o storage/.libs/zhuyin_parser2.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/zhuyin_parser2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c lookup/pinyin_lookup2.cpp  -fPIC -DPIC -o lookup/.libs/pinyin_lookup2.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/pinyin_lookup2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.cpp:21: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: 'gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)' defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phrase_lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/pinyin_parser2.cpp  -fPIC -DPIC -o storage/.libs/pinyin_parser2.o
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:359: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:360: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/pinyin_parser2.cpp:365: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck]
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/chewing_large_table.cpp  -fPIC -DPIC -o storage/.libs/chewing_large_table.o
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/chewing_large_table.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/ngram_kyotodb.cpp  -fPIC -DPIC -o storage/.libs/ngram_kyotodb.o
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/ngram_kyotodb.cpp:26: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/kyotodb_utils.h:50:21: warning: 'pinyin::empty_vbuf' defined but not used [-Wunused-variable] <--[g++]
   50 | static const char * empty_vbuf = (char *)UINTPTR_MAX;
      |                     ^~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/phrase_large_table3_kyotodb.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o storage/punct_table_kyotodb.lo storage/punct_table_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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -c storage/punct_table_kyotodb.cpp  -fPIC -DPIC -o storage/.libs/punct_table_kyotodb.o
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/punct_table_kyotodb.cpp:24: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/kyotodb_utils.h:50:21: warning: 'pinyin::empty_vbuf' defined but not used [-Wunused-variable] <--[g++]
   50 | static const char * empty_vbuf = (char *)UINTPTR_MAX;
      |                     ^~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage/chewing_large_table2_kyotodb.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 storage/punct_table.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 storage/punct_table_kyotodb.lo zhuyin.lo -lglib-2.0 -lkyotocabinet 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/15/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 storage/.libs/punct_table.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 storage/.libs/punct_table_kyotodb.o .libs/zhuyin.o   -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/x86_64-redhat-linux/15 -L/usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/15/../../.. -L/lib -L/usr/lib -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/15/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Wl,--version-script=./libzhuyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 storage/punct_table.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 storage/punct_table_kyotodb.lo pinyin.lo -lglib-2.0 -lkyotocabinet 
libtool: link: g++  -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/15/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 storage/.libs/punct_table.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 storage/.libs/punct_table_kyotodb.o .libs/pinyin.o   -lglib-2.0 -lkyotocabinet -L/usr/lib/gcc/x86_64-redhat-linux/15 -L/usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/15/../../.. -L/lib -L/usr/lib -lstdc++ -lm -lgcc_s -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/15/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/15/../../../../lib64/crtn.o -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -mno-omit-leaf-frame-pointer -Wl,--version-script=./libpinyin.ver -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/src'
Making all in tests
Making all in include
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o test_memory_chunk.o test_memory_chunk.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/include'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/include/test_memory_chunk.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/include/test_memory_chunk.cpp:2: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/include'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/include'
Making all in storage
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_phrase_table.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_phrase_table.cpp: In function ‘int main(int, char**)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/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] <--[g++]
   67 |         for (i = 1; i < phrase_len; ++i) {
      |                     ~~^~~~~~~~~~~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_phrase_table.cpp:7: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_flexible_ngram.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_flexible_ngram.cpp:22: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_phrase_index.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_phrase_index.cpp:4: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_phrase_index_logger.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_phrase_index_logger.cpp:21: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_ngram.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_ngram.cpp:2: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o test_parser2.o test_parser2.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_parser2.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_parser2.cpp:32: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_matrix.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_matrix.cpp:27: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_chewing_table.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_chewing_table.cpp:27: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o test_table_info.o test_table_info.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_table_info.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_table_info.cpp:23: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o test_punct_table.o test_punct_table.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_punct_table.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage/test_punct_table.cpp:23: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes  -o test_punct_table test_punct_table.o ../../src/libpinyin_internal.a ../../src/storage/libstorage.a ../../src/lookup/liblookup.a -lglib-2.0  -lkyotocabinet 
libtool: link: g++ -O2 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test_punct_table test_punct_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.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/storage'
Making all in lookup
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests/lookup'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup/test_phrase_lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup/test_phrase_lookup.cpp:28: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o test_pinyin_lookup.o test_pinyin_lookup.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup/test_pinyin_lookup.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/lookup'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests/lookup'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/tests'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/test_pinyin.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
/bin/sh ../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/tests'
Making all in utils
Making all in storage
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_zhuyin_table.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_zhuyin_table.cpp: In function ‘void gen_phrase_file(const char*, int)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_zhuyin_table.cpp:311:36: warning: variable ‘key_rest’ set but not used [-Wunused-but-set-variable] <--[g++]
  311 |                     ChewingKeyRest key_rest = g_array_index
      |                                    ^~~~~~~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_zhuyin_table.cpp:28: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_binary_files.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_binary_files.cpp:23: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/import_interpolation.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/import_interpolation.cpp:28: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/export_interpolation.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/export_interpolation.cpp:25: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/storage'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_pinyin_table.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage/gen_pinyin_table.cpp:24: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/storage'
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/storage'
Making all in segment
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o spseg.o spseg.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/spseg.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/spseg.cpp: In function ‘bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/spseg.cpp:114:17: warning: unused variable ‘num’ [-Wunused-variable] <--[g++]
  114 |             int num = get_first_token(tokens, token);
      |                 ^~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/spseg.cpp:29: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o ngseg.o ngseg.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/ngseg.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/ngseg.cpp:28: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o mergeseq.o mergeseq.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/mergeseq.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/mergeseq.cpp: In function ‘bool merge_sequence(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, UnicodeCharVector, TokenInfoVector)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/mergeseq.cpp:99:17: warning: unused variable ‘num’ [-Wunused-variable] <--[g++]
   99 |             int num = get_first_token(tokens, token);
      |                 ^~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment/mergeseq.cpp:29: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/segment'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/segment'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/segment'
Making all in training
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o gen_k_mixture_model.o gen_k_mixture_model.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_k_mixture_model.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_k_mixture_model.cpp: In function ‘void train_word_pair(HashofUnigram, pinyin::KMixtureModelSingleGram*, phrase_token_t, guint32)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/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] <--[g++]
  184 |         if ( count > g_maximum_occurs ){
      |              ~~~~~~^~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_k_mixture_model.cpp: In function ‘bool post_processing_unigram(pinyin::KMixtureModelBigram*, HashofUnigram)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_k_mixture_model.cpp:302:14: warning: unused variable ‘result’ [-Wunused-variable] <--[g++]
  302 |         bool result = bigram->get_array_header(token, array_header);
      |              ^~~~~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_k_mixture_model.cpp:28: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_unigram.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_unigram.cpp:23: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_ngram.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_ngram.cpp:30: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_deleted_ngram.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/gen_deleted_ngram.cpp:30: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o estimate_interpolation.o estimate_interpolation.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_interpolation.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_interpolation.cpp: In function ‘parameter_t compute_interpolation(pinyin::SingleGram*, pinyin::FacadePhraseIndex*, pinyin::SingleGram*)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_interpolation.cpp:33:10: warning: unused variable ‘success’ [-Wunused-variable] <--[g++]
   33 |     bool success;
      |          ^~~~~~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_interpolation.cpp:27: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o estimate_k_mixture_model.o estimate_k_mixture_model.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_k_mixture_model.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_k_mixture_model.cpp: In function ‘parameter_t compute_interpolation(pinyin::KMixtureModelSingleGram*, pinyin::KMixtureModelBigram*, pinyin::KMixtureModelSingleGram*)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_k_mixture_model.cpp:39:10: warning: unused variable ‘success’ [-Wunused-variable] <--[g++]
   39 |     bool success;
      |          ^~~~~~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/estimate_k_mixture_model.cpp:22: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o merge_k_mixture_model.o merge_k_mixture_model.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/merge_k_mixture_model.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/merge_k_mixture_model.cpp:22: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/prune_k_mixture_model.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/prune_k_mixture_model.cpp: In function ‘bool prune_k_mixture_model(pinyin::KMixtureModelMagicHeader*, pinyin::KMixtureModelSingleGram*&, pinyin::FlexibleBigramPhraseArray)’: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/prune_k_mixture_model.cpp:48:10: warning: unused variable ‘success’ [-Wunused-variable] <--[g++]
   48 |     bool success;
      |          ^~~~~~~
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/prune_k_mixture_model.cpp:26: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h: At global scope: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o k_mixture_model_to_interpolation.o k_mixture_model_to_interpolation.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/k_mixture_model_to_interpolation.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/k_mixture_model_to_interpolation.cpp:25: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/eval_correction_rate.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/export_k_mixture_model.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/export_k_mixture_model.cpp:22: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o import_k_mixture_model.o import_k_mixture_model.cpp
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/import_k_mixture_model.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/import_k_mixture_model.cpp:27: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer  -c -o validate_k_mixture_model.o validate_k_mixture_model.cpp
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/validate_k_mixture_model.cpp:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include/memory_chunk.h:399: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'm_data_begin' nulled but not freed upon failure <--[cppcheck]
In file included from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/pinyin_internal.h:43, <--[g++]
                 from /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training/validate_k_mixture_model.cpp:21: <--[g++]
/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup/phonetic_lookup.h:174:13: warning: ‘gint pinyin::trellis_value_compare(const trellis_value_t**, const trellis_value_t**)’ defined but not used [-Wunused-function] <--[g++]
  174 | static gint trellis_value_compare(const trellis_value_t ** lhs,
      |             ^~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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
In member function 'scan_parallel_impl',
    inlined from 'scan_parallel' at /usr/include/kchashdb.h:747:28:
/usr/include/kchashdb.h:2349:49: warning: argument 1 value '18446744073709551615' exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] <--[g++]
 2349 |       ThreadImpl* threads = new ThreadImpl[thnum];
      |                                                 ^
/usr/include/c++/15/new: In member function 'scan_parallel': <--[g++]
/usr/include/c++/15/new:140:26: note: in a call to allocation function 'operator new []' declared here <--[g++]
  140 | _GLIBCXX_NODISCARD void* operator new[](std::size_t)
      |                          ^
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
/bin/sh ../../libtool  --tag=CXX   --mode=link g++  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer   -Wl,-z,relro -Wl,--as-needed  -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 -flto=auto -ffat-lto-objects -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 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z -Wl,relro -Wl,--as-needed -Wl,-z -Wl,pack-relative-relocs -Wl,-z -Wl,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.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 punct.bin
../utils/storage/gen_binary_files --gen-punct-table --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.10.1-build/libpinyin-2.10.1/data'
Making all in doc
make[2]: Nothing to be done for 'all'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run

>>> 2025-04-25 14:09:32	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck"

>>> 2025-04-25 14:09:33	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\""
INFO: mock.py version 6.1 starting (python version = 3.9.21, NVR = mock-6.1-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""'
Start(bootstrap): init plugins
INFO: selinux enabled
Finish(bootstrap): init plugins
Start: init plugins
INFO: selinux enabled
Finish: init plugins
INFO: Signal handler active
Start: run
Mock Version: 6.1
INFO: Mock Version: 6.1
Start(bootstrap): chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start(bootstrap): cleaning package manager metadata
Finish(bootstrap): cleaning package manager metadata
INFO: Package manager dnf5 detected and used (fallback)
Finish(bootstrap): chroot init
Start: chroot init
INFO: calling preinit hooks
INFO: enabled root cache
INFO: enabled package manager cache
Start: cleaning package manager metadata
Finish: cleaning package manager metadata
INFO: enabled HW Info plugin
INFO: Package manager dnf5 detected and used (direct choice)
Finish: chroot init
INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
setting SOURCE_DATE_EPOCH=1742774400
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Hs5A35
+ umask 022
+ cd /builddir/build/BUILD/libpinyin-2.10.1-build
+ '[' /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT '!=' / ']'
+ rm -rf /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT
++ dirname /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT
+ mkdir -p /builddir/build/BUILD/libpinyin-2.10.1-build
+ mkdir /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -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  -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -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,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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.10.1
+ /usr/bin/make install DESTDIR=/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p'
Making install in src
make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
Making install in include
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/include/libpinyin-2.10.1'
 /usr/bin/install -p -m 644 novel_types.h '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/include/libpinyin-2.10.1'
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/include'
Making install in storage
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[3]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/include/libpinyin-2.10.1'
 /usr/bin/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/include/libpinyin-2.10.1'
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/storage'
Making install in lookup
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/src/lookup'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src/lookup'
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/lib64'
 /bin/sh ../libtool   --mode=install /usr/bin/install -p   libpinyin.la libzhuyin.la '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/lib64'
libtool: install: /usr/bin/install -p .libs/libpinyin.so.15.0.0 /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/lib64/libpinyin.so.15.0.0
libtool: install: (cd /builddir/build/BUILD/libpinyin-2.10.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.10.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.10.1-build/BUILDROOT/usr/lib64/libpinyin.la
libtool: install: /usr/bin/install -p .libs/libzhuyin.so.15.0.0 /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/lib64/libzhuyin.so.15.0.0
libtool: install: (cd /builddir/build/BUILD/libpinyin-2.10.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.10.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.10.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.10.1-build/BUILDROOT/usr/include/libpinyin-2.10.1'
 /usr/bin/install -p -m 644 pinyin.h zhuyin.h '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/include/libpinyin-2.10.1'
make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/src'
Making install in tests
make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
Making install in include
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/include'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/tests/include'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/include'
Making install in storage
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/tests/storage'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/storage'
Making install in lookup
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/tests/lookup'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests/lookup'
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/tests'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/tests'
Making install in utils
make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils'
Making install in storage
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -p gen_binary_files import_interpolation '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/bin'
libtool: install: /usr/bin/install -p gen_binary_files /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/bin/gen_binary_files
libtool: install: /usr/bin/install -p import_interpolation /builddir/build/BUILD/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/utils/storage'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/storage'
Making install in segment
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/utils/segment'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/segment'
Making install in training
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/bin'
  /bin/sh ../../libtool   --mode=install /usr/bin/install -p gen_unigram '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/bin'
libtool: install: /usr/bin/install -p gen_unigram /builddir/build/BUILD/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/utils/training'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils/training'
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils'
make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-build/libpinyin-2.10.1/utils'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils'
make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/utils'
Making install in data
make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/data'
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/data'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.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 punct.bin table.conf '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/lib64/libpinyin/data'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/data'
make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/data'
Making install in doc
make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/doc'
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/doc'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/share/man/man1'
 /usr/bin/install -p -m 644 libpinyin.1 '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/share/man/man1'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/doc'
make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/doc'
make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1'
make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/lib64/pkgconfig'
 /usr/bin/install -p -m 644 libpinyin.pc libzhuyin.pc '/builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/lib64/pkgconfig'
make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1'
make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1'
+ find /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT -name '*.la' -exec rm -f '{}' ';'
+ /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.10.1-1.fc43 --unique-debug-suffix -2.10.1-1.fc43.x86_64 --unique-debug-src-base libpinyin-2.10.1-1.fc43.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.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.10.1-1.fc43.x86_64
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
+ /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo
+ env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8
+ /usr/lib/rpm/redhat/brp-python-hardlink
+ /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT
Scanned 28 directories and 114 files,
               processed 1 inodes,
               0 modified (0 replaced + 0 rewritten),
               0 unsupported format, 0 errors
Reading /builddir/build/BUILD/libpinyin-2.10.1-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: libpinyin-2.10.1-1.fc43.x86_64
Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.oGmjVf
+ umask 022
+ cd /builddir/build/BUILD/libpinyin-2.10.1-build
+ cd libpinyin-2.10.1
+ DOCDIR=/builddir/build/BUILD/libpinyin-2.10.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.10.1-build/BUILDROOT/usr/share/doc/libpinyin
+ cp -pr /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/AUTHORS /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/share/doc/libpinyin
+ cp -pr /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/COPYING /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/share/doc/libpinyin
+ cp -pr /builddir/build/BUILD/libpinyin-2.10.1-build/libpinyin-2.10.1/README /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT/usr/share/doc/libpinyin
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: libpinyin = 2.10.1-1.fc43 libpinyin(x86-64) = 2.10.1-1.fc43 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: 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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(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.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.10.1-1.fc43.x86_64
Provides: libpinyin-devel = 2.10.1-1.fc43 libpinyin-devel(x86-64) = 2.10.1-1.fc43 libzhuyin-devel = 2.10.1-1.fc43 pkgconfig(libpinyin) = 2.10.1 pkgconfig(libzhuyin) = 2.10.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.10.1-1.fc43
Processing files: libpinyin-data-2.10.1-1.fc43.x86_64
Provides: libpinyin-data = 2.10.1-1.fc43 libpinyin-data(x86-64) = 2.10.1-1.fc43
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libpinyin-tools-2.10.1-1.fc43.x86_64
Provides: libpinyin-tools = 2.10.1-1.fc43 libpinyin-tools(x86-64) = 2.10.1-1.fc43
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.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(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.10.1-1.fc43.x86_64
Provides: libzhuyin = 2.10.1-1.fc43 libzhuyin(x86-64) = 2.10.1-1.fc43 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: 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.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libkyotocabinet.so.16()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(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.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.10.1-1.fc43.x86_64
Provides: libpinyin-debugsource = 2.10.1-1.fc43 libpinyin-debugsource(x86-64) = 2.10.1-1.fc43
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: libpinyin-debuginfo-2.10.1-1.fc43.x86_64
Provides: debuginfo(build-id) = 08849501d620ea418dae23b83264ebc9b00cb823 libpinyin-debuginfo = 2.10.1-1.fc43 libpinyin-debuginfo(x86-64) = 2.10.1-1.fc43 libpinyin.so.15.0.0-2.10.1-1.fc43.x86_64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libpinyin-debugsource(x86-64) = 2.10.1-1.fc43
Processing files: libpinyin-tools-debuginfo-2.10.1-1.fc43.x86_64
Provides: debuginfo(build-id) = 1f95198c2466e59ca7b346d672f4b35348ad8654 debuginfo(build-id) = 40643d4fc61fe25500ca874184190af4cf45235d debuginfo(build-id) = baf44af06acdab12dbd0da9de0afacb339023127 libpinyin-tools-debuginfo = 2.10.1-1.fc43 libpinyin-tools-debuginfo(x86-64) = 2.10.1-1.fc43
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libpinyin-debugsource(x86-64) = 2.10.1-1.fc43
Processing files: libzhuyin-debuginfo-2.10.1-1.fc43.x86_64
Provides: debuginfo(build-id) = c8afd0def185c1d5392712bb896ffc7bf7199cab libzhuyin-debuginfo = 2.10.1-1.fc43 libzhuyin-debuginfo(x86-64) = 2.10.1-1.fc43 libzhuyin.so.15.0.0-2.10.1-1.fc43.x86_64.debug()(64bit)
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: libpinyin-debugsource(x86-64) = 2.10.1-1.fc43
Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libpinyin-2.10.1-build/BUILDROOT
Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libpinyin.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""']
Finish: run

>>> 2025-04-25 14:09:37	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*"
Looking for shell scripts... done

>>> 2025-04-25 14:09:38	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log"

>>> 2025-04-25 14:09:45	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt' '/builddir/gcc-results'' | tar -xC '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/raw-results'
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets

>>> 2025-04-25 14:09:47	cat '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/uni-results/cswrap-capture.js'

>>> 2025-04-25 14:09:47	set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/uni-results/clippy-capture.err

>>> 2025-04-25 14:09:47	cd /tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/uni-results/shellcheck-capture.json

>>> 2025-04-25 14:09:47	csgrep --mode=json '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/uni-results/unicontrol-capture.js'

>>> 2025-04-25 14:09:47	csgrep --mode=json --remove-duplicates --file-glob "/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/raw-results/builddir/gcc-results/*.sarif" > "/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/uni-results/gcc-results.json"

scan.ini: time-finished = 2025-04-25 14:09:47
scan.ini: exit-code = 0
>>> 2025-04-25 14:09:47	cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan.ini' '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/uni-results'/* > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/scan-results-all.js'

>>> 2025-04-25 14:09:47	'/usr/bin/mock' '-r' 'fedora-rawhide-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/scan-results-all.js' >'/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/scan-results-all.js.tmp'

>>> 2025-04-25 14:09:48	"/usr/bin/mock" "-r" "fedora-rawhide-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean"

>>> 2025-04-25 14:09:50	cat '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | sed -r 's|(/builddir/build/BUILD/)[^/]+-build/|\1|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\.c$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | csdiff --json-output --show-internal "/usr/share/csmock/known-false-positives.js" - | cssort --key=path > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results.js'

>>> 2025-04-25 14:09:50	cat '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results.js' - | cssort > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/suppressed-results.js'

>>> 2025-04-25 14:09:50	csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/suppressed-results.js' > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/suppressed-results.err'

>>> 2025-04-25 14:09:50	csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/suppressed-results.js' | cshtml - > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/suppressed-results.html'

>>> 2025-04-25 14:09:50	csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/suppressed-results.js' | tee '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/debug/suppressed-results-summary.txt'
      4	COMPILER_WARNING                                	warning[-Wsign-compare]
      2	COMPILER_WARNING                                	warning[-Wswitch]
      3	COMPILER_WARNING                                	warning[-Wunused-but-set-variable]
      2	COMPILER_WARNING                                	warning[-Wunused-function]
     38	COMPILER_WARNING                                	warning[-Wunused-variable]
      1	COMPILER_WARNING                                	warning[-Wvexing-parse]
      1	CPPCHECK_WARNING                                	error[memleakOnRealloc]
      3	CPPCHECK_WARNING                                	warning[nullPointer]

>>> 2025-04-25 14:09:50	csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results.js' > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results.err'

>>> 2025-04-25 14:09:50	csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results.js' | cshtml - > '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results.html'

>>> 2025-04-25 14:09:50	csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results.js' | tee '/tmp/csmockcru5u02v/libpinyin-2.10.1-1.fc43/scan-results-summary.txt'
      4	COMPILER_WARNING                                	warning[-Wsign-compare]
      2	COMPILER_WARNING                                	warning[-Wswitch]
      3	COMPILER_WARNING                                	warning[-Wunused-but-set-variable]
      2	COMPILER_WARNING                                	warning[-Wunused-function]
     27	COMPILER_WARNING                                	warning[-Wunused-variable]
      1	CPPCHECK_WARNING                                	error[memleakOnRealloc]
      3	CPPCHECK_WARNING                                	warning[nullPointer]

<<< 2025-04-25 14:09:50	csmock exit code: 0

Wrote: /tmp/tmpubly9zdn/libpinyin-2.10.1-1.fc43.tar.xz