scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.8.3.20251027.143044.ge6b947b-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'gcc,cppcheck,shellcheck,clippy,unicontrol' '-o' '/tmp/tmphwn8l0wd/libpinyin-2.10.3-1.fc44.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmphwn8l0wd/libpinyin-2.10.3-1.fc44.src.rpm' scan.ini: host = ip-172-16-1-32.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmphwn8l0wd/libpinyin-2.10.3-1.fc44.tar.xz scan.ini: time-created = 2025-10-28 19:10:27 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = libpinyin-2.10.3-1.fc44 scan.ini: known-false-positives = /usr/share/csmock/known-false-positives.js scan.ini: known-false-positives-rpm = known-false-positives-0.0.0.20250521.132812.g8eff701.main-1.el9.noarch >>> 2025-10-28 19:10:27 rpm -qa | sort -V > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2025-10-28 19:10:27 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 6.4 starting (python version = 3.9.23, NVR = mock-6.4-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-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.4 INFO: Mock Version: 6.4 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-10-28 19:10:29 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1758153600 Wrote: /builddir/build/SRPMS/libpinyin-2.10.3-1.fc44.src.rpm Updating and loading repositories: Copr repository 100% | 13.5 KiB/s | 1.5 KiB | 00m00s fedora 100% | 60.0 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: gcc-c++ x86_64 15.2.1-3.fc44 fedora 41.4 MiB glib2-devel x86_64 2.86.0-2.fc44 fedora 15.7 MiB kyotocabinet-devel x86_64 1.2.80-8.fc43 fedora 984.9 KiB make x86_64 1:4.4.1-11.fc43 fedora 1.8 MiB Installing dependencies: annobin-docs noarch 12.99-1.fc43 fedora 98.9 KiB annobin-plugin-gcc x86_64 12.99-1.fc43 fedora 1.0 MiB cmake-filesystem x86_64 3.31.6-4.fc43 fedora 0.0 B cpp x86_64 15.2.1-3.fc44 fedora 37.9 MiB expat x86_64 2.7.2-1.fc44 fedora 298.6 KiB gcc x86_64 15.2.1-3.fc44 fedora 111.9 MiB gcc-plugin-annobin x86_64 15.2.1-3.fc44 fedora 57.1 KiB glib2 x86_64 2.86.0-2.fc44 fedora 14.7 MiB glibc-devel x86_64 2.42.9000-7.fc44 fedora 2.3 MiB kernel-headers x86_64 6.18.0-0.rc3.30.fc44 fedora 6.8 MiB kyotocabinet-libs x86_64 1.2.80-8.fc43 fedora 985.7 KiB libblkid-devel x86_64 2.41.2-7.fc44 fedora 44.9 KiB libffi-devel x86_64 3.5.2-1.fc44 fedora 33.9 KiB libmount-devel x86_64 2.41.2-7.fc44 fedora 65.5 KiB libmpc x86_64 1.3.1-8.fc43 fedora 160.6 KiB libselinux-devel x86_64 3.9-5.fc44 fedora 127.3 KiB libsepol-devel x86_64 3.9-2.fc43 fedora 121.4 KiB libstdc++-devel x86_64 15.2.1-3.fc44 fedora 37.2 MiB libxcrypt-devel x86_64 4.4.38-9.fc44 fedora 30.8 KiB lzo x86_64 2.10-15.fc43 fedora 178.9 KiB mpdecimal x86_64 4.0.1-2.fc43 fedora 217.2 KiB pcre2-devel x86_64 10.46-1.fc44 fedora 2.1 MiB pcre2-utf16 x86_64 10.46-1.fc44 fedora 626.3 KiB pcre2-utf32 x86_64 10.46-1.fc44 fedora 602.2 KiB python-pip-wheel noarch 25.2-4.fc44 fedora 1.2 MiB python3 x86_64 3.14.0-2.fc44 fedora 28.9 KiB python3-libs x86_64 3.14.0-2.fc44 fedora 43.0 MiB python3-packaging noarch 25.0-7.fc44 fedora 607.4 KiB sysprof-capture-devel x86_64 49.0-1.fc44 fedora 803.7 KiB tzdata noarch 2025b-3.fc43 fedora 1.6 MiB zlib-ng-compat-devel x86_64 2.2.5-2.fc44 fedora 107.0 KiB Transaction Summary: Installing: 35 packages Total size of inbound packages is 96 MiB. Need to download 0 B. After this operation, 324 MiB extra will be used (install 324 MiB, remove 0 B). [ 1/35] make-1:4.4.1-11.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/35] gcc-c++-0:15.2.1-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/35] glib2-devel-0:2.86.0-2.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/35] kyotocabinet-devel-0:1.2.80-8.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/35] gcc-0:15.2.1-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/35] libmpc-0:1.3.1-8.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/35] glib2-0:2.86.0-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/35] python3-packaging-0:25.0-7.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/35] kyotocabinet-libs-0:1.2.80-8.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/35] cpp-0:15.2.1-3.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/35] lzo-0:2.10-15.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/35] python3-0:3.14.0-2.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/35] python3-libs-0:3.14.0-2.fc44.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/35] expat-0:2.7.2-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/35] mpdecimal-0:4.0.1-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/35] python-pip-wheel-0:25.2-4.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/35] tzdata-0:2025b-3.fc43.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/35] libffi-devel-0:3.5.2-1.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/35] libmount-devel-0:2.41.2-7.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/35] libselinux-devel-0:3.9-5.fc44.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/35] libsepol-devel-0:3.9-2.fc43.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/35] pcre2-devel-0:10.46-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/35] pcre2-utf16-0:10.46-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/35] pcre2-utf32-0:10.46-1.fc44.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/35] sysprof-capture-devel-0:49.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/35] zlib-ng-compat-devel-0:2.2.5-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/35] cmake-filesystem-0:3.31.6-4.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/35] libstdc++-devel-0:15.2.1-3.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/35] glibc-devel-0:2.42.9000-7.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/35] libxcrypt-devel-0:4.4.38-9.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/35] libblkid-devel-0:2.41.2-7.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/35] kernel-headers-0:6.18.0-0.rc3.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/35] annobin-plugin-gcc-0:12.99-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/35] gcc-plugin-annobin-0:15.2.1-3.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/35] annobin-docs-0:12.99-1.fc43.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [35/35] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/37] Verify package files 100% | 87.0 B/s | 35.0 B | 00m00s [ 2/37] Prepare transaction 100% | 603.0 B/s | 35.0 B | 00m00s [ 3/37] Installing libmpc-0:1.3.1-8.fc4 100% | 79.1 MiB/s | 162.1 KiB | 00m00s [ 4/37] Installing cpp-0:15.2.1-3.fc44. 100% | 311.0 MiB/s | 37.9 MiB | 00m00s [ 5/37] Installing annobin-docs-0:12.99 100% | 32.6 MiB/s | 100.1 KiB | 00m00s [ 6/37] Installing kernel-headers-0:6.1 100% | 119.6 MiB/s | 6.9 MiB | 00m00s [ 7/37] Installing glibc-devel-0:2.42.9 100% | 98.2 MiB/s | 2.4 MiB | 00m00s [ 8/37] Installing libxcrypt-devel-0:4. 100% | 32.3 MiB/s | 33.1 KiB | 00m00s [ 9/37] Installing libblkid-devel-0:2.4 100% | 15.0 MiB/s | 46.0 KiB | 00m00s [10/37] Installing libstdc++-devel-0:15 100% | 348.7 MiB/s | 37.3 MiB | 00m00s [11/37] Installing cmake-filesystem-0:3 100% | 3.7 MiB/s | 7.6 KiB | 00m00s [12/37] Installing zlib-ng-compat-devel 100% | 106.0 MiB/s | 108.5 KiB | 00m00s [13/37] Installing sysprof-capture-deve 100% | 262.5 MiB/s | 806.5 KiB | 00m00s [14/37] Installing pcre2-utf32-0:10.46- 100% | 294.5 MiB/s | 603.1 KiB | 00m00s [15/37] Installing pcre2-utf16-0:10.46- 100% | 204.2 MiB/s | 627.2 KiB | 00m00s [16/37] Installing pcre2-devel-0:10.46- 100% | 87.2 MiB/s | 2.1 MiB | 00m00s [17/37] Installing libsepol-devel-0:3.9 100% | 41.9 MiB/s | 128.9 KiB | 00m00s [18/37] Installing libselinux-devel-0:3 100% | 17.6 MiB/s | 162.1 KiB | 00m00s [19/37] Installing libmount-devel-0:2.4 100% | 65.0 MiB/s | 66.5 KiB | 00m00s [20/37] Installing libffi-devel-0:3.5.2 100% | 6.9 MiB/s | 35.6 KiB | 00m00s [21/37] Installing tzdata-0:2025b-3.fc4 100% | 32.6 MiB/s | 1.9 MiB | 00m00s [22/37] Installing python-pip-wheel-0:2 100% | 589.9 MiB/s | 1.2 MiB | 00m00s [23/37] Installing mpdecimal-0:4.0.1-2. 100% | 213.7 MiB/s | 218.8 KiB | 00m00s [24/37] Installing expat-0:2.7.2-1.fc44 100% | 15.5 MiB/s | 300.7 KiB | 00m00s [25/37] Installing python3-libs-0:3.14. 100% | 221.2 MiB/s | 43.3 MiB | 00m00s [26/37] Installing python3-0:3.14.0-2.f 100% | 2.3 MiB/s | 30.6 KiB | 00m00s [27/37] Installing python3-packaging-0: 100% | 151.3 MiB/s | 619.9 KiB | 00m00s [28/37] Installing lzo-0:2.10-15.fc43.x 100% | 176.3 MiB/s | 180.5 KiB | 00m00s [29/37] Installing kyotocabinet-libs-0: 100% | 241.1 MiB/s | 987.5 KiB | 00m00s [30/37] Installing glib2-0:2.86.0-2.fc4 100% | 249.7 MiB/s | 14.7 MiB | 00m00s [31/37] Installing make-1:4.4.1-11.fc43 100% | 85.7 MiB/s | 1.8 MiB | 00m00s [32/37] Installing gcc-0:15.2.1-3.fc44. 100% | 358.7 MiB/s | 111.9 MiB | 00m00s [33/37] Installing gcc-c++-0:15.2.1-3.f 100% | 320.7 MiB/s | 41.4 MiB | 00m00s [34/37] Installing annobin-plugin-gcc-0 100% | 70.5 MiB/s | 1.0 MiB | 00m00s [35/37] Installing gcc-plugin-annobin-0 100% | 4.4 MiB/s | 58.6 KiB | 00m00s [36/37] Installing glib2-devel-0:2.86.0 100% | 222.3 MiB/s | 15.8 MiB | 00m00s [37/37] Installing kyotocabinet-devel-0 100% | 7.0 MiB/s | 987.9 KiB | 00m00s Complete! >>> 2025-10-28 19:10:36 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "pam" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: Copr repository 100% | 16.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 68.2 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-6.fc43.x86_64" is already installed. Package "gcc-15.2.1-3.fc44.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.11.0-1.fc43 fedora 21.9 MiB cppcheck x86_64 2.18.3-1.fc44 fedora 10.9 MiB gcc-latest x86_64 16.0.0-5.20250914git38666cbccff5.fc44 copr_base 508.2 MiB pam x86_64 1.7.1-3.fc43 fedora 1.6 MiB Installing dependencies: authselect x86_64 1.6.2-1.fc44 fedora 198.2 KiB authselect-libs x86_64 1.6.2-1.fc44 fedora 883.7 KiB cracklib x86_64 2.9.11-8.fc43 fedora 226.4 KiB gdbm x86_64 1:1.23-10.fc43 fedora 460.3 KiB libnsl2 x86_64 2.0.1-4.fc43 fedora 57.9 KiB libpwquality x86_64 1.4.5-14.fc43 fedora 409.2 KiB libtirpc x86_64 1.3.7-0.fc44 fedora 198.9 KiB tinyxml2 x86_64 11.0.0-1.fc44 fedora 104.8 KiB Transaction Summary: Installing: 12 packages Total size of inbound packages is 117 MiB. Need to download 0 B. After this operation, 545 MiB extra will be used (install 545 MiB, remove 0 B). [ 1/12] gcc-latest-0:16.0.0-5.20250914g 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/12] cppcheck-0:2.18.3-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/12] ShellCheck-0:0.11.0-1.fc43.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/12] pam-0:1.7.1-3.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/12] tinyxml2-0:11.0.0-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/12] authselect-0:1.6.2-1.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/12] libnsl2-0:2.0.1-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/12] libpwquality-0:1.4.5-14.fc43.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/12] libtirpc-0:1.3.7-0.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/12] authselect-libs-0:1.6.2-1.fc44. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/12] cracklib-0:2.9.11-8.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/12] gdbm-1:1.23-10.fc43.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% | 20.0 B/s | 12.0 B | 00m01s [ 2/14] Prepare transaction 100% | 292.0 B/s | 12.0 B | 00m00s [ 3/14] Installing libtirpc-0:1.3.7-0.f 100% | 98.0 MiB/s | 200.7 KiB | 00m00s [ 4/14] Installing libnsl2-0:2.0.1-4.fc 100% | 57.6 MiB/s | 59.0 KiB | 00m00s [ 5/14] Installing gdbm-1:1.23-10.fc43. 100% | 26.7 MiB/s | 465.2 KiB | 00m00s [ 6/14] Installing cracklib-0:2.9.11-8. 100% | 13.7 MiB/s | 237.7 KiB | 00m00s [ 7/14] Installing libpwquality-0:1.4.5 100% | 22.9 MiB/s | 421.6 KiB | 00m00s [ 8/14] Installing authselect-libs-0:1. 100% | 73.2 MiB/s | 899.6 KiB | 00m00s [ 9/14] Installing tinyxml2-0:11.0.0-1. 100% | 51.8 MiB/s | 106.2 KiB | 00m00s [10/14] Installing cppcheck-0:2.18.3-1. 100% | 248.5 MiB/s | 10.9 MiB | 00m00s [11/14] Installing authselect-0:1.6.2-1 100% | 12.5 MiB/s | 204.1 KiB | 00m00s [12/14] Installing pam-0:1.7.1-3.fc43.x 100% | 54.2 MiB/s | 1.7 MiB | 00m00s [13/14] Installing ShellCheck-0:0.11.0- 100% | 370.8 MiB/s | 21.9 MiB | 00m00s [14/14] Installing gcc-latest-0:16.0.0- 100% | 404.2 MiB/s | 508.5 MiB | 00m01s Warning: skipped OpenPGP checks for 1 package from repository: copr_base Complete! >>> 2025-10-28 19:10:41 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/rpm-list-mock.txt >>> 2025-10-28 19:10:42 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockgh1mvczo/rpm-list-mock-provides.txt >>> 2025-10-28 19:10:43 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44.src.rpm" "/builddir/libpinyin-2.10.3-1.fc44.src.rpm" >>> 2025-10-28 19:10:45 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2025-10-28 19:10:46 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/builddir/libpinyin-2.10.3-1.fc44.src.rpm'\"" Updating / installing... libpinyin-2.10.3-1.fc44 ######################################## >>> 2025-10-28 19:10:47 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -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.3-1.fc44.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1758153600 Wrote: /builddir/build/SRPMS/libpinyin-2.10.3-1.fc44.src.rpm renamed 'libpinyin-2.10.3-1.fc44.src.rpm' -> '/builddir/libpinyin-2.10.3-1.fc44.src.rpm' >>> 2025-10-28 19:10:49 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/libpinyin-2.10.3-1.fc44.src.rpm" "/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44.src.rpm" >>> 2025-10-28 19:10:52 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1758153600 Wrote: /builddir/build/SRPMS/libpinyin-2.10.3-1.fc44.src.rpm Updating and loading repositories: Copr repository 100% | 6.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 28.5 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package "gcc-c++-15.2.1-3.fc44.x86_64" is already installed. Package "glib2-devel-2.86.0-2.fc44.x86_64" is already installed. Package "kyotocabinet-devel-1.2.80-8.fc43.x86_64" is already installed. Package "make-1:4.4.1-11.fc43.x86_64" is already installed. Nothing to do. >>> 2025-10-28 19:10:56 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "pam" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: Copr repository 100% | 11.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 18.4 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-6.fc43.x86_64" is already installed. Package "pam-1.7.1-3.fc43.x86_64" is already installed. Package "gcc-latest-16.0.0-5.20250914git38666cbccff5.fc44.x86_64" is already installed. Package "cppcheck-2.18.3-1.fc44.x86_64" is already installed. Package "gcc-15.2.1-3.fc44.x86_64" is already installed. Package "ShellCheck-0.11.0-1.fc43.x86_64" is already installed. Nothing to do. >>> 2025-10-28 19:10:58 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/rpm-list-mock.txt >>> 2025-10-28 19:10:59 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockgh1mvczo/rpm-list-mock-provides.txt >>> 2025-10-28 19:11:00 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: Copr repository 100% | 14.6 KiB/s | 1.5 KiB | 00m00s fedora 100% | 62.8 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.5.5-2.fc43 fedora 3.9 MiB Installing dependencies: boost-atomic x86_64 1.83.0-17.fc44 fedora 20.9 KiB boost-filesystem x86_64 1.83.0-17.fc44 fedora 143.6 KiB boost-program-options x86_64 1.83.0-17.fc44 fedora 280.8 KiB boost-system x86_64 1.83.0-17.fc44 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.5-2.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-17.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-17 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-17.fc44.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-17.fc44.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% | 1.0 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 227.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 12.8 MiB/s | 13.1 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 0.0 B/s | 21.9 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 141.3 MiB/s | 144.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 275.2 MiB/s | 281.8 KiB | 00m00s [7/7] Installing csdiff-0:3.5.5-2.fc43. 100% | 102.8 MiB/s | 3.9 MiB | 00m00s Complete! >>> 2025-10-28 19:11:02 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy" Updating and loading repositories: Copr repository 100% | 15.3 KiB/s | 1.5 KiB | 00m00s fedora 100% | 64.9 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: clippy x86_64 1.90.0-1.fc44 fedora 12.5 MiB Installing dependencies: cargo x86_64 1.90.0-1.fc44 fedora 23.2 MiB libedit x86_64 3.1-57.20251016cvs.fc44 fedora 240.2 KiB libgit2 x86_64 1.9.0-6.fc43 fedora 1.3 MiB libssh2 x86_64 1.11.1-4.fc43 fedora 322.7 KiB llhttp x86_64 9.3.0-5.fc43 fedora 92.6 KiB llvm-filesystem x86_64 21.1.3-1.fc44 fedora 0.0 B llvm-libs x86_64 21.1.3-1.fc44 fedora 138.6 MiB rust x86_64 1.90.0-1.fc44 fedora 92.4 MiB rust-std-static x86_64 1.90.0-1.fc44 fedora 161.4 MiB Transaction Summary: Installing: 10 packages Total size of inbound packages is 116 MiB. Need to download 0 B. After this operation, 430 MiB extra will be used (install 430 MiB, remove 0 B). [ 1/10] clippy-0:1.90.0-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/10] cargo-0:1.90.0-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/10] rust-0:1.90.0-1.fc44.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/10] libgit2-0:1.9.0-6.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/10] libssh2-0:1.11.1-4.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/10] llvm-libs-0:21.1.3-1.fc44.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/10] rust-std-static-0:1.90.0-1.fc44 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/10] llhttp-0:9.3.0-5.fc43.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/10] libedit-0:3.1-57.20251016cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/10] llvm-filesystem-0:21.1.3-1.fc44 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% | 20.0 B/s | 10.0 B | 00m00s [ 2/12] Prepare transaction 100% | 400.0 B/s | 10.0 B | 00m00s [ 3/12] Installing libssh2-0:1.11.1-4.f 100% | 105.6 MiB/s | 324.4 KiB | 00m00s [ 4/12] Installing llvm-filesystem-0:21 100% | 0.0 B/s | 1.1 KiB | 00m00s [ 5/12] Installing libedit-0:3.1-57.202 100% | 118.1 MiB/s | 241.8 KiB | 00m00s [ 6/12] Installing llvm-libs-0:21.1.3-1 100% | 407.7 MiB/s | 138.6 MiB | 00m00s [ 7/12] Installing rust-0:1.90.0-1.fc44 100% | 368.2 MiB/s | 92.4 MiB | 00m00s [ 8/12] Installing rust-std-static-0:1. 100% | 419.1 MiB/s | 161.4 MiB | 00m00s [ 9/12] Installing llhttp-0:9.3.0-5.fc4 100% | 91.8 MiB/s | 94.0 KiB | 00m00s [10/12] Installing libgit2-0:1.9.0-6.fc 100% | 265.5 MiB/s | 1.3 MiB | 00m00s [11/12] Installing cargo-0:1.90.0-1.fc4 100% | 309.4 MiB/s | 23.2 MiB | 00m00s [12/12] Installing clippy-0:1.90.0-1.fc 100% | 202.4 MiB/s | 12.5 MiB | 00m00s Complete! >>> 2025-10-28 19:11:06 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic" Updating and loading repositories: Copr repository 100% | 16.0 KiB/s | 1.5 KiB | 00m00s fedora 100% | 68.8 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-magic noarch 0.4.27-15.fc44 fedora 68.1 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 32 KiB. Need to download 0 B. After this operation, 68 KiB extra will be used (install 68 KiB, remove 0 B). [1/1] python3-magic-0:0.4.27-15.fc44.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% | 5.0 MiB/s | 72.0 KiB | 00m00s Complete! >>> 2025-10-28 19:11:08 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six" Updating and loading repositories: Copr repository 100% | 6.9 KiB/s | 1.5 KiB | 00m00s fedora 100% | 32.0 KiB/s | 7.9 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-six noarch 1.17.0-7.fc44 fedora 118.0 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 42 KiB. Need to download 0 B. After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B). [1/1] python3-six-0:1.17.0-7.fc44.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% | 166.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.17.0-7 100% | 8.4 MiB/s | 120.3 KiB | 00m00s Complete! >>> 2025-10-28 19:11:10 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/rpm-list-mock.txt >>> 2025-10-28 19:11:11 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmockgh1mvczo/rpm-list-mock-provides.txt >>> 2025-10-28 19:11:12 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2025-10-28 19:11:14 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/csmockgh1mvczo/libpinyin-2.10.3-1.fc44.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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.90.0 >>> 2025-10-28 19:11:15 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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.18.3 scan.ini: analyzer-version-gcc = 15.2.1 >>> 2025-10-28 19:11:18 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" >>> 2025-10-28 19:11:19 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\"" >>> 2025-10-28 19:11:20 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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 /opt/gcc-latest/bin/gcc \"\$@\" -fdiagnostics-set-output=\"sarif:file=\$fn\" ' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper" >>> 2025-10-28 19:11:21 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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 = 16.0.0 scan.ini: analyzer-version-shellcheck = 0.11.0 >>> 2025-10-28 19:11:23 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"mkdir -pv '/builddir/gcc-results' && touch '/builddir/gcc-results/empty.sarif'\"" mkdir: created directory '/builddir/gcc-results' >>> 2025-10-28 19:11:25 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--unpriv" "--chroot" "/bin/bash -l -c \"rpm -Uvh --nodeps '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44.src.rpm'\"" Updating / installing... libpinyin-2.10.3-1.fc44 ######################################## >>> 2025-10-28 19:11:26 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2025-10-28 19:11:27 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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-10-28 19:11:28 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--unpriv" "--chroot" "/bin/bash -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.4 starting (python version = 3.9.23, NVR = mock-6.4-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --unpriv --chroot '/bin/bash -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.4 INFO: Mock Version: 6.4 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/bash -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/bash -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=1758153600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.De5W2R Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ozN0Gn + umask 022 + cd /builddir/build/BUILD/libpinyin-2.10.3-build + cd /builddir/build/BUILD/libpinyin-2.10.3-build + rm -rf libpinyin-2.10.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libpinyin-2.10.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libpinyin-2.10.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/bash -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-10-28 19:11:29 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2025-10-28 19:11:30 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--unpriv" "--chroot" "/bin/bash -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.4 starting (python version = 3.9.23, NVR = mock-6.4-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --unpriv --chroot '/bin/bash -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.4 INFO: Mock Version: 6.4 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/bash -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/bash -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=1758153600 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fgtGLQ + umask 022 + cd /builddir/build/BUILD/libpinyin-2.10.3-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.3 + 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-09-18 05:52:43.000000000 +0000 +++ ./configure 2025-10-28 19:11:32.055983777 +0000 @@ -9317,7 +9317,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'" @@ -22127,7 +22127,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 sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 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 xargs -n works... 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 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-ranlib... no checking for ranlib... ranlib 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 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.3 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.3-build/libpinyin-2.10.3/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 make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage/pinyin_parser2.cpp:359: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/storage/pinyin_parser2.cpp:360: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage/ngram_kyotodb.cpp:26: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage/punct_table_kyotodb.cpp:24: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage' rm -f libstorage.a ar cr 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.3-build/libpinyin-2.10.3/src/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/lookup' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/lookup' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/lookup' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/lookup' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/lookup' rm -f liblookup.a ar cr 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.3-build/libpinyin-2.10.3/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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 make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/pinyin_internal.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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/zhuyin.cpp: In function 'bool _add_phrase(zhuyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/zhuyin.cpp: In function 'void _compute_prefixes(zhuyin_instance_t*, const char*)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/zhuyin.cpp: In function 'int zhuyin_choose_candidate(zhuyin_instance_t*, size_t, lookup_candidate_t*)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/zhuyin.cpp:1651:16: warning: unused variable 'len' [-Wunused-variable] <--[g++] 1651 | guint8 len = constraints->add_constraint | ^~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/zhuyin.cpp:1658:16: warning: unused variable 'len' [-Wunused-variable] <--[g++] 1658 | guint8 len = constraints->add_constraint | ^~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/zhuyin.cpp: In function 'bool zhuyin_lookup_tokens(zhuyin_instance_t*, const char*, GArray*)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/zhuyin.cpp: In function 'bool _pre_compute_tokens(zhuyin_context_t*, TokenVector, ucs4_t*, size_t)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/pinyin.cpp: In function 'bool _add_phrase(pinyin_context_t*, guint8, ChewingKeyVector, ucs4_t*, glong, gint)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/pinyin.cpp: In function 'void _compute_prefixes(pinyin_instance_t*, const char*)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/pinyin.cpp: In function 'bool _prepend_longer_candidates(pinyin_instance_t*, CandidateVector)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/pinyin.cpp: In function 'bool _compute_predicted_prefix_candidates(pinyin_instance_t*)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp:2382:9: warning: unused variable 'result' [-Wunused-variable] <--[g++] 2382 | int result = context->m_phrase_table->search_suggestion | ^~~~~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp:2384:9: warning: unused variable 'num' [-Wunused-variable] <--[g++] 2384 | int num = reduce_tokens(phrase_tokens, tokenarray, false); | ^~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp: In function 'int pinyin_choose_candidate(pinyin_instance_t*, size_t, lookup_candidate_t*)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp:2577:10: warning: variable 'retval' set but not used [-Wunused-but-set-variable] <--[g++] 2577 | bool retval = constraints->validate_constraint(&matrix); | ^~~~~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp: In function 'bool pinyin_lookup_tokens(pinyin_instance_t*, const char*, GArray*)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp:2662:9: warning: unused variable 'num' [-Wunused-variable] <--[g++] 2662 | int num = reduce_tokens(tokens, tokenarray); | ^~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp: In function 'bool _pre_compute_tokens(pinyin_context_t*, TokenVector, ucs4_t*, size_t)': <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/pinyin.cpp:3113:13: warning: unused variable 'retval' [-Wunused-variable] <--[g++] 3113 | int retval = phrase_table->search(1, &character, tokens); | ^~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage/pinyin_parser2.cpp:359: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/storage/pinyin_parser2.cpp:360: warning: nullPointer(CWE-476): Possible null pointer dereference: curstep <--[cppcheck] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' rm -f libpinyin_internal.a ar cr libpinyin_internal.a pinyin_internal.o ranlib libpinyin_internal.a make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage/ngram_kyotodb.cpp:26: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/storage/punct_table_kyotodb.cpp:24: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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 -Werror=format-security -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.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 -Werror=format-security -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.3-build/libpinyin-2.10.3/src' Making all in tests Making all in include make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/include' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/include' Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/storage/test_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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/storage/test_chewing_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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage/test_phrase_table.cpp: In function ‘int main(int, char**)’: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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) { | ~~^~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/storage/test_table_info.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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/storage/test_flexible_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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' Making all in lookup make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/lookup' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/lookup' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' Making all in utils Making all in storage make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/storage/gen_pinyin_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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage/gen_zhuyin_table.cpp: In function ‘void gen_phrase_file(const char*, int)’: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 | ^~~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 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.3-build/libpinyin-2.10.3/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/storage' Making all in segment make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment/mergeseq.cpp: In function ‘bool merge_sequence(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, UnicodeCharVector, TokenInfoVector)’: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment/mergeseq.cpp:99:17: warning: unused variable ‘num’ [-Wunused-variable] <--[g++] 99 | int num = get_first_token(tokens, token); | ^~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment/spseg.cpp: In function ‘bool segment(pinyin::FacadePhraseTable3*, pinyin::FacadePhraseIndex*, GArray*, GArray*)’: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/segment/spseg.cpp:114:17: warning: unused variable ‘num’ [-Wunused-variable] <--[g++] 114 | int num = get_first_token(tokens, token); | ^~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/segment/ngseg.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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment' Making all in training make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/training/gen_unigram.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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training/gen_k_mixture_model.cpp: In function ‘bool post_processing_unigram(pinyin::KMixtureModelBigram*, HashofUnigram)’: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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); | ^~~~~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training/prune_k_mixture_model.cpp:48:10: warning: unused variable ‘success’ [-Wunused-variable] <--[g++] 48 | bool success; | ^~~~~~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training/estimate_interpolation.cpp: In function ‘parameter_t compute_interpolation(pinyin::SingleGram*, pinyin::FacadePhraseIndex*, pinyin::SingleGram*)’: <--[g++] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training/estimate_interpolation.cpp:33:10: warning: unused variable ‘success’ [-Wunused-variable] <--[g++] 33 | bool success; | ^~~~~~~ make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/training' /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training/estimate_k_mixture_model.cpp:39:10: warning: unused variable ‘success’ [-Wunused-variable] <--[g++] 39 | bool success; | ^~~~~~~ /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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] /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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) | ^ 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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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 make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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]: Nothing to be done for 'all-am'. Making all in data make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/data' Making all in doc make[2]: Nothing to be done for 'all'. + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/bash -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-10-28 19:13:32 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2025-10-28 19:13:34 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--unpriv" "--chroot" "/bin/bash -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.4 starting (python version = 3.9.23, NVR = mock-6.4-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --unpriv --chroot '/bin/bash -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.4 INFO: Mock Version: 6.4 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/bash -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/bash -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=1758153600 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.vBgmA7 + umask 022 + cd /builddir/build/BUILD/libpinyin-2.10.3-build + '[' /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT ++ dirname /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libpinyin-2.10.3-build + mkdir /builddir/build/BUILD/libpinyin-2.10.3-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.3 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/include' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/include/libpinyin-2.10.3' /usr/bin/install -p -m 644 novel_types.h '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/include/libpinyin-2.10.3' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/storage' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/include/libpinyin-2.10.3' /usr/bin/install -p -m 644 pinyin_custom2.h zhuyin_custom2.h '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/include/libpinyin-2.10.3' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/src/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libpinyin.la libzhuyin.la '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libpinyin.so.15.0.0 /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/lib64/libpinyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILD/libpinyin-2.10.3-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.3-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.3-build/BUILDROOT/usr/lib64/libpinyin.la libtool: install: /usr/bin/install -p .libs/libzhuyin.so.15.0.0 /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/lib64/libzhuyin.so.15.0.0 libtool: install: (cd /builddir/build/BUILD/libpinyin-2.10.3-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.3-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.3-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.3-build/BUILDROOT/usr/include/libpinyin-2.10.3' /usr/bin/install -p -m 644 pinyin.h zhuyin.h '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/include/libpinyin-2.10.3' make[3]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/src' Making install in tests make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests' Making install in include make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/include' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/include' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/include' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/storage' Making install in lookup make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/lookup' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests/lookup' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests/lookup' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/tests' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/tests' Making install in utils make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils' Making install in storage make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/storage' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/storage' /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_binary_files import_interpolation '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/bin' libtool: install: /usr/bin/install -p gen_binary_files /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/bin/gen_binary_files libtool: install: /usr/bin/install -p import_interpolation /builddir/build/BUILD/libpinyin-2.10.3-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.3-build/libpinyin-2.10.3/utils/storage' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/storage' Making install in segment make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/segment' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils/segment' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/segment' Making install in training make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/training' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/training' /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/bin' /bin/sh ../../libtool --mode=install /usr/bin/install -p gen_unigram '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/bin' libtool: install: /usr/bin/install -p gen_unigram /builddir/build/BUILD/libpinyin-2.10.3-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.3-build/libpinyin-2.10.3/utils/training' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils/training' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils' make[3]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/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.3-build/libpinyin-2.10.3/utils' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/utils' Making install in data make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/data' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/data' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-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.3-build/BUILDROOT/usr/lib64/libpinyin/data' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/data' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/data' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/doc' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/share/man/man1' /usr/bin/install -p -m 644 libpinyin.1 '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/share/man/man1' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/doc' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/doc' make[1]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3' make[2]: Entering directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libpinyin.pc libzhuyin.pc '/builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3' make[1]: Leaving directory '/builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3' + find /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT -name '*.la' -exec rm -f '{}' ';' + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.10.3-1.fc44 --unique-debug-suffix -2.10.3-1.fc44.x86_64 --unique-debug-src-base libpinyin-2.10.3-1.fc44.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3 find-debuginfo: starting Extracting debug info from 5 files xz: Failed to enable the sandbox objcopy: cannot open: /tmp/tmp.vdByhtkQ3I.xz: No such file or directory xz: Failed to enable the sandbox objcopy: cannot open: /tmp/tmp.PtwRBxViR9.xz: No such file or directory xz: Failed to enable the sandbox objcopy: cannot open: /tmp/tmp.Izb0EcWj5R.xz: No such file or directory xz: Failed to enable the sandbox objcopy: cannot open: /tmp/tmp.zVrYbuwF6u.xz: No such file or directory xz: Failed to enable the sandbox objcopy: cannot open: /tmp/tmp.m3OTt6EfqM.xz: No such file or directory 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.3-1.fc44.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/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-det --brp -j8 /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT Scanned 28 directories and 114 files, processed 1 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr Scanned 27 directories and 114 files, considered 110 files, read 8 files, linked 4 files, 0 errors sum of sizes of linked files: 60886 bytes Reading /builddir/build/BUILD/libpinyin-2.10.3-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libpinyin-2.10.3-1.fc44.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.T2zVTw + umask 022 + cd /builddir/build/BUILD/libpinyin-2.10.3-build + cd libpinyin-2.10.3 + DOCDIR=/builddir/build/BUILD/libpinyin-2.10.3-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.3-build/BUILDROOT/usr/share/doc/libpinyin + cp -pr /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/AUTHORS /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/share/doc/libpinyin + cp -pr /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/COPYING /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/share/doc/libpinyin + cp -pr /builddir/build/BUILD/libpinyin-2.10.3-build/libpinyin-2.10.3/README /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT/usr/share/doc/libpinyin + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpinyin = 2.10.3-1.fc44 libpinyin(x86-64) = 2.10.3-1.fc44 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.3-1.fc44.x86_64 Provides: libpinyin-devel = 2.10.3-1.fc44 libpinyin-devel(x86-64) = 2.10.3-1.fc44 libzhuyin-devel = 2.10.3-1.fc44 pkgconfig(libpinyin) = 2.10.3 pkgconfig(libzhuyin) = 2.10.3 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.3-1.fc44 Processing files: libpinyin-data-2.10.3-1.fc44.x86_64 Provides: libpinyin-data = 2.10.3-1.fc44 libpinyin-data(x86-64) = 2.10.3-1.fc44 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.3-1.fc44.x86_64 Provides: libpinyin-tools = 2.10.3-1.fc44 libpinyin-tools(x86-64) = 2.10.3-1.fc44 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.3-1.fc44.x86_64 Provides: libzhuyin = 2.10.3-1.fc44 libzhuyin(x86-64) = 2.10.3-1.fc44 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.3-1.fc44.x86_64 Provides: libpinyin-debugsource = 2.10.3-1.fc44 libpinyin-debugsource(x86-64) = 2.10.3-1.fc44 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.3-1.fc44.x86_64 Provides: debuginfo(build-id) = 6ed1c9947b7bf0f3f4beda25a4caacf824cf63d5 libpinyin-debuginfo = 2.10.3-1.fc44 libpinyin-debuginfo(x86-64) = 2.10.3-1.fc44 libpinyin.so.15.0.0-2.10.3-1.fc44.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.3-1.fc44 Processing files: libpinyin-tools-debuginfo-2.10.3-1.fc44.x86_64 Provides: debuginfo(build-id) = 35ae0f8a1e19556e9cfadf0a7980034bf5be029a debuginfo(build-id) = 9df7aaf6ffd09917d6237c1f4eb1cf912e2d23fe debuginfo(build-id) = a5b3ed38204953a063f0c0dc5094b989c43739b3 libpinyin-tools-debuginfo = 2.10.3-1.fc44 libpinyin-tools-debuginfo(x86-64) = 2.10.3-1.fc44 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.3-1.fc44 Processing files: libzhuyin-debuginfo-2.10.3-1.fc44.x86_64 Provides: debuginfo(build-id) = 2464b392f264c6977aa2a45bec1ddaeff849e8ae libzhuyin-debuginfo = 2.10.3-1.fc44 libzhuyin-debuginfo(x86-64) = 2.10.3-1.fc44 libzhuyin.so.15.0.0-2.10.3-1.fc44.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.3-1.fc44 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libpinyin-2.10.3-build/BUILDROOT Finish: chroot ['/bin/bash -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-10-28 19:13:37 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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-10-28 19:13:39 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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-10-28 19:13:45 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/raw-results' tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2025-10-28 19:13:46 cat '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/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/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/uni-results/cswrap-capture.js' >>> 2025-10-28 19:13:46 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/uni-results/clippy-capture.err >>> 2025-10-28 19:13:46 cd /tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/uni-results/shellcheck-capture.json >>> 2025-10-28 19:13:46 csgrep --mode=json '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/uni-results/unicontrol-capture.js' >>> 2025-10-28 19:13:46 csgrep --mode=json --remove-duplicates --file-glob "/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/raw-results/builddir/gcc-results/*.sarif" > "/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/uni-results/gcc-results.json" scan.ini: time-finished = 2025-10-28 19:13:46 scan.ini: exit-code = 0 >>> 2025-10-28 19:13:46 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan.ini' '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/uni-results'/* > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/scan-results-all.js' >>> 2025-10-28 19:13:46 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-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/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/scan-results-all.js' >'/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/scan-results-all.js.tmp' >>> 2025-10-28 19:13:47 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2025-10-28 19:13:50 cat '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/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/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results.js' >>> 2025-10-28 19:13:50 cat '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/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/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results.js' - | cssort > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/suppressed-results.js' >>> 2025-10-28 19:13:50 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/suppressed-results.js' > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/suppressed-results.err' >>> 2025-10-28 19:13:50 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/suppressed-results.js' | cshtml - > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/suppressed-results.html' >>> 2025-10-28 19:13:50 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/suppressed-results.js' | tee '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/debug/suppressed-results-summary.txt' 2 COMPILER_WARNING warning[-Wsign-compare] 3 COMPILER_WARNING warning[-Wunused-but-set-variable] 35 COMPILER_WARNING warning[-Wunused-variable] 1 COMPILER_WARNING warning[-Wvexing-parse] 1 CPPCHECK_WARNING error[memleakOnRealloc] 3 CPPCHECK_WARNING warning[nullPointer] >>> 2025-10-28 19:13:50 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results.js' > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results.err' >>> 2025-10-28 19:13:50 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results.js' | cshtml - > '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results.html' >>> 2025-10-28 19:13:50 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results.js' | tee '/tmp/csmockgh1mvczo/libpinyin-2.10.3-1.fc44/scan-results-summary.txt' 2 COMPILER_WARNING warning[-Wsign-compare] 3 COMPILER_WARNING warning[-Wunused-but-set-variable] 24 COMPILER_WARNING warning[-Wunused-variable] 1 CPPCHECK_WARNING error[memleakOnRealloc] 3 CPPCHECK_WARNING warning[nullPointer] <<< 2025-10-28 19:13:50 csmock exit code: 0