Task #165 - stdout.log
back to task #165download
COMMAND: koji -p koji download-build --noprogress --arch=src shared-mime-info-2.3-4.fc41 ------------------------------------------------------------------------------- Downloading [1/1]: shared-mime-info-2.3-4.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmps76iwicm && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmps76iwicm/shared-mime-info-2.3-4.fc41.tar.xz --gcc-analyze /tmp/tmps76iwicm/shared-mime-info-2.3-4.fc41.src.rpm' ------------------------------------------------------------------------------- scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmps76iwicm/shared-mime-info-2.3-4.fc41.tar.xz' '--gcc-analyze' '/tmp/tmps76iwicm/shared-mime-info-2.3-4.fc41.src.rpm' scan.ini: host = ip-172-16-1-42.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmps76iwicm/shared-mime-info-2.3-4.fc41.tar.xz scan.ini: time-created = 2024-04-22 11:15:45 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = shared-mime-info-2.3-4.fc41 >>> 2024-04-22 11:15:45 "rpm -qa | sort -V > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/rpm-list-host.txt'" >>> 2024-04-22 11:15:46 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-04-22 11:15:48 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 21.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: gcc x86_64 14.0.1-0.15.fc41 fedora 103.9 MiB gcc-c++ x86_64 14.0.1-0.15.fc41 fedora 38.1 MiB gettext x86_64 0.22.5-2.fc41 fedora 5.2 MiB git-core x86_64 2.44.0-1.fc41 fedora 20.8 MiB glib2-devel x86_64 2.80.0-1.fc41 fedora 15.4 MiB itstool noarch 2.0.7-8.fc40 fedora 134.4 KiB libxml2-devel x86_64 2.12.6-1.fc41 fedora 3.4 MiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB meson noarch 1.4.0-1.fc41 fedora 10.9 MiB xmlto x86_64 0.0.28-23.fc40 fedora 114.5 KiB Installing dependencies: annobin-docs noarch 12.49-1.fc41 fedora 95.7 KiB annobin-plugin-gcc x86_64 12.49-1.fc41 fedora 970.9 KiB cmake-filesystem x86_64 3.28.3-1.fc41 fedora 0.0 B cpp x86_64 14.0.1-0.15.fc41 fedora 34.9 MiB docbook-dtds noarch 1.0-85.fc40 fedora 8.3 MiB docbook-style-xsl noarch 1.79.2-22.fc40 fedora 15.6 MiB emacs-filesystem noarch 1:30.0-2.fc41 fedora 0.0 B expat x86_64 2.6.2-1.fc41 fedora 280.8 KiB flex x86_64 2.6.4-16.fc40 fedora 805.4 KiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.0.1-0.15.fc41 fedora 57.1 KiB gettext-envsubst x86_64 0.22.5-2.fc41 fedora 74.9 KiB gettext-libs x86_64 0.22.5-2.fc41 fedora 1.7 MiB gettext-runtime x86_64 0.22.5-2.fc41 fedora 481.3 KiB glib2 x86_64 2.80.0-1.fc41 fedora 14.4 MiB glibc-devel x86_64 2.39.9000-12.fc41 fedora 37.7 KiB glibc-headers-x86 noarch 2.39.9000-12.fc41 fedora 2.2 MiB gnutls x86_64 3.8.5-1.fc41 fedora 3.2 MiB guile30 x86_64 3.0.7-12.fc40 fedora 51.5 MiB kernel-headers x86_64 6.9.0-0.rc4.37.fc41 fedora 6.3 MiB less x86_64 643-4.fc40 fedora 368.6 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libblkid-devel x86_64 2.40-13.fc41 fedora 44.9 KiB libcbor x86_64 0.11.0-1.fc40 fedora 73.9 KiB libedit x86_64 3.1-50.20230828cvs.fc40 fedora 243.9 KiB libffi-devel x86_64 3.4.6-1.fc41 fedora 33.1 KiB libfido2 x86_64 1.14.0-4.fc40 fedora 237.8 KiB libmount-devel x86_64 2.40-13.fc41 fedora 63.5 KiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libselinux-devel x86_64 3.6-4.fc40 fedora 126.1 KiB libsepol-devel x86_64 3.6-3.fc40 fedora 120.2 KiB libstdc++-devel x86_64 14.0.1-0.15.fc41 fedora 15.4 MiB libtextstyle x86_64 0.22.5-2.fc41 fedora 195.6 KiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB libxslt x86_64 1.1.39-3.fc40 fedora 481.6 KiB m4 x86_64 1.4.19-9.fc40 fedora 588.9 KiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB nettle x86_64 3.9.1-6.fc40 fedora 790.1 KiB ninja-build x86_64 1.11.1-7.fc40 fedora 424.1 KiB openssh x86_64 9.6p1-1.fc41.7 fedora 1.8 MiB openssh-clients x86_64 9.6p1-1.fc41.7 fedora 2.6 MiB pcre2-devel x86_64 10.43-1.fc41 fedora 2.0 MiB pcre2-utf16 x86_64 10.43-1.fc41 fedora 590.1 KiB pcre2-utf32 x86_64 10.43-1.fc41 fedora 557.9 KiB python-pip-wheel noarch 24.0-2.fc41 fedora 1.5 MiB python3 x86_64 3.12.3-2.fc41 fedora 31.5 KiB python3-libs x86_64 3.12.3-2.fc41 fedora 40.9 MiB python3-libxml2 x86_64 2.12.6-1.fc41 fedora 1.3 MiB python3-packaging noarch 24.0-1.fc41 fedora 424.8 KiB python3-setuptools noarch 69.2.0-1.fc41 fedora 7.2 MiB sgml-common noarch 0.6.3-63.fc40 fedora 168.1 KiB sysprof-capture-devel x86_64 46.0-1.fc41 fedora 252.8 KiB tzdata noarch 2024a-5.fc41 fedora 1.6 MiB vim-filesystem noarch 2:9.1.309-1.fc41 fedora 40.0 B xml-common noarch 0.6.3-63.fc40 fedora 78.4 KiB xz-devel x86_64 1:5.4.6-3.fc41 fedora 255.8 KiB zlib-ng-compat-devel x86_64 2.1.6-2.fc40 fedora 103.4 KiB Transaction Summary: Installing: 67 packages Total size of inbound packages is 113 MiB. Need to download 0 B. After this operation 422 MiB will be used (install 422 MiB, remove 0 B). [ 1/67] gcc-0:14.0.1-0.15.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/67] gettext-0:0.22.5-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/67] git-core-0:2.44.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/67] itstool-0:2.0.7-8.fc40.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/67] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/67] meson-0:1.4.0-1.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/67] xmlto-0:0.0.28-23.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/67] gcc-c++-0:14.0.1-0.15.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/67] glib2-devel-0:2.80.0-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/67] libxml2-devel-0:2.12.6-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/67] cpp-0:14.0.1-0.15.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/67] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/67] gettext-libs-0:0.22.5-2.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/67] gettext-runtime-0:0.22.5-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/67] libtextstyle-0:0.22.5-2.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/67] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/67] less-0:643-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/67] openssh-clients-0:9.6p1-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/67] python3-libxml2-0:2.12.6-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/67] guile30-0:3.0.7-12.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/67] ninja-build-0:1.11.1-7.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/67] python3-setuptools-0:69.2.0-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/67] docbook-dtds-0:1.0-85.fc40.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/67] docbook-style-xsl-0:1.79.2-22.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/67] flex-0:2.6.4-16.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/67] glib2-0:2.80.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/67] python3-packaging-0:24.0-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/67] cmake-filesystem-0:3.28.3-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/67] xz-devel-1:5.4.6-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/67] zlib-ng-compat-devel-0:2.1.6-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/67] gettext-envsubst-0:0.22.5-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/67] libedit-0:3.1-50.20230828cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/67] libfido2-0:1.14.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/67] openssh-0:9.6p1-1.fc41.7.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/67] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [36/67] emacs-filesystem-1:30.0-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [37/67] vim-filesystem-2:9.1.309-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [38/67] sgml-common-0:0.6.3-63.fc40.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [39/67] xml-common-0:0.6.3-63.fc40.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [40/67] m4-0:1.4.19-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [41/67] gnutls-0:3.8.5-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [42/67] libcbor-0:0.11.0-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [43/67] nettle-0:3.9.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [44/67] annobin-plugin-gcc-0:12.49-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [45/67] gcc-plugin-annobin-0:14.0.1-0.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [46/67] annobin-docs-0:12.49-1.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [47/67] libxslt-0:1.1.39-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [48/67] python3-0:3.12.3-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [49/67] python3-libs-0:3.12.3-2.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [50/67] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [51/67] mpdecimal-0:2.5.1-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [52/67] python-pip-wheel-0:24.0-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [53/67] tzdata-0:2024a-5.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [54/67] libffi-devel-0:3.4.6-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [55/67] libmount-devel-0:2.40-13.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [56/67] libselinux-devel-0:3.6-4.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [57/67] libsepol-devel-0:3.6-3.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [58/67] pcre2-devel-0:10.43-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [59/67] pcre2-utf16-0:10.43-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [60/67] pcre2-utf32-0:10.43-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [61/67] sysprof-capture-devel-0:46.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [62/67] libstdc++-devel-0:14.0.1-0.15.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [63/67] glibc-devel-0:2.39.9000-12.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [64/67] glibc-headers-x86-0:2.39.9000-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [65/67] libxcrypt-devel-0:4.4.36-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [66/67] libblkid-devel-0:2.40-13.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [67/67] kernel-headers-0:6.9.0-0.rc4.37 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [67/67] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/69] Verify package files 100% | 143.0 B/s | 67.0 B | 00m00s [ 2/69] Prepare transaction 100% | 881.0 B/s | 67.0 B | 00m00s [ 3/69] Installing libmpc-0:1.3.1-5.fc4 100% | 11.6 MiB/s | 166.2 KiB | 00m00s >>> Running pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch >>> Stop pre-install scriptlet: xml-common-0:0.6.3-63.fc40.noarch [ 4/69] Installing xml-common-0:0.6.3-6 100% | 19.8 MiB/s | 81.1 KiB | 00m00s [ 5/69] Installing zlib-ng-compat-devel 100% | 34.0 MiB/s | 104.5 KiB | 00m00s [ 6/69] Installing expat-0:2.6.2-1.fc41 100% | 46.0 MiB/s | 282.9 KiB | 00m00s [ 7/69] Installing libtextstyle-0:0.22. 100% | 48.0 MiB/s | 196.4 KiB | 00m00s [ 8/69] Installing gettext-libs-0:0.22. 100% | 185.4 MiB/s | 1.7 MiB | 00m00s [ 9/69] Installing cpp-0:14.0.1-0.15.fc 100% | 329.7 MiB/s | 35.0 MiB | 00m00s [10/69] Installing kernel-headers-0:6.9 100% | 112.3 MiB/s | 6.4 MiB | 00m00s [11/69] Installing libblkid-devel-0:2.4 100% | 9.0 MiB/s | 46.0 KiB | 00m00s [12/69] Installing glibc-headers-x86-0: 100% | 87.8 MiB/s | 2.3 MiB | 00m00s [13/69] Installing libxcrypt-devel-0:4. 100% | 8.0 MiB/s | 32.6 KiB | 00m00s [14/69] Installing glibc-devel-0:2.39.9 100% | 5.8 MiB/s | 41.4 KiB | 00m00s [15/69] Installing libstdc++-devel-0:14 100% | 231.9 MiB/s | 15.5 MiB | 00m00s [16/69] Installing sysprof-capture-deve 100% | 62.4 MiB/s | 255.7 KiB | 00m00s [17/69] Installing pcre2-utf32-0:10.43- 100% | 90.9 MiB/s | 558.8 KiB | 00m00s [18/69] Installing pcre2-utf16-0:10.43- 100% | 115.4 MiB/s | 590.9 KiB | 00m00s [19/69] Installing pcre2-devel-0:10.43- 100% | 124.3 MiB/s | 2.0 MiB | 00m00s [20/69] Installing libsepol-devel-0:3.6 100% | 20.8 MiB/s | 127.7 KiB | 00m00s [21/69] Installing libselinux-devel-0:3 100% | 13.1 MiB/s | 160.6 KiB | 00m00s [22/69] Installing libmount-devel-0:2.4 100% | 21.0 MiB/s | 64.5 KiB | 00m00s [23/69] Installing libffi-devel-0:3.4.6 100% | 4.2 MiB/s | 34.8 KiB | 00m00s [24/69] Installing tzdata-0:2024a-5.fc4 100% | 31.2 MiB/s | 1.9 MiB | 00m00s [25/69] Installing python-pip-wheel-0:2 100% | 254.7 MiB/s | 1.5 MiB | 00m00s [26/69] Installing mpdecimal-0:2.5.1-9. 100% | 65.8 MiB/s | 202.0 KiB | 00m00s [27/69] Installing libb2-0:0.98.1-11.fc 100% | 14.1 MiB/s | 43.3 KiB | 00m00s [28/69] Installing python3-0:3.12.3-2.f 100% | 3.6 MiB/s | 33.2 KiB | 00m00s [29/69] Installing python3-libs-0:3.12. 100% | 222.2 MiB/s | 41.3 MiB | 00m00s [30/69] Installing python3-libxml2-0:2. 100% | 160.7 MiB/s | 1.3 MiB | 00m00s [31/69] Installing python3-setuptools-0 100% | 155.6 MiB/s | 7.3 MiB | 00m00s [32/69] Installing python3-packaging-0: 100% | 60.8 MiB/s | 435.6 KiB | 00m00s [33/69] Installing libxslt-0:1.1.39-3.f 100% | 67.6 MiB/s | 484.7 KiB | 00m00s [34/69] Installing annobin-docs-0:12.49 100% | 31.5 MiB/s | 96.7 KiB | 00m00s [35/69] Installing nettle-0:3.9.1-6.fc4 100% | 110.7 MiB/s | 793.3 KiB | 00m00s [36/69] Installing gnutls-0:3.8.5-1.fc4 100% | 199.9 MiB/s | 3.2 MiB | 00m00s [37/69] Installing glib2-0:2.80.0-1.fc4 100% | 283.8 MiB/s | 14.5 MiB | 00m00s [38/69] Installing libcbor-0:0.11.0-1.f 100% | 24.5 MiB/s | 75.3 KiB | 00m00s [39/69] Installing libfido2-0:1.14.0-4. 100% | 46.7 MiB/s | 239.3 KiB | 00m00s [40/69] Installing m4-0:1.4.19-9.fc40.x 100% | 83.0 MiB/s | 595.2 KiB | 00m00s [41/69] Installing flex-0:2.6.4-16.fc40 100% | 88.0 MiB/s | 811.4 KiB | 00m00s [42/69] Installing sgml-common-0:0.6.3- 100% | 28.5 MiB/s | 174.9 KiB | 00m00s [43/69] Installing docbook-dtds-0:1.0-8 100% | 32.5 MiB/s | 8.3 MiB | 00m00s >>> Running post-install scriptlet: docbook-dtds-0:1.0-85.fc40.noarch >>> Stop post-install scriptlet: docbook-dtds-0:1.0-85.fc40.noarch [44/69] Installing docbook-style-xsl-0: 100% | 151.1 MiB/s | 15.9 MiB | 00m00s >>> Running post-install scriptlet: docbook-style-xsl-0:1.79.2-22.fc40.noarch >>> Stop post-install scriptlet: docbook-style-xsl-0:1.79.2-22.fc40.noarch [45/69] Installing vim-filesystem-2:9.1 100% | 943.8 KiB/s | 4.7 KiB | 00m00s [46/69] Installing emacs-filesystem-1:3 100% | 265.6 KiB/s | 544.0 B | 00m00s [47/69] Installing ninja-build-0:1.11.1 100% | 59.6 MiB/s | 427.4 KiB | 00m00s [48/69] Installing gc-0:8.2.2-6.fc40.x8 100% | 42.5 MiB/s | 261.2 KiB | 00m00s [49/69] Installing guile30-0:3.0.7-12.f 100% | 348.5 MiB/s | 51.6 MiB | 00m00s [50/69] Installing make-1:4.4.1-6.fc40. 100% | 128.6 MiB/s | 1.8 MiB | 00m00s [51/69] Installing gcc-0:14.0.1-0.15.fc 100% | 374.1 MiB/s | 104.0 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [52/69] Installing openssh-0:9.6p1-1.fc 100% | 182.0 MiB/s | 1.8 MiB | 00m00s [53/69] Installing libedit-0:3.1-50.202 100% | 48.0 MiB/s | 245.5 KiB | 00m00s [54/69] Installing openssh-clients-0:9. 100% | 163.0 MiB/s | 2.6 MiB | 00m00s >>> Running post-install scriptlet: openssh-clients-0:9.6p1-1.fc41.7.x86_64 >>> Stop post-install scriptlet: openssh-clients-0:9.6p1-1.fc41.7.x86_64 [55/69] Installing gettext-envsubst-0:0 100% | 14.9 MiB/s | 76.3 KiB | 00m00s [56/69] Installing gettext-runtime-0:0. 100% | 47.9 MiB/s | 490.7 KiB | 00m00s [57/69] Installing xz-devel-1:5.4.6-3.f 100% | 50.8 MiB/s | 259.9 KiB | 00m00s [58/69] Installing cmake-filesystem-0:3 100% | 1.2 MiB/s | 7.1 KiB | 00m00s [59/69] Installing less-0:643-4.fc40.x8 100% | 60.5 MiB/s | 372.0 KiB | 00m00s [60/69] Installing git-core-0:2.44.0-1. 100% | 330.2 MiB/s | 20.8 MiB | 00m00s [61/69] Installing libxml2-devel-0:2.12 100% | 170.8 MiB/s | 3.4 MiB | 00m00s [62/69] Installing gettext-0:0.22.5-2.f 100% | 180.5 MiB/s | 5.2 MiB | 00m00s [63/69] Installing gcc-c++-0:14.0.1-0.1 100% | 337.3 MiB/s | 38.1 MiB | 00m00s [64/69] Installing annobin-plugin-gcc-0 100% | 59.4 MiB/s | 972.4 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [65/69] Installing gcc-plugin-annobin-0 100% | 3.6 MiB/s | 58.7 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:288-1.fc41.noarch [66/69] Installing meson-0:1.4.0-1.fc41 100% | 196.8 MiB/s | 11.0 MiB | 00m00s [67/69] Installing xmlto-0:0.0.28-23.fc 100% | 16.8 MiB/s | 120.4 KiB | 00m00s [68/69] Installing glib2-devel-0:2.80.0 100% | 292.3 MiB/s | 15.5 MiB | 00m00s [69/69] Installing itstool-0:2.0.7-8.fc 100% | 32.5 KiB/s | 136.6 KiB | 00m04s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.0-1.fc41.x86_64 >>> 2024-04-22 11:15:57 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 907.9 KiB/s | 21.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.0.1-0.15.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.3-2.fc41 fedora 587.5 KiB cppcheck x86_64 2.13.0-3.fc40 fedora 10.2 MiB Installing dependencies: clang-libs x86_64 18.1.3-2.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.3-2.fc41 fedora 522.0 B llvm-libs x86_64 18.1.3-1.fc41 fedora 113.5 MiB pcre x86_64 8.45-1.fc40.6 fedora 541.8 KiB tinyxml2 x86_64 9.0.0-4.fc40 fedora 103.8 KiB Transaction Summary: Installing: 8 packages Total size of inbound packages is 59 MiB. Need to download 0 B. After this operation 267 MiB will be used (install 267 MiB, remove 0 B). [1/8] cppcheck-0:2.13.0-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/8] ShellCheck-0:0.10.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/8] clang-0:18.1.3-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/8] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/8] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [6/8] clang-libs-0:18.1.3-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [7/8] llvm-libs-0:18.1.3-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [8/8] clang-resource-filesystem-0:18.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/10] Verify package files 100% | 34.0 B/s | 8.0 B | 00m00s [ 2/10] Prepare transaction 100% | 320.0 B/s | 8.0 B | 00m00s [ 3/10] Installing llvm-libs-0:18.1.3-1 100% | 392.6 MiB/s | 113.5 MiB | 00m00s [ 4/10] Installing clang-resource-files 100% | 313.3 KiB/s | 1.6 KiB | 00m00s [ 5/10] Installing clang-libs-0:18.1.3- 100% | 422.9 MiB/s | 107.8 MiB | 00m00s [ 6/10] Installing tinyxml2-0:9.0.0-4.f 100% | 25.6 MiB/s | 104.9 KiB | 00m00s [ 7/10] Installing pcre-0:8.45-1.fc40.6 100% | 88.6 MiB/s | 544.1 KiB | 00m00s [ 8/10] Installing cppcheck-0:2.13.0-3. 100% | 300.9 MiB/s | 10.2 MiB | 00m00s [ 9/10] Installing clang-0:18.1.3-2.fc4 100% | 82.3 MiB/s | 590.2 KiB | 00m00s [10/10] Installing ShellCheck-0:0.10.0- 100% | 27.0 MiB/s | 33.9 MiB | 00m01s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> 2024-04-22 11:16:02 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 11:16:03 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock1wka4q_g/rpm-list-mock-provides.txt" >>> 2024-04-22 11:16:04 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41.src.rpm" "/builddir/shared-mime-info-2.3-4.fc41.src.rpm" >>> 2024-04-22 11:16:05 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-04-22 11:16:06 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/shared-mime-info-2.3-4.fc41.src.rpm'\"" Updating / installing... shared-mime-info-2.3-4.fc41 ######################################## >>> 2024-04-22 11:16:07 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/shared-mime-info.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/shared-mime-info-2.3-4.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1708387200 Wrote: /builddir/build/SRPMS/shared-mime-info-2.3-4.fc41.src.rpm renamed 'shared-mime-info-2.3-4.fc41.src.rpm' -> '/builddir/shared-mime-info-2.3-4.fc41.src.rpm' >>> 2024-04-22 11:16:08 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/shared-mime-info-2.3-4.fc41.src.rpm" "/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41.src.rpm" >>> 2024-04-22 11:16:09 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41.src.rpm" Updating and loading repositories: fedora 100% | 947.4 KiB/s | 21.8 KiB | 00m00s Repositories loaded. Package "gcc-14.0.1-0.15.fc41.x86_64" is already installed. Package "gcc-c++-14.0.1-0.15.fc41.x86_64" is already installed. Package "gettext-0.22.5-2.fc41.x86_64" is already installed. Package "git-core-2.44.0-1.fc41.x86_64" is already installed. Package "glib2-devel-2.80.0-1.fc41.x86_64" is already installed. Package "itstool-2.0.7-8.fc40.noarch" is already installed. Package "libxml2-devel-2.12.6-1.fc41.x86_64" is already installed. Package "make-1:4.4.1-6.fc40.x86_64" is already installed. Package "meson-1.4.0-1.fc41.noarch" is already installed. Package "xmlto-0.0.28-23.fc40.x86_64" is already installed. Nothing to do. >>> 2024-04-22 11:16:11 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 990.5 KiB/s | 21.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.3-2.fc41.x86_64" is already installed. Package "cppcheck-2.13.0-3.fc40.x86_64" is already installed. Package "gcc-14.0.1-0.15.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-04-22 11:16:13 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 11:16:14 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock1wka4q_g/rpm-list-mock-provides.txt" >>> 2024-04-22 11:16:15 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: fedora 100% | 1.1 MiB/s | 21.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.2.1-1.fc41 fedora 3.5 MiB Installing dependencies: boost-atomic x86_64 1.83.0-3.fc40 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-3.fc40 fedora 147.6 KiB boost-program-options x86_64 1.83.0-3.fc40 fedora 272.7 KiB boost-system x86_64 1.83.0-3.fc40 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation 4 MiB will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.2.1-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.0 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 227.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 4.2 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 5.4 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 36.3 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 66.8 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.2.1-1.fc41. 100% | 42.7 MiB/s | 3.5 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-12.fc41.x86_64 >>> 2024-04-22 11:16:17 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/rpm-list-mock.txt" >>> 2024-04-22 11:16:18 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock1wka4q_g/rpm-list-mock-provides.txt" >>> 2024-04-22 11:16:19 "tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/csclng' '/usr/lib64/csclng' '/usr/bin/csclng++' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'" tar: Removing leading `/' from member names scan.ini: analyzer-version-clang = 18.1.3 scan.ini: analyzer-version-cppcheck = 2.13.0 scan.ini: analyzer-version-gcc = 14.0.1 >>> 2024-04-22 11:16:21 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.0.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-04-22 11:16:23 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41.src.rpm'" Updating / installing... shared-mime-info-2.3-4.fc41 ######################################## >>> 2024-04-22 11:16:24 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-04-22 11:16:25 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/glib2-triggers.sh + /usr/bin/gio-querymodules-64 /usr/lib64/gio/modules + /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas No schema files found: doing nothing. RUN: /usr/share/csmock/scripts/chroot-fixups/kpathsea-texhash.sh RUN: /usr/share/csmock/scripts/chroot-fixups/openssl-public-header-files.sh RUN: /usr/share/csmock/scripts/chroot-fixups/qt5-core-abi.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-build-scripts.sh + sed -e s/fail=1/fail=0/ -i /usr/lib/rpm/redhat/brp-mangle-shebangs '/usr/lib/rpm/brp-strip-static-archive' -> '/bin/true' RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-macros.sh RUN: /usr/share/csmock/scripts/chroot-fixups/rpm-python-extras.sh RUN: /usr/share/csmock/scripts/chroot-fixups/shared-mime-info-triggers.sh RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-04-22 11:16:26 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/shared-mime-info.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/shared-mime-info.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/shared-mime-info.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/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1708387200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.0qxgiv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf shared-mime-info-2.3 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/shared-mime-info-2.3.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd shared-mime-info-2.3 + rm -rf /builddir/build/BUILD/shared-mime-info-2.3-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/shared-mime-info-2.3-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '<rpm-build>' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'shared-mime-info-2.3 base' + /usr/bin/git checkout --track -b rpm-build Switched to a new branch 'rpm-build' branch 'rpm-build' set up to track 'master'. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Remove-sub-classing-from-OO.o-mime-types.patch + /usr/bin/git am --reject -q Checking patch data/freedesktop.org.xml.in... Applied patch data/freedesktop.org.xml.in cleanly. + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Fix-build-with-libxml2-2.12.0.patch + /usr/bin/git am --reject -q Checking patch src/test-subclassing.c... Applied patch src/test-subclassing.c cleanly. + rmdir xdgmime + tar xjf /builddir/build/SOURCES/xdgmime-179296748e92bd91bf531656632a1056307fb7b7.tar.bz2 + mv xdgmime-179296748e92bd91bf531656632a1056307fb7b7/ xdgmime/ + patch -p1 patching file xdgmime/src/Makefile Hunk #1 succeeded at 2 with fuzz 1. + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-04-22 11:16:28 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-04-22 11:16:29 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1708387200 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8sqjts + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shared-mime-info-2.3 + /usr/bin/make -O -j8 V=1 VERBOSE=1 -C xdgmime make: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime' target=`echo all-recursive | sed s/-recursive//`; \ for subdir in src; do \ (cd $subdir && make "$target") \ done; make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o test-mime.o test-mime.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmimealias.o xdgmimealias.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmimeint.o xdgmimeint.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmimeicon.o xdgmimeicon.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmimeparent.o xdgmimeparent.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o test-mime-data.o test-mime-data.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o print-mime-data.o print-mime-data.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmime.o xdgmime.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmimemagic.o xdgmimemagic.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmimeglob.o xdgmimeglob.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -std=c99 -D_POSIX_C_SOURCE=200809L -c -g -DXDG_PREFIX=xdg_test -DHAVE_MMAP -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wmissing-prototypes -Wno-sign-compare -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o xdgmimecache.o xdgmimecache.c make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o print-mime-data print-mime-data.o xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimealias.o xdgmimeparent.o xdgmimecache.o xdgmimeicon.o make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test-mime-data test-mime-data.o xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimealias.o xdgmimeparent.o xdgmimecache.o xdgmimeicon.o make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' make[1]: Entering directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' gcc -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o test-mime test-mime.o xdgmime.o xdgmimeglob.o xdgmimeint.o xdgmimemagic.o xdgmimealias.o xdgmimeparent.o xdgmimecache.o xdgmimeicon.o make[1]: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src' /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145: warning: nullPointer(CWE-476): Possible null pointer dereference: expected <--[cppcheck] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145:48: warning: Null pointer passed to 2nd parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c: In function ‘test_one_icon’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145:48: warning: use of NULL ‘expected’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:154:1: note: (1) entry to ‘test_icons’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:158:3: note: (2) calling ‘test_one_icon’ from ‘test_icons’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:139:1: note: (3) entry to ‘test_one_icon’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145:26: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145:26: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145:48: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:145:48: note: (8) argument 2 (‘expected’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime.c:9: <--[gcc] /usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c: In function ‘_xdg_test_alias_list_new’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:53:17: warning: dereference of possibly-NULL ‘list’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:51:10: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:53:17: note: (2) ‘list’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c: In function ‘_xdg_test_alias_read_from_file’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:134:25: warning: leak of ‘*list.aliases’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:113:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:118:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:19: note: (3) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:19: note: (4) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:120:34: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:123:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:126:13: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:127:10: note: (8) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:129:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:131:10: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:133:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:134:27: note: (12) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:134:25: note: (13) ‘*list.aliases’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:17: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:113:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:118:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:120:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:123:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:126:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:127:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:129:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:131:10: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:137:11: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:138:50: note: (11) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:120:34: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:142:32: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:17: note: (14) ‘<unknown>’ leaks here; was allocated at (11) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:113:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:118:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: note: (4) write of ‘(long unsigned int)(*list.n_aliases + 16) * 16’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ heap-allocated buffer ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 256 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:113:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:118:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:19: note: (3) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: note: (4) capacity: ‘(long unsigned int)*list.n_aliases * 16’ bytes <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: note: (5) write of ‘(long unsigned int)(*list.n_aliases + 16) * 16’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ buffer allocated on heap at (4) ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 256 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:113:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:118:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:120:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:123:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:126:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:127:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:129:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:131:10: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:137:11: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:120:34: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:142:32: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: note: (13) write of ‘(long unsigned int)(*list.n_aliases + 16) * 16’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ heap-allocated buffer ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 240 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:147:5: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:113:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:118:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:19: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:119:17: note: (4) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:32: note: (5) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:141:19: note: (6) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:146:6: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:147:5: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:147:16: note: (9) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:147:5: note: (10) argument 1 (‘*list.aliases’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:16, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.h:15, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimealias.c:16: <--[gcc] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c: In function ‘_xdg_test_convert_to_ucs4’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:153:16: warning: dereference of possibly-NULL ‘out’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:147:9: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:151:10: note: (2) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:153:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:153:16: note: (4) ‘out + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:156:10: warning: dereference of possibly-NULL ‘out’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:147:9: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:151:10: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:156:6: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeint.c:156:10: note: (4) ‘out + (long unsigned int)i * 4’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c: In function ‘xdg_test_icon_list_new’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:52:15: warning: dereference of possibly-NULL ‘list’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:50:10: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:52:15: note: (2) ‘list’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c: In function ‘xdg_test_icon_read_from_file’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:133:23: warning: leak of ‘*list.icons’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:112:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:117:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:17: note: (3) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:17: note: (4) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:119:34: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:122:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:125:13: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:126:10: note: (8) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:128:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:130:10: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:132:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:133:25: note: (12) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:133:23: note: (13) ‘*list.icons’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:15: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:112:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:117:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:17: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:119:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:122:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:125:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:126:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:128:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:130:10: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:136:11: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:137:46: note: (11) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:119:34: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:141:32: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:15: note: (14) ‘<unknown>’ leaks here; was allocated at (11) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:112:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:117:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:17: note: (3) when ‘realloc’ succeeds, without moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: note: (4) capacity: ‘(long unsigned int)*list.n_icons * 16’ bytes <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: note: (5) write of ‘(long unsigned int)(*list.n_icons + 16) * 16’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ buffer allocated on heap at (4) ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 256 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:112:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:117:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:17: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: note: (4) write of ‘(long unsigned int)(*list.n_icons + 16) * 16’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ heap-allocated buffer ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 256 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:112:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:117:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:17: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:119:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:122:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:125:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:126:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:128:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:130:10: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:136:11: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:119:34: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:141:32: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: note: (13) write of ‘(long unsigned int)(*list.n_icons + 16) * 16’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ heap-allocated buffer ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 240 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:146:5: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:112:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:117:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:17: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:118:15: note: (4) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:30: note: (5) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:140:17: note: (6) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:145:6: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:146:5: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:146:16: note: (9) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:146:5: note: (10) argument 1 (‘*list.icons’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:16, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.h:14, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeicon.c:15: <--[gcc] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c: In function ‘_xdg_test_parent_list_new’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:54:17: warning: dereference of possibly-NULL ‘list’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:52:10: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:54:17: note: (2) ‘list’ could be NULL: unchecked value from (1) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c: In function ‘_xdg_test_parent_read_from_file’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:39: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:127:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:130:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:133:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:134:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:136:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:139:21: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:27: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:36: note: (11) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:39: note: (12) dereference of NULL ‘*list.parents + (long unsigned int)i * 24’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:153:29: warning: leak of ‘*list.parents’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (4) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:127:34: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:130:15: note: (6) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:133:13: note: (7) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:134:10: note: (8) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:136:12: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (10) following ‘true’ branch (when ‘entry’ is NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:150:14: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:150:14: note: (12) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:152:21: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:153:31: note: (14) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:153:29: note: (15) ‘*list.parents’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:173:44: warning: dereference of possibly-NULL ‘*entry.parents + ((long unsigned int)*entry.n_parents * 8 + 18446744073709551608)’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:127:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:130:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:133:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:134:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:136:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:139:21: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:27: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:14: note: (11) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (13) following ‘false’ branch (when ‘entry’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:10: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:164:28: note: (16) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:165:28: note: (17) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:173:44: note: (18) ‘*entry.parents + ((long unsigned int)*entry.n_parents * 8 + 18446744073709551608)’ could be NULL: unchecked value from (17) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:17: warning: leak of ‘*list.parents’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (4) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:19: note: (5) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:17: note: (6) ‘*list.parents’ leaks here; was allocated at (3) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:17: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:127:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:130:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:133:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:134:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:136:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:139:21: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:27: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:14: note: (11) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (13) following ‘false’ branch (when ‘entry’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:10: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:164:28: note: (16) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:173:46: note: (17) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:17: note: (18) ‘<unknown>’ leaks here; was allocated at (17) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:17: warning: leak of ‘<unknown>’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:127:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:130:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:133:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:134:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:136:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:139:21: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:27: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:14: note: (11) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (13) following ‘false’ branch (when ‘entry’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:10: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:164:28: note: (16) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:165:28: note: (17) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:173:44: note: (18) assuming ‘<unknown>’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:17: note: (19) ‘<unknown>’ leaks here; was allocated at (17) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:19: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:19: note: (4) capacity: ‘(long unsigned int)*list.n_mimes * 24’ bytes <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:19: note: (5) write of ‘(long unsigned int)(*list.n_mimes + 16) * 24’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ buffer allocated on heap at (4) ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 384 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:19: warning: heap-based buffer overflow [CWE-122] [-Wanalyzer-out-of-bounds] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) when ‘realloc’ succeeds, moving buffer <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:127:34: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:130:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:133:13: note: (6) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:134:10: note: (7) following ‘false’ branch (when ‘sep’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:136:12: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:139:21: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:27: note: (10) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:141:14: note: (11) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:148:10: note: (13) following ‘false’ branch (when ‘entry’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:17: note: (14) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:162:10: note: (15) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:164:28: note: (16) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:19: note: (17) write of ‘(long unsigned int)(*list.n_mimes + 16) * 24’ bytes at offset ‘0’ exceeds the buffer <--[gcc] ┌──────────────────────────────────────────────────────────────────────┐ │ write │ └──────────────────────────────────────────────────────────────────────┘ │ │ │ │ v v ┌──────────────────────────────────┐┌──────────────────────────────────┐ │ heap-allocated buffer ││ after valid range │ └──────────────────────────────────┘└──────────────────────────────────┘ ├────────────────┬─────────────────┤ │ ╭────────────┴───────────╮ │⚠️ overflow of 384 bytes│ ╰────────────────────────╯ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:183:5: warning: use of NULL where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:120:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:125:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:19: note: (3) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:126:17: note: (4) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:32: note: (5) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:177:19: note: (6) when ‘realloc’ fails <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:182:6: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:183:5: note: (8) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:183:16: note: (9) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:183:5: note: (10) argument 1 (‘*list.parents’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:16, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.h:15, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeparent.c:16: <--[gcc] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/test-mime-data.c:232:4: warning: Value stored to 'end' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/print-mime-data.c: In function ‘read_from_dir’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/print-mime-data.c:143:23: warning: the comparison will always evaluate as ‘false’ for the address of ‘d_name’ will never be NULL [-Waddress] <--[gcc] 143 | if (entry->d_name == NULL) | ^~ In file included from /usr/include/dirent.h:61, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/print-mime-data.c:17: <--[gcc] /usr/include/bits/dirent.h:33:10: note: ‘d_name’ declared here <--[gcc] 33 | char d_name[256]; /* We must not include limits.h! */ | ^~~~~~ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:147: error: memleakOnRealloc(CWE-401): Common realloc mistake: '_caches' nulled but not freed upon failure <--[cppcheck] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c: In function ‘xdg_dir_time_list_add’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:108:24: warning: dereference of possibly-NULL ‘list’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:30: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:139:6: note: (12) following ‘true’ branch... <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:16: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.h:19:55: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:141:29: note: in expansion of macro ‘_xdg_mime_cache_new_from_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:143:10: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:145:11: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:145:11: note: (16) calling ‘xdg_dir_time_list_add’ from ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:92:1: note: (17) entry to ‘xdg_dir_time_list_add’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:106:10: note: (18) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:108:24: note: (19) ‘list’ could be NULL: unchecked value from (18) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c: In function ‘xdg_mime_init_from_directory’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:138:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:138:3: note: (13) argument 1 (‘file_name’) from (12) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:158:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:138:3: note: (13) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:157:15: note: (14) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:158:3: note: (15) argument 1 (‘file_name’) from (14) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:168:7: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:138:3: note: (13) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:157:15: note: (14) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:158:3: note: (15) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:159:6: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:166:7: note: (17) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:167:19: note: (18) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:168:7: note: (19) argument 1 (‘file_name’) from (18) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:181:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:138:3: note: (13) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:157:15: note: (14) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:158:3: note: (15) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:167:19: note: (16) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:168:7: note: (17) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:176:11: note: (18) state of ‘&HEAP_ALLOCATED_REGION(759)’: ‘nonnull’ -> ‘freed’ (NULL origin) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:180:15: note: (19) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:181:3: note: (20) argument 1 (‘file_name’) from (19) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:193:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:192:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:193:3: note: (13) argument 1 (‘file_name’) from (12) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:198:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:197:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:198:3: note: (13) argument 1 (‘file_name’) from (12) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:203:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:197:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:198:3: note: (13) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:202:15: note: (14) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:203:3: note: (15) argument 1 (‘file_name’) from (14) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:208:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘false’ branch... <--[gcc] cc1: note: (5) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (8) calling ‘xdg_mime_init_from_directory’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:129:1: note: (9) entry to ‘xdg_mime_init_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:135:3: note: (10) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:137:23: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:197:15: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:198:3: note: (13) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:202:15: note: (14) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:203:3: note: (15) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:207:15: note: (16) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:208:3: note: (17) argument 1 (‘file_name’) from (16) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c: In function ‘xdg_init_dirs’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:250:7: warning: use of possibly-NULL ‘mime_subdir’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (6) calling ‘xdg_init_dirs’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:217:1: note: (7) entry to ‘xdg_init_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:224:3: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:226:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:245:6: note: (10) following ‘true’ branch (when ‘xdg_data_home’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:249:29: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:249:21: note: (12) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:250:7: note: (13) argument 1 (‘mime_subdir’) from (12) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:253:31: warning: dereference of possibly-NULL ‘xdg_dirs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (6) calling ‘xdg_init_dirs’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:217:1: note: (7) entry to ‘xdg_init_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:224:3: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:226:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:241:14: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:245:6: note: (11) following ‘true’ branch (when ‘xdg_data_home’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:249:29: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:253:31: note: (13) ‘calloc(n_dirs + 1, 8)’ could be NULL: unchecked value from (10) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:260:7: warning: use of possibly-NULL ‘guessed_xdg_home’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (6) calling ‘xdg_init_dirs’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:217:1: note: (7) entry to ‘xdg_init_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:224:3: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:226:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:245:6: note: (10) following ‘false’ branch (when ‘xdg_data_home’ is NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:255:11: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:255:11: note: (12) following ‘true’ branch (when ‘home’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:259:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:259:26: note: (14) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:260:7: note: (15) argument 1 (‘guessed_xdg_home’) from (14) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:263:31: warning: dereference of possibly-NULL ‘xdg_dirs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (6) calling ‘xdg_init_dirs’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:217:1: note: (7) entry to ‘xdg_init_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:224:3: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:226:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:241:14: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:245:6: note: (11) following ‘false’ branch (when ‘xdg_data_home’ is NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:255:11: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:255:11: note: (13) following ‘true’ branch (when ‘home’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:259:34: note: (14) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:263:31: note: (15) ‘calloc(n_dirs + 1, 8)’ could be NULL: unchecked value from (10) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:300:25: warning: dereference of possibly-NULL ‘xdg_dirs’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (1) entry to ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:510:7: note: (2) calling ‘xdg_run_command_on_dirs’ from ‘xdg_mime_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (3) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:313:5: note: (6) calling ‘xdg_init_dirs’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:217:1: note: (7) entry to ‘xdg_init_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:224:3: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:226:19: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:241:14: note: (10) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:245:6: note: (11) following ‘false’ branch (when ‘xdg_data_home’ is NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:255:11: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:255:11: note: (13) following ‘false’ branch (when ‘home’ is NULL)... <--[gcc] cc1: note: (14) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:300:25: note: (15) ‘calloc(n_dirs + 1, 8) + current_dir * 8’ could be NULL: unchecked value from (10) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c: In function ‘xdg_check_dir’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:405:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] <command-line>: note: (1) entry to ‘xdg_test_get_generic_icon’ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:26:34: note: in definition of macro ‘_XDG_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:24:25: note: in expansion of macro ‘_XDG_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:24:37: note: in expansion of macro ‘XDG_PREFIX’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:58:47: note: in expansion of macro ‘XDG_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:990:1: note: in expansion of macro ‘xdg_mime_get_generic_icon’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:992:3: note: (2) calling ‘xdg_mime_init’ from ‘xdg_test_get_generic_icon’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (3) entry to ‘xdg_mime_init’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:496:7: note: (4) calling ‘xdg_check_time_and_dirs’ from ‘xdg_mime_init’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:473:1: note: (5) entry to ‘xdg_check_time_and_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:482:6: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:484:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:484:16: note: (8) calling ‘xdg_check_dirs’ from ‘xdg_check_time_and_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:446:1: note: (9) entry to ‘xdg_check_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:454:3: note: (10) calling ‘xdg_run_command_on_dirs’ from ‘xdg_check_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (11) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (16) calling ‘xdg_check_dir’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:394:1: note: (17) entry to ‘xdg_check_dir’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:401:3: note: (18) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:404:23: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:404:15: note: (20) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:405:3: note: (21) argument 1 (‘file_name’) from (20) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:420:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] <command-line>: note: (1) entry to ‘xdg_test_get_generic_icon’ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:26:34: note: in definition of macro ‘_XDG_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:24:25: note: in expansion of macro ‘_XDG_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:24:37: note: in expansion of macro ‘XDG_PREFIX’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:58:47: note: in expansion of macro ‘XDG_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:990:1: note: in expansion of macro ‘xdg_mime_get_generic_icon’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:992:3: note: (2) calling ‘xdg_mime_init’ from ‘xdg_test_get_generic_icon’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (3) entry to ‘xdg_mime_init’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:496:7: note: (4) calling ‘xdg_check_time_and_dirs’ from ‘xdg_mime_init’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:473:1: note: (5) entry to ‘xdg_check_time_and_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:482:6: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:484:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:484:16: note: (8) calling ‘xdg_check_dirs’ from ‘xdg_check_time_and_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:446:1: note: (9) entry to ‘xdg_check_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:454:3: note: (10) calling ‘xdg_run_command_on_dirs’ from ‘xdg_check_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (11) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (16) calling ‘xdg_check_dir’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:394:1: note: (17) entry to ‘xdg_check_dir’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:401:3: note: (18) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:404:23: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:404:15: note: (20) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:405:3: note: (21) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:406:13: note: (22) calling ‘xdg_check_file’ from ‘xdg_check_dir’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:359:1: note: (23) entry to ‘xdg_check_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:387:6: note: (24) following ‘true’ branch (when ‘exists’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:388:13: note: (25) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:406:13: note: (26) returning to ‘xdg_check_dir’ from ‘xdg_check_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:408:6: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:413:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:413:11: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:419:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:419:15: note: (31) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:420:3: note: (32) argument 1 (‘file_name’) from (31) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:431:3: warning: use of possibly-NULL ‘file_name’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] <command-line>: note: (1) entry to ‘xdg_test_get_generic_icon’ /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:26:34: note: in definition of macro ‘_XDG_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:24:25: note: in expansion of macro ‘_XDG_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:24:37: note: in expansion of macro ‘XDG_PREFIX’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:58:47: note: in expansion of macro ‘XDG_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:990:1: note: in expansion of macro ‘xdg_mime_get_generic_icon’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:992:3: note: (2) calling ‘xdg_mime_init’ from ‘xdg_test_get_generic_icon’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:494:1: note: (3) entry to ‘xdg_mime_init’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:496:7: note: (4) calling ‘xdg_check_time_and_dirs’ from ‘xdg_mime_init’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:473:1: note: (5) entry to ‘xdg_check_time_and_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:482:6: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:484:16: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:484:16: note: (8) calling ‘xdg_check_dirs’ from ‘xdg_check_time_and_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:446:1: note: (9) entry to ‘xdg_check_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:454:3: note: (10) calling ‘xdg_run_command_on_dirs’ from ‘xdg_check_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:307:1: note: (11) entry to ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:312:6: note: (12) following ‘false’ branch... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:315:27: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:317:11: note: (16) calling ‘xdg_check_dir’ from ‘xdg_run_command_on_dirs’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:394:1: note: (17) entry to ‘xdg_check_dir’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:401:3: note: (18) following ‘false’ branch (when ‘directory’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:404:23: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:404:15: note: (20) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:405:3: note: (21) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:406:13: note: (22) calling ‘xdg_check_file’ from ‘xdg_check_dir’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:359:1: note: (23) entry to ‘xdg_check_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:387:6: note: (24) following ‘true’ branch (when ‘exists’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:388:13: note: (25) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:406:13: note: (26) returning to ‘xdg_check_dir’ from ‘xdg_check_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:408:6: note: (27) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:413:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:413:11: note: (29) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:419:23: note: (30) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:419:15: note: (31) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:420:3: note: (32) assuming ‘file_name’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:421:13: note: (33) calling ‘xdg_check_file’ from ‘xdg_check_dir’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:359:1: note: (34) entry to ‘xdg_check_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:387:6: note: (35) following ‘false’ branch (when ‘exists’ is NULL)... <--[gcc] cc1: note: (36) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:421:13: note: (37) returning to ‘xdg_check_dir’ from ‘xdg_check_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:423:6: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:430:23: note: (39) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:430:15: note: (40) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.c:431:3: note: (41) argument 1 (‘file_name’) from (40) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimemagic.c:174: error: memleakOnRealloc(CWE-401): Common realloc mistake: 'retval' nulled but not freed upon failure <--[cppcheck] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_list_append’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: warning: use of possibly-NULL ‘data’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:15, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:16: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:20: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:544:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:81: note: (8) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: note: (9) calling ‘_xdg_glob_list_append’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:96:1: note: (10) entry to ‘_xdg_glob_list_append’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:106:22: note: (11) following ‘true’ branch (when ‘tmp_element’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (13) argument 2 (‘data’) from (8) could be NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:21: <--[gcc] /usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:109:11: warning: use of possibly-NULL ‘mime_type’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:544:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:96: note: (8) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: note: (9) calling ‘_xdg_glob_list_append’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:96:1: note: (10) entry to ‘_xdg_glob_list_append’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:106:22: note: (11) following ‘true’ branch (when ‘tmp_element’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:10: note: (13) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:109:11: note: (14) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:109:11: note: (15) argument 2 (‘mime_type’) from (8) could be NULL where non-null expected <--[gcc] /usr/include/string.h:156:12: note: argument 2 of ‘strcmp’ must be non-null <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:116:21: warning: dereference of possibly-NULL ‘new_element’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:544:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: note: (8) calling ‘_xdg_glob_list_append’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:96:1: note: (9) entry to ‘_xdg_glob_list_append’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:106:22: note: (10) following ‘false’ branch (when ‘tmp_element’ is NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:115:17: note: (11) inlined call to ‘_xdg_glob_list_new’ from ‘_xdg_glob_list_append’ <--[gcc] In function ‘_xdg_glob_list_new’, inlined from ‘_xdg_glob_list_append’ at xdgmimeglob.c:115:17: /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:68:17: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:68:17: note: (13) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_list_append’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:116:21: note: (14) ‘new_element’ could be NULL: unchecked value from (13) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_hash_insert_ucs4’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:180:23: warning: dereference of possibly-NULL ‘glob_hash_node’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:547:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:548:32: note: (8) calling ‘_xdg_glob_hash_insert_text’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:278:1: note: (9) entry to ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:290:10: note: (10) calling ‘_xdg_glob_hash_insert_ucs4’ from ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:165:1: note: (11) entry to ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:179:14: note: (12) inlined call to ‘_xdg_glob_hash_node_new’ from ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] In function ‘_xdg_glob_hash_node_new’, inlined from ‘_xdg_glob_hash_insert_ucs4’ at xdgmimeglob.c:179:14: /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:140:20: note: (13) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_hash_insert_ucs4’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:180:23: note: (14) ‘glob_hash_node’ could be NULL: unchecked value from (13) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:203:31: warning: dereference of possibly-NULL ‘glob_hash_node’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:547:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:548:32: note: (8) calling ‘_xdg_glob_hash_insert_text’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:278:1: note: (9) entry to ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:290:10: note: (10) calling ‘_xdg_glob_hash_insert_ucs4’ from ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:165:1: note: (11) entry to ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:176:6: note: (12) following ‘false’ branch (when ‘glob_hash_node’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:177:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:176:32: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:184:11: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:184:11: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:196:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:198:19: note: (18) following ‘true’ branch (when ‘node’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:200:31: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:200:14: note: (20) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:202:22: note: (21) inlined call to ‘_xdg_glob_hash_node_new’ from ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] In function ‘_xdg_glob_hash_node_new’, inlined from ‘_xdg_glob_hash_insert_ucs4’ at xdgmimeglob.c:202:15: /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:140:20: note: (22) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:140:20: note: (23) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_hash_insert_ucs4’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:203:31: note: (24) ‘glob_hash_node’ could be NULL: unchecked value from (23) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:222:27: warning: dereference of possibly-NULL ‘glob_hash_node’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:547:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:548:32: note: (8) calling ‘_xdg_glob_hash_insert_text’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:278:1: note: (9) entry to ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:290:10: note: (10) calling ‘_xdg_glob_hash_insert_ucs4’ from ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:165:1: note: (11) entry to ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:176:6: note: (12) following ‘false’ branch (when ‘glob_hash_node’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:177:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:176:32: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:184:11: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:184:11: note: (16) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:196:12: note: (17) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:198:19: note: (18) following ‘false’ branch (when ‘node’ is NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:219:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:219:10: note: (20) following ‘true’ branch (when ‘found_node == 0’)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:221:18: note: (21) inlined call to ‘_xdg_glob_hash_node_new’ from ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] In function ‘_xdg_glob_hash_node_new’, inlined from ‘_xdg_glob_hash_insert_ucs4’ at xdgmimeglob.c:221:11: /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:140:20: note: (22) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:140:20: note: (23) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_hash_insert_ucs4’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:222:27: note: (24) ‘glob_hash_node’ could be NULL: unchecked value from (23) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:253:36: warning: dereference of possibly-NULL ‘glob_hash_node’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘case 1:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:547:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:548:32: note: (8) calling ‘_xdg_glob_hash_insert_text’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:278:1: note: (9) entry to ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:290:10: note: (10) calling ‘_xdg_glob_hash_insert_ucs4’ from ‘_xdg_glob_hash_insert_text’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:165:1: note: (11) entry to ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:176:6: note: (12) following ‘false’ branch (when ‘glob_hash_node’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:177:34: note: (13) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:176:32: note: (14) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:184:11: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:229:6: note: (16) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:231:15: note: (17) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:231:10: note: (18) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:233:15: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:233:14: note: (20) following ‘true’ branch (when the strings are non-equal)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:238:21: note: (21) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:249:18: note: (22) following ‘true’ branch (when ‘found_node == 0’)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:251:27: note: (23) inlined call to ‘_xdg_glob_hash_node_new’ from ‘_xdg_glob_hash_insert_ucs4’ <--[gcc] In function ‘_xdg_glob_hash_node_new’, inlined from ‘_xdg_glob_hash_insert_ucs4’ at xdgmimeglob.c:251:13: /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:140:20: note: (24) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:140:20: note: (25) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_hash_insert_ucs4’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:253:36: note: (26) ‘glob_hash_node’ could be NULL: unchecked value from (25) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c: In function ‘_xdg_glob_list_append’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: warning: leak of ‘strdup(glob)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:544:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:81: note: (8) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: note: (9) calling ‘_xdg_glob_list_append’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:96:1: note: (10) entry to ‘_xdg_glob_list_append’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:106:22: note: (11) following ‘true’ branch (when ‘tmp_element’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (13) assuming ‘data’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: note: (14) ‘strdup(glob)’ leaks here; was allocated at (8) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: warning: leak of ‘strdup(mime_type)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (2) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (4) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (6) following ‘default:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:544:5: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:96: note: (8) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: note: (9) calling ‘_xdg_glob_list_append’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:96:1: note: (10) entry to ‘_xdg_glob_list_append’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:106:22: note: (11) following ‘true’ branch (when ‘tmp_element’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:109:11: note: (13) assuming ‘mime_type’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:33: note: (14) ‘strdup(mime_type)’ leaks here; was allocated at (8) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:30: warning: leak of ‘strdup(mime_type)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_glob_read_from_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:28:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:594:1: note: in expansion of macro ‘_xdg_mime_glob_read_from_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:604:6: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:609:39: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:616:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:616:10: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:619:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:624:10: note: (8) following ‘false’ branch (when ‘version_two == 0’)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:636:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:636:15: note: (10) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:637:10: note: (11) following ‘false’ branch (when ‘colon’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:639:14: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:646:15: note: (13) when ‘strchr’ returns NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:647:10: note: (14) following ‘false’ branch... <--[gcc] cc1: note: (15) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (16) calling ‘_xdg_test_hash_append_glob’ from ‘_xdg_test_glob_read_from_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:671:7: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (17) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (18) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (20) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (21) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (22) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:550:5: note: (23) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:90: note: (24) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:30: note: (25) calling ‘_xdg_glob_list_append’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:96:1: note: (26) entry to ‘_xdg_glob_list_append’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:106:22: note: (27) following ‘true’ branch (when ‘tmp_element’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:109:11: note: (29) assuming ‘mime_type’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:30: note: (30) ‘strdup(mime_type)’ leaks here; was allocated at (24) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:30: warning: leak of ‘strdup(glob)’ [CWE-401] [-Wanalyzer-malloc-leak] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_glob_read_from_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:28:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:594:1: note: in expansion of macro ‘_xdg_mime_glob_read_from_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:604:6: note: (2) following ‘false’ branch... <--[gcc] cc1: note: (3) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:609:39: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:616:15: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:616:10: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:619:20: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:624:10: note: (8) following ‘false’ branch (when ‘version_two == 0’)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:636:15: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:636:15: note: (10) when ‘strchr’ returns non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:637:10: note: (11) following ‘false’ branch (when ‘colon’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:639:14: note: (12) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:646:15: note: (13) when ‘strchr’ returns NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:647:10: note: (14) following ‘false’ branch... <--[gcc] cc1: note: (15) ...to here /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (16) calling ‘_xdg_test_hash_append_glob’ from ‘_xdg_test_glob_read_from_file’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:671:7: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (17) entry to ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:32:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:529:1: note: in expansion of macro ‘_xdg_glob_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:537:3: note: (18) following ‘false’ branch (when ‘glob_hash’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (19) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:538:3: note: (20) following ‘false’ branch (when ‘glob’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (21) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.h:33:47: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:540:10: note: in expansion of macro ‘_xdg_glob_determine_type’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:542:3: note: (22) following ‘case 2:’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:550:5: note: (23) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:75: note: (24) allocated here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:30: note: (25) calling ‘_xdg_glob_list_append’ from ‘_xdg_test_hash_append_glob’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:96:1: note: (26) entry to ‘_xdg_glob_list_append’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:106:22: note: (27) following ‘true’ branch (when ‘tmp_element’ is non-NULL)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (28) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:108:11: note: (29) assuming ‘data’ is non-NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:30: note: (30) ‘strdup(glob)’ leaks here; was allocated at (24) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:404:3: warning: Value stored to 'n' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:31: warning: Potential memory leak [unix.Malloc] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:545:31: warning: Potential memory leak [unix.Malloc] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:28: warning: Potential memory leak [unix.Malloc] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimeglob.c:551:28: warning: Potential memory leak [unix.Malloc] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c: In function ‘ascii_tolower’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:583:10: warning: dereference of possibly-NULL ‘p’ [CWE-690] [-Wanalyzer-possible-null-dereference] <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.h:14, <--[gcc] from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:36: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:30:43: note: (1) entry to ‘_xdg_test_cache_get_mime_types_from_file_name’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:29:43: note: in expansion of macro ‘_XDG_RESERVED_ENTRY3’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmime.h:28:34: note: in expansion of macro ‘_XDG_RESERVED_ENTRY2’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.h:26:55: note: in expansion of macro ‘XDG_RESERVED_ENTRY’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:822:1: note: in expansion of macro ‘_xdg_mime_cache_get_mime_types_from_file_name’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:826:10: note: (2) calling ‘cache_glob_lookup_file_name’ from ‘_xdg_test_cache_get_mime_types_from_file_name’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:592:1: note: (3) entry to ‘cache_glob_lookup_file_name’ <--[gcc] In file included from /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:23: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:603:3: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:607:16: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:607:16: note: (6) calling ‘ascii_tolower’ from ‘cache_glob_lookup_file_name’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:577:1: note: (7) entry to ‘ascii_tolower’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:581:11: note: (8) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:583:10: note: (9) ‘p’ could be NULL: unchecked value from (8) <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c: In function ‘_xdg_test_cache_list_mime_parents’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:1006:3: warning: use of possibly-NULL ‘result’ where non-null expected [CWE-690] [-Wanalyzer-possible-null-argument] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:1005:22: note: (1) this call could return NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:1006:3: note: (2) argument 1 (‘result’) from (1) could be NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_memcpy’ must be non-null /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:238:27: warning: Dereference of null pointer [core.NullDereference] <--[clang] /builddir/build/BUILD/shared-mime-info-2.3/xdgmime/src/xdgmimecache.c:379:8: warning: Value stored to 'weight' is never read [deadcode.DeadStores] <--[clang] make: Leaving directory '/builddir/build/BUILD/shared-mime-info-2.3/xdgmime' The Meson build system Version: 1.4.0 Source dir: /builddir/build/BUILD/shared-mime-info-2.3 Build dir: /builddir/build/BUILD/shared-mime-info-2.3/redhat-linux-build Build type: native build Project name: shared-mime-info Project version: 2.3 C compiler for the host machine: gcc (gcc 14.0.1 "gcc (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)") C linker for the host machine: gcc ld.bfd 2.42.50.20240318 C++ compiler for the host machine: g++ (gcc 14.0.1 "g++ (GCC) 14.0.1 20240411 (Red Hat 14.0.1-0)") C++ linker for the host machine: g++ ld.bfd 2.42.50.20240318 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program xmllint found: YES (/usr/bin/xmllint) Program xmlto found: YES (/usr/bin/xmlto) Program ./xdgmime/src/print-mime-data found: YES (/builddir/build/BUILD/shared-mime-info-2.3/./xdgmime/src/print-mime-data) Program ./xdgmime/src/test-mime-data found: YES (/builddir/build/BUILD/shared-mime-info-2.3/./xdgmime/src/test-mime-data) Program ./xdgmime/src/test-mime found: YES (/builddir/build/BUILD/shared-mime-info-2.3/./xdgmime/src/test-mime) Checking for function "fdatasync" : YES Program msgfmt found: YES (/usr/bin/msgfmt) Program msginit found: YES (/usr/bin/msginit) Program msgmerge found: YES (/usr/bin/msgmerge) Program xgettext found: YES (/usr/bin/xgettext) Program check_translations.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.3/po/check_translations.sh) Found pkg-config: YES (/usr/bin/pkg-config) 2.1.0 Run-time dependency libxml-2.0 found: YES 2.12.6 Run-time dependency glib-2.0 found: YES 2.80.0 Run-time dependency gio-2.0 found: YES 2.80.0 Configuring config.h using configuration Program test_staging.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.3/tests/test_staging.sh) Program test_mime.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.3/tests/test_mime.sh) Program test_generic_icons.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.3/tests/test_generic_icons.sh) Program test_duplicate_mime_types.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.3/tests/test_duplicate_mime_types.sh) Program test_case.py found: YES (/builddir/build/BUILD/shared-mime-info-2.3/tests/test_case.py) Program test_sub_class_ofs.py found: YES (/builddir/build/BUILD/shared-mime-info-2.3/tests/test_sub_class_ofs.py) Program test-case-sensitivity.sh found: YES (/builddir/build/BUILD/shared-mime-info-2.3/tests/test-case-sensitivity.sh) Configuring shared-mime-info.pc using configuration Build targets in project: 86 NOTICE: Future-deprecated features used: * 0.55.0: {'ExternalProgram.path'} * 0.56.0: {'meson.build_root', 'meson.source_root'} shared-mime-info 2.3 User defined options auto_features : enabled bindir : /usr/bin buildtype : plain datadir : /usr/share 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 update-mimedb : true Found ninja-1.11.1 at /usr/bin/ninja ninja: Entering directory `/builddir/build/BUILD/shared-mime-info-2.3/redhat-linux-build' [1/85] /usr/bin/msgfmt -o po/be@latin/LC_MESSAGES/shared-mime-info.mo ../po/be@latin.po [2/85] /usr/bin/msgfmt -o po/as/LC_MESSAGES/shared-mime-info.mo ../po/as.po [3/85] /usr/bin/msgfmt -o po/ast/LC_MESSAGES/shared-mime-info.mo ../po/ast.po [4/85] /usr/bin/msgfmt -o po/az/LC_MESSAGES/shared-mime-info.mo ../po/az.po [5/85] /usr/bin/msgfmt -o po/af/LC_MESSAGES/shared-mime-info.mo ../po/af.po [6/85] /usr/bin/msgfmt -o po/ar/LC_MESSAGES/shared-mime-info.mo ../po/ar.po [7/85] /usr/bin/msgfmt -o po/be/LC_MESSAGES/shared-mime-info.mo ../po/be.po [8/85] /usr/bin/msgfmt -o po/bg/LC_MESSAGES/shared-mime-info.mo ../po/bg.po [9/85] /usr/bin/msgfmt -o po/bn_IN/LC_MESSAGES/shared-mime-info.mo ../po/bn_IN.po [10/85] /usr/bin/msgfmt -o po/ca@valencia/LC_MESSAGES/shared-mime-info.mo ../po/ca@valencia.po [11/85] /usr/bin/msgfmt -o po/ca/LC_MESSAGES/shared-mime-info.mo ../po/ca.po [12/85] /usr/bin/msgfmt -o po/cy/LC_MESSAGES/shared-mime-info.mo ../po/cy.po [13/85] /usr/bin/msgfmt -o po/cs/LC_MESSAGES/shared-mime-info.mo ../po/cs.po [14/85] /usr/bin/msgfmt -o po/da/LC_MESSAGES/shared-mime-info.mo ../po/da.po [15/85] /usr/bin/msgfmt -o po/de/LC_MESSAGES/shared-mime-info.mo ../po/de.po [16/85] /usr/bin/msgfmt -o po/el/LC_MESSAGES/shared-mime-info.mo ../po/el.po [17/85] /usr/bin/msgfmt -o po/en_GB/LC_MESSAGES/shared-mime-info.mo ../po/en_GB.po [18/85] /usr/bin/msgfmt -o po/et/LC_MESSAGES/shared-mime-info.mo ../po/et.po [19/85] /usr/bin/msgfmt -o po/eo/LC_MESSAGES/shared-mime-info.mo ../po/eo.po [20/85] /usr/bin/msgfmt -o po/es/LC_MESSAGES/shared-mime-info.mo ../po/es.po [21/85] /usr/bin/msgfmt -o po/fa/LC_MESSAGES/shared-mime-info.mo ../po/fa.po [22/85] /usr/bin/msgfmt -o po/eu/LC_MESSAGES/shared-mime-info.mo ../po/eu.po [23/85] /usr/bin/msgfmt -o po/fi/LC_MESSAGES/shared-mime-info.mo ../po/fi.po [24/85] /usr/bin/msgfmt -o po/fo/LC_MESSAGES/shared-mime-info.mo ../po/fo.po [25/85] /usr/bin/msgfmt -o po/fr/LC_MESSAGES/shared-mime-info.mo ../po/fr.po [26/85] /usr/bin/msgfmt -o po/ga/LC_MESSAGES/shared-mime-info.mo ../po/ga.po [27/85] /usr/bin/msgfmt -o po/fur/LC_MESSAGES/shared-mime-info.mo ../po/fur.po [28/85] /usr/bin/msgfmt -o po/gu/LC_MESSAGES/shared-mime-info.mo ../po/gu.po [29/85] /usr/bin/msgfmt -o po/gl/LC_MESSAGES/shared-mime-info.mo ../po/gl.po [30/85] /usr/bin/msgfmt -o po/hi/LC_MESSAGES/shared-mime-info.mo ../po/hi.po [31/85] /usr/bin/msgfmt -o po/he/LC_MESSAGES/shared-mime-info.mo ../po/he.po [32/85] /usr/bin/msgfmt -o po/hr/LC_MESSAGES/shared-mime-info.mo ../po/hr.po [33/85] /usr/bin/msgfmt -o po/ia/LC_MESSAGES/shared-mime-info.mo ../po/ia.po [34/85] /usr/bin/msgfmt -o po/hu/LC_MESSAGES/shared-mime-info.mo ../po/hu.po [35/85] /usr/bin/msgfmt -o po/is/LC_MESSAGES/shared-mime-info.mo ../po/is.po [36/85] /usr/bin/msgfmt -o po/id/LC_MESSAGES/shared-mime-info.mo ../po/id.po [37/85] /usr/bin/msgfmt -o po/it/LC_MESSAGES/shared-mime-info.mo ../po/it.po [38/85] /usr/bin/msgfmt -o po/ja/LC_MESSAGES/shared-mime-info.mo ../po/ja.po [39/85] /usr/bin/msgfmt -o po/ka/LC_MESSAGES/shared-mime-info.mo ../po/ka.po [40/85] /usr/bin/msgfmt -o po/kk/LC_MESSAGES/shared-mime-info.mo ../po/kk.po [41/85] /usr/bin/msgfmt -o po/kn/LC_MESSAGES/shared-mime-info.mo ../po/kn.po [42/85] /usr/bin/msgfmt -o po/ky/LC_MESSAGES/shared-mime-info.mo ../po/ky.po [43/85] /usr/bin/msgfmt -o po/ko/LC_MESSAGES/shared-mime-info.mo ../po/ko.po [44/85] /usr/bin/msgfmt -o po/lt/LC_MESSAGES/shared-mime-info.mo ../po/lt.po [45/85] /usr/bin/msgfmt -o po/ml/LC_MESSAGES/shared-mime-info.mo ../po/ml.po [46/85] /usr/bin/msgfmt -o po/lv/LC_MESSAGES/shared-mime-info.mo ../po/lv.po [47/85] /usr/bin/msgfmt -o po/mr/LC_MESSAGES/shared-mime-info.mo ../po/mr.po [48/85] /usr/bin/msgfmt -o po/ms/LC_MESSAGES/shared-mime-info.mo ../po/ms.po [49/85] /usr/bin/msgfmt -o po/nb/LC_MESSAGES/shared-mime-info.mo ../po/nb.po [50/85] /usr/bin/msgfmt -o po/nl/LC_MESSAGES/shared-mime-info.mo ../po/nl.po [51/85] /usr/bin/msgfmt -o po/nn/LC_MESSAGES/shared-mime-info.mo ../po/nn.po [52/85] /usr/bin/msgfmt -o po/or/LC_MESSAGES/shared-mime-info.mo ../po/or.po [53/85] /usr/bin/msgfmt -o po/pa/LC_MESSAGES/shared-mime-info.mo ../po/pa.po [54/85] /usr/bin/msgfmt -o po/oc/LC_MESSAGES/shared-mime-info.mo ../po/oc.po [55/85] /usr/bin/msgfmt -o po/pl/LC_MESSAGES/shared-mime-info.mo ../po/pl.po [56/85] /usr/bin/msgfmt -o po/pt/LC_MESSAGES/shared-mime-info.mo ../po/pt.po [57/85] /usr/bin/msgfmt -o po/pt_BR/LC_MESSAGES/shared-mime-info.mo ../po/pt_BR.po [58/85] /usr/bin/msgfmt -o po/ro/LC_MESSAGES/shared-mime-info.mo ../po/ro.po [59/85] /usr/bin/msgfmt -o po/rw/LC_MESSAGES/shared-mime-info.mo ../po/rw.po [60/85] /usr/bin/msgfmt -o po/ru/LC_MESSAGES/shared-mime-info.mo ../po/ru.po [61/85] /usr/bin/msgfmt -o po/sk/LC_MESSAGES/shared-mime-info.mo ../po/sk.po [62/85] /usr/bin/msgfmt -o po/si/LC_MESSAGES/shared-mime-info.mo ../po/si.po [63/85] /usr/bin/msgfmt -o po/sl/LC_MESSAGES/shared-mime-info.mo ../po/sl.po [64/85] /usr/bin/msgfmt -o po/sr/LC_MESSAGES/shared-mime-info.mo ../po/sr.po [65/85] /usr/bin/msgfmt -o po/sr@latin/LC_MESSAGES/shared-mime-info.mo ../po/sr@latin.po [66/85] /usr/bin/msgfmt -o po/sq/LC_MESSAGES/shared-mime-info.mo ../po/sq.po [67/85] /usr/bin/msgfmt -o po/ta/LC_MESSAGES/shared-mime-info.mo ../po/ta.po [68/85] /usr/bin/msgfmt -o po/te/LC_MESSAGES/shared-mime-info.mo ../po/te.po [69/85] /usr/bin/msgfmt -o po/th/LC_MESSAGES/shared-mime-info.mo ../po/th.po [70/85] /usr/bin/msgfmt -o po/sv/LC_MESSAGES/shared-mime-info.mo ../po/sv.po [71/85] /usr/bin/msgfmt -o po/tr/LC_MESSAGES/shared-mime-info.mo ../po/tr.po [72/85] /usr/bin/msgfmt -o po/uk/LC_MESSAGES/shared-mime-info.mo ../po/uk.po [73/85] /usr/bin/msgfmt -o po/vi/LC_MESSAGES/shared-mime-info.mo ../po/vi.po [74/85] /usr/bin/msgfmt -o po/wa/LC_MESSAGES/shared-mime-info.mo ../po/wa.po [75/85] /usr/bin/msgfmt -o po/zh_HK/LC_MESSAGES/shared-mime-info.mo ../po/zh_HK.po [76/85] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/shared-mime-info.mo ../po/zh_CN.po [77/85] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/shared-mime-info.mo ../po/zh_TW.po [78/85] gcc -Isrc/test-subclassing.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -pthread -MD -MQ src/test-subclassing.p/test-subclassing.c.o -MF src/test-subclassing.p/test-subclassing.c.o.d -o src/test-subclassing.p/test-subclassing.c.o -c ../src/test-subclassing.c [79/85] gcc -o src/test-subclassing src/test-subclassing.p/test-subclassing.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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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/libglib-2.0.so /usr/lib64/libxml2.so -Wl,--end-group [80/85] /usr/bin/xmlto -o data/shared-mime-info-spec-html html-nochunks ../data/shared-mime-info-spec.xml + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /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 -Dupdate-mimedb=true + /usr/bin/meson compile -C redhat-linux-build -j 8 --verbose [81/85] /usr/bin/meson --internal msgfmthelper --msgfmt=/usr/bin/msgfmt --datadirs=/builddir/build/BUILD/shared-mime-info-2.3/data/. ../data/freedesktop.org.xml.in data/freedesktop.org.xml xml ../data/../po [82/85] g++ -Isrc/update-mime-database.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libxml2 -fdiagnostics-color=always -D_GLIBCXX_ASSERTIONS=1 -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c++17 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -pthread -MD -MQ src/update-mime-database.p/update-mime-database.cpp.o -MF src/update-mime-database.p/update-mime-database.cpp.o.d -o src/update-mime-database.p/update-mime-database.cpp.o -c ../src/update-mime-database.cpp /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:2161:23: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] <--[g++] 2161 | env = "/usr/local/share/"PATH_SEPARATOR"/usr/share/"; | ^ /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘Type* get_type(const char*, GError**)’: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:274:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] <--[g++] 274 | for (i = 0; i < G_N_ELEMENTS(media_types); i++) /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:2161:28: error: invalid suffix on literal; C++11 requires a space between literal and identifier [-Wreserved-user-defined-literal] <--[clang++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘void delete_old_types(const gchar*)’: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:1961:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] <--[g++] 1961 | for (i = 0; i < G_N_ELEMENTS(media_types); i++) /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘void write_namespaces(FILE*)’: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:2020:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare] <--[g++] 2020 | for (i = 0; i < lines->len; i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘void write_aliases(FILE*)’: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:2079:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare] <--[g++] 2079 | for (i = 0; i < lines->len; i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘void write_types(FILE*)’: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:2110:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare] <--[g++] 2110 | for (i = 0; i < lines->len; i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘gboolean write_types_cache(FILE*, GHashTable*, GHashTable*, guint*)’: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:3217:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare] <--[g++] 3217 | for (i = 0; i < lines->len; i++) | ~~^~~~~~~~~~~~ /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘int main(int, char**)’: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:3793:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare] <--[g++] 3793 | for (i = 0; i < magic_array->len; i++) | ~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:3914:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘guint’ {aka ‘unsigned int’} [-Wsign-compare] <--[g++] 3914 | for (i = 0; i < tree_magic_array->len; i++) | ~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:36, <--[g++] from /usr/include/glib-2.0/glib.h:56, <--[g++] from /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:14: <--[g++] /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp: In function ‘void match_value_and_mask(Match*, xmlNode*, GError**)’: <--[g++] /usr/include/glib-2.0/glib/gstring.h:73:31: warning: ignoring return value of ‘gchar* g_string_free_and_steal(GString*)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] <--[g++] 73 | g_string_free_and_steal (str)) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ /builddir/build/BUILD/shared-mime-info-2.3/src/update-mime-database.cpp:1487:17: note: in expansion of macro ‘g_string_free’ <--[g++] 1487 | g_string_free(parsed_value, FALSE); | ^~~~~~~~~~~~~ [83/85] g++ -o src/update-mime-database src/update-mime-database.p/update-mime-database.cpp.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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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/libglib-2.0.so /usr/lib64/libxml2.so -Wl,--end-group [84/85] gcc -Isrc/tree-magic.p -Isrc -I../src -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DWITH_GZFILEOP -pthread -MD -MQ src/tree-magic.p/test-tree-magic.c.o -MF src/tree-magic.p/test-tree-magic.c.o.d -o src/tree-magic.p/test-tree-magic.c.o -c ../src/test-tree-magic.c /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c: In function ‘parse_match_line’: <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:119:12: warning: dereference of NULL ‘p’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:495:1: note: (1) entry to ‘tree_magic_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:507:17: note: (2) calling ‘read_tree_magic_from_directory’ from ‘tree_magic_init.part.0’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:203:1: note: (3) entry to ‘read_tree_magic_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:216:12: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:217:21: note: (5) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:217:20: note: (6) following ‘true’ branch (when the strings are equal)... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:220:78: note: (7) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:221:46: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:222:36: note: (9) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:222:36: note: (10) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:227:52: note: (11) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:227:52: note: (12) calling ‘parse_match_line’ from ‘read_tree_magic_from_directory’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:99:1: note: (13) entry to ‘parse_match_line’ <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:109:12: note: (14) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:110:24: note: (15) ...to here <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:118:13: note: (16) when ‘strchr’ returns NULL <--[gcc] /builddir/build/BUILD/shared-mime-info-2.3/src/test-tree-magic.c:119:12: note: (17) dereference of NULL ‘p’ <--[gcc] [85/85] gcc -o src/tree-magic src/tree-magic.p/test-tree-magic.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-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so -Wl,--end-group INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/shared-mime-info-2.3/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/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-04-22 11:16:46 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-04-22 11:16:47 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::clang:clang++:cppcheck:gcc' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.5 starting (python version = 3.9.18, NVR = mock-5.5-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.5 INFO: Mock Version: 5.5 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1708387200 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.E6hMHz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64 ++ dirname /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd shared-mime-info-2.3 + DESTDIR=/builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64 + /usr/bin/meson install -C redhat-linux-build --no-rebuild Installing po/af/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/af/LC_MESSAGES Installing po/ar/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ar/LC_MESSAGES Installing po/as/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/as/LC_MESSAGES Installing po/ast/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ast/LC_MESSAGES Installing po/az/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/az/LC_MESSAGES Installing po/be/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/be/LC_MESSAGES Installing po/be@latin/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/be@latin/LC_MESSAGES Installing po/bg/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/bg/LC_MESSAGES Installing po/bn_IN/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/bn_IN/LC_MESSAGES Installing po/ca/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ca/LC_MESSAGES Installing po/ca@valencia/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ca@valencia/LC_MESSAGES Installing po/cs/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/cs/LC_MESSAGES Installing po/cy/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/cy/LC_MESSAGES Installing po/da/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/da/LC_MESSAGES Installing po/de/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/de/LC_MESSAGES Installing po/el/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/el/LC_MESSAGES Installing po/en_GB/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/en_GB/LC_MESSAGES Installing po/eo/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/eo/LC_MESSAGES Installing po/es/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/es/LC_MESSAGES Installing po/et/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/et/LC_MESSAGES Installing po/eu/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/eu/LC_MESSAGES Installing po/fa/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fa/LC_MESSAGES Installing po/fi/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fi/LC_MESSAGES Installing po/fo/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fo/LC_MESSAGES Installing po/fr/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fr/LC_MESSAGES Installing po/fur/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fur/LC_MESSAGES Installing po/ga/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ga/LC_MESSAGES Installing po/gl/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/gl/LC_MESSAGES Installing po/gu/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/gu/LC_MESSAGES Installing po/he/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/he/LC_MESSAGES Installing po/hi/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/hi/LC_MESSAGES Installing po/hr/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/hr/LC_MESSAGES Installing po/hu/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/hu/LC_MESSAGES Installing po/ia/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ia/LC_MESSAGES Installing po/id/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/id/LC_MESSAGES Installing po/is/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/is/LC_MESSAGES Installing po/it/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/it/LC_MESSAGES Installing po/ja/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ja/LC_MESSAGES Installing po/ka/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ka/LC_MESSAGES Installing po/kk/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/kk/LC_MESSAGES Installing po/kn/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/kn/LC_MESSAGES Installing po/ko/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ko/LC_MESSAGES Installing po/ky/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ky/LC_MESSAGES Installing po/lt/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/lt/LC_MESSAGES Installing po/lv/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/lv/LC_MESSAGES Installing po/ml/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ml/LC_MESSAGES Installing po/mr/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/mr/LC_MESSAGES Installing po/ms/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ms/LC_MESSAGES Installing po/nb/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/nb/LC_MESSAGES Installing po/nl/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/nl/LC_MESSAGES Installing po/nn/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/nn/LC_MESSAGES Installing po/oc/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/oc/LC_MESSAGES Installing po/or/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/or/LC_MESSAGES Installing po/pa/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pa/LC_MESSAGES Installing po/pl/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pl/LC_MESSAGES Installing po/pt/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pt/LC_MESSAGES Note that '/builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share' is not in the search path set by the XDG_DATA_HOME and XDG_DATA_DIRS environment variables, so applications may not be able to find it until you set them. The directories currently searched are: - /builddir/.local/share - /usr/local/share/ - /usr/share/ Updating MIME database in /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/mime... Parsing source file /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/mime/packages/freedesktop.org.xml... Wrote 1275 strings at 2c - 6fd0 Wrote aliases at 6fd0 - 79c4 Wrote parents at 79c4 - 9468 Wrote literal globs at 9468 - 95d4 Wrote suffix globs at 95d4 - 158a0 Wrote full globs at 158a0 - 158f8 Wrote magic at 158f8 - 23a44 Wrote namespace list at 23a44 - 23b98 Wrote icons list at 23b98 - 23b9c Wrote generic icons list at 23b9c - 248f0 Wrote types list at 248f0 - 256d4 Installing po/pt_BR/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pt_BR/LC_MESSAGES Installing po/ro/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ro/LC_MESSAGES Installing po/ru/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ru/LC_MESSAGES Installing po/rw/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/rw/LC_MESSAGES Installing po/sk/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sk/LC_MESSAGES Installing po/si/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/si/LC_MESSAGES Installing po/sl/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sl/LC_MESSAGES Installing po/sq/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sq/LC_MESSAGES Installing po/sr/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sr/LC_MESSAGES Installing po/sr@latin/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sr@latin/LC_MESSAGES Installing po/sv/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sv/LC_MESSAGES Installing po/ta/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ta/LC_MESSAGES Installing po/te/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/te/LC_MESSAGES Installing po/th/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/th/LC_MESSAGES Installing po/tr/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/tr/LC_MESSAGES Installing po/uk/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/uk/LC_MESSAGES Installing po/vi/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/vi/LC_MESSAGES Installing po/wa/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/wa/LC_MESSAGES Installing po/zh_CN/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/zh_CN/LC_MESSAGES Installing po/zh_HK/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/zh_HK/LC_MESSAGES Installing po/zh_TW/LC_MESSAGES/shared-mime-info.mo to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/zh_TW/LC_MESSAGES Installing data/freedesktop.org.xml to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/mime/packages Installing src/update-mime-database to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/bin Installing /builddir/build/BUILD/shared-mime-info-2.3/data/update-mime-database.1 to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/man/man1 Installing /builddir/build/BUILD/shared-mime-info-2.3/data/its/shared-mime-info.loc to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/gettext/its Installing /builddir/build/BUILD/shared-mime-info-2.3/data/its/shared-mime-info.its to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/gettext/its Installing /builddir/build/BUILD/shared-mime-info-2.3/redhat-linux-build/shared-mime-info.pc to /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/pkgconfig Running custom install script '/usr/bin/sh -c /builddir/build/BUILD/shared-mime-info-2.3/redhat-linux-build/src/update-mime-database -V ${MESON_INSTALL_DESTDIR_PREFIX}/share/mime' + find /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/mime -type d + sed -e 's|^/builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64|%dir |' + find /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/mime -type f -not -path '*/packages/*' + sed -e 's|^/builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64|%ghost |' + mkdir -p /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64//usr/share/applications + install -m 644 /builddir/build/SOURCES/mimeapps.list /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64//usr/share/applications/mimeapps.list + rm -rf /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/af /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ar /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/as /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ast /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/az /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/be /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/be@latin /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/bg /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/bn_IN /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ca /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ca@valencia /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/cs /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/cy /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/da /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/de /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/el /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/en_GB /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/eo /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/es /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/et /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/eu /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fa /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fi /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fo /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fr /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/fur /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ga /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/gl /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/gu /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/he /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/hi /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/hr /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/hu /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ia /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/id /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/is /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/it /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ja /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ka /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/kk /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/kn /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ko /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ky /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/lt /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/lv /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ml /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/mr /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ms /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/nb /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/nl /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/nn /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/oc /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/or /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pa /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pl /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pt /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/pt_BR /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ro /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ru /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/rw /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/si /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sk /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sl /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sq /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sr /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sr@latin /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/sv /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/ta /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/te /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/th /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/tr /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/uk /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/vi /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/wa /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/zh_CN /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/zh_HK /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/locale/zh_TW + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 2.3-4.fc41 --unique-debug-suffix -2.3-4.fc41.x86_64 --unique-debug-src-base shared-mime-info-2.3-4.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/shared-mime-info-2.3 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/shared-mime-info-2.3-4.fc41.x86_64 171 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: shared-mime-info-2.3-4.fc41.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.G8X9VH + umask 022 + cd /builddir/build/BUILD + cd shared-mime-info-2.3 + DOCDIR=/builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/doc/shared-mime-info + export LC_ALL= + LC_ALL= + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/doc/shared-mime-info + cp -pr /builddir/build/BUILD/shared-mime-info-2.3/README.md /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/doc/shared-mime-info + cp -pr /builddir/build/BUILD/shared-mime-info-2.3/NEWS /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/doc/shared-mime-info + cp -pr /builddir/build/BUILD/shared-mime-info-2.3/HACKING.md /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/doc/shared-mime-info + cp -pr /builddir/build/BUILD/shared-mime-info-2.3/data/shared-mime-info-spec.xml /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/doc/shared-mime-info + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6TTGHA + umask 022 + cd /builddir/build/BUILD + cd shared-mime-info-2.3 + LICENSEDIR=/builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/licenses/shared-mime-info + export LC_ALL= + LC_ALL= + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/licenses/shared-mime-info + cp -pr /builddir/build/BUILD/shared-mime-info-2.3/COPYING /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64/usr/share/licenses/shared-mime-info + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(shared-mime-info) = 2.3 shared-mime-info = 2.3-4.fc41 shared-mime-info(x86-64) = 2.3-4.fc41 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libglib-2.0.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libxml2.so.2()(64bit) libxml2.so.2(LIBXML2_2.4.30)(64bit) rtld(GNU_HASH) Processing files: shared-mime-info-debugsource-2.3-4.fc41.x86_64 Provides: shared-mime-info-debugsource = 2.3-4.fc41 shared-mime-info-debugsource(x86-64) = 2.3-4.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: shared-mime-info-debuginfo-2.3-4.fc41.x86_64 Provides: debuginfo(build-id) = 6aa847e1ce0fccaea19fd5192455f13bbfc40fec shared-mime-info-debuginfo = 2.3-4.fc41 shared-mime-info-debuginfo(x86-64) = 2.3-4.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: shared-mime-info-debugsource(x86-64) = 2.3-4.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/shared-mime-info-2.3-4.fc41.x86_64 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/shared-mime-info.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-04-22 11:16:51 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-04-22 11:16:53 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-capture.err'' | tar -xC '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-04-22 11:16:54 "cat '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-04-22 11:16:54 "csgrep --quiet '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-04-22 11:16:54 scan.ini: exit-code = 0 >>> 2024-04-22 11:16:54 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan.ini' '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/uni-results'/* > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/scan-results-all.js'" >>> 2024-04-22 11:16:54 "'/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/scan-results-all.js' >'/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/scan-results-all.js.tmp'" >>> 2024-04-22 11:16:55 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-04-22 11:16:57 "cat '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results.js'" >>> 2024-04-22 11:16:58 "cat '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results.js' - | cssort > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/suppressed-results.js'" >>> 2024-04-22 11:16:58 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/suppressed-results.js' > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/suppressed-results.err'" >>> 2024-04-22 11:16:58 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/suppressed-results.html'" >>> 2024-04-22 11:16:58 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/suppressed-results.js' | tee '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/debug/suppressed-results-summary.txt'" >>> 2024-04-22 11:16:58 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results.js' > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results.err'" >>> 2024-04-22 11:16:58 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results.js' | cshtml - > '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results.html'" >>> 2024-04-22 11:16:58 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results.js' | tee '/tmp/csmock1wka4q_g/shared-mime-info-2.3-4.fc41/scan-results-summary.txt'" 1 CLANG_WARNING warning[core.NonNullParamChecker] 1 CLANG_WARNING warning[core.NullDereference] 3 CLANG_WARNING warning[deadcode.DeadStores] 2 CLANG_WARNING warning[unix.Malloc] 1 COMPILER_WARNING warning[-Waddress] 1 COMPILER_WARNING warning[-Wliteral-suffix] 8 COMPILER_WARNING warning[-Wsign-compare] 2 CPPCHECK_WARNING error[memleakOnRealloc] 1 CPPCHECK_WARNING warning[nullPointer] 11 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 4 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 2 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-out-of-bounds] 16 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-argument] 16 GCC_ANALYZER_WARNING warning[-Wanalyzer-possible-null-dereference] <<< 2024-04-22 11:16:58 csmock exit code: 0 Wrote: /tmp/tmps76iwicm/shared-mime-info-2.3-4.fc41.tar.xz