scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpoeqf8q4g/usbutils-018-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpoeqf8q4g/usbutils-018-1.fc42.src.rpm' scan.ini: host = ip-172-16-1-76.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpoeqf8q4g/usbutils-018-1.fc42.tar.xz scan.ini: time-created = 2024-11-13 03:27:34 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = usbutils-018-1.fc42 >>> 2024-11-13 03:27:34 rpm -qa | sort -V > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2024-11-13 03:27:34 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 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-11-13 03:27:36 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmock5bvvhvav/usbutils-018-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729555200 Wrote: /builddir/build/SRPMS/usbutils-018-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 1.2 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 4.7 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB libusb1-devel x86_64 1.0.27-4.fc42 fedora 81.0 KiB meson noarch 1.5.1-1.fc42 fedora 11.4 MiB systemd-devel x86_64 257~rc1-2.fc42 fedora 610.8 KiB Installing dependencies: annobin-docs noarch 12.70-1.fc42 fedora 97.7 KiB annobin-plugin-gcc x86_64 12.70-1.fc42 fedora 985.6 KiB cpp x86_64 14.2.1-6.fc42 fedora 35.0 MiB emacs-filesystem noarch 1:30.0-3.fc41 fedora 0.0 B expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB glibc-devel x86_64 2.40.9000-16.fc42 fedora 2.3 MiB kernel-headers x86_64 6.12.0-0.rc7.58.fc42 fedora 6.4 MiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libusb1 x86_64 1.0.27-4.fc42 fedora 170.6 KiB libxcrypt-devel x86_64 4.4.36-10.fc42 fedora 30.5 KiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB ninja-build x86_64 1.12.1-3.fc41 fedora 432.6 KiB python-pip-wheel noarch 24.2-2.fc42 fedora 1.2 MiB python3 x86_64 3.13.0-1.fc42 fedora 31.8 KiB python3-libs x86_64 3.13.0-1.fc42 fedora 40.4 MiB python3-setuptools noarch 74.1.3-4.fc42 fedora 8.4 MiB systemd-rpm-macros noarch 257~rc1-2.fc42 fedora 10.7 KiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB vim-filesystem noarch 2:9.1.825-1.fc42 fedora 40.0 B Transaction Summary: Installing: 26 packages Total size of inbound packages is 69 MiB. Need to download 4 MiB. After this operation, 216 MiB extra will be used (install 216 MiB, remove 0 B). [1/1] gcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] libusb1-devel-0:1.0.27-4.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/4] systemd-devel-0:257~rc1-2.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] cpp-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/6] libmpc-0:1.3.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/7] make-1:4.4.1-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/10] libusb1-0:1.0.27-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/13] python3-0:3.13.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/14] python3-libs-0:3.13.0-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/15] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/16] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/17] mpdecimal-0:2.5.1-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/18] python-pip-wheel-0:24.2-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/19] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/20] glibc-devel-0:2.40.9000-16.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/21] libxcrypt-devel-0:4.4.36-10.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/22] kernel-headers-0:6.12.0-0.rc7.5 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/23] annobin-plugin-gcc-0:12.70-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/24] gcc-plugin-annobin-0:14.2.1-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/25] annobin-docs-0:12.70-1.fc42.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/26] systemd-rpm-macros-0:257~rc1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/26] ninja-build-0:1.12.1-3.fc41.x86 100% | 2.6 MiB/s | 180.0 KiB | 00m00s [22/26] emacs-filesystem-1:30.0-3.fc41. 100% | 375.9 KiB/s | 7.1 KiB | 00m00s [23/26] meson-0:1.5.1-1.fc42.noarch 100% | 22.4 MiB/s | 2.2 MiB | 00m00s [24/26] vim-filesystem-2:9.1.825-1.fc42 100% | 1.6 MiB/s | 16.4 KiB | 00m00s [25/26] python3-setuptools-0:74.1.3-4.f 100% | 18.3 MiB/s | 2.0 MiB | 00m00s -------------------------------------------------------------------------------- [26/26] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/28] Verify package files 100% | 116.0 B/s | 26.0 B | 00m00s [ 2/28] Prepare transaction 100% | 500.0 B/s | 26.0 B | 00m00s [ 3/28] Installing libmpc-0:1.3.1-6.fc4 100% | 27.0 MiB/s | 166.2 KiB | 00m00s [ 4/28] Installing cpp-0:14.2.1-6.fc42. 100% | 323.9 MiB/s | 35.0 MiB | 00m00s [ 5/28] Installing annobin-docs-0:12.70 100% | 19.3 MiB/s | 98.8 KiB | 00m00s [ 6/28] Installing kernel-headers-0:6.1 100% | 113.7 MiB/s | 6.6 MiB | 00m00s [ 7/28] Installing libxcrypt-devel-0:4. 100% | 8.0 MiB/s | 32.9 KiB | 00m00s [ 8/28] Installing glibc-devel-0:2.40.9 100% | 43.1 MiB/s | 2.3 MiB | 00m00s [ 9/28] Installing tzdata-0:2024a-9.fc4 100% | 31.3 MiB/s | 1.9 MiB | 00m00s [10/28] Installing python-pip-wheel-0:2 100% | 248.3 MiB/s | 1.2 MiB | 00m00s [11/28] Installing mpdecimal-0:2.5.1-16 100% | 50.3 MiB/s | 206.0 KiB | 00m00s [12/28] Installing libb2-0:0.98.1-12.fc 100% | 14.1 MiB/s | 43.3 KiB | 00m00s [13/28] Installing expat-0:2.6.4-1.fc42 100% | 28.1 MiB/s | 287.6 KiB | 00m00s [14/28] Installing python3-libs-0:3.13. 100% | 225.0 MiB/s | 40.7 MiB | 00m00s [15/28] Installing python3-0:3.13.0-1.f 100% | 5.5 MiB/s | 33.5 KiB | 00m00s [16/28] Installing python3-setuptools-0 100% | 133.7 MiB/s | 8.6 MiB | 00m00s [17/28] Installing vim-filesystem-2:9.1 100% | 943.8 KiB/s | 4.7 KiB | 00m00s [18/28] Installing emacs-filesystem-1:3 100% | 265.6 KiB/s | 544.0 B | 00m00s [19/28] Installing ninja-build-0:1.12.1 100% | 60.8 MiB/s | 435.8 KiB | 00m00s [20/28] Installing libusb1-0:1.0.27-4.f 100% | 42.1 MiB/s | 172.3 KiB | 00m00s [21/28] Installing make-1:4.4.1-9.fc42. 100% | 138.5 MiB/s | 1.8 MiB | 00m00s [22/28] Installing gcc-0:14.2.1-6.fc42. 100% | 350.0 MiB/s | 104.3 MiB | 00m00s [23/28] Installing annobin-plugin-gcc-0 100% | 68.9 MiB/s | 987.3 KiB | 00m00s [24/28] Installing gcc-plugin-annobin-0 100% | 4.1 MiB/s | 59.2 KiB | 00m00s [25/28] Installing libusb1-devel-0:1.0. 100% | 19.9 MiB/s | 81.7 KiB | 00m00s [26/28] Installing meson-0:1.5.1-1.fc42 100% | 198.6 MiB/s | 11.5 MiB | 00m00s [27/28] Installing systemd-rpm-macros-0 100% | 2.7 MiB/s | 11.2 KiB | 00m00s [28/28] Installing systemd-devel-0:257~ 100% | 218.7 KiB/s | 741.9 KiB | 00m03s Complete! >>> 2024-11-13 03:27:45 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 16.3 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-3.fc41 fedora 20.6 MiB cppcheck x86_64 2.16.0-1.fc42 fedora 10.4 MiB gcc-latest x86_64 15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42 copr_base 295.1 MiB Installing dependencies: pcre x86_64 8.45-1.fc41.7 fedora 545.8 KiB tinyxml2 x86_64 9.0.0-5.fc41 fedora 103.8 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 78 MiB. Need to download 0 B. After this operation, 327 MiB extra will be used (install 327 MiB, remove 0 B). [1/1] gcc-latest-0:15.0.0-4.20241020git 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cppcheck-0:2.16.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] ShellCheck-0:0.10.0-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] pcre-0:8.45-1.fc41.7.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] tinyxml2-0:9.0.0-5.fc41.x86_64 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% | 16.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 156.0 B/s | 5.0 B | 00m00s [3/7] Installing tinyxml2-0:9.0.0-5.fc4 100% | 20.5 MiB/s | 104.9 KiB | 00m00s [4/7] Installing pcre-0:8.45-1.fc41.7.x 100% | 107.0 MiB/s | 548.1 KiB | 00m00s [5/7] Installing cppcheck-0:2.16.0-1.fc 100% | 305.7 MiB/s | 10.4 MiB | 00m00s [6/7] Installing ShellCheck-0:0.10.0-3. 100% | 429.2 MiB/s | 20.6 MiB | 00m00s [7/7] Installing gcc-latest-0:15.0.0-4. 100% | 117.1 MiB/s | 295.4 MiB | 00m03s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! >>> 2024-11-13 03:27:50 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 03:27:51 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock5bvvhvav/rpm-list-mock-provides.txt >>> 2024-11-13 03:27:52 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmock5bvvhvav/usbutils-018-1.fc42.src.rpm" "/builddir/usbutils-018-1.fc42.src.rpm" >>> 2024-11-13 03:27:53 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 03:27:54 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/usbutils-018-1.fc42.src.rpm'\"" Updating / installing... usbutils-018-1.fc42 ######################################## >>> 2024-11-13 03:27:55 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/usbutils.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/usbutils-018-1.fc42.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1729555200 Wrote: /builddir/build/SRPMS/usbutils-018-1.fc42.src.rpm renamed 'usbutils-018-1.fc42.src.rpm' -> '/builddir/usbutils-018-1.fc42.src.rpm' >>> 2024-11-13 03:27:57 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/usbutils-018-1.fc42.src.rpm" "/tmp/csmock5bvvhvav/usbutils-018-1.fc42.src.rpm" >>> 2024-11-13 03:27:58 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmock5bvvhvav/usbutils-018-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1729555200 Wrote: /builddir/build/SRPMS/usbutils-018-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 1.0 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 15.3 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "libusb1-devel-1.0.27-4.fc42.x86_64" is already installed. Package "meson-1.5.1-1.fc42.noarch" is already installed. Package "systemd-devel-257~rc1-2.fc42.x86_64" is already installed. Nothing to do. >>> 2024-11-13 03:28:01 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.4 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 15.3 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-latest-15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42.x86_64" is already installed. Package "cppcheck-2.16.0-1.fc42.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "ShellCheck-0.10.0-3.fc41.x86_64" is already installed. Nothing to do. >>> 2024-11-13 03:28:02 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 03:28:03 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock5bvvhvav/rpm-list-mock-provides.txt >>> 2024-11-13 03:28:05 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 14.6 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.5.2-1.fc42 fedora 3.7 MiB Installing dependencies: boost-atomic x86_64 1.83.0-8.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-8.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-8.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-8.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B). [1/1] csdiff-0:3.5.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] boost-filesystem-0:1.83.0-8.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] boost-program-options-0:1.83.0-8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] boost-atomic-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] boost-system-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 294.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% | 53.5 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.5.2-1.fc42. 100% | 40.9 MiB/s | 3.7 MiB | 00m00s Complete! >>> 2024-11-13 03:28:06 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 9.8 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: clippy x86_64 1.82.0-1.fc42 fedora 11.0 MiB Installing dependencies: cargo x86_64 1.82.0-1.fc42 fedora 19.4 MiB libedit x86_64 3.1-53.20240808cvs.fc41 fedora 244.1 KiB libgit2 x86_64 1.8.4-1.fc42 fedora 1.3 MiB libssh2 x86_64 1.11.1-1.fc42 fedora 322.8 KiB llhttp x86_64 9.2.1-2.fc41 fedora 72.6 KiB llvm-libs x86_64 19.1.0-1.fc42 fedora 124.5 MiB rust x86_64 1.82.0-1.fc42 fedora 87.8 MiB rust-std-static x86_64 1.82.0-1.fc42 fedora 143.6 MiB Transaction Summary: Installing: 9 packages Total size of inbound packages is 105 MiB. Need to download 0 B. After this operation, 388 MiB extra will be used (install 388 MiB, remove 0 B). [1/1] clippy-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cargo-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] rust-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] libgit2-0:1.8.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] libssh2-0:1.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] llvm-libs-0:19.1.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] rust-std-static-0:1.82.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] llhttp-0:9.2.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libedit-0:3.1-53.20240808cvs.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/11] Verify package files 100% | 27.0 B/s | 9.0 B | 00m00s [ 2/11] Prepare transaction 100% | 473.0 B/s | 9.0 B | 00m00s [ 3/11] Installing libssh2-0:1.11.1-1.f 100% | 52.8 MiB/s | 324.5 KiB | 00m00s [ 4/11] Installing libedit-0:3.1-53.202 100% | 60.0 MiB/s | 245.8 KiB | 00m00s [ 5/11] Installing llvm-libs-0:19.1.0-1 100% | 325.8 MiB/s | 124.5 MiB | 00m00s [ 6/11] Installing rust-std-static-0:1. 100% | 405.6 MiB/s | 143.6 MiB | 00m00s [ 7/11] Installing rust-0:1.82.0-1.fc42 100% | 327.6 MiB/s | 87.8 MiB | 00m00s [ 8/11] Installing llhttp-0:9.2.1-2.fc4 100% | 24.0 MiB/s | 73.8 KiB | 00m00s [ 9/11] Installing libgit2-0:1.8.4-1.fc 100% | 159.3 MiB/s | 1.3 MiB | 00m00s [10/11] Installing cargo-0:1.82.0-1.fc4 100% | 284.9 MiB/s | 19.4 MiB | 00m00s [11/11] Installing clippy-0:1.82.0-1.fc 100% | 4.9 MiB/s | 11.0 MiB | 00m02s Complete! >>> 2024-11-13 03:28:13 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 15.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-file-magic noarch 5.45-7.fc41 fedora 28.7 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 20 KiB. Need to download 0 B. After this operation, 29 KiB extra will be used (install 29 KiB, remove 0 B). [1/1] python3-file-magic-0:5.45-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 250.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-file-magic-0:5 100% | 775.8 KiB/s | 31.0 KiB | 00m00s Complete! >>> 2024-11-13 03:28:14 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six" Updating and loading repositories: Copr repository 100% | 15.8 KiB/s | 1.5 KiB | 00m00s fedora 100% | 1.4 MiB/s | 28.0 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 41 KiB. Need to download 0 B. After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B). [1/1] python3-six-0:1.16.0-23.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 250.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.16.0-2 100% | 4.7 MiB/s | 120.7 KiB | 00m00s Complete! >>> 2024-11-13 03:28:16 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 03:28:17 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock5bvvhvav/rpm-list-mock-provides.txt >>> 2024-11-13 03:28:18 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 03:28:19 tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmock5bvvhvav/usbutils-018-1.fc42.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/' tar: Removing leading `/' from member names scan.ini: analyzer-version-clippy = 1.82.0 >>> 2024-11-13 03:28:21 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh" renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original' scan.ini: analyzer-version-cppcheck = 2.16.0 scan.ini: analyzer-version-gcc = 14.2.1 >>> 2024-11-13 03:28:23 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" >>> 2024-11-13 03:28:24 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\"" >>> 2024-11-13 03:28:25 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "echo '#!/bin/bash exec /opt/gcc-latest/bin/gcc \"\$@\"' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper" >>> 2024-11-13 03:28:26 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper" scan.ini: analyzer-version-gcc-analyzer = 15.0.0 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-11-13 03:28:28 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmock5bvvhvav/usbutils-018-1.fc42.src.rpm'" Updating / installing... usbutils-018-1.fc42 ######################################## >>> 2024-11-13 03:28:29 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-11-13 03:28:31 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/00-pre-usr-move-shells.sh RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh 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-11-13 03:28:32 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-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/usbutils.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/usbutils.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.9 INFO: Mock Version: 5.9 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/usbutils.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/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1729555200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.fPfR1Y + umask 022 + cd /builddir/build/BUILD/usbutils-018-build + test -d /builddir/build/BUILD/usbutils-018-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/usbutils-018-build + /usr/bin/rm -rf /builddir/build/BUILD/usbutils-018-build + /usr/bin/mkdir -p /builddir/build/BUILD/usbutils-018-build + /usr/bin/mkdir -p /builddir/build/BUILD/usbutils-018-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JKRgsy + umask 022 + cd /builddir/build/BUILD/usbutils-018-build + cd /builddir/build/BUILD/usbutils-018-build + rm -rf usbutils-018 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/usbutils-018.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd usbutils-018 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-11-13 03:28:33 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-11-13 03:28:34 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1729555200 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DzQtZQ + umask 022 + cd /builddir/build/BUILD/usbutils-018-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd usbutils-018 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build --sbindir=/usr/sbin --datadir=/usr/share/hwdata The Meson build system Version: 1.5.1 Source dir: /builddir/build/BUILD/usbutils-018-build/usbutils-018 Build dir: /builddir/build/BUILD/usbutils-018-build/usbutils-018/redhat-linux-build Build type: native build Project name: usbutils Project version: 018 C compiler for the host machine: gcc (gcc 14.2.1 "gcc (GCC) 14.2.1 20241104 (Red Hat 14.2.1-6)") C linker for the host machine: gcc ld.bfd 2.43.50.20241014 Host machine cpu family: x86_64 Host machine cpu: x86_64 Compiler for C supports arguments -Wbad-function-cast: YES Compiler for C supports arguments -Wno-cast-align: YES Compiler for C supports arguments -Wchar-subscripts: YES Compiler for C supports arguments -Wempty-body: YES Compiler for C supports arguments -Wformat: YES Compiler for C supports arguments -Wformat=2: YES Compiler for C supports arguments -Wformat-nonliteral: YES Compiler for C supports arguments -Wformat-security: YES Compiler for C supports arguments -Wformat-y2k: YES Compiler for C supports arguments -Winit-self: YES Compiler for C supports arguments -Winline: YES Compiler for C supports arguments -Wint-conversion: YES Compiler for C supports arguments -Wmissing-declarations: YES Compiler for C supports arguments -Wmissing-format-attribute: YES Compiler for C supports arguments -Wmissing-include-dirs: YES Compiler for C supports arguments -Wmissing-prototypes: YES Compiler for C supports arguments -Wmissing-noreturn: YES Compiler for C supports arguments -Wnested-externs: YES Compiler for C supports arguments -Wold-style-definition: YES Compiler for C supports arguments -Wold-style-declaration: YES Compiler for C supports arguments -Wpointer-arith: YES Compiler for C supports arguments -Wredundant-decls: YES Compiler for C supports arguments -Wshadow: YES Compiler for C supports arguments -Wsign-compare: YES Compiler for C supports arguments -Wstrict-prototypes: YES Compiler for C supports arguments -Wswitch: YES Compiler for C supports arguments -Wtype-limits: YES Compiler for C supports arguments -Wundef: YES Compiler for C supports arguments -Wuninitialized: YES Compiler for C supports arguments -Wunused: YES Compiler for C supports arguments -Wunused-variable: YES Compiler for C supports arguments -Wvla: YES Compiler for C supports arguments -Wwrite-strings: YES Compiler for C supports arguments -fdiagnostics-color=auto: YES Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-unused-function: YES Compiler for C supports arguments -Wno-deprecated-declarations: YES Configuring config.h using configuration Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 Run-time dependency libudev found: YES 257 Run-time dependency libusb-1.0 found: YES 1.0.27 Build targets in project: 3 usbutils 018 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share/hwdata includedir : /usr/include infodir : /usr/share/info libdir : /usr/lib64 libexecdir : /usr/libexec localedir : /usr/share/locale localstatedir : /var mandir : /usr/share/man prefix : /usr sbindir : /usr/sbin sharedstatedir: /var/lib sysconfdir : /etc wrap_mode : nodownload Found ninja-1.12.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 8 --verbose ninja: Entering directory `/builddir/build/BUILD/usbutils-018-build/usbutils-018/redhat-linux-build' [1/16] gcc -Ilsusb.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ lsusb.p/sysfs.c.o -MF lsusb.p/sysfs.c.o.d -o lsusb.p/sysfs.c.o -c ../sysfs.c [2/16] gcc -Iusbhid-dump.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ usbhid-dump.p/usbhid-dump_dev.c.o -MF usbhid-dump.p/usbhid-dump_dev.c.o.d -o usbhid-dump.p/usbhid-dump_dev.c.o -c ../usbhid-dump/dev.c [3/16] gcc -Ilsusb.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ lsusb.p/desc-defs.c.o -MF lsusb.p/desc-defs.c.o.d -o lsusb.p/desc-defs.c.o -c ../desc-defs.c [4/16] gcc -Iusbhid-dump.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ usbhid-dump.p/usbhid-dump_dev_list.c.o -MF usbhid-dump.p/usbhid-dump_dev_list.c.o.d -o usbhid-dump.p/usbhid-dump_dev_list.c.o -c ../usbhid-dump/dev_list.c [5/16] gcc -Iusbhid-dump.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ usbhid-dump.p/usbhid-dump_iface.c.o -MF usbhid-dump.p/usbhid-dump_iface.c.o.d -o usbhid-dump.p/usbhid-dump_iface.c.o -c ../usbhid-dump/iface.c [6/16] gcc -Ilsusb.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ lsusb.p/names.c.o -MF lsusb.p/names.c.o.d -o lsusb.p/names.c.o -c ../names.c [7/16] gcc -Iusbreset.p -I. -I.. -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ usbreset.p/usbreset.c.o -MF usbreset.p/usbreset.c.o.d -o usbreset.p/usbreset.c.o -c ../usbreset.c [8/16] gcc -o usbreset usbreset.p/usbreset.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer [9/16] gcc -Iusbhid-dump.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ usbhid-dump.p/usbhid-dump_iface_list.c.o -MF usbhid-dump.p/usbhid-dump_iface_list.c.o.d -o usbhid-dump.p/usbhid-dump_iface_list.c.o -c ../usbhid-dump/iface_list.c /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbhid-dump/iface_list.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [10/16] gcc -Ilsusb.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ lsusb.p/usbmisc.c.o -MF lsusb.p/usbmisc.c.o.d -o lsusb.p/usbmisc.c.o -c ../usbmisc.c /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c: In function ‘get_absolute_path’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:80:51: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:104:16: note: (1) entry to ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:110:14: note: (2) capacity: 4097 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:112:9: note: (3) calling ‘readlink_recursive’ from ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:23:12: note: (4) entry to ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:31:12: note: (5) following ‘false’ branch (when ‘ret <= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:44:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:44:17: note: (7) when ‘strncpy’ truncates the source string <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:112:9: note: (8) returning to ‘get_usb_device’ from ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:113:9: note: (9) calling ‘get_absolute_path’ from ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:50:14: note: (10) entry to ‘get_absolute_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:60:12: note: (11) following ‘false’ branch (when ‘path’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:63:13: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:63:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:72:28: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:73:20: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:73:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:79:27: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:79:27: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:80:51: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:80:51: note: (21) out-of-bounds read at byte -1 but ‘absolute_path’ starts at byte 0 <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:80:51: note: valid subscripts for ‘absolute_path’ are ‘[0]’ to ‘[4096]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:86:42: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:104:16: note: (1) entry to ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:110:14: note: (2) capacity: 4097 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:112:9: note: (3) calling ‘readlink_recursive’ from ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:23:12: note: (4) entry to ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:31:12: note: (5) following ‘true’ branch (when ‘ret > 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:32:20: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:34:25: note: (7) when ‘strncpy’ copies the full source string <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:39:25: note: (8) when ‘strncpy’ truncates the source string <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:42:24: note: (9) calling ‘readlink_recursive’ from ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:23:12: note: (10) entry to ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:44:17: note: (11) when ‘strncpy’ truncates the source string <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:42:24: note: (12) returning to ‘readlink_recursive’ from ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:112:9: note: (13) returning to ‘get_usb_device’ from ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:113:9: note: (14) calling ‘get_absolute_path’ from ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:50:14: note: (15) entry to ‘get_absolute_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:60:12: note: (16) following ‘false’ branch (when ‘path’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:63:13: note: (17) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:63:12: note: (18) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (19) ...to here /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:72:28: note: (20) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:73:20: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:73:20: note: (22) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:79:27: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:79:27: note: (24) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:80:51: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:80:48: note: (26) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:81:38: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:81:28: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (29) ...to here /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:86:42: note: (30) out-of-bounds read at byte -2 but ‘absolute_path’ starts at byte 0 <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:86:42: note: valid subscripts for ‘absolute_path’ are ‘[0]’ to ‘[4096]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:91:28: warning: stack-based buffer under-read [CWE-127] [-Wanalyzer-out-of-bounds] <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:104:16: note: (1) entry to ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:110:14: note: (2) capacity: 4097 bytes <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:112:9: note: (3) calling ‘readlink_recursive’ from ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:23:12: note: (4) entry to ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:31:12: note: (5) following ‘false’ branch (when ‘ret <= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:44:17: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:44:17: note: (7) when ‘strncpy’ truncates the source string <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:112:9: note: (8) returning to ‘get_usb_device’ from ‘readlink_recursive’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:113:9: note: (9) calling ‘get_absolute_path’ from ‘get_usb_device’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:50:14: note: (10) entry to ‘get_absolute_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:60:12: note: (11) following ‘false’ branch (when ‘path’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:63:13: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:63:12: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] cc1: note: (14) ...to here /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:72:28: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:73:20: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:73:20: note: (17) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:79:27: note: (18) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:89:27: note: (19) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:90:28: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:89:43: note: (21) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:91:28: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:91:28: note: (23) out-of-bounds read at byte -1 but ‘absolute_path’ starts at byte 0 <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:91:28: note: valid subscripts for ‘absolute_path’ are ‘[0]’ to ‘[4096]’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c: In function ‘usb_string_to_native’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:169:12: warning: leak of ‘iconv_open(nl_langinfo(14), "UTF-16LE")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:167:16: note: (1) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbmisc.c:169:12: note: (2) ‘iconv_open(nl_langinfo(14), "UTF-16LE")’ leaks here; was allocated at (1) <--[csmock-gcc-wrapper] [11/16] gcc -Ilsusb.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ lsusb.p/lsusb-t.c.o -MF lsusb.p/lsusb-t.c.o.d -o lsusb.p/lsusb-t.c.o -c ../lsusb-t.c /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb-t.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb-t.c:517: error: uninitvar(CWE-457): Uninitialized variable: pd <--[cppcheck] /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb-t.c:575: error: uninitvar(CWE-457): Uninitialized variable: d <--[cppcheck] /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb-t.c:726: error: uninitvar(CWE-457): Uninitialized variable: device <--[cppcheck] /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb-t.c:730: error: uninitvar(CWE-457): Uninitialized variable: interface <--[cppcheck] /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb-t.c:581: error: legacyUninitvar(CWE-457): Uninitialized variable: e <--[cppcheck] [12/16] gcc -Ilsusb.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ lsusb.p/desc-dump.c.o -MF lsusb.p/desc-dump.c.o.d -o lsusb.p/desc-dump.c.o -c ../desc-dump.c /builddir/build/BUILD/usbutils-018-build/usbutils-018/desc-dump.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [13/16] gcc -Iusbhid-dump.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ usbhid-dump.p/usbhid-dump_usbhid-dump.c.o -MF usbhid-dump.p/usbhid-dump_usbhid-dump.c.o.d -o usbhid-dump.p/usbhid-dump_usbhid-dump.c.o -c ../usbhid-dump/usbhid-dump.c /builddir/build/BUILD/usbutils-018-build/usbutils-018/usbhid-dump/usbhid-dump.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [14/16] gcc -o usbhid-dump usbhid-dump.p/usbhid-dump_dev.c.o usbhid-dump.p/usbhid-dump_dev_list.c.o usbhid-dump.p/usbhid-dump_iface.c.o usbhid-dump.p/usbhid-dump_iface_list.c.o usbhid-dump.p/usbhid-dump_usbhid-dump.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer /usr/lib64/libusb-1.0.so [15/16] gcc -Ilsusb.p -I. -I.. -I/usr/include/libusb-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -std=gnu99 -Wbad-function-cast -Wno-cast-align -Wchar-subscripts -Wempty-body -Wformat -Wformat=2 -Wformat-nonliteral -Wformat-security -Wformat-y2k -Winit-self -Winline -Wint-conversion -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-prototypes -Wmissing-noreturn -Wnested-externs -Wold-style-definition -Wold-style-declaration -Wpointer-arith -Wredundant-decls -Wshadow -Wsign-compare -Wstrict-prototypes -Wswitch -Wtype-limits -Wundef -Wuninitialized -Wunused -Wunused-variable -Wvla -Wwrite-strings -fdiagnostics-color=auto -Wno-unused-parameter -Wno-unused-function -Wno-deprecated-declarations -include config.h -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -MD -MQ lsusb.p/lsusb.c.o -MF lsusb.p/lsusb.c.o.d -o lsusb.p/lsusb.c.o -c ../lsusb.c /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [16/16] gcc -o lsusb lsusb.p/desc-defs.c.o lsusb.p/desc-dump.c.o lsusb.p/lsusb-t.c.o lsusb.p/lsusb.c.o lsusb.p/names.c.o lsusb.p/sysfs.c.o lsusb.p/usbmisc.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libusb-1.0.so /usr/lib64/libudev.so -Wl,--end-group INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/usbutils-018-build/usbutils-018/redhat-linux-build -j 8 -v + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 03:28:51 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-11-13 03:28:52 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1729555200 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Ckvh2P + umask 022 + cd /builddir/build/BUILD/usbutils-018-build + '[' /builddir/build/BUILD/usbutils-018-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/usbutils-018-build/BUILDROOT ++ dirname /builddir/build/BUILD/usbutils-018-build/BUILDROOT + mkdir -p /builddir/build/BUILD/usbutils-018-build + mkdir /builddir/build/BUILD/usbutils-018-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd usbutils-018 + DESTDIR=/builddir/build/BUILD/usbutils-018-build/BUILDROOT + /usr/bin/meson install -C redhat-linux-build --no-rebuild Installing lsusb to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/bin Installing usbhid-dump to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/bin Installing /builddir/build/BUILD/usbutils-018-build/usbutils-018/man/lsusb.8 to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/man/man8 Installing /builddir/build/BUILD/usbutils-018-build/usbutils-018/man/lsusb.py.1 to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/man/man1 Installing /builddir/build/BUILD/usbutils-018-build/usbutils-018/man/usb-devices.1 to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/man/man1 Installing /builddir/build/BUILD/usbutils-018-build/usbutils-018/man/usbhid-dump.8 to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/man/man8 Installing /builddir/build/BUILD/usbutils-018-build/usbutils-018/usb-devices to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/bin Installing /builddir/build/BUILD/usbutils-018-build/usbutils-018/lsusb.py to /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/bin + rm -rf /builddir/build/BUILD/usbutils-018-build/BUILDROOT//usr/lib64/pkgconfig/usbutils.pc + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 018-1.fc42 --unique-debug-suffix -018-1.fc42.x86_64 --unique-debug-src-base usbutils-018-1.fc42.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/usbutils-018-build/usbutils-018 find-debuginfo: starting Extracting debug info from 2 files DWARF-compressing 2 files sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/usbutils-018-1.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /usr/bin/usb-devices 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 + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/usbutils-018-build/BUILDROOT Scanned 19 directories and 36 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/usbutils-018-build/SPECPARTS/rpm-debuginfo.specpart Processing files: usbutils-018-1.fc42.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.WHoucq + umask 022 + cd /builddir/build/BUILD/usbutils-018-build + cd usbutils-018 + DOCDIR=/builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/doc/usbutils + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/doc/usbutils + cp -pr /builddir/build/BUILD/usbutils-018-build/usbutils-018/NEWS /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/doc/usbutils + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.JGnVkk + umask 022 + cd /builddir/build/BUILD/usbutils-018-build + cd usbutils-018 + LICENSEDIR=/builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/licenses/usbutils + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/licenses/usbutils + cp -pr /builddir/build/BUILD/usbutils-018-build/usbutils-018/LICENSES/GPL-2.0-only.txt /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/licenses/usbutils + cp -pr /builddir/build/BUILD/usbutils-018-build/usbutils-018/LICENSES/GPL-2.0-or-later.txt /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/licenses/usbutils + cp -pr /builddir/build/BUILD/usbutils-018-build/usbutils-018/LICENSES/GPL-3.0-only.txt /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/share/licenses/usbutils + RPM_EC=0 ++ jobs -p + exit 0 Provides: usbutils = 018-1.fc42 usbutils(x86-64) = 018-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/python3 /usr/bin/sh libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libudev.so.1(LIBUDEV_196)(64bit) libusb-1.0.so.0()(64bit) rtld(GNU_HASH) Processing files: usbutils-debugsource-018-1.fc42.x86_64 Provides: usbutils-debugsource = 018-1.fc42 usbutils-debugsource(x86-64) = 018-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: usbutils-debuginfo-018-1.fc42.x86_64 Provides: debuginfo(build-id) = 8114baab530cd994a7f829c83045ce9508fe0fa4 debuginfo(build-id) = f77bc439345e607429022ac06d7940080513512c usbutils-debuginfo = 018-1.fc42 usbutils-debuginfo(x86-64) = 018-1.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: usbutils-debugsource(x86-64) = 018-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/usbutils-018-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/usbutils.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 03:28:54 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*" Looking for shell scripts.... done + timeout 30 shellcheck --format=json1 --external-sources --source-path=/builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr /builddir/build/BUILD/usbutils-018-build/BUILDROOT/usr/bin/usb-devices >>> 2024-11-13 03:28:55 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log" >>> 2024-11-13 03:28:56 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt'' | tar -xC '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/raw-results' tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-11-13 03:28:58 cat '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/uni-results/cswrap-capture.js' >>> 2024-11-13 03:28:58 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/uni-results/clippy-capture.err >>> 2024-11-13 03:28:58 cd /tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/uni-results/shellcheck-capture.json >>> 2024-11-13 03:28:58 csgrep --mode=json '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/uni-results/unicontrol-capture.js' scan.ini: time-finished = 2024-11-13 03:28:58 scan.ini: exit-code = 0 >>> 2024-11-13 03:28:58 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan.ini' '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/uni-results'/* > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/scan-results-all.js' >>> 2024-11-13 03:28:58 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/scan-results-all.js' >'/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/scan-results-all.js.tmp' >>> 2024-11-13 03:28:59 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-11-13 03:29:01 cat '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/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/csmock5bvvhvav/usbutils-018-1.fc42/scan-results.js' >>> 2024-11-13 03:29:01 cat '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan-results.js' - | cssort > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/suppressed-results.js' >>> 2024-11-13 03:29:01 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/suppressed-results.js' > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/suppressed-results.err' >>> 2024-11-13 03:29:01 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/suppressed-results.html' >>> 2024-11-13 03:29:01 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/debug/suppressed-results-summary.txt' >>> 2024-11-13 03:29:01 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan-results.js' > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan-results.err' >>> 2024-11-13 03:29:01 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan-results.js' | cshtml - > '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan-results.html' >>> 2024-11-13 03:29:01 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan-results.js' | tee '/tmp/csmock5bvvhvav/usbutils-018-1.fc42/scan-results-summary.txt' 1 CPPCHECK_WARNING error[legacyUninitvar] 4 CPPCHECK_WARNING error[uninitvar] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds] <<< 2024-11-13 03:29:01 csmock exit code: 0