Task #139 - stdout.log
back to task #139download
COMMAND: koji -p koji download-build --noprogress --arch=src pciutils-3.12.0-1.fc41 ------------------------------------------------------------------------------- Downloading [1/1]: pciutils-3.12.0-1.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmpfs8ijpl8 && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmpfs8ijpl8/pciutils-3.12.0-1.fc41.tar.xz --gcc-analyze /tmp/tmpfs8ijpl8/pciutils-3.12.0-1.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/tmpfs8ijpl8/pciutils-3.12.0-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpfs8ijpl8/pciutils-3.12.0-1.fc41.src.rpm' scan.ini: host = ip-172-16-1-144.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpfs8ijpl8/pciutils-3.12.0-1.fc41.tar.xz scan.ini: time-created = 2024-04-22 11:22:14 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = pciutils-3.12.0-1.fc41 >>> 2024-04-22 11:22:14 "rpm -qa | sort -V > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/rpm-list-host.txt'" >>> 2024-04-22 11:22:15 "/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.5 starting (python version = 3.9.18, NVR = mock-5.5-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.5 INFO: Mock Version: 5.5 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-04-22 11:22:16 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 17.9 KiB/s | 21.8 KiB | 00m01s Repositories loaded. Package "sed-4.9-1.fc40.x86_64" is already installed. Package Arch Version Repository Size Installing: gcc x86_64 14.0.1-0.15.fc41 fedora 103.9 MiB kmod-devel x86_64 31-5.fc40 fedora 9.9 KiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB Installing dependencies: annobin-docs noarch 12.49-1.fc41 fedora 95.7 KiB annobin-plugin-gcc x86_64 12.49-1.fc41 fedora 970.9 KiB cpp x86_64 14.0.1-0.15.fc41 fedora 34.9 MiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.0.1-0.15.fc41 fedora 57.1 KiB glibc-devel x86_64 2.39.9000-12.fc41 fedora 37.7 KiB glibc-headers-x86 noarch 2.39.9000-12.fc41 fedora 2.2 MiB guile30 x86_64 3.0.7-12.fc40 fedora 51.5 MiB kernel-headers x86_64 6.9.0-0.rc4.37.fc41 fedora 6.3 MiB kmod-libs x86_64 31-5.fc40 fedora 143.2 KiB 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 Transaction Summary: Installing: 15 packages Total size of inbound packages is 61 MiB. Need to download 0 B. After this operation 202 MiB will be used (install 202 MiB, remove 0 B). [ 1/15] gcc-0:14.0.1-0.15.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/15] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/15] kmod-devel-0:31-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/15] cpp-0:14.0.1-0.15.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/15] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/15] guile30-0:3.0.7-12.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/15] kmod-libs-0:31-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/15] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/15] annobin-plugin-gcc-0:12.49-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/15] gcc-plugin-annobin-0:14.0.1-0.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/15] annobin-docs-0:12.49-1.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/15] glibc-devel-0:2.39.9000-12.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/15] glibc-headers-x86-0:2.39.9000-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/15] libxcrypt-devel-0:4.4.36-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/15] kernel-headers-0:6.9.0-0.rc4.37 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [15/15] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/17] Verify package files 100% | 60.0 B/s | 15.0 B | 00m00s [ 2/17] Prepare transaction 100% | 576.0 B/s | 15.0 B | 00m00s [ 3/17] Installing libmpc-0:1.3.1-5.fc4 100% | 32.5 MiB/s | 166.2 KiB | 00m00s [ 4/17] Installing cpp-0:14.0.1-0.15.fc 100% | 303.9 MiB/s | 35.0 MiB | 00m00s [ 5/17] Installing kernel-headers-0:6.9 100% | 104.9 MiB/s | 6.4 MiB | 00m00s [ 6/17] Installing glibc-headers-x86-0: 100% | 84.5 MiB/s | 2.3 MiB | 00m00s [ 7/17] Installing libxcrypt-devel-0:4. 100% | 8.0 MiB/s | 32.6 KiB | 00m00s [ 8/17] Installing glibc-devel-0:2.39.9 100% | 8.1 MiB/s | 41.4 KiB | 00m00s [ 9/17] Installing annobin-docs-0:12.49 100% | 31.5 MiB/s | 96.7 KiB | 00m00s [10/17] Installing gc-0:8.2.2-6.fc40.x8 100% | 36.4 MiB/s | 261.2 KiB | 00m00s [11/17] Installing guile30-0:3.0.7-12.f 100% | 322.4 MiB/s | 51.6 MiB | 00m00s [12/17] Installing make-1:4.4.1-6.fc40. 100% | 128.6 MiB/s | 1.8 MiB | 00m00s [13/17] Installing gcc-0:14.0.1-0.15.fc 100% | 326.0 MiB/s | 104.0 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [14/17] Installing kmod-libs-0:31-5.fc4 100% | 28.2 MiB/s | 144.3 KiB | 00m00s [15/17] Installing kmod-devel-0:31-5.fc 100% | 3.4 MiB/s | 10.5 KiB | 00m00s [16/17] Installing annobin-plugin-gcc-0 100% | 67.8 MiB/s | 972.4 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [17/17] Installing gcc-plugin-annobin-0 100% | 24.3 KiB/s | 58.7 KiB | 00m02s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.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-04-22 11:22:23 "/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% | 17.9 KiB/s | 21.8 KiB | 00m01s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.0.1-0.15.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.3-2.fc41 fedora 587.5 KiB cppcheck x86_64 2.13.0-3.fc40 fedora 10.2 MiB Installing dependencies: clang-libs x86_64 18.1.3-2.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.3-2.fc41 fedora 522.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB gcc-c++ x86_64 14.0.1-0.15.fc41 fedora 38.1 MiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libedit x86_64 3.1-50.20230828cvs.fc40 fedora 243.9 KiB libstdc++-devel x86_64 14.0.1-0.15.fc41 fedora 15.4 MiB llvm-libs x86_64 18.1.3-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.0-2.fc41 fedora 1.5 MiB python3 x86_64 3.12.3-2.fc41 fedora 31.5 KiB python3-libs x86_64 3.12.3-2.fc41 fedora 40.9 MiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB tzdata noarch 2024a-5.fc41 fedora 1.6 MiB Transaction Summary: Installing: 18 packages Total size of inbound packages is 88 MiB. Need to download 0 B. After this operation 365 MiB will be used (install 365 MiB, remove 0 B). [ 1/18] cppcheck-0:2.13.0-3.fc40.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.3-2.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.3-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/18] llvm-libs-0:18.1.3-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-50.20230828cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/18] python3-0:3.12.3-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/18] python3-libs-0:3.12.3-2.fc41.x8 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.0-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/18] tzdata-0:2024a-5.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/18] gcc-c++-0:14.0.1-0.15.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/18] libstdc++-devel-0:14.0.1-0.15.f 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% | 50.0 B/s | 18.0 B | 00m00s [ 2/20] Prepare transaction 100% | 450.0 B/s | 18.0 B | 00m00s [ 3/20] Installing libstdc++-devel-0:14 100% | 218.9 MiB/s | 15.5 MiB | 00m00s [ 4/20] Installing gcc-c++-0:14.0.1-0.1 100% | 295.5 MiB/s | 38.1 MiB | 00m00s [ 5/20] Installing tzdata-0:2024a-5.fc4 100% | 31.2 MiB/s | 1.9 MiB | 00m00s [ 6/20] Installing python-pip-wheel-0:2 100% | 218.3 MiB/s | 1.5 MiB | 00m00s [ 7/20] Installing mpdecimal-0:2.5.1-9. 100% | 49.3 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% | 25.1 MiB/s | 282.9 KiB | 00m00s [10/20] Installing python3-libs-0:3.12. 100% | 214.2 MiB/s | 41.3 MiB | 00m00s [11/20] Installing python3-0:3.12.3-2.f 100% | 8.1 MiB/s | 33.2 KiB | 00m00s [12/20] Installing libedit-0:3.1-50.202 100% | 48.0 MiB/s | 245.5 KiB | 00m00s [13/20] Installing llvm-libs-0:18.1.3-1 100% | 335.7 MiB/s | 113.5 MiB | 00m00s [14/20] Installing clang-resource-files 100% | 391.6 KiB/s | 1.6 KiB | 00m00s [15/20] Installing clang-libs-0:18.1.3- 100% | 365.5 MiB/s | 107.8 MiB | 00m00s [16/20] Installing tinyxml2-0:9.0.0-4.f 100% | 25.6 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.13.0-3. 100% | 300.9 MiB/s | 10.2 MiB | 00m00s [19/20] Installing clang-0:18.1.3-2.fc4 100% | 96.1 MiB/s | 590.2 KiB | 00m00s [20/20] Installing ShellCheck-0:0.10.0- 100% | 19.4 MiB/s | 33.9 MiB | 00m02s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> 2024-04-22 11:22:30 "'/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/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 11:22:31 "'/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/csmock90wob6gq/rpm-list-mock-provides.txt" >>> 2024-04-22 11:22:33 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41.src.rpm" "/builddir/pciutils-3.12.0-1.fc41.src.rpm" >>> 2024-04-22 11:22:34 "/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-04-22 11:22:35 "/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/pciutils-3.12.0-1.fc41.src.rpm'\"" Updating / installing... pciutils-3.12.0-1.fc41 ######################################## >>> 2024-04-22 11:22:36 "/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/pciutils.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/pciutils-3.12.0-1.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1712620800 Wrote: /builddir/build/SRPMS/pciutils-3.12.0-1.fc41.src.rpm renamed 'pciutils-3.12.0-1.fc41.src.rpm' -> '/builddir/pciutils-3.12.0-1.fc41.src.rpm' >>> 2024-04-22 11:22:37 "/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/pciutils-3.12.0-1.fc41.src.rpm" "/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41.src.rpm" >>> 2024-04-22 11:22:38 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 990.5 KiB/s | 21.8 KiB | 00m00s Repositories loaded. Nothing to do. Package "gcc-14.0.1-0.15.fc41.x86_64" is already installed. Package "kmod-devel-31-5.fc40.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "sed-4.9-1.fc40.x86_64" is already installed. >>> 2024-04-22 11:22:40 "/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% | 871.6 KiB/s | 21.8 KiB | 00m00s Repositories loaded. Nothing to do. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.3-2.fc41.x86_64" is already installed. Package "cppcheck-2.13.0-3.fc40.x86_64" is already installed. Package "gcc-14.0.1-0.15.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. >>> 2024-04-22 11:22:41 "'/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/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 11:22:42 "'/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/csmock90wob6gq/rpm-list-mock-provides.txt" >>> 2024-04-22 11:22:44 "/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% | 990.5 KiB/s | 21.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.2.1-1.fc41 fedora 3.5 MiB Installing dependencies: boost-atomic x86_64 1.83.0-3.fc40 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-3.fc40 fedora 147.6 KiB boost-program-options x86_64 1.83.0-3.fc40 fedora 272.7 KiB boost-system x86_64 1.83.0-3.fc40 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.2.1-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-3.fc40.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% | 833.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 263.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 4.2 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 7.2 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% | 66.8 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.2.1-1.fc41. 100% | 45.5 MiB/s | 3.5 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> 2024-04-22 11:22:45 "'/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/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 11:22:46 "'/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/csmock90wob6gq/rpm-list-mock-provides.txt" >>> 2024-04-22 11:22:48 "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/csmock90wob6gq/pciutils-3.12.0-1.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.3 scan.ini: analyzer-version-cppcheck = 2.13.0 scan.ini: analyzer-version-gcc = 14.0.1 >>> 2024-04-22 11:22:50 "/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.0.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-04-22 11:22:52 "/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/csmock90wob6gq/pciutils-3.12.0-1.fc41.src.rpm'" Updating / installing... pciutils-3.12.0-1.fc41 ######################################## >>> 2024-04-22 11:22:53 "/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-04-22 11:22:54 "/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-04-22 11:22:55 "/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/pciutils.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-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/pciutils.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.5 INFO: Mock Version: 5.5 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/pciutils.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/pciutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1712620800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.elq4z2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pciutils-3.12.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pciutils-3.12.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd pciutils-3.12.0 + rm -rf /builddir/build/BUILD/pciutils-3.12.0-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pciutils-3.12.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pciutils-2.2.1-idpath.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/pciutils-dir-d.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/pciutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-04-22 11:22:56 "/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-04-22 11:22:57 "/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/pciutils.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-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/pciutils.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.5 INFO: Mock Version: 5.5 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/pciutils.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/pciutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1712620800 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9lZRBl + umask 022 + cd /builddir/build/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-errors -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 pciutils-3.12.0 + /usr/bin/make -O -j8 V=1 VERBOSE=1 SHARED=no ZLIB=no LIBKMOD=yes STRIP= 'OPT=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ' PREFIX=/usr LIBDIR=/usr/lib64 IDSDIR=/usr/share/hwdata PCI_IDS=pci.ids cd lib && ./configure Configuring libpci for your system... x86_64--linux 5.14.0-427.el9.x86_64 x86_64 linux Looking for access methods... sysfs proc mem-ports ecam i386-ports dump Checking for zlib support... no (set manually) Checking for DNS support... yes (auto-detected) Checking for libkmod... yes (set manually) Checking for udev hwdb support... no (auto-detected) Checking whether to build a shared library... no (set manually) /usr/bin/make -C lib all cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-caps-vendor.o ls-caps-vendor.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-kernel.o ls-kernel.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o access.o access.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o init.o init.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-vpd.o ls-vpd.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o common.o common.c /builddir/build/BUILD/pciutils-3.12.0/common.c:28: error: va_end_missing(CWE-664): va_list 'args' was opened but not closed by va_end(). <--[cppcheck] cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-map.o ls-map.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o generic.o generic.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o example.o example.c M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <lspci.man >lspci.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <setpci.man >setpci.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'lspci.5'. Makefile:145: warning: pattern recipe did not update peer target 'lspci.7'. M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <pcilib.man >pcilib.7 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'setpci.5'. Makefile:145: warning: pattern recipe did not update peer target 'setpci.7'. M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <pci.ids.man >pci.ids.5 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'pcilib.5'. Makefile:145: warning: pattern recipe did not update peer target 'pcilib.8'. sed <update-pciids.sh >update-pciids "s@^DEST=.*@DEST=/usr/share/hwdata/pci.ids@;s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=@;s@VERSION=.*@VERSION=3.12.0@" chmod +x update-pciids Makefile:145: warning: pattern recipe did not update peer target 'pci.ids.7'. Makefile:145: warning: pattern recipe did not update peer target 'pci.ids.8'. M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <update-pciids.man >update-pciids.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o dump.o dump.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-ecaps.o ls-ecaps.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names.o names.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o setpci.o setpci.c /builddir/build/BUILD/pciutils-3.12.0/setpci.c:460: error: va_end_missing(CWE-664): va_list 'args' was opened but not closed by va_end(). <--[cppcheck] /builddir/build/BUILD/pciutils-3.12.0/setpci.c:753:11: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o pcilmr.o pcilmr.c Makefile:145: warning: pattern recipe did not update peer target 'update-pciids.5'. Makefile:145: warning: pattern recipe did not update peer target 'update-pciids.7'. cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-tree.o ls-tree.c /builddir/build/BUILD/pciutils-3.12.0/ls-tree.c:263: error: ctuPointerArith(CWE-758): Pointer arithmetic overflow; 'line' buffer size is 1024 <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o filter.o filter.c /builddir/build/BUILD/pciutils-3.12.0/lib/filter.c:117:9: warning: Dereference of null pointer (loaded from variable 'outp') [core.NullDereference] <--[clang] make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin_log.o lmr/margin_log.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-hash.o names-hash.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <pcilmr.man >pcilmr.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'pcilmr.5'. Makefile:145: warning: pattern recipe did not update peer target 'pcilmr.7'. cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin_hw.o lmr/margin_hw.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-hwdb.o names-hwdb.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-parse.o names-parse.c /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c: In function ‘pci_new_load_name_list’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:286:14: warning: use of possibly-NULL ‘temp’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:268:3: note: (1) when ‘strncpy’ copies the full source string <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:273:6: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:282:15: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:282:14: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:284:25: note: (6) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:285:21: note: (7) this call could return NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:286:14: note: (8) argument 1 (‘temp’) from (7) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o params.o params.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-net.o names-net.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin.o lmr/margin.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o caps.o caps.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o lspci.o lspci.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o proc.o proc.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c: In function ‘proc_scan’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: warning: leak of FILE ‘fopen(&buf, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:65:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (3) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (4) assuming ‘fopen(&buf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:70:10: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:72:27: note: (8) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: note: (9) ‘fopen(&buf, "r")’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: warning: leak of ‘fopen(&buf, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:65:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (3) allocated here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (4) assuming ‘fopen(&buf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:70:10: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:72:27: note: (8) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: note: (9) ‘fopen(&buf, "r")’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c: In function ‘proc_setup’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:152:10: warning: leak of file descriptor ‘*a.fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:148:10: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:150:19: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:151:15: note: (3) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:152:10: note: (4) ‘*a.fd’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:17: warning: leak of file descriptor ‘*a.fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:148:10: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:150:19: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:152:10: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:156:52: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:157:14: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:19: note: (7) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:17: note: (8) ‘*a.fd’ leaks here; was opened at (7) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o physmem-posix.o physmem-posix.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' sed <libpci.pc.in >libpci.pc -e 's,@PREFIX@,/usr,' \ -e 's,@INCDIR@,/usr/include,' \ -e 's,@LIBDIR@,/usr/lib64,' \ -e 's,@IDSDIR@,/usr/share/hwdata,' \ -e 's,@VERSION@,3.12.0,' \ -e 's,@LDLIBS@,-lresolv,' \ -e 's,@WITH_LIBS@,-lresolv,' make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o i386-ports.o i386-ports.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-caps.o ls-caps.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o names-cache.o names-cache.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o mmio-ports.o mmio-ports.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin_results.o lmr/margin_results.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o sysfs.o sysfs.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: warning: leak of FILE ‘fopen(&namebuf, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In file included from /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:24: <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) ‘fopen(&namebuf, "r")’ leaks here; was opened at (21) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: warning: leak of ‘fopen(&namebuf, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) allocated here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) ‘fopen(&namebuf, "r")’ leaks here; was allocated at (21) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: warning: leak of FILE ‘fopen(&namebuf, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (30) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:179:10: note: (31) following ‘true’ branch (when ‘i <= 5’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:181:23: note: (32) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (33) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (36) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (37) ‘fopen(&namebuf, "r")’ leaks here; was opened at (21) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: warning: leak of ‘fopen(&namebuf, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) allocated here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (30) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:179:10: note: (31) following ‘true’ branch (when ‘i <= 5’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:181:23: note: (32) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (33) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (36) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (37) ‘fopen(&namebuf, "r")’ leaks here; was allocated at (21) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ecam.o ecam.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c: In function ‘validate_addrs’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:653:10: warning: check of ‘addrs’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:930:1: note: (1) entry to ‘ecam_init’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:950:8: note: (2) calling ‘validate_addrs’ from ‘ecam_init’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:648:1: note: (3) entry to ‘validate_addrs’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:650:8: note: (4) pointer ‘addrs’ is dereferenced here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:650:6: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:653:10: note: (7) pointer ‘addrs’ is checked for NULL here but it was already dereferenced at (4) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' rm -f libpci.a ar rcs libpci.a init.o access.o generic.o dump.o names.o filter.o names-hash.o names-parse.o names-net.o names-cache.o names-hwdb.o params.o caps.o sysfs.o proc.o i386-ports.o mmio-ports.o ecam.o physmem-posix.o ranlib libpci.a make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 pcilmr.o lmr/margin_hw.o lmr/margin.o lmr/margin_log.o lmr/margin_results.o common.o lib/libpci.a -lresolv -o pcilmr cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 example.o lib/libpci.a -lresolv -o example cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 setpci.o common.o lib/libpci.a -lresolv -o setpci cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 lspci.o ls-vpd.o ls-caps.o ls-caps-vendor.o ls-ecaps.o ls-kernel.o ls-tree.o ls-map.o common.o lib/libpci.a -lresolv -lkmod -o lspci + mv lib/libpci.a lib/libpci.a.toinstall + make clean rm -f `find . -name "*~" -o -name "*.[oa]" -o -name "\#*\#" -o -name TAGS -o -name core -o -name "*.orig"` rm -f update-pciids lspci setpci example lib/config.* *.[578] pci.ids.gz lib/*.pc lib/*.so lib/*.so.* lib/*.dll lib/*.def lib/dllrsrc.rc *-rsrc.rc tags pcilmr rm -rf maint/dist + /usr/bin/make -O -j8 V=1 VERBOSE=1 SHARED=yes ZLIB=no LIBKMOD=yes STRIP= 'OPT=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 ' PREFIX=/usr LIBDIR=/usr/lib64 IDSDIR=/usr/share/hwdata PCI_IDS=pci.ids cd lib && ./configure Configuring libpci for your system... x86_64--linux 5.14.0-427.el9.x86_64 x86_64 linux Looking for access methods... sysfs proc mem-ports ecam i386-ports dump Checking for zlib support... no (set manually) Checking for DNS support... yes (auto-detected) Checking for libkmod... yes (set manually) Checking for udev hwdb support... no (auto-detected) Checking whether to build a shared library... yes (set manually) /usr/bin/make -C lib all cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-caps-vendor.o ls-caps-vendor.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-kernel.o ls-kernel.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o access.o access.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o init.o init.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o common.o common.c /builddir/build/BUILD/pciutils-3.12.0/common.c:28: error: va_end_missing(CWE-664): va_list 'args' was opened but not closed by va_end(). <--[cppcheck] cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-vpd.o ls-vpd.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o dump.o dump.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o generic.o generic.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-map.o ls-map.c M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <lspci.man >lspci.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o example.o example.c M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <setpci.man >setpci.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'lspci.5'. Makefile:145: warning: pattern recipe did not update peer target 'lspci.7'. M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <pcilib.man >pcilib.7 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'setpci.5'. Makefile:145: warning: pattern recipe did not update peer target 'setpci.7'. M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <pci.ids.man >pci.ids.5 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'pcilib.5'. Makefile:145: warning: pattern recipe did not update peer target 'pcilib.8'. sed <update-pciids.sh >update-pciids "s@^DEST=.*@DEST=/usr/share/hwdata/pci.ids@;s@^PCI_COMPRESSED_IDS=.*@PCI_COMPRESSED_IDS=@;s@VERSION=.*@VERSION=3.12.0@" chmod +x update-pciids Makefile:145: warning: pattern recipe did not update peer target 'pci.ids.7'. Makefile:145: warning: pattern recipe did not update peer target 'pci.ids.8'. M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <update-pciids.man >update-pciids.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o setpci.o setpci.c /builddir/build/BUILD/pciutils-3.12.0/setpci.c:460: error: va_end_missing(CWE-664): va_list 'args' was opened but not closed by va_end(). <--[cppcheck] /builddir/build/BUILD/pciutils-3.12.0/setpci.c:753:11: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-ecaps.o ls-ecaps.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-tree.o ls-tree.c /builddir/build/BUILD/pciutils-3.12.0/ls-tree.c:263: error: ctuPointerArith(CWE-758): Pointer arithmetic overflow; 'line' buffer size is 1024 <--[cppcheck] make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o filter.o filter.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o names.o names.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin_log.o lmr/margin_log.c cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o pcilmr.o pcilmr.c Makefile:145: warning: pattern recipe did not update peer target 'update-pciids.5'. Makefile:145: warning: pattern recipe did not update peer target 'update-pciids.7'. M=`echo 2024-04-05 | sed 's/-01-/-January-/;s/-02-/-February-/;s/-03-/-March-/;s/-04-/-April-/;s/-05-/-May-/;s/-06-/-June-/;s/-07-/-July-/;s/-08-/-August-/;s/-09-/-September-/;s/-10-/-October-/;s/-11-/-November-/;s/-12-/-December-/;s/\(.*\)-\(.*\)-\(.*\)/\3 \2 \1/'` ; sed <pcilmr.man >pcilmr.8 "s/@TODAY@/$M/;s/@VERSION@/pciutils-3.12.0/;s#@IDSDIR@#/usr/share/hwdata#;s#@PCI_IDS@#pci.ids#" Makefile:145: warning: pattern recipe did not update peer target 'pcilmr.5'. Makefile:145: warning: pattern recipe did not update peer target 'pcilmr.7'. make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o names-hash.o names-hash.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin.o lmr/margin.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o names-hwdb.o names-hwdb.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o params.o params.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o caps.o caps.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin_hw.o lmr/margin_hw.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o proc.o proc.c /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c: In function ‘proc_scan’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: warning: leak of FILE ‘fopen(&buf, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:65:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (3) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (4) assuming ‘fopen(&buf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:70:10: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:72:27: note: (8) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: note: (9) ‘fopen(&buf, "r")’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: warning: leak of ‘fopen(&buf, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:65:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:67:7: note: (3) allocated here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (4) assuming ‘fopen(&buf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:68:6: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:70:10: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:72:27: note: (8) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:98:10: note: (9) ‘fopen(&buf, "r")’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c: In function ‘proc_setup’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:152:10: warning: leak of file descriptor ‘*a.fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:148:10: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:150:19: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:151:15: note: (3) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:152:10: note: (4) ‘*a.fd’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:17: warning: leak of file descriptor ‘*a.fd’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:148:10: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:150:19: note: (2) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:152:10: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:156:52: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:157:14: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:30: note: (6) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:19: note: (7) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/proc.c:159:17: note: (8) ‘*a.fd’ leaks here; was opened at (7) <--[gcc] make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o ls-caps.o ls-caps.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o names-net.o names-net.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o i386-ports.o i386-ports.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -c -o lspci.o lspci.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' sed <libpci.pc.in >libpci.pc -e 's,@PREFIX@,/usr,' \ -e 's,@INCDIR@,/usr/include,' \ -e 's,@LIBDIR@,/usr/lib64,' \ -e 's,@IDSDIR@,/usr/share/hwdata,' \ -e 's,@VERSION@,3.12.0,' \ -e 's,@LDLIBS@,,' \ -e 's,@WITH_LIBS@,-lresolv,' make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o physmem-posix.o physmem-posix.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o names-parse.o names-parse.c /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c: In function ‘pci_new_load_name_list’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:286:14: warning: use of possibly-NULL ‘temp’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:268:3: note: (1) when ‘strncpy’ copies the full source string <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:273:6: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:282:15: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:282:14: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:284:25: note: (6) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:285:21: note: (7) this call could return NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/names-parse.c:286:14: note: (8) argument 1 (‘temp’) from (7) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memset’ must be non-null make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -I . -c -o lmr/margin_results.o lmr/margin_results.c make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o mmio-ports.o mmio-ports.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o names-cache.o names-cache.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o sysfs.o sysfs.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: warning: leak of FILE ‘fopen(&namebuf, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In file included from /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:24: <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) ‘fopen(&namebuf, "r")’ leaks here; was opened at (21) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: warning: leak of ‘fopen(&namebuf, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) allocated here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) ‘fopen(&namebuf, "r")’ leaks here; was allocated at (21) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: warning: leak of FILE ‘fopen(&namebuf, "r")’ [CWE-775] [-Wanalyzer-file-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) opened here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (30) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:179:10: note: (31) following ‘true’ branch (when ‘i <= 5’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:181:23: note: (32) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (33) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (36) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (37) ‘fopen(&namebuf, "r")’ leaks here; was opened at (21) <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: warning: leak of ‘fopen(&namebuf, "r")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:336:1: note: (1) entry to ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:340:6: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:347:11: note: (3) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:347:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (4) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:354:10: note: (5) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:369:11: note: (6) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:369:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:382:11: note: (8) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:382:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:384:11: note: (10) inlined call to ‘want_fill’ from ‘sysfs_fill_info’ <--[gcc] In function ‘want_fill’, inlined from ‘sysfs_fill_info’ at sysfs.c:384:11: /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:110:15: note: (11) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:111:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/internal.h:115:23: note: (13) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c: In function ‘sysfs_get_resources’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:385:11: note: (14) calling ‘sysfs_get_resources’ from ‘sysfs_fill_info’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:154:1: note: (15) entry to ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (16) calling ‘sysfs_obj_name’ from ‘sysfs_get_resources’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:81:1: note: (17) entry to ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:85:6: note: (18) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:87:1: note: (19) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:164:3: note: (20) returning to ‘sysfs_get_resources’ from ‘sysfs_obj_name’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:165:10: note: (21) allocated here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (22) assuming ‘fopen(&namebuf, "r")’ is non-NULL <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:166:6: note: (23) following ‘false’ branch... <--[gcc] cc1: note: (24) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (25) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (26) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:10: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (30) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:179:10: note: (31) following ‘true’ branch (when ‘i <= 5’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:181:23: note: (32) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:168:17: note: (33) following ‘true’ branch (when ‘i != 18’)... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:12: note: (34) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:171:10: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:173:11: note: (36) ...to here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/sysfs.c:175:15: note: (37) ‘fopen(&namebuf, "r")’ leaks here; was allocated at (21) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -c -o ecam.o ecam.c make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c: In function ‘validate_addrs’: <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:653:10: warning: check of ‘addrs’ for NULL after already dereferencing it [-Wanalyzer-deref-before-check] <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:930:1: note: (1) entry to ‘ecam_init’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:950:8: note: (2) calling ‘validate_addrs’ from ‘ecam_init’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:648:1: note: (3) entry to ‘validate_addrs’ <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:650:8: note: (4) pointer ‘addrs’ is dereferenced here <--[gcc] /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:650:6: note: (5) following ‘false’ branch... <--[gcc] cc1: note: (6) ...to here /builddir/build/BUILD/pciutils-3.12.0/lib/ecam.c:653:10: note: (7) pointer ‘addrs’ is checked for NULL here but it was already dereferenced at (4) <--[gcc] make[1]: Entering directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -shared -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -fPIC -fvisibility=hidden -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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,libpci.so.3 -Wl,--version-script=libpci.ver -o libpci.so.3.12.0 init.o access.o generic.o dump.o names.o filter.o names-hash.o names-parse.o names-net.o names-cache.o names-hwdb.o params.o caps.o sysfs.o proc.o i386-ports.o mmio-ports.o ecam.o physmem-posix.o -lresolv make[1]: Leaving directory '/builddir/build/BUILD/pciutils-3.12.0/lib' cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 example.o lib/libpci.so.3.12.0 -o example cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 setpci.o common.o lib/libpci.so.3.12.0 -o setpci cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 pcilmr.o lmr/margin_hw.o lmr/margin.o lmr/margin_log.o lmr/margin_results.o common.o lib/libpci.so.3.12.0 -o pcilmr cc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -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 lspci.o ls-vpd.o ls-caps.o ls-caps-vendor.o ls-ecaps.o ls-kernel.o ls-tree.o ls-map.o common.o lib/libpci.so.3.12.0 -lkmod -o lspci + 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/pciutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-04-22 11:23:40 "/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-04-22 11:23:41 "/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/pciutils.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.5 starting (python version = 3.9.18, NVR = mock-5.5-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/pciutils.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.5 INFO: Mock Version: 5.5 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/pciutils.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/pciutils.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=1712620800 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1xvv8R + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64 ++ dirname /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64 + 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-errors -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 pciutils-3.12.0 + install -d /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/bin /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/sbin /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/man/man7 /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/man/man8 /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/lib64 /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/lib64/pkgconfig /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/include/pci + install -p lspci setpci update-pciids /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/sbin + ln -sr /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/sbin/lspci /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/bin/lspci + install -p -m 644 lspci.8 setpci.8 update-pciids.8 /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/man/man8 + install -p -m 644 pcilib.7 /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/man/man7 + install -p lib/libpci.so.3.12.0 /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/lib64/ ++ basename /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/lib64/libpci.so.3.12.0 + ln -s libpci.so.3.12.0 /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/lib64/libpci.so + mv lib/libpci.a.toinstall lib/libpci.a + install -p -m 644 lib/libpci.a /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/lib64 + install -p -m 644 lib/pci.h /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/include/pci + install -p -m 644 lib/header.h /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/include/pci + install -p -m 644 /builddir/build/SOURCES/multilibconfigh /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/include/pci/config.h + install -p -m 644 lib/config.h /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/include/pci/config.lib64.h + install -p -m 644 lib/types.h /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/include/pci + install -p -m 644 lib/libpci.pc /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/lib64/pkgconfig + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 3.12.0-1.fc41 --unique-debug-suffix -3.12.0-1.fc41.x86_64 --unique-debug-src-base pciutils-3.12.0-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/pciutils-3.12.0 find-debuginfo: starting Extracting debug info from 3 files DWARF-compressing 3 files sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/pciutils-3.12.0-1.fc41.x86_64 740 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 mangling shebang in /usr/sbin/update-pciids from /bin/sh to #!/usr/bin/sh + /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 Processing files: pciutils-3.12.0-1.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XGzNrA + umask 022 + cd /builddir/build/BUILD + cd pciutils-3.12.0 + DOCDIR=/builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/doc/pciutils + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/doc/pciutils + cp -pr /builddir/build/BUILD/pciutils-3.12.0/README /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/doc/pciutils + cp -pr /builddir/build/BUILD/pciutils-3.12.0/ChangeLog /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/doc/pciutils + cp -pr /builddir/build/BUILD/pciutils-3.12.0/pciutils.lsm /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/doc/pciutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: /bin/lspci /sbin/lspci /sbin/setpci pciutils = 3.12.0-1.fc41 pciutils(x86-64) = 3.12.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libkmod.so.2()(64bit) libkmod.so.2(LIBKMOD_5)(64bit) libpci.so.3()(64bit) libpci.so.3(LIBPCI_3.0)(64bit) libpci.so.3(LIBPCI_3.1)(64bit) libpci.so.3(LIBPCI_3.5)(64bit) libpci.so.3(LIBPCI_3.6)(64bit) libpci.so.3(LIBPCI_3.7)(64bit) libpci.so.3(LIBPCI_3.8)(64bit) rtld(GNU_HASH) Processing files: pciutils-devel-3.12.0-1.fc41.x86_64 Provides: pciutils-devel = 3.12.0-1.fc41 pciutils-devel(x86-64) = 3.12.0-1.fc41 pkgconfig(libpci) = 3.12.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libpci.so.3()(64bit) Processing files: pciutils-libs-3.12.0-1.fc41.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PTT1cO + umask 022 + cd /builddir/build/BUILD + cd pciutils-3.12.0 + LICENSEDIR=/builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/licenses/pciutils-libs + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/licenses/pciutils-libs + cp -pr /builddir/build/BUILD/pciutils-3.12.0/COPYING /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/share/licenses/pciutils-libs + RPM_EC=0 ++ jobs -p + exit 0 Provides: libpci.so.3()(64bit) libpci.so.3(LIBPCI_3.0)(64bit) libpci.so.3(LIBPCI_3.1)(64bit) libpci.so.3(LIBPCI_3.2)(64bit) libpci.so.3(LIBPCI_3.3)(64bit) libpci.so.3(LIBPCI_3.4)(64bit) libpci.so.3(LIBPCI_3.5)(64bit) libpci.so.3(LIBPCI_3.6)(64bit) libpci.so.3(LIBPCI_3.7)(64bit) libpci.so.3(LIBPCI_3.8)(64bit) pciutils-libs = 3.12.0-1.fc41 pciutils-libs(x86-64) = 3.12.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.27)(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.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) rtld(GNU_HASH) Processing files: pciutils-devel-static-3.12.0-1.fc41.x86_64 Provides: pciutils-devel-static = 3.12.0-1.fc41 pciutils-devel-static(x86-64) = 3.12.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pciutils-debugsource-3.12.0-1.fc41.x86_64 Provides: pciutils-debugsource = 3.12.0-1.fc41 pciutils-debugsource(x86-64) = 3.12.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: pciutils-debuginfo-3.12.0-1.fc41.x86_64 Provides: debuginfo(build-id) = 07565a8d6593d3db864f821389fbd3613c6225fd debuginfo(build-id) = 8111a9f7ddad558a77a6e6f917941b2e1ef062c4 pciutils-debuginfo = 3.12.0-1.fc41 pciutils-debuginfo(x86-64) = 3.12.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pciutils-debugsource(x86-64) = 3.12.0-1.fc41 Processing files: pciutils-libs-debuginfo-3.12.0-1.fc41.x86_64 Provides: debuginfo(build-id) = 537d9627439538fc96808bcbbaf1c81304e54fd1 libpci.so.3.12.0-3.12.0-1.fc41.x86_64.debug()(64bit) pciutils-libs-debuginfo = 3.12.0-1.fc41 pciutils-libs-debuginfo(x86-64) = 3.12.0-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pciutils-debugsource(x86-64) = 3.12.0-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64 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/pciutils.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-04-22 11:23:43 "/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" /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/sbin/update-pciids /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/sbin/update-pciids:8:1: warning: Use var=$(command) to assign output (or quote to assign string). [SC2209] <--[shellcheck] /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/sbin/update-pciids:39:53: note: Double quote to prevent globbing and word splitting. [SC2086] <--[shellcheck] /builddir/build/BUILDROOT/pciutils-3.12.0-1.fc41.x86_64/usr/sbin/update-pciids:45:71: note: Double quote to prevent globbing and word splitting. [SC2086] <--[shellcheck] >>> 2024-04-22 11:23:44 "'/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/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-04-22 11:23:45 "cat '/tmp/csmock90wob6gq/pciutils-3.12.0-1.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/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-04-22 11:23:45 "csgrep --quiet '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-04-22 11:23:45 scan.ini: exit-code = 0 >>> 2024-04-22 11:23:45 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan.ini' '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/uni-results'/* > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/scan-results-all.js'" >>> 2024-04-22 11:23:45 "'/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/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/scan-results-all.js' >'/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/scan-results-all.js.tmp'" >>> 2024-04-22 11:23:46 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-04-22 11:23:48 "cat '/tmp/csmock90wob6gq/pciutils-3.12.0-1.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/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results.js'" >>> 2024-04-22 11:23:48 "cat '/tmp/csmock90wob6gq/pciutils-3.12.0-1.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/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results.js' - | cssort > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/suppressed-results.js'" >>> 2024-04-22 11:23:48 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/suppressed-results.js' > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/suppressed-results.err'" >>> 2024-04-22 11:23:48 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/suppressed-results.html'" >>> 2024-04-22 11:23:48 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/debug/suppressed-results-summary.txt'" >>> 2024-04-22 11:23:48 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results.js' > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results.err'" >>> 2024-04-22 11:23:48 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results.js' | cshtml - > '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results.html'" >>> 2024-04-22 11:23:48 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results.js' | tee '/tmp/csmock90wob6gq/pciutils-3.12.0-1.fc41/scan-results-summary.txt'" 1 CLANG_WARNING warning[core.NonNullParamChecker] 1 CLANG_WARNING warning[core.NullDereference] 1 CPPCHECK_WARNING error[ctuPointerArith] 2 CPPCHECK_WARNING error[va_end_missing] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-deref-before-check] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-file-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 1 SHELLCHECK_WARNING warning[SC2209] <<< 2024-04-22 11:23:48 csmock exit code: 0 Wrote: /tmp/tmpfs8ijpl8/pciutils-3.12.0-1.fc41.tar.xz