Task #763 - stdout.log
back to task #763download
COMMAND: koji -p koji download-build --noprogress --arch=src libedit-3.1-51.20240517cvs.fc41 ------------------------------------------------------------------------------- Downloading [1/1]: libedit-3.1-51.20240517cvs.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmpg8_e4zqd && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmpg8_e4zqd/libedit-3.1-51.20240517cvs.fc41.tar.xz --gcc-analyze /tmp/tmpg8_e4zqd/libedit-3.1-51.20240517cvs.fc41.src.rpm' ------------------------------------------------------------------------------- scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpg8_e4zqd/libedit-3.1-51.20240517cvs.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpg8_e4zqd/libedit-3.1-51.20240517cvs.fc41.src.rpm' scan.ini: host = ip-172-16-1-210.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpg8_e4zqd/libedit-3.1-51.20240517cvs.fc41.tar.xz scan.ini: time-created = 2024-07-03 14:39:42 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = libedit-3.1-51.20240517cvs.fc41 >>> 2024-07-03 14:39:42 "rpm -qa | sort -V > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/rpm-list-host.txt'" >>> 2024-07-03 14:39:43 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-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: 5.6 INFO: Mock Version: 5.6 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 >>> 2024-07-03 14:39:45 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 25.4 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: gcc x86_64 14.1.1-6.fc41 fedora 104.1 MiB groff-base x86_64 1.23.0-6.fc40 fedora 3.8 MiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB ncurses-devel x86_64 6.4-12.20240127.fc40 fedora 859.8 KiB Installing dependencies: annobin-docs noarch 12.60-1.fc41 fedora 96.2 KiB annobin-plugin-gcc x86_64 12.60-1.fc41 fedora 976.2 KiB cpp x86_64 14.1.1-6.fc41 fedora 35.0 MiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.1.1-6.fc41 fedora 57.1 KiB glibc-devel x86_64 2.39.9000-26.fc41 fedora 36.8 KiB glibc-headers-x86 noarch 2.39.9000-26.fc41 fedora 2.2 MiB guile30 x86_64 3.0.9-1.fc41 fedora 52.7 MiB kernel-headers x86_64 6.10.0-0.rc6.50.fc41 fedora 6.3 MiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB ncurses-c++-libs x86_64 6.4-12.20240127.fc40 fedora 161.7 KiB Transaction Summary: Installing: 16 packages Total size of inbound packages is 63 MiB. Need to download 0 B. After this operation 209 MiB will be used (install 209 MiB, remove 0 B). [ 1/16] gcc-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/16] groff-base-0:1.23.0-6.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/16] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/16] ncurses-devel-0:6.4-12.20240127 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/16] cpp-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/16] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/16] guile30-0:3.0.9-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/16] ncurses-c++-libs-0:6.4-12.20240 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/16] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/16] annobin-plugin-gcc-0:12.60-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/16] gcc-plugin-annobin-0:14.1.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/16] annobin-docs-0:12.60-1.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/16] glibc-devel-0:2.39.9000-26.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/16] glibc-headers-x86-0:2.39.9000-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/16] libxcrypt-devel-0:4.4.36-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/16] kernel-headers-0:6.10.0-0.rc6.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [16/16] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/18] Verify package files 100% | 76.0 B/s | 16.0 B | 00m00s [ 2/18] Prepare transaction 100% | 500.0 B/s | 16.0 B | 00m00s [ 3/18] Installing libmpc-0:1.3.1-5.fc4 100% | 32.5 MiB/s | 166.2 KiB | 00m00s [ 4/18] Installing cpp-0:14.1.1-6.fc41. 100% | 309.7 MiB/s | 35.0 MiB | 00m00s [ 5/18] Installing kernel-headers-0:6.1 100% | 105.7 MiB/s | 6.4 MiB | 00m00s [ 6/18] Installing glibc-headers-x86-0: 100% | 84.6 MiB/s | 2.3 MiB | 00m00s [ 7/18] Installing libxcrypt-devel-0:4. 100% | 8.0 MiB/s | 32.6 KiB | 00m00s [ 8/18] Installing glibc-devel-0:2.39.9 100% | 7.9 MiB/s | 40.5 KiB | 00m00s [ 9/18] Installing annobin-docs-0:12.60 100% | 31.7 MiB/s | 97.4 KiB | 00m00s [10/18] Installing gc-0:8.2.2-6.fc40.x8 100% | 42.5 MiB/s | 261.2 KiB | 00m00s [11/18] Installing guile30-0:3.0.9-1.fc 100% | 332.1 MiB/s | 52.8 MiB | 00m00s [12/18] Installing make-1:4.4.1-6.fc40. 100% | 138.5 MiB/s | 1.8 MiB | 00m00s [13/18] Installing gcc-0:14.1.1-6.fc41. 100% | 338.2 MiB/s | 104.2 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [14/18] Installing ncurses-c++-libs-0:6 100% | 22.7 MiB/s | 162.9 KiB | 00m00s [15/18] Installing ncurses-devel-0:6.4- 100% | 25.2 MiB/s | 1.0 MiB | 00m00s [16/18] Installing annobin-plugin-gcc-0 100% | 63.7 MiB/s | 977.9 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [17/18] Installing gcc-plugin-annobin-0 100% | 2.7 MiB/s | 58.6 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Running pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop pre-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [18/18] Installing groff-base-0:1.23.0- 100% | 1.8 MiB/s | 3.9 MiB | 00m02s >>> Running post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Stop post-install scriptlet: groff-base-0:1.23.0-6.fc40.x86_64 >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> 2024-07-03 14:39:50 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 25.4 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.7-1.fc41 fedora 587.7 KiB cppcheck x86_64 2.14.2-1.fc41 fedora 10.1 MiB Installing dependencies: clang-libs x86_64 18.1.7-1.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.7-1.fc41 fedora 522.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB gcc-c++ x86_64 14.1.1-6.fc41 fedora 38.1 MiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libedit x86_64 3.1-51.20240517cvs.fc41 fedora 243.9 KiB libstdc++-devel x86_64 14.1.1-6.fc41 fedora 15.4 MiB llvm-libs x86_64 18.1.7-1.fc41 fedora 113.5 MiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB python-pip-wheel noarch 24.1.1-1.fc41 fedora 1.2 MiB python3 x86_64 3.13.0~b3-1.fc41 fedora 31.8 KiB python3-libs x86_64 3.13.0~b3-1.fc41 fedora 40.5 MiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB tzdata noarch 2024a-8.fc41 fedora 1.7 MiB Transaction Summary: Installing: 18 packages Total size of inbound packages is 87 MiB. Need to download 0 B. After this operation 364 MiB will be used (install 364 MiB, remove 0 B). [ 1/18] cppcheck-0:2.14.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/18] ShellCheck-0:0.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/18] clang-0:18.1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/18] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/18] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/18] clang-libs-0:18.1.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/18] llvm-libs-0:18.1.7-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/18] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/18] libedit-0:3.1-51.20240517cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/18] python3-0:3.13.0~b3-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/18] python3-libs-0:3.13.0~b3-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/18] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/18] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/18] mpdecimal-0:2.5.1-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/18] python-pip-wheel-0:24.1.1-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/18] tzdata-0:2024a-8.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/18] gcc-c++-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/18] libstdc++-devel-0:14.1.1-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [18/18] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/20] Verify package files 100% | 62.0 B/s | 18.0 B | 00m00s [ 2/20] Prepare transaction 100% | 473.0 B/s | 18.0 B | 00m00s [ 3/20] Installing libstdc++-devel-0:14 100% | 216.0 MiB/s | 15.6 MiB | 00m00s [ 4/20] Installing gcc-c++-0:14.1.1-6.f 100% | 318.0 MiB/s | 38.2 MiB | 00m00s [ 5/20] Installing tzdata-0:2024a-8.fc4 100% | 31.3 MiB/s | 1.9 MiB | 00m00s [ 6/20] Installing python-pip-wheel-0:2 100% | 208.3 MiB/s | 1.2 MiB | 00m00s [ 7/20] Installing mpdecimal-0:2.5.1-9. 100% | 65.8 MiB/s | 202.0 KiB | 00m00s [ 8/20] Installing libb2-0:0.98.1-11.fc 100% | 14.1 MiB/s | 43.3 KiB | 00m00s [ 9/20] Installing expat-0:2.6.2-1.fc41 100% | 27.6 MiB/s | 282.9 KiB | 00m00s [10/20] Installing python3-libs-0:3.13. 100% | 222.0 MiB/s | 40.8 MiB | 00m00s [11/20] Installing python3-0:3.13.0~b3- 100% | 8.2 MiB/s | 33.6 KiB | 00m00s [12/20] Installing libedit-0:3.1-51.202 100% | 48.0 MiB/s | 245.6 KiB | 00m00s [13/20] Installing llvm-libs-0:18.1.7-1 100% | 366.0 MiB/s | 113.5 MiB | 00m00s [14/20] Installing clang-resource-files 100% | 522.1 KiB/s | 1.6 KiB | 00m00s [15/20] Installing clang-libs-0:18.1.7- 100% | 392.1 MiB/s | 107.8 MiB | 00m00s [16/20] Installing tinyxml2-0:9.0.0-4.f 100% | 34.2 MiB/s | 104.9 KiB | 00m00s [17/20] Installing pcre-0:8.45-1.fc40.6 100% | 88.6 MiB/s | 544.1 KiB | 00m00s [18/20] Installing cppcheck-0:2.14.2-1. 100% | 288.0 MiB/s | 10.1 MiB | 00m00s [19/20] Installing clang-0:18.1.7-1.fc4 100% | 115.3 MiB/s | 590.4 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [20/20] Installing ShellCheck-0:0.10.0- 100% | 19.7 MiB/s | 33.9 MiB | 00m02s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 14:39:56 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 14:39:57 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock57tptjq_/rpm-list-mock-provides.txt" >>> 2024-07-03 14:39:58 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41.src.rpm" "/builddir/libedit-3.1-51.20240517cvs.fc41.src.rpm" >>> 2024-07-03 14:39:59 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-07-03 14:40:00 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/libedit-3.1-51.20240517cvs.fc41.src.rpm'\"" Updating / installing... libedit-3.1-51.20240517cvs.fc41 ######################################## >>> 2024-07-03 14:40:01 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/libedit.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/libedit-3.1-51.20240517cvs.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1715904000 Wrote: /builddir/build/SRPMS/libedit-3.1-51.20240517cvs.fc41.src.rpm renamed 'libedit-3.1-51.20240517cvs.fc41.src.rpm' -> '/builddir/libedit-3.1-51.20240517cvs.fc41.src.rpm' >>> 2024-07-03 14:40:02 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/libedit-3.1-51.20240517cvs.fc41.src.rpm" "/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41.src.rpm" >>> 2024-07-03 14:40:03 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 25.4 KiB | 00m00s Repositories loaded. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "groff-base-1.23.0-6.fc40.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "ncurses-devel-6.4-12.20240127.fc40.x86_64" is already installed. Nothing to do. >>> 2024-07-03 14:40:05 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 25.4 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.7-1.fc41.x86_64" is already installed. Package "cppcheck-2.14.2-1.fc41.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 14:40:06 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 14:40:08 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock57tptjq_/rpm-list-mock-provides.txt" >>> 2024-07-03 14:40:09 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 25.4 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.4.0-1.fc41 fedora 3.6 MiB Installing dependencies: boost-atomic x86_64 1.83.0-7.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-7.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-7.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-7.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation 4 MiB will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.4.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-7.fc41.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.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 277.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 2.8 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 4.3 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 36.3 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 44.6 MiB/s | 273.8 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [7/7] Installing csdiff-0:3.4.0-1.fc41. 100% | 36.5 MiB/s | 3.7 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 14:40:10 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 14:40:12 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock57tptjq_/rpm-list-mock-provides.txt" >>> 2024-07-03 14:40:13 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-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-clang = 18.1.7 scan.ini: analyzer-version-cppcheck = 2.14.2 scan.ini: analyzer-version-gcc = 14.1.1 >>> 2024-07-03 14:40:15 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.1.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-07-03 14:40:17 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41.src.rpm'" Updating / installing... libedit-3.1-51.20240517cvs.fc41 ######################################## >>> 2024-07-03 14:40:18 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-07-03 14:40:19 "/usr/bin/mock" "-r" "fedora-41-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/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh 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 >>> 2024-07-03 14:40:20 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/libedit.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libedit.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: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Start: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1715904000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.4U9syB + umask 022 + cd /builddir/build/BUILD/libedit-3.1-build + test -d /builddir/build/BUILD/libedit-3.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/libedit-3.1-build + /usr/bin/rm -rf /builddir/build/BUILD/libedit-3.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libedit-3.1-build + /usr/bin/mkdir -p /builddir/build/BUILD/libedit-3.1-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BXBXEK + umask 022 + cd /builddir/build/BUILD/libedit-3.1-build + cd /builddir/build/BUILD/libedit-3.1-build + rm -rf libedit-20240517-3.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libedit-20240517-3.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd libedit-20240517-3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -i s/lncurses/ltinfo/ configure + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-07-03 14:40:22 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-07-03 14:40:23 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' 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' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libedit.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' 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'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libedit.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: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' 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\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' 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\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1715904000 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.k5pz09 + umask 022 + cd /builddir/build/BUILD/libedit-3.1-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 libedit-20240517-3.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2024-07-03 14:40:21.989664737 +0000 +++ ./configure 2024-07-03 14:40:24.197636218 +0000 @@ -7153,7 +7153,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'" @@ -16424,7 +16424,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./configure --build=x86_64-redhat-linux --host=x86_64-redhat-linux --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static --disable-silent-rules checking for x86_64-redhat-linux-gcc... gcc 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 gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... 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 vfork.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports the include directive... yes (GNU style) checking whether make supports nested variables... yes checking dependency style of gcc... none checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf 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 for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... 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 whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-file... no checking for file... file checking for x86_64-redhat-linux-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-strip... no checking for strip... strip checking for x86_64-redhat-linux-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 7159: -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for 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 whether make supports nested variables... (cached) yes checking for x86_64-redhat-linux-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking whether ln -s works... yes checking for gawk... (cached) gawk checking for nroff... /usr/bin/nroff checking for tgetent in -ltinfo... yes checking if you want wide-character code... no configure: WARNING: --enable-widec is deprecated, wide-character/UTF-8 is always enabled checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for egrep... (cached) /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for fcntl.h... yes checking for limits.h... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for sys/ioctl.h... yes checking for sys/param.h... yes checking for unistd.h... (cached) yes checking for curses.h... yes checking for ncurses.h... yes checking for sys/cdefs.h... yes checking for termcap.h... yes checking for ncurses.h... (cached) yes checking for termios.h... yes checking for term.h... yes checking for struct dirent.d_namlen... no checking for an ANSI C-conforming const... yes checking for pid_t... yes checking for size_t... yes checking for u_int32_t... yes checking whether closedir returns void... no checking for fork... yes checking for vfork... yes checking for working fork... yes checking for working vfork... (cached) yes checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for endpwent... yes checking for isascii... yes checking for memchr... yes checking for memset... yes checking for re_comp... yes checking for regcomp... yes checking for strcasecmp... yes checking for strchr... yes checking for strcspn... yes checking for strdup... yes checking for strerror... yes checking for strrchr... yes checking for strstr... yes checking for strtol... yes checking for issetugid... no checking for wcsdup... yes checking for strlcpy... yes checking for strlcat... yes checking for vis... no checking for strvis... no checking for strunvis... no checking for __secure_getenv... no checking for secure_getenv... yes checking for reallocarr... no checking for strlcpy... (cached) yes checking for strlcat... (cached) yes checking for getline... yes checking for vis... (cached) no checking for unvis... no checking whether getpwnam_r and getpwuid_r are posix like... yes checking whether getpwnam_r and getpwuid_r are posix _draft_ like... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libedit.pc config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j8 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in src make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' AWK=gawk sh ./makelist -bh ./vi.c ./emacs.c ./common.c > help.h make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' AWK=gawk sh ./makelist -h ./vi.c > vi.h make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' AWK=gawk sh ./makelist -h ./emacs.c > emacs.h make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' AWK=gawk sh ./makelist -h ./common.c > common.h make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' AWK=gawk sh ./makelist -fc vi.h emacs.h common.h > func.h make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' AWK=gawk sh ./makelist -fh vi.h emacs.h common.h > fcns.h make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /usr/bin/make all-am make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 eln.lo eln.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 eln.c -fPIC -DPIC -o .libs/eln.o In file included from /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:38: <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c: In function 'el_set': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: warning: leak of 'wcsdup(<unknown>[1])' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:230:17: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:110:12: note: (1) following 'false' branch (when 'el' is non-NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:112:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:114:9: note: (3) following 'case 9:' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:213:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:223:20: note: (5) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:228:57: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:228:57: note: (7) allocated here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: note: (8) 'wcsdup(<unknown>[1])' leaks here; was allocated at (7) <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:230:17: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: warning: leak of 'wcsdup(*<unknown>)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:230:17: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:110:12: note: (1) following 'false' branch (when 'el' is non-NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:112:9: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:114:9: note: (3) following 'case 9:' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:213:9: note: (4) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:223:20: note: (5) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:228:57: note: (6) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:228:39: note: (7) allocated here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: note: (8) 'wcsdup(*<unknown>)' leaks here; was allocated at (7) <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/eln.c:230:17: note: in expansion of macro 'el_free' <--[gcc] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 emacs.lo emacs.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 emacs.c -fPIC -DPIC -o .libs/emacs.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 map.lo map.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 map.c -fPIC -DPIC -o .libs/map.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 common.lo common.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 common.c -fPIC -DPIC -o .libs/common.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 chared.lo chared.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 chared.c -fPIC -DPIC -o .libs/chared.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 el.lo el.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 el.c -fPIC -DPIC -o .libs/el.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.c:302:4: warning: Value stored to 'rv' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.c:584:11: warning: Potential leak of memory pointed to by 'fname' [unix.Malloc] <--[clang] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 prompt.lo prompt.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 prompt.c -fPIC -DPIC -o .libs/prompt.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 sig.lo sig.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 sig.c -fPIC -DPIC -o .libs/sig.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 parse.lo parse.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 parse.c -fPIC -DPIC -o .libs/parse.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 hist.lo hist.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 hist.c -fPIC -DPIC -o .libs/hist.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 chartype.lo chartype.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 chartype.c -fPIC -DPIC -o .libs/chartype.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/chartype.c: In function 'ct_encode_char': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/chartype.c:209:17: warning: ignoring return value of 'wctomb' declared with attribute 'warn_unused_result' [-Wunused-result] <--[gcc] 209 | wctomb(NULL, L'\0'); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/chartype.c:227:2: warning: Value stored to 'used' is never read [deadcode.DeadStores] <--[clang] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 reallocarr.lo reallocarr.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 reallocarr.c -fPIC -DPIC -o .libs/reallocarr.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/reallocarr.c:94: error: memleak(CWE-401): Memory leak: nptr <--[cppcheck] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 read.lo read.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 read.c -fPIC -DPIC -o .libs/read.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/read.c: In function 'el_wpush': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/read.c:215:20: warning: leak of 'wcsdup(str)' [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/read.c:213:12: note: (1) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/read.c:214:26: note: (2) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/read.c:215:45: note: (3) allocated here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/read.c:215:20: note: (4) 'wcsdup(str)' leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/read.c:170:3: warning: Value stored to 'e' is never read [deadcode.DeadStores] <--[clang] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 vi.lo vi.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 vi.c -fPIC -DPIC -o .libs/vi.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/vi.c: In function 'vi_histedit': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/vi.c:1036:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] <--[gcc] 1036 | write(fd, cp, len); | ^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/vi.c:1037:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] <--[gcc] 1037 | write(fd, "\n", (size_t)1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 wcsdup.lo wcsdup.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 wcsdup.c -fPIC -DPIC -o .libs/wcsdup.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 search.lo search.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 search.c -fPIC -DPIC -o .libs/search.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/search.c:464:2: warning: Value stored to 'tmplen' is never read [deadcode.DeadStores] <--[clang] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 tokenizern.lo tokenizern.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 tokenizern.c -fPIC -DPIC -o .libs/tokenizern.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' In file included from /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/tokenizern.c:3: <--[clang] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/tokenizer.c:216:2: warning: Value stored to 'ptr' is never read [deadcode.DeadStores] <--[clang] make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 historyn.lo historyn.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 historyn.c -fPIC -DPIC -o .libs/historyn.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 keymacro.lo keymacro.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 keymacro.c -fPIC -DPIC -o .libs/keymacro.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 tokenizer.lo tokenizer.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 tokenizer.c -fPIC -DPIC -o .libs/tokenizer.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/tokenizer.c:216:2: warning: Value stored to 'ptr' is never read [deadcode.DeadStores] <--[clang] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 literal.lo literal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 literal.c -fPIC -DPIC -o .libs/literal.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 history.lo history.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 history.c -fPIC -DPIC -o .libs/history.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/history.c:553:3: warning: Use of memory after it is freed [unix.Malloc] <--[clang] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/history.c:594:3: warning: Use of memory after it is freed [unix.Malloc] <--[clang] make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 tty.lo tty.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 tty.c -fPIC -DPIC -o .libs/tty.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 unvis.lo unvis.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 unvis.c -fPIC -DPIC -o .libs/unvis.o /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/unvis.c: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/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 refresh.lo refresh.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 refresh.c -fPIC -DPIC -o .libs/refresh.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 filecomplete.lo filecomplete.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 filecomplete.c -fPIC -DPIC -o .libs/filecomplete.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/filecomplete.c:480:5: warning: Potential leak of memory pointed to by 'retstr' [unix.Malloc] <--[clang] make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 vis.lo vis.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 vis.c -fPIC -DPIC -o .libs/vis.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/vis.c: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/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 readline.lo readline.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 readline.c -fPIC -DPIC -o .libs/readline.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c: In function 'history_truncate_file': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1410:23: warning: ignoring return value of 'ftruncate' declared with attribute 'warn_unused_result' [-Wunused-result] <--[gcc] 1410 | (void)ftruncate(fileno(fp), off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:57: <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c: In function 'getfrom': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: warning: double-'free' of 'from' [CWE-415] [-Wanalyzer-double-free] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:710:33: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:992:1: note: (1) entry to 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1001:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1006:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1010:20: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1012:45: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1042:21: note: (6) following 'true' branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1070:20: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1079:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1025:20: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1027:35: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:36: note: in definition of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:25: note: (12) when 'realloc' succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1026:41: note: in expansion of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1028:28: note: (13) following 'false' branch (when 'nresult' is non-NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1035:23: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1082:20: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (17) calling '_history_expand_command' from 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:818:1: note: (18) entry to '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:13: note: (19) when 'strchr' returns non-NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:12: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:841:33: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (22) calling 'get_history_event' from '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:575:1: note: (23) entry to 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:584:12: note: (24) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:12: note: (26) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:20: note: (28) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:30: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (30) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (32) returning to '_history_expand_command' from 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:864:12: note: (33) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (35) following 'false' branch (when 'has_mods != 0')... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:876:30: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:18: note: (37) when 'strchr' returns NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:17: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (40) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:924:12: note: (42) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:13: note: (43) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:12: note: (44) following 'false' branch... <--[gcc] cc1: note: (45) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:932:16: note: (46) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:933:17: note: (47) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:963:28: note: (48) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:965:35: note: (49) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:965:35: note: (50) calling 'getfrom' from '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:691:1: note: (51) entry to 'getfrom' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:25: note: (52) first 'free' here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:696:22: note: in expansion of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:25: note: (53) when 'realloc' succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:696:22: note: in expansion of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:697:12: note: (54) following 'false' branch (when 'what' is non-NULL)... <--[gcc] cc1: note: (55) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:702:21: note: (56) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:703:20: note: (57) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:705:20: note: (58) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:707:56: note: (59) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:36: note: in definition of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:25: note: (60) when 'realloc' fails <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:707:33: note: in expansion of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:708:28: note: (61) following 'true' branch (when 'nwhat' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: note: (62) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:709:33: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: note: (63) second 'free' here; first 'free' was at (52) <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:710:33: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c: In function 'replace': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:800:21: warning: use of possibly-NULL 'tmp' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:992:1: note: (1) entry to 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1001:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1006:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1010:20: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1012:45: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1042:21: note: (6) following 'true' branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1070:20: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1079:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1025:20: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1027:35: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:36: note: in definition of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:25: note: (12) when 'realloc' succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1026:41: note: in expansion of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1028:28: note: (13) following 'false' branch (when 'nresult' is non-NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1035:23: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1082:20: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (17) calling '_history_expand_command' from 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:818:1: note: (18) entry to '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:13: note: (19) when 'strchr' returns non-NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:12: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:841:33: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (22) calling 'get_history_event' from '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:575:1: note: (23) entry to 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:584:12: note: (24) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:12: note: (26) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:20: note: (28) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:30: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (30) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (32) returning to '_history_expand_command' from 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:864:12: note: (33) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (35) following 'false' branch (when 'has_mods != 0')... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:876:30: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:18: note: (37) when 'strchr' returns NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:17: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (40) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (42) this call could return NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:924:12: note: (43) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:13: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:12: note: (45) following 'false' branch... <--[gcc] cc1: note: (46) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:932:16: note: (47) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:933:17: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:933:17: note: (49) following 'case 116:' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:940:17: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:941:25: note: (51) calling 'replace' from '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:797:1: note: (52) entry to 'replace' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:800:21: note: (53) argument 1 ('*tmp') from (42) could be NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:50: <--[gcc] /usr/include/string.h:273:14: note: argument 1 of 'strrchr' must be non-null <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c: In function '_history_expand_command': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:937:37: warning: use of possibly-NULL 'tmp' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:992:1: note: (1) entry to 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1001:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1006:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1010:20: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1012:45: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1042:21: note: (6) following 'true' branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1070:20: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1079:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1025:20: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1027:35: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:36: note: in definition of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:25: note: (12) when 'realloc' succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1026:41: note: in expansion of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1028:28: note: (13) following 'false' branch (when 'nresult' is non-NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1035:23: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1082:20: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (17) calling '_history_expand_command' from 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:818:1: note: (18) entry to '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:13: note: (19) when 'strchr' returns non-NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:12: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:841:33: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (22) calling 'get_history_event' from '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:575:1: note: (23) entry to 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:584:12: note: (24) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:12: note: (26) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:20: note: (28) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:30: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (30) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (32) returning to '_history_expand_command' from 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:864:12: note: (33) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (35) following 'false' branch (when 'has_mods != 0')... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:876:30: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:18: note: (37) when 'strchr' returns NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:17: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (40) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (42) this call could return NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:924:12: note: (43) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:13: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:12: note: (45) following 'false' branch... <--[gcc] cc1: note: (46) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:932:16: note: (47) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:933:17: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:933:17: note: (49) following 'case 104:' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:936:17: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:937:37: note: (51) argument 1 ('tmp') from (42) could be NULL where non-null expected <--[gcc] /usr/include/string.h:273:14: note: argument 1 of 'strrchr' must be non-null <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:944:37: warning: use of possibly-NULL 'tmp' where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:992:1: note: (1) entry to 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1001:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1006:17: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1010:20: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1012:45: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1042:21: note: (6) following 'true' branch... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1070:20: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1079:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1025:20: note: (10) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1027:35: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:36: note: in definition of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:95:25: note: (12) when 'realloc' succeeds, moving buffer <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1026:41: note: in expansion of macro 'el_realloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1028:28: note: (13) following 'false' branch (when 'nresult' is non-NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1035:23: note: (14) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:17: note: in expansion of macro 'ADD_STRING' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1082:20: note: (15) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (16) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1091:23: note: (17) calling '_history_expand_command' from 'history_expand' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:818:1: note: (18) entry to '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:13: note: (19) when 'strchr' returns non-NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:834:12: note: (20) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:841:33: note: (21) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (22) calling 'get_history_event' from '_history_expand_command' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:575:1: note: (23) entry to 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:584:12: note: (24) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:16: note: (25) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:588:12: note: (26) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:21: note: (27) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:589:20: note: (28) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:30: note: (29) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (30) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:591:46: note: (31) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:843:23: note: (32) returning to '_history_expand_command' from 'get_history_event' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:864:12: note: (33) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:867:12: note: (35) following 'false' branch (when 'has_mods != 0')... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:876:30: note: (36) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:18: note: (37) when 'strchr' returns NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:882:17: note: (38) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (40) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (41) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:922:23: note: (42) this call could return NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:924:12: note: (43) following 'false' branch (when 'aptr' is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:13: note: (44) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:927:12: note: (45) following 'false' branch... <--[gcc] cc1: note: (46) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:932:16: note: (47) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:933:17: note: (48) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:933:17: note: (49) following 'case 114:' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:943:17: note: (50) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:944:37: note: (51) argument 1 ('tmp') from (42) could be NULL where non-null expected <--[gcc] /usr/include/string.h:273:14: note: argument 1 of 'strrchr' must be non-null <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c: In function 'stifle_history': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: warning: dereference of NULL '0' [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1252:25: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1238:1: note: (1) entry to 'stifle_history' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1246:12: note: (2) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1247:35: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1250:39: note: (4) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1251:30: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1251:30: note: (6) calling 'remove_history' from 'stifle_history' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1562:1: note: (7) entry to 'remove_history' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1567:12: note: (8) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:93:25: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1570:19: note: in expansion of macro 'el_malloc' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1570:12: note: (10) following 'true' branch (when 'he' is NULL)... <--[gcc] cc1: note: (11) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1251:30: note: (12) returning to 'stifle_history' from 'remove_history' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/el.h:96:25: note: (13) dereference of NULL 'remove_history(0)' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1252:25: note: in expansion of macro 'el_free' <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c: In function 'history_truncate_file': <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1351:12: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1292:14: note: (1) capacity: 4096 bytes <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1301:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1303:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1304:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1309:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1309:12: note: (6) following 'false' branch (when 'tp' is non-NULL)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1317:28: note: (8) following 'true' branch... <--[gcc] In file included from /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:41: <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1318:39: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1348:12: note: (10) following 'false' branch (when 'ret == 0')... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1350:25: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1351:12: note: (12) out-of-bounds read at byte -1 but 'buf' starts at byte 0 <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1351:12: note: valid subscripts for 'buf' are '[0]' to '[4095]' <--[gcc] ┌───────────────────────┐ │read of 'char' (1 byte)│ └───────────────────────┘ ^ │ │ ┌───────────────────────┐┌───────┬──────────────────────────┬──────────┐ │ ││ [0] │ ... │ [4095] │ │ before valid range │├───────┴──────────────────────────┴──────────┤ │ ││ 'buf' (type: 'char[4096]') │ └───────────────────────┘└─────────────────────────────────────────────┘ ├───────────┬───────────┤├──────────────────────┬──────────────────────┤ │ │ ╭───────────┴───────────╮ ╭────────┴───────╮ │⚠️ under-read of 1 byte│ │size: 4096 bytes│ ╰───────────────────────╯ ╰────────────────╯ /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1292:14: note: (1) capacity: 4096 bytes <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1301:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1303:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1304:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1309:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1309:12: note: (6) following 'false' branch (when 'tp' is non-NULL)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1317:28: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1318:39: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1348:12: note: (10) following 'false' branch (when 'ret == 0')... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1350:25: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1351:11: note: (12) following 'false' branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1354:29: note: (14) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: note: (16) out-of-bounds read at byte -2 but 'buf' starts at byte 0 <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: note: valid subscripts for 'buf' are '[0]' to '[4095]' <--[gcc] ┌───────────────────────┐ │read of 'char' (1 byte)│ └───────────────────────┘ ^ │ │ ┌───────────────────────┐ ┌───────┬───────────────────────┬──────────┐ │ │ │ [0] │ ... │ [4095] │ │ before valid range │ ├───────┴───────────────────────┴──────────┤ │ │ │ 'buf' (type: 'char[4096]') │ └───────────────────────┘ └──────────────────────────────────────────┘ ├───────────┬───────────┤├┬┤├────────────────────┬─────────────────────┤ │ │ │ │ ╭───┴──╮ ╭────────┴───────╮ │ │1 byte│ │size: 4096 bytes│ │ ╰──────╯ ╰────────────────╯ ╭───────────┴───────────╮ │⚠️ under-read of 1 byte│ ╰───────────────────────╯ /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1292:14: note: (1) capacity: 4096 bytes <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1301:12: note: (2) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1303:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1304:12: note: (4) following 'false' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1309:19: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1309:12: note: (6) following 'false' branch (when 'tp' is non-NULL)... <--[gcc] cc1: note: (7) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1317:28: note: (8) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1318:39: note: (9) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1348:12: note: (10) following 'false' branch (when 'ret == 0')... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1350:25: note: (11) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1351:11: note: (12) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1352:19: note: (13) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1354:29: note: (14) following 'true' branch... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: note: (15) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: note: (16) out-of-bounds read at byte -1 but 'buf' starts at byte 0 <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1355:29: note: valid subscripts for 'buf' are '[0]' to '[4095]' <--[gcc] ┌───────────────────────┐ │read of 'char' (1 byte)│ └───────────────────────┘ ^ │ │ ┌───────────────────────┐┌───────┬──────────────────────────┬──────────┐ │ ││ [0] │ ... │ [4095] │ │ before valid range │├───────┴──────────────────────────┴──────────┤ │ ││ 'buf' (type: 'char[4096]') │ └───────────────────────┘└─────────────────────────────────────────────┘ ├───────────┬───────────┤├──────────────────────┬──────────────────────┤ │ │ ╭───────────┴───────────╮ ╭────────┴───────╮ │⚠️ under-read of 1 byte│ │size: 4096 bytes│ ╰───────────────────────╯ ╰────────────────╯ /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:710:5: warning: Attempt to free released memory [unix.Malloc] <--[clang] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:789:2: warning: Potential memory leak [unix.Malloc] <--[clang] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1080:3: warning: Potential leak of memory pointed to by 'result' [unix.Malloc] <--[clang] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src/readline.c:1084:4: warning: Potential leak of memory pointed to by 'result' [unix.Malloc] <--[clang] make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 terminal.lo terminal.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 terminal.c -fPIC -DPIC -o .libs/terminal.o make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /bin/sh ../libtool --tag=CC --mode=link gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -no-undefined -version-info 0:73: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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o libedit.la -rpath /usr/lib64 chared.lo common.lo el.lo eln.lo emacs.lo hist.lo keymacro.lo map.lo chartype.lo parse.lo prompt.lo read.lo refresh.lo search.lo sig.lo terminal.lo tty.lo vi.lo reallocarr.lo wcsdup.lo tokenizer.lo tokenizern.lo history.lo historyn.lo filecomplete.lo readline.lo literal.lo vis.lo unvis.lo -ltinfo libtool: link: gcc -shared -fPIC -DPIC .libs/chared.o .libs/common.o .libs/el.o .libs/eln.o .libs/emacs.o .libs/hist.o .libs/keymacro.o .libs/map.o .libs/chartype.o .libs/parse.o .libs/prompt.o .libs/read.o .libs/refresh.o .libs/search.o .libs/sig.o .libs/terminal.o .libs/tty.o .libs/vi.o .libs/reallocarr.o .libs/wcsdup.o .libs/tokenizer.o .libs/tokenizern.o .libs/history.o .libs/historyn.o .libs/filecomplete.o .libs/readline.o .libs/literal.o .libs/vis.o .libs/unvis.o -ltinfo -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -flto=auto -g -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -mtls-dialect=gnu2 -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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,-soname -Wl,libedit.so.0 -o .libs/libedit.so.0.0.73 libtool: link: (cd ".libs" && rm -f "libedit.so.0" && ln -s "libedit.so.0.0.73" "libedit.so.0") libtool: link: (cd ".libs" && rm -f "libedit.so" && ln -s "libedit.so.0.0.73" "libedit.so") libtool: link: ( cd ".libs" && rm -f "libedit.la" && ln -s "../libedit.la" "libedit.la" ) make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' Making all in examples make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 tc1.o tc1.c make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c: In function ‘complete’: <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c:110:19: warning: use of possibly-NULL ‘opendir(".")’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c:95:19: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c:110:19: note: (2) argument 1 (‘opendir(".")’) from (1) could be NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c:59: <--[gcc] /usr/include/dirent.h:164:23: note: argument 1 of ‘readdir’ must be non-null <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c:235:3: warning: Value stored to 'ncontinuation' is never read [deadcode.DeadStores] <--[clang] make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o tc1 tc1.o ../src/libedit.la -ltinfo libtool: link: gcc -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/tc1 tc1.o ../src/.libs/libedit.so -ltinfo make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 fileman.o fileman.c make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c: In function ‘dupstr’: <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:89:4: warning: use of NULL ‘xmalloc(strlen(s) + 1)’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:84:1: note: (1) entry to ‘dupstr’ <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:88:8: note: (2) calling ‘xmalloc’ from ‘dupstr’ <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:486:1: note: (3) entry to ‘xmalloc’ <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:488:27: note: (4) allocated here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:489:7: note: (5) assuming ‘value’ is NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:489:7: note: (6) following ‘true’ branch (when ‘value’ is NULL)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:490:7: note: (7) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:88:8: note: (8) returning to ‘dupstr’ from ‘xmalloc’ <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c:89:4: note: (9) argument 1 (‘xmalloc(strlen(s) + 1)’) NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o fileman fileman.o ../src/libedit.la -ltinfo libtool: link: gcc -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/fileman fileman.o ../src/.libs/libedit.so -ltinfo make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' gcc -DHAVE_CONFIG_H -I. -I.. -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 wtc1.o wtc1.c make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c: In function ‘complete’: <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:85: error: uninitdata(CWE-457): Memory is allocated but not initialized: bptr <--[cppcheck] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:75:9: warning: ignoring return value of ‘wctomb’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[gcc] 75 | wctomb(NULL, 0); /* Reset shift state */ | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c: In function ‘complete’: <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:70:22: warning: leak of ‘opendir(".")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:59:19: note: (1) allocated here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:70:22: note: (2) ‘opendir(".")’ leaks here; was allocated at (1) <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:91:19: warning: use of possibly-NULL ‘opendir(".")’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:59:19: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:78:12: note: (2) following ‘false’ branch (when ‘bptr’ is non-NULL)... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:83:23: note: (4) following ‘false’ branch (when ‘i >= len’)... <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:87:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:91:19: note: (6) argument 1 (‘opendir(".")’) from (1) could be NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:3: <--[gcc] /usr/include/dirent.h:164:23: note: argument 1 of ‘readdir’ must be non-null <--[gcc] /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c:200:3: warning: Value stored to 'ncontinuation' is never read [deadcode.DeadStores] <--[clang] make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' /bin/sh ../libtool --tag=CC --mode=link gcc -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o wtc1 wtc1.o ../src/libedit.la -ltinfo libtool: link: gcc -I../src -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o .libs/wtc1 wtc1.o ../src/.libs/libedit.so -ltinfo make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' Making all in doc + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' 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\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-07-03 14:40:46 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-07-03 14:40:47 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' 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' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libedit.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' 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'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libedit.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--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: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' 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\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' 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\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1715904000 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.voP2Oz + umask 022 + cd /builddir/build/BUILD/libedit-3.1-build + '[' /builddir/build/BUILD/libedit-3.1-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/libedit-3.1-build/BUILDROOT ++ dirname /builddir/build/BUILD/libedit-3.1-build/BUILDROOT + mkdir -p /builddir/build/BUILD/libedit-3.1-build + mkdir /builddir/build/BUILD/libedit-3.1-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-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 libedit-20240517-3.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/libedit-3.1-build/BUILDROOT 'INSTALL=/usr/bin/install -p' Making install in src make[1]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /usr/bin/make install-am make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' /usr/bin/mkdir -p '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -p libedit.la '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64' libtool: install: /usr/bin/install -p .libs/libedit.so.0.0.73 /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64/libedit.so.0.0.73 libtool: install: (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64 && { ln -s -f libedit.so.0.0.73 libedit.so.0 || { rm -f libedit.so.0 && ln -s libedit.so.0.0.73 libedit.so.0; }; }) libtool: install: (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64 && { ln -s -f libedit.so.0.0.73 libedit.so || { rm -f libedit.so && ln -s libedit.so.0.0.73 libedit.so; }; }) libtool: install: /usr/bin/install -p .libs/libedit.lai /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64/libedit.la libtool: warning: remember to run 'libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/include' /usr/bin/install -p -m 644 histedit.h '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/include/.' /usr/bin/mkdir -p '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/include/editline' /usr/bin/install -p -m 644 editline/readline.h '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/include/editline' make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' make[1]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/src' Making install in examples make[1]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' make[2]: Nothing to be done for 'install-exec-am'. make[2]: Nothing to be done for 'install-data-am'. make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' make[1]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples' Making install in doc make[1]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/doc' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/doc' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3' /usr/bin/install -p -m 644 editline.3 '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3' /usr/bin/mkdir -p '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man5' /usr/bin/install -p -m 644 editrc.5 '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man5' /usr/bin/mkdir -p '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man7' /usr/bin/install -p -m 644 editline.7 '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man7' /usr/bin/make install-data-hook make[3]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/doc' (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_deletestr.3 && ln -s editline.3 el_deletestr.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_end.3 && ln -s editline.3 el_end.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_get.3 && ln -s editline.3 el_get.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_getc.3 && ln -s editline.3 el_getc.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_gets.3 && ln -s editline.3 el_gets.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_init.3 && ln -s editline.3 el_init.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_init_fd.3 && ln -s editline.3 el_init_fd.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_insertstr.3 && ln -s editline.3 el_insertstr.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_line.3 && ln -s editline.3 el_line.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_parse.3 && ln -s editline.3 el_parse.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_push.3 && ln -s editline.3 el_push.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_reset.3 && ln -s editline.3 el_reset.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_resize.3 && ln -s editline.3 el_resize.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_set.3 && ln -s editline.3 el_set.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_source.3 && ln -s editline.3 el_source.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f history.3 && ln -s editline.3 history.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f history_end.3 && ln -s editline.3 history_end.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f history_init.3 && ln -s editline.3 history_init.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_end.3 && ln -s editline.3 tok_end.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_init.3 && ln -s editline.3 tok_init.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_line.3 && ln -s editline.3 tok_line.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_reset.3 && ln -s editline.3 tok_reset.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_str.3 && ln -s editline.3 tok_str.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wdeletestr.3 && ln -s editline.3 el_wdeletestr.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wget.3 && ln -s editline.3 el_wget.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wgetc.3 && ln -s editline.3 el_wgetc.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wgets.3 && ln -s editline.3 el_wgets.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_winsertstr.3 && ln -s editline.3 el_winsertstr.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wline.3 && ln -s editline.3 el_wline.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wparse.3 && ln -s editline.3 el_wparse.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wpush.3 && ln -s editline.3 el_wpush.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f el_wset.3 && ln -s editline.3 el_wset.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f history_w.3 && ln -s editline.3 history_w.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f history_wend.3 && ln -s editline.3 history_wend.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f history_winit.3 && ln -s editline.3 history_winit.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_wend.3 && ln -s editline.3 tok_wend.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_winit.3 && ln -s editline.3 tok_winit.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_wline.3 && ln -s editline.3 tok_wline.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_wreset.3 && ln -s editline.3 tok_wreset.3) (cd /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3 && rm -f tok_wstr.3 && ln -s editline.3 tok_wstr.3) make[3]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/doc' make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/doc' make[1]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/doc' make[1]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1' make[2]: Entering directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64/pkgconfig' /usr/bin/install -p -m 644 libedit.pc '/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/lib64/pkgconfig' make[2]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1' make[1]: Leaving directory '/builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1' + find /builddir/build/BUILD/libedit-3.1-build/BUILDROOT -type f -name '*.la' -delete + rm -f /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/man/man3/history.3 + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.1-51.20240517cvs.fc41 --unique-debug-suffix -3.1-51.20240517cvs.fc41.x86_64 --unique-debug-src-base libedit-3.1-51.20240517cvs.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/libedit-3.1-51.20240517cvs.fc41.x86_64 1149 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/libedit-3.1-build/BUILDROOT Scanned 20 directories and 103 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/libedit-3.1-build/SPECPARTS/rpm-debuginfo.specpart Processing files: libedit-3.1-51.20240517cvs.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.e7dH0F + umask 022 + cd /builddir/build/BUILD/libedit-3.1-build + cd libedit-20240517-3.1 + DOCDIR=/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit + cp -pr /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/ChangeLog /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit + cp -pr /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/THANKS /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Cwpqlm + umask 022 + cd /builddir/build/BUILD/libedit-3.1-build + cd libedit-20240517-3.1 + LICENSEDIR=/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/licenses/libedit + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/licenses/libedit + cp -pr /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/COPYING /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/licenses/libedit + RPM_EC=0 ++ jobs -p + exit 0 Provides: libedit = 3.1-51.20240517cvs.fc41 libedit(x86-64) = 3.1-51.20240517cvs.fc41 libedit.so.0()(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.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: libedit-devel-3.1-51.20240517cvs.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.toKJ9M + umask 022 + cd /builddir/build/BUILD/libedit-3.1-build + cd libedit-20240517-3.1 + DOCDIR=/builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit-devel + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit-devel + cp -pr /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/fileman.c /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit-devel + cp -pr /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/tc1.c /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit-devel + cp -pr /builddir/build/BUILD/libedit-3.1-build/libedit-20240517-3.1/examples/wtc1.c /builddir/build/BUILD/libedit-3.1-build/BUILDROOT/usr/share/doc/libedit-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: libedit-devel = 3.1-51.20240517cvs.fc41 libedit-devel(x86-64) = 3.1-51.20240517cvs.fc41 pkgconfig(libedit) = 3.1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libedit.so.0()(64bit) Processing files: libedit-debugsource-3.1-51.20240517cvs.fc41.x86_64 Provides: libedit-debugsource = 3.1-51.20240517cvs.fc41 libedit-debugsource(x86-64) = 3.1-51.20240517cvs.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: libedit-debuginfo-3.1-51.20240517cvs.fc41.x86_64 Provides: debuginfo(build-id) = 641c5c06518299a759ddec9d0ff28c59368de0ad libedit-debuginfo = 3.1-51.20240517cvs.fc41 libedit-debuginfo(x86-64) = 3.1-51.20240517cvs.fc41 libedit.so.0.0.73-3.1-51.20240517cvs.fc41.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: libedit-debugsource(x86-64) = 3.1-51.20240517cvs.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/libedit-3.1-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' 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\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/libedit.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-07-03 14:40:49 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-07-03 14:40:50 "'/usr/bin/mock' '-r' 'fedora-41-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-capture.err'' | tar -xC '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-07-03 14:40:51 "cat '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-07-03 14:40:51 "csgrep --quiet '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-07-03 14:40:51 scan.ini: exit-code = 0 >>> 2024-07-03 14:40:51 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan.ini' '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/uni-results'/* > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/scan-results-all.js'" >>> 2024-07-03 14:40:51 "'/usr/bin/mock' '-r' 'fedora-41-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/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/scan-results-all.js' >'/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/scan-results-all.js.tmp'" >>> 2024-07-03 14:40:52 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-07-03 14:40:54 "cat '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | 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' | cssort --key=path > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results.js'" >>> 2024-07-03 14:40:54 "cat '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results.js' - | cssort > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/suppressed-results.js'" >>> 2024-07-03 14:40:54 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/suppressed-results.js' > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/suppressed-results.err'" >>> 2024-07-03 14:40:54 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/suppressed-results.html'" >>> 2024-07-03 14:40:54 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/suppressed-results.js' | tee '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/debug/suppressed-results-summary.txt'" >>> 2024-07-03 14:40:54 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results.js' > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results.err'" >>> 2024-07-03 14:40:54 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results.js' | cshtml - > '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results.html'" >>> 2024-07-03 14:40:54 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results.js' | tee '/tmp/csmock57tptjq_/libedit-3.1-51.20240517cvs.fc41/scan-results-summary.txt'" 7 CLANG_WARNING warning[deadcode.DeadStores] 8 CLANG_WARNING warning[unix.Malloc] 5 COMPILER_WARNING warning[-Wunused-result] 1 CPPCHECK_WARNING error[memleak] 1 CPPCHECK_WARNING error[uninitdata] 4 CPPCHECK_WARNING information[normalCheckLevelMaxBranches] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-double-free] 4 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds] 5 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] <<< 2024-07-03 14:40:54 csmock exit code: 0 Wrote: /tmp/tmpg8_e4zqd/libedit-3.1-51.20240517cvs.fc41.tar.xz