Task #1318 - stdout.log
back to task #1318download
COMMAND: koji -p koji download-build --noprogress --arch=src xdg-desktop-portal-1.18.4-1.fc41 ------------------------------------------------------------------------------- Downloading [1/1]: xdg-desktop-portal-1.18.4-1.fc41.src.rpm COMMAND: su - csmock --session-command 'cd /tmp/tmpcvrst6fh && csmock -r fedora-41-x86_64 -t cppcheck,gcc,clang,shellcheck -o /tmp/tmpcvrst6fh/xdg-desktop-portal-1.18.4-1.fc41.tar.xz --gcc-analyze /tmp/tmpcvrst6fh/xdg-desktop-portal-1.18.4-1.fc41.src.rpm' ------------------------------------------------------------------------------- scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.5.3-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpcvrst6fh/xdg-desktop-portal-1.18.4-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpcvrst6fh/xdg-desktop-portal-1.18.4-1.fc41.src.rpm' scan.ini: host = ip-172-16-1-156.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpcvrst6fh/xdg-desktop-portal-1.18.4-1.fc41.tar.xz scan.ini: time-created = 2024-07-03 18:24:46 scan.ini: enabled-plugins = clang, cppcheck, gcc, shellcheck scan.ini: mock-config = fedora-41-x86_64 scan.ini: project-name = xdg-desktop-portal-1.18.4-1.fc41 >>> 2024-07-03 18:24:46 "rpm -qa | sort -V > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/rpm-list-host.txt'" >>> 2024-07-03 18:24:47 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-07-03 18:24:49 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: flatpak-devel x86_64 1.15.8-1.fc41 fedora 1.5 MiB fuse3-devel x86_64 3.16.2-3.fc40 fedora 158.8 KiB gcc x86_64 14.1.1-6.fc41 fedora 104.1 MiB gdk-pixbuf2-devel x86_64 2.42.12-1.fc41 fedora 2.3 MiB geoclue2-devel x86_64 2.7.0-5.fc40 fedora 881.1 KiB gettext x86_64 0.22.5-2.fc41 fedora 5.2 MiB glib2-devel x86_64 2.80.3-1.fc41 fedora 15.6 MiB json-glib-devel x86_64 1.8.0-3.fc40 fedora 2.5 MiB libportal-devel x86_64 0.7.1-3.fc40 fedora 310.3 KiB meson noarch 1.4.1-2.fc41 fedora 11.1 MiB pipewire-devel x86_64 1.2.0-3.fc41 fedora 829.7 KiB python3-dbusmock noarch 0.31.1-2.fc41 fedora 563.2 KiB python3-docutils noarch 0.20.1-5.fc41 fedora 4.9 MiB python3-gobject-base x86_64 3.48.2-2.fc41 fedora 1.5 MiB python3-pytest noarch 7.4.3-6.fc41 fedora 3.6 MiB python3-pytest-xdist noarch 3.6.1-2.fc41 fedora 447.2 KiB systemd-devel x86_64 256.1-3.fc41 fedora 555.8 KiB systemd-rpm-macros noarch 256.1-3.fc41 fedora 9.3 KiB xmlto x86_64 0.0.28-23.fc40 fedora 114.5 KiB Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-12.fc40 fedora 192.7 KiB alsa-lib x86_64 1.2.12-1.fc41 fedora 1.4 MiB annobin-docs noarch 12.60-1.fc41 fedora 96.2 KiB annobin-plugin-gcc x86_64 12.60-1.fc41 fedora 976.2 KiB appstream x86_64 1.0.2-2.fc41 fedora 3.5 MiB appstream-data noarch 41-5.fc41 fedora 14.3 MiB avahi-libs x86_64 0.8-26.fc40 fedora 166.3 KiB bluez-libs x86_64 5.76-1.fc41 fedora 198.5 KiB bubblewrap x86_64 0.9.0-1.fc41 fedora 134.1 KiB cairo x86_64 1.18.0-3.fc40 fedora 1.7 MiB cairo-gobject x86_64 1.18.0-3.fc40 fedora 35.2 KiB cmake-filesystem x86_64 3.28.3-6.fc41 fedora 0.0 B composefs-libs x86_64 1.0.4-1.fc41 fedora 166.2 KiB cpp x86_64 14.1.1-6.fc41 fedora 35.0 MiB dbus x86_64 1:1.14.10-3.fc40 fedora 0.0 B dbus-broker x86_64 36-2.fc41 fedora 378.8 KiB dbus-common noarch 1:1.14.10-3.fc40 fedora 11.2 KiB dbus-daemon x86_64 1:1.14.10-3.fc40 fedora 549.2 KiB dbus-libs x86_64 1:1.14.10-3.fc40 fedora 368.9 KiB dbus-tools x86_64 1:1.14.10-3.fc40 fedora 131.2 KiB dbus-x11 x86_64 1:1.14.10-3.fc40 fedora 36.0 KiB dconf x86_64 0.40.0-12.fc40 fedora 315.9 KiB dconf-devel x86_64 0.40.0-12.fc40 fedora 198.2 KiB default-fonts-core-sans noarch 4.1-1.fc41 fedora 11.9 KiB 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 fdk-aac-free x86_64 2.0.0-13.fc40 fedora 603.2 KiB flac-libs x86_64 1.4.3-4.fc40 fedora 674.2 KiB flatpak x86_64 1.15.8-1.fc41 fedora 6.2 MiB flatpak-libs x86_64 1.15.8-1.fc41 fedora 1.0 MiB flatpak-session-helper x86_64 1.15.8-1.fc41 fedora 99.4 KiB flex x86_64 2.6.4-16.fc40 fedora 805.4 KiB fontconfig x86_64 2.15.0-6.fc41 fedora 768.0 KiB fonts-filesystem noarch 1:2.0.5-16.fc41 fedora 0.0 B freetype x86_64 2.13.2-5.fc40 fedora 842.6 KiB fribidi x86_64 1.0.15-1.fc41 fedora 368.3 KiB fuse-common x86_64 3.16.2-3.fc40 fedora 38.0 B fuse3 x86_64 3.16.2-3.fc40 fedora 126.0 KiB fuse3-libs x86_64 3.16.2-3.fc40 fedora 281.5 KiB gc x86_64 8.2.2-6.fc40 fedora 258.7 KiB gcc-plugin-annobin x86_64 14.1.1-6.fc41 fedora 57.1 KiB gdk-pixbuf2 x86_64 2.42.12-1.fc41 fedora 2.5 MiB geoclue2-libs x86_64 2.7.0-5.fc40 fedora 167.2 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.3-1.fc41 fedora 14.6 MiB glibc-devel x86_64 2.39.9000-26.fc41 fedora 36.8 KiB glibc-headers-x86 noarch 2.39.9000-26.fc41 fedora 2.2 MiB gnupg2 x86_64 2.4.5-1.fc41 fedora 9.5 MiB gnutls x86_64 3.8.5-6.fc41 fedora 3.2 MiB gobject-introspection x86_64 1.80.1-2.fc41 fedora 322.0 KiB google-noto-fonts-common noarch 20240601-1.fc41 fedora 17.5 KiB google-noto-sans-vf-fonts noarch 20240601-1.fc41 fedora 1.2 MiB gpgme x86_64 1.23.2-4.fc41 fedora 575.3 KiB gpgme-devel x86_64 1.23.2-4.fc41 fedora 290.0 KiB graphite2 x86_64 1.3.14-15.fc40 fedora 192.0 KiB gsm x86_64 1.0.22-6.fc40 fedora 68.8 KiB guile30 x86_64 3.0.9-1.fc41 fedora 52.7 MiB harfbuzz x86_64 8.5.0-1.fc41 fedora 2.7 MiB jbigkit-libs x86_64 2.1-29.fc40 fedora 117.6 KiB json-c x86_64 0.17-3.fc40 fedora 82.4 KiB json-glib x86_64 1.8.0-3.fc40 fedora 561.4 KiB kernel-headers x86_64 6.10.0-0.rc6.50.fc41 fedora 6.3 MiB lame-libs x86_64 3.100-17.fc40 fedora 1.2 MiB libX11 x86_64 1.8.9-1.fc41 fedora 1.3 MiB libX11-common noarch 1.8.9-1.fc41 fedora 1.1 MiB libXau x86_64 1.0.11-6.fc40 fedora 66.9 KiB libXau-devel x86_64 1.0.11-6.fc40 fedora 6.4 KiB libXext x86_64 1.3.6-1.fc40 fedora 90.1 KiB libXft x86_64 2.3.8-6.fc40 fedora 164.5 KiB libXrender x86_64 0.9.11-6.fc40 fedora 50.1 KiB libarchive-devel x86_64 3.7.4-1.fc41 fedora 178.9 KiB libassuan x86_64 2.5.7-1.fc41 fedora 163.8 KiB libassuan-devel x86_64 2.5.7-1.fc41 fedora 78.8 KiB libasyncns x86_64 0.8-28.fc40 fedora 59.4 KiB libb2 x86_64 0.98.1-11.fc40 fedora 42.2 KiB libblkid-devel x86_64 2.40.1-2.fc41 fedora 44.9 KiB libcurl-devel x86_64 8.8.0-1.fc41 fedora 1.2 MiB libdatrie x86_64 0.2.13-9.fc40 fedora 57.9 KiB libffi-devel x86_64 3.4.6-1.fc41 fedora 33.1 KiB libgcrypt x86_64 1.11.0-1.fc41 fedora 1.5 MiB libgpg-error x86_64 1.50-1.fc41 fedora 889.5 KiB libgpg-error-devel x86_64 1.50-1.fc41 fedora 245.1 KiB libjpeg-turbo x86_64 3.0.2-2.fc41 fedora 772.9 KiB libjpeg-turbo-devel x86_64 3.0.2-2.fc41 fedora 352.9 KiB libksba x86_64 1.6.7-1.fc41 fedora 398.4 KiB liblc3 x86_64 1.1.1-2.fc41 fedora 166.9 KiB libldac x86_64 2.0.2.3-15.fc40 fedora 78.4 KiB liblerc x86_64 4.0.0-6.fc40 fedora 603.5 KiB libmount-devel x86_64 2.40.1-2.fc41 fedora 63.5 KiB libmpc x86_64 1.3.1-5.fc40 fedora 164.7 KiB libogg x86_64 2:1.3.5-8.fc40 fedora 49.4 KiB libpng x86_64 2:1.6.40-3.fc40 fedora 241.8 KiB libpng-devel x86_64 2:1.6.40-3.fc40 fedora 881.5 KiB libportal x86_64 0.7.1-3.fc40 fedora 182.5 KiB librsvg2 x86_64 2.57.1-7.fc41 fedora 4.1 MiB libsbc x86_64 2.0-4.fc40 fedora 93.5 KiB libseccomp x86_64 2.5.5-1.fc41 fedora 173.3 KiB libseccomp-devel x86_64 2.5.5-1.fc41 fedora 113.1 KiB libselinux-devel x86_64 3.7-1.fc41 fedora 126.4 KiB libsepol-devel x86_64 3.7-1.fc41 fedora 120.3 KiB libsndfile x86_64 1.2.2-2.fc40 fedora 526.0 KiB libstemmer x86_64 2.2.0-11.fc41 fedora 599.9 KiB libtextstyle x86_64 0.22.5-2.fc41 fedora 195.6 KiB libthai x86_64 0.1.29-8.fc40 fedora 783.5 KiB libtiff x86_64 4.6.0-2.fc40 fedora 1.1 MiB libtiff-devel x86_64 4.6.0-2.fc40 fedora 708.9 KiB libusb1 x86_64 1.0.27-2.fc41 fedora 162.3 KiB libvorbis x86_64 1:1.3.7-10.fc40 fedora 829.6 KiB libwayland-client x86_64 1.23.0-1.fc41 fedora 62.1 KiB libwayland-cursor x86_64 1.23.0-1.fc41 fedora 37.4 KiB libwayland-egl x86_64 1.23.0-1.fc41 fedora 16.5 KiB libwayland-server x86_64 1.23.0-1.fc41 fedora 78.6 KiB libwebp x86_64 1.4.0-1.fc41 fedora 802.7 KiB libwebp-devel x86_64 1.4.0-1.fc41 fedora 120.3 KiB libxcb x86_64 1.17.0-1.fc41 fedora 1.1 MiB libxcrypt-devel x86_64 4.4.36-5.fc40 fedora 30.3 KiB libxml2-devel x86_64 2.12.8-1.fc41 fedora 3.4 MiB libxmlb x86_64 0.3.19-2.fc41 fedora 288.7 KiB libxslt x86_64 1.1.41-2.fc41 fedora 482.7 KiB libyaml x86_64 0.2.5-14.fc40 fedora 130.4 KiB libzstd-devel x86_64 1.5.6-1.fc41 fedora 202.4 KiB m4 x86_64 1.4.19-9.fc40 fedora 588.9 KiB make x86_64 1:4.4.1-6.fc40 fedora 1.8 MiB malcontent-devel x86_64 0.11.1-5.fc40 fedora 130.2 KiB malcontent-libs x86_64 0.11.1-5.fc40 fedora 113.4 KiB mpdecimal x86_64 2.5.1-9.fc40 fedora 200.9 KiB mpg123-libs x86_64 1.31.3-4.fc40 fedora 787.3 KiB nettle x86_64 3.10-2.fc41 fedora 793.0 KiB ninja-build x86_64 1.12.1-2.fc41 fedora 428.6 KiB npth x86_64 1.7-1.fc41 fedora 49.4 KiB openssl-devel x86_64 1:3.2.2-3.fc41 fedora 4.3 MiB opus x86_64 1.5.1-1.fc41 fedora 415.8 KiB ostree-devel x86_64 2024.6-1.fc41 fedora 2.6 MiB ostree-libs x86_64 2024.6-1.fc41 fedora 1.1 MiB pango x86_64 1.54.0-1.fc41 fedora 996.2 KiB pcre2-devel x86_64 10.44-1.fc41 fedora 2.0 MiB pcre2-utf16 x86_64 10.44-1.fc41 fedora 590.0 KiB pcre2-utf32 x86_64 10.44-1.fc41 fedora 562.0 KiB pipewire-libs x86_64 1.2.0-3.fc41 fedora 7.2 MiB pixman x86_64 0.43.4-1.fc41 fedora 710.1 KiB polkit-devel x86_64 124-4.fc41 fedora 405.0 KiB polkit-docs noarch 124-4.fc41 fedora 945.1 KiB polkit-libs x86_64 124-4.fc41 fedora 211.9 KiB pulseaudio-libs x86_64 17.0-1.fc41 fedora 3.4 MiB python-pip-wheel noarch 24.1.1-1.fc41 fedora 1.2 MiB python3 x86_64 3.13.0~b3-1.fc41 fedora 31.8 KiB python3-cairo x86_64 1.25.1-4.fc41 fedora 492.5 KiB python3-dbus x86_64 1.3.2-7.fc41 fedora 520.9 KiB python3-execnet noarch 2.1.1-2.fc41 fedora 914.6 KiB python3-gobject x86_64 3.48.2-2.fc41 fedora 23.9 KiB python3-iniconfig noarch 1.1.1-22.fc41 fedora 20.6 KiB python3-libs x86_64 3.13.0~b3-1.fc41 fedora 40.5 MiB python3-packaging noarch 24.1-1.fc41 fedora 422.7 KiB python3-pluggy noarch 1.3.0-5.fc41 fedora 183.4 KiB python3-setuptools noarch 69.2.0-6.fc41 fedora 7.3 MiB rsvg-pixbuf-loader x86_64 2.57.1-7.fc41 fedora 15.5 KiB sgml-common noarch 0.6.3-64.fc41 fedora 168.1 KiB shared-mime-info x86_64 2.3-5.fc41 fedora 5.2 MiB sysprof-capture-devel x86_64 46.0-1.fc41 fedora 252.8 KiB systemd x86_64 256.1-3.fc41 fedora 15.7 MiB systemd-pam x86_64 256.1-3.fc41 fedora 1.1 MiB tpm2-tss x86_64 4.1.3-1.fc41 fedora 1.5 MiB tzdata noarch 2024a-8.fc41 fedora 1.7 MiB vim-filesystem noarch 2:9.1.452-1.fc41 fedora 40.0 B wayland-devel x86_64 1.23.0-1.fc41 fedora 679.0 KiB webrtc-audio-processing x86_64 1.3-1.fc40 fedora 1.3 MiB xdg-dbus-proxy x86_64 0.1.5-2.fc40 fedora 93.1 KiB xml-common noarch 0.6.3-64.fc41 fedora 78.4 KiB xorg-x11-proto-devel noarch 2024.1-2.fc41 fedora 1.7 MiB xz-devel x86_64 1:5.6.2-1.fc41 fedora 255.6 KiB zlib-ng-compat-devel x86_64 2.1.7-1.fc41 fedora 106.8 KiB Transaction Summary: Installing: 194 packages Total size of inbound packages is 145 MiB. Need to download 0 B. After this operation 492 MiB will be used (install 492 MiB, remove 0 B). [ 1/194] python3-docutils-0:0.20.1-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/194] xmlto-0:0.0.28-23.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/194] gcc-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/194] gettext-0:0.22.5-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/194] meson-0:1.4.1-2.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/194] python3-dbusmock-0:0.31.1-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/194] python3-pytest-0:7.4.3-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/194] python3-pytest-xdist-0:3.6.1- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/194] systemd-rpm-macros-0:256.1-3. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 10/194] flatpak-devel-0:1.15.8-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 11/194] fuse3-devel-0:3.16.2-3.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 12/194] gdk-pixbuf2-devel-0:2.42.12-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 13/194] glib2-devel-0:2.80.3-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 14/194] json-glib-devel-0:1.8.0-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 15/194] geoclue2-devel-0:2.7.0-5.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 16/194] pipewire-devel-0:1.2.0-3.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 17/194] libportal-devel-0:0.7.1-3.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 18/194] systemd-devel-0:256.1-3.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 19/194] python3-gobject-base-0:3.48.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 20/194] docbook-dtds-0:1.0-85.fc40.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 21/194] docbook-style-xsl-0:1.79.2-22 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 22/194] flex-0:2.6.4-16.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 23/194] cpp-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 24/194] libmpc-0:1.3.1-5.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 25/194] make-1:4.4.1-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 26/194] gettext-libs-0:0.22.5-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 27/194] gettext-runtime-0:0.22.5-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 28/194] libtextstyle-0:0.22.5-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 29/194] ninja-build-0:1.12.1-2.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 30/194] python3-setuptools-0:69.2.0-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 31/194] dbus-x11-1:1.14.10-3.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 32/194] python3-dbus-0:1.3.2-7.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 33/194] python3-iniconfig-0:1.1.1-22. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 34/194] python3-packaging-0:24.1-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 35/194] python3-pluggy-0:1.3.0-5.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 36/194] python3-execnet-0:2.1.1-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 37/194] flatpak-0:1.15.8-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 38/194] flatpak-libs-0:1.15.8-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 39/194] fuse3-libs-0:3.16.2-3.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 40/194] gdk-pixbuf2-0:2.42.12-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 41/194] glib2-0:2.80.3-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 42/194] shared-mime-info-0:2.3-5.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 43/194] json-glib-0:1.8.0-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 44/194] geoclue2-libs-0:2.7.0-5.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 45/194] pipewire-libs-0:1.2.0-3.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 46/194] libportal-0:0.7.1-3.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 47/194] gobject-introspection-0:1.80. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 48/194] sgml-common-0:0.6.3-64.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 49/194] xml-common-0:0.6.3-64.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 50/194] m4-0:1.4.19-9.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 51/194] guile30-0:3.0.9-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 52/194] gettext-envsubst-0:0.22.5-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 53/194] emacs-filesystem-1:30.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 54/194] vim-filesystem-2:9.1.452-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 55/194] dbus-daemon-1:1.14.10-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 56/194] dbus-libs-1:1.14.10-3.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 57/194] libX11-0:1.8.9-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 58/194] appstream-0:1.0.2-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 59/194] bubblewrap-0:0.9.0-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 60/194] dconf-0:0.40.0-12.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 61/194] flatpak-session-helper-0:1.15 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 62/194] fuse3-0:3.16.2-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 63/194] libXau-0:1.0.11-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 64/194] librsvg2-0:2.57.1-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 65/194] libseccomp-0:2.5.5-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 66/194] libwayland-client-0:1.23.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 67/194] malcontent-libs-0:0.11.1-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 68/194] ostree-libs-0:2024.6-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 69/194] polkit-libs-0:124-4.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 70/194] xdg-dbus-proxy-0:0.1.5-2.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 71/194] libjpeg-turbo-0:3.0.2-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 72/194] libpng-2:1.6.40-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 73/194] gnutls-0:3.8.5-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 74/194] alsa-lib-0:1.2.12-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 75/194] avahi-libs-0:0.8-26.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 76/194] bluez-libs-0:5.76-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 77/194] fdk-aac-free-0:2.0.0-13.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 78/194] liblc3-0:1.1.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 79/194] libldac-0:2.0.2.3-15.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/194] libsbc-0:2.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/194] libsndfile-0:1.2.2-2.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/194] libusb1-0:1.0.27-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/194] opus-0:1.5.1-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/194] pulseaudio-libs-0:17.0-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/194] webrtc-audio-processing-0:1.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/194] gc-0:8.2.2-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/194] dbus-common-1:1.14.10-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/194] dbus-tools-1:1.14.10-3.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/194] expat-0:2.6.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/194] libX11-common-0:1.8.9-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/194] libxcb-0:1.17.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/194] appstream-data-0:41-5.fc41.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/194] libstemmer-0:2.2.0-11.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/194] libxmlb-0:0.3.19-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/194] libyaml-0:0.2.5-14.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/194] dbus-1:1.14.10-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/194] fuse-common-0:3.16.2-3.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/194] cairo-0:1.18.0-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/194] cairo-gobject-0:1.18.0-3.fc40 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/194] fontconfig-0:2.15.0-6.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/194] freetype-0:2.13.2-5.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/194] harfbuzz-0:8.5.0-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/194] pango-0:1.54.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/194] composefs-libs-0:1.0.4-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/194] gpgme-0:1.23.2-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/194] libgpg-error-0:1.50-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/194] nettle-0:3.10-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/194] flac-libs-0:1.4.3-4.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/194] gsm-0:1.0.22-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/194] lame-libs-0:3.100-17.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/194] libogg-2:1.3.5-8.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/194] libvorbis-1:1.3.7-10.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/194] mpg123-libs-0:1.31.3-4.fc40.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/194] libasyncns-0:0.8-28.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/194] dbus-broker-0:36-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/194] libXext-0:1.3.6-1.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/194] libXrender-0:0.9.11-6.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/194] pixman-0:0.43.4-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/194] default-fonts-core-sans-0:4.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/194] fonts-filesystem-1:2.0.5-16.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/194] graphite2-0:1.3.14-15.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/194] fribidi-0:1.0.15-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/194] libXft-0:2.3.8-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/194] libthai-0:0.1.29-8.fc40.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/194] gnupg2-0:2.4.5-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/194] libassuan-0:2.5.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/194] abattis-cantarell-vf-fonts-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/194] google-noto-sans-vf-fonts-0:2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/194] libdatrie-0:0.2.13-9.fc40.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/194] libgcrypt-0:1.11.0-1.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/194] libksba-0:1.6.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/194] npth-0:1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/194] tpm2-tss-0:4.1.3-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/194] google-noto-fonts-common-0:20 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/194] json-c-0:0.17-3.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/194] annobin-plugin-gcc-0:12.60-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/194] gcc-plugin-annobin-0:14.1.1-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/194] annobin-docs-0:12.60-1.fc41.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/194] libxslt-0:1.1.41-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/194] python3-0:3.13.0~b3-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/194] python3-libs-0:3.13.0~b3-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/194] libb2-0:0.98.1-11.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/194] mpdecimal-0:2.5.1-9.fc40.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/194] python-pip-wheel-0:24.1.1-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/194] tzdata-0:2024a-8.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/194] python3-gobject-0:3.48.2-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/194] python3-cairo-0:1.25.1-4.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/194] rsvg-pixbuf-loader-0:2.57.1-7 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/194] libffi-devel-0:3.4.6-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/194] libmount-devel-0:2.40.1-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/194] libselinux-devel-0:3.7-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/194] libsepol-devel-0:3.7-1.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/194] pcre2-devel-0:10.44-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/194] pcre2-utf16-0:10.44-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/194] pcre2-utf32-0:10.44-1.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/194] sysprof-capture-devel-0:46.0- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/194] zlib-ng-compat-devel-0:2.1.7- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/194] cmake-filesystem-0:3.28.3-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/194] libjpeg-turbo-devel-0:3.0.2-2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/194] libpng-devel-2:1.6.40-3.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/194] libtiff-devel-0:4.6.0-2.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/194] libtiff-0:4.6.0-2.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/194] jbigkit-libs-0:2.1-29.fc40.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/194] liblerc-0:4.0.0-6.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/194] libwebp-0:1.4.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/194] glibc-devel-0:2.39.9000-26.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/194] glibc-headers-x86-0:2.39.9000 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/194] libxcrypt-devel-0:4.4.36-5.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/194] systemd-0:256.1-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/194] systemd-pam-0:256.1-3.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [171/194] dconf-devel-0:0.40.0-12.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [172/194] gpgme-devel-0:1.23.2-4.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [173/194] libgpg-error-devel-0:1.50-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [174/194] libXau-devel-0:1.0.11-6.fc40. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [175/194] xorg-x11-proto-devel-0:2024.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [176/194] libarchive-devel-0:3.7.4-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [177/194] libcurl-devel-0:8.8.0-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [178/194] libseccomp-devel-0:2.5.5-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [179/194] libxml2-devel-0:2.12.8-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [180/194] xz-devel-1:5.6.2-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [181/194] libzstd-devel-0:1.5.6-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [182/194] malcontent-devel-0:0.11.1-5.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [183/194] ostree-devel-0:2024.6-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [184/194] polkit-devel-0:124-4.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [185/194] polkit-docs-0:124-4.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [186/194] wayland-devel-0:1.23.0-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [187/194] libwayland-cursor-0:1.23.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [188/194] libwayland-egl-0:1.23.0-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [189/194] libwayland-server-0:1.23.0-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [190/194] libwebp-devel-0:1.4.0-1.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [191/194] libblkid-devel-0:2.40.1-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [192/194] openssl-devel-1:3.2.2-3.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [193/194] libassuan-devel-0:2.5.7-1.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [194/194] kernel-headers-0:6.10.0-0.rc6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [194/194] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/196] Verify package files 100% | 366.0 B/s | 194.0 B | 00m01s [ 2/196] Prepare transaction 100% | 1.3 KiB/s | 194.0 B | 00m00s [ 3/196] Installing libgpg-error-0:1.5 100% | 79.5 MiB/s | 895.4 KiB | 00m00s [ 4/196] Installing dbus-libs-1:1.14.1 100% | 72.3 MiB/s | 370.1 KiB | 00m00s [ 5/196] Installing libpng-2:1.6.40-3. 100% | 59.3 MiB/s | 243.1 KiB | 00m00s [ 6/196] Installing libassuan-0:2.5.7- 100% | 40.4 MiB/s | 165.6 KiB | 00m00s [ 7/196] Installing cmake-filesystem-0 100% | 1.2 MiB/s | 7.1 KiB | 00m00s [ 8/196] Installing zlib-ng-compat-dev 100% | 35.3 MiB/s | 108.3 KiB | 00m00s [ 9/196] Installing expat-0:2.6.2-1.fc 100% | 46.0 MiB/s | 282.9 KiB | 00m00s [ 10/196] Installing libwayland-client- 100% | 20.6 MiB/s | 63.3 KiB | 00m00s [ 11/196] Installing libseccomp-0:2.5.5 100% | 34.2 MiB/s | 175.2 KiB | 00m00s [ 12/196] Installing libXau-0:1.0.11-6. 100% | 16.7 MiB/s | 68.4 KiB | 00m00s [ 13/196] Installing libxcb-0:1.17.0-1. 100% | 93.0 MiB/s | 1.1 MiB | 00m00s [ 14/196] Installing fonts-filesystem-1 100% | 384.8 KiB/s | 788.0 B | 00m00s [ 15/196] Installing libogg-2:1.3.5-8.f 100% | 16.6 MiB/s | 51.0 KiB | 00m00s [ 16/196] Installing libjpeg-turbo-0:3. 100% | 84.0 MiB/s | 774.6 KiB | 00m00s >>> Running pre-install scriptlet: xml-common-0:0.6.3-64.fc41.noarch >>> Stop pre-install scriptlet: xml-common-0:0.6.3-64.fc41.noarch [ 17/196] Installing xml-common-0:0.6.3 100% | 19.8 MiB/s | 81.1 KiB | 00m00s [ 18/196] Installing fuse3-libs-0:3.16. 100% | 69.0 MiB/s | 282.6 KiB | 00m00s [ 19/196] Installing libjpeg-turbo-deve 100% | 69.4 MiB/s | 355.5 KiB | 00m00s [ 20/196] Installing libgpg-error-devel 100% | 48.3 MiB/s | 247.3 KiB | 00m00s [ 21/196] Installing libzstd-devel-0:1. 100% | 66.2 MiB/s | 203.2 KiB | 00m00s [ 22/196] Installing libwebp-0:1.4.0-1. 100% | 98.5 MiB/s | 806.8 KiB | 00m00s [ 23/196] Installing libffi-devel-0:3.4 100% | 11.3 MiB/s | 34.8 KiB | 00m00s [ 24/196] Installing dbus-common-1:1.14 100% | 1.7 MiB/s | 13.6 KiB | 00m00s >>> Running post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch >>> Stop post-install scriptlet: dbus-common-1:1.14.10-3.fc40.noarch [ 25/196] Installing opus-0:1.5.1-1.fc4 100% | 81.4 MiB/s | 416.9 KiB | 00m00s [ 26/196] Installing bubblewrap-0:0.9.0 100% | 26.6 MiB/s | 136.3 KiB | 00m00s [ 27/196] Installing libtextstyle-0:0.2 100% | 48.0 MiB/s | 196.4 KiB | 00m00s [ 28/196] Installing gettext-libs-0:0.2 100% | 166.9 MiB/s | 1.7 MiB | 00m00s [ 29/196] Installing libmpc-0:1.3.1-5.f 100% | 40.6 MiB/s | 166.2 KiB | 00m00s [ 30/196] Installing cpp-0:14.1.1-6.fc4 100% | 255.5 MiB/s | 35.0 MiB | 00m00s >>> Running pre-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 >>> Stop pre-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 [ 31/196] Installing dbus-broker-0:36-2 100% | 37.2 MiB/s | 381.3 KiB | 00m00s >>> Running post-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 >>> Stop post-install scriptlet: dbus-broker-0:36-2.fc41.x86_64 [ 32/196] Installing dbus-1:1.14.10-3.f 100% | 60.5 KiB/s | 124.0 B | 00m00s [ 33/196] Installing systemd-pam-0:256. 100% | 97.9 MiB/s | 1.1 MiB | 00m00s [ 34/196] Installing systemd-0:256.1-3. 100% | 90.3 MiB/s | 15.9 MiB | 00m00s >>> Running post-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Stop post-install scriptlet: systemd-0:256.1-3.fc41.x86_64 [ 35/196] Installing libwebp-devel-0:1. 100% | 24.2 MiB/s | 124.0 KiB | 00m00s [ 36/196] Installing libassuan-devel-0: 100% | 11.2 MiB/s | 79.9 KiB | 00m00s [ 37/196] Installing flac-libs-0:1.4.3- 100% | 110.2 MiB/s | 676.9 KiB | 00m00s [ 38/196] Installing libvorbis-1:1.3.7- 100% | 116.1 MiB/s | 832.2 KiB | 00m00s [ 39/196] Installing abattis-cantarell- 100% | 47.5 MiB/s | 194.4 KiB | 00m00s [ 40/196] Installing libseccomp-devel-0 100% | 19.5 MiB/s | 119.5 KiB | 00m00s [ 41/196] Installing libwayland-cursor- 100% | 12.5 MiB/s | 38.5 KiB | 00m00s [ 42/196] Installing libpng-devel-2:1.6 100% | 123.5 MiB/s | 885.4 KiB | 00m00s [ 43/196] Installing avahi-libs-0:0.8-2 100% | 33.0 MiB/s | 168.9 KiB | 00m00s [ 44/196] Installing dbus-tools-1:1.14. 100% | 13.1 MiB/s | 134.2 KiB | 00m00s >>> Running pre-install scriptlet: dbus-daemon-1:1.14.10-3.fc40.x86_64 >>> Stop pre-install scriptlet: dbus-daemon-1:1.14.10-3.fc40.x86_64 [ 45/196] Installing dbus-daemon-1:1.14 100% | 27.1 MiB/s | 554.0 KiB | 00m00s >>> Running post-install scriptlet: dbus-daemon-1:1.14.10-3.fc40.x86_64 >>> Stop post-install scriptlet: dbus-daemon-1:1.14.10-3.fc40.x86_64 [ 46/196] Installing libgcrypt-0:1.11.0 100% | 154.2 MiB/s | 1.5 MiB | 00m00s [ 47/196] Installing libksba-0:1.6.7-1. 100% | 65.3 MiB/s | 401.0 KiB | 00m00s [ 48/196] Installing kernel-headers-0:6 100% | 99.2 MiB/s | 6.4 MiB | 00m00s [ 49/196] Installing openssl-devel-1:3. 100% | 28.8 MiB/s | 5.2 MiB | 00m00s [ 50/196] Installing libarchive-devel-0 100% | 36.2 MiB/s | 185.5 KiB | 00m00s [ 51/196] Installing libblkid-devel-0:2 100% | 11.2 MiB/s | 46.0 KiB | 00m00s [ 52/196] Installing libwayland-server- 100% | 15.6 MiB/s | 79.8 KiB | 00m00s [ 53/196] Installing libwayland-egl-0:1 100% | 5.7 MiB/s | 17.6 KiB | 00m00s [ 54/196] Installing wayland-devel-0:1. 100% | 83.9 MiB/s | 687.5 KiB | 00m00s [ 55/196] Installing xz-devel-1:5.6.2-1 100% | 42.2 MiB/s | 259.4 KiB | 00m00s [ 56/196] Installing libxml2-devel-0:2. 100% | 162.7 MiB/s | 3.4 MiB | 00m00s [ 57/196] Installing libcurl-devel-0:8. 100% | 40.5 MiB/s | 1.3 MiB | 00m00s [ 58/196] Installing xorg-x11-proto-dev 100% | 118.8 MiB/s | 1.8 MiB | 00m00s [ 59/196] Installing libXau-devel-0:1.0 100% | 1.1 MiB/s | 8.2 KiB | 00m00s [ 60/196] Installing glibc-headers-x86- 100% | 84.6 MiB/s | 2.3 MiB | 00m00s [ 61/196] Installing libxcrypt-devel-0: 100% | 6.4 MiB/s | 32.6 KiB | 00m00s [ 62/196] Installing glibc-devel-0:2.39 100% | 7.9 MiB/s | 40.5 KiB | 00m00s [ 63/196] Installing liblerc-0:4.0.0-6. 100% | 98.5 MiB/s | 605.0 KiB | 00m00s [ 64/196] Installing jbigkit-libs-0:2.1 100% | 29.2 MiB/s | 119.6 KiB | 00m00s [ 65/196] Installing libtiff-0:4.6.0-2. 100% | 140.0 MiB/s | 1.1 MiB | 00m00s [ 66/196] Installing libtiff-devel-0:4. 100% | 87.8 MiB/s | 719.6 KiB | 00m00s [ 67/196] Installing sysprof-capture-de 100% | 62.4 MiB/s | 255.7 KiB | 00m00s [ 68/196] Installing pcre2-utf32-0:10.4 100% | 109.9 MiB/s | 562.8 KiB | 00m00s [ 69/196] Installing pcre2-utf16-0:10.4 100% | 115.4 MiB/s | 590.9 KiB | 00m00s [ 70/196] Installing pcre2-devel-0:10.4 100% | 117.4 MiB/s | 2.0 MiB | 00m00s [ 71/196] Installing libsepol-devel-0:3 100% | 17.8 MiB/s | 127.8 KiB | 00m00s [ 72/196] Installing libselinux-devel-0 100% | 12.1 MiB/s | 161.2 KiB | 00m00s [ 73/196] Installing libmount-devel-0:2 100% | 9.0 MiB/s | 64.5 KiB | 00m00s [ 74/196] Installing tzdata-0:2024a-8.f 100% | 30.8 MiB/s | 1.9 MiB | 00m00s [ 75/196] Installing python-pip-wheel-0 100% | 249.9 MiB/s | 1.2 MiB | 00m00s [ 76/196] Installing mpdecimal-0:2.5.1- 100% | 39.5 MiB/s | 202.0 KiB | 00m00s [ 77/196] Installing libb2-0:0.98.1-11. 100% | 5.3 MiB/s | 43.3 KiB | 00m00s [ 78/196] Installing python3-libs-0:3.1 100% | 228.2 MiB/s | 40.8 MiB | 00m00s [ 79/196] Installing python3-0:3.13.0~b 100% | 6.6 MiB/s | 33.6 KiB | 00m00s [ 80/196] Installing python3-packaging- 100% | 52.9 MiB/s | 433.5 KiB | 00m00s [ 81/196] Installing python3-setuptools 100% | 149.0 MiB/s | 7.4 MiB | 00m00s [ 82/196] Installing python3-iniconfig- 100% | 7.7 MiB/s | 23.6 KiB | 00m00s [ 83/196] Installing python3-pluggy-0:1 100% | 36.9 MiB/s | 189.1 KiB | 00m00s [ 84/196] Installing python3-pytest-0:7 100% | 139.6 MiB/s | 3.6 MiB | 00m00s [ 85/196] Installing python3-execnet-0: 100% | 65.3 MiB/s | 936.2 KiB | 00m00s [ 86/196] Installing libxslt-0:1.1.41-2 100% | 67.8 MiB/s | 485.8 KiB | 00m00s [ 87/196] Installing annobin-docs-0:12. 100% | 31.7 MiB/s | 97.4 KiB | 00m00s [ 88/196] Installing json-c-0:0.17-3.fc 100% | 2.3 MiB/s | 83.6 KiB | 00m00s >>> Running pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 >>> Stop pre-install scriptlet: tpm2-tss-0:4.1.3-1.fc41.x86_64 [ 89/196] Installing tpm2-tss-0:4.1.3-1 100% | 111.0 MiB/s | 1.6 MiB | 00m00s [ 90/196] Installing google-noto-fonts- 100% | 8.9 MiB/s | 18.3 KiB | 00m00s [ 91/196] Installing google-noto-sans-v 100% | 178.4 MiB/s | 1.2 MiB | 00m00s [ 92/196] Installing default-fonts-core 100% | 4.4 MiB/s | 18.2 KiB | 00m00s [ 93/196] Installing npth-0:1.7-1.fc41. 100% | 12.3 MiB/s | 50.6 KiB | 00m00s [ 94/196] Installing libdatrie-0:0.2.13 100% | 19.2 MiB/s | 59.0 KiB | 00m00s [ 95/196] Installing libthai-0:0.1.29-8 100% | 127.8 MiB/s | 785.3 KiB | 00m00s [ 96/196] Installing fribidi-0:1.0.15-1 100% | 60.4 MiB/s | 370.9 KiB | 00m00s [ 97/196] Installing graphite2-0:1.3.14 100% | 27.1 MiB/s | 194.2 KiB | 00m00s [ 98/196] Installing pixman-0:0.43.4-1. 100% | 138.9 MiB/s | 711.2 KiB | 00m00s [ 99/196] Installing libasyncns-0:0.8-2 100% | 19.7 MiB/s | 60.6 KiB | 00m00s [100/196] Installing mpg123-libs-0:1.31 100% | 96.4 MiB/s | 789.8 KiB | 00m00s [101/196] Installing lame-libs-0:3.100- 100% | 198.4 MiB/s | 1.2 MiB | 00m00s [102/196] Installing gsm-0:1.0.22-6.fc4 100% | 17.2 MiB/s | 70.4 KiB | 00m00s [103/196] Installing libsndfile-0:1.2.2 100% | 103.0 MiB/s | 527.6 KiB | 00m00s [104/196] Installing pulseaudio-libs-0: 100% | 178.3 MiB/s | 3.4 MiB | 00m00s [105/196] Installing nettle-0:3.10-2.fc 100% | 111.1 MiB/s | 796.1 KiB | 00m00s [106/196] Installing gnutls-0:3.8.5-6.f 100% | 200.4 MiB/s | 3.2 MiB | 00m00s [107/196] Installing glib2-0:2.80.3-1.f 100% | 270.8 MiB/s | 14.6 MiB | 00m00s [108/196] Installing glib2-devel-0:2.80 100% | 295.2 MiB/s | 15.6 MiB | 00m00s [109/196] Installing shared-mime-info-0 100% | 127.8 MiB/s | 2.6 MiB | 00m00s >>> Running post-install scriptlet: shared-mime-info-0:2.3-5.fc41.x86_64 >>> Stop post-install scriptlet: shared-mime-info-0:2.3-5.fc41.x86_64 [110/196] Installing gdk-pixbuf2-0:2.42 100% | 126.3 MiB/s | 2.5 MiB | 00m00s [111/196] Installing json-glib-0:1.8.0- 100% | 50.9 MiB/s | 572.8 KiB | 00m00s [112/196] Installing dconf-0:0.40.0-12. 100% | 20.9 MiB/s | 320.5 KiB | 00m00s >>> Running post-install scriptlet: dconf-0:0.40.0-12.fc40.x86_64 >>> Stop post-install scriptlet: dconf-0:0.40.0-12.fc40.x86_64 [113/196] Installing malcontent-libs-0: 100% | 18.7 MiB/s | 115.1 KiB | 00m00s [114/196] Installing polkit-libs-0:124- 100% | 52.2 MiB/s | 213.7 KiB | 00m00s [115/196] Installing polkit-docs-0:124- 100% | 133.2 MiB/s | 954.9 KiB | 00m00s [116/196] Installing polkit-devel-0:124 100% | 80.3 MiB/s | 411.2 KiB | 00m00s [117/196] Installing malcontent-devel-0 100% | 43.0 MiB/s | 132.0 KiB | 00m00s [118/196] Installing dconf-devel-0:0.40 100% | 28.5 MiB/s | 204.1 KiB | 00m00s [119/196] Installing json-glib-devel-0: 100% | 129.2 MiB/s | 2.6 MiB | 00m00s [120/196] Installing libxmlb-0:0.3.19-2 100% | 47.3 MiB/s | 290.9 KiB | 00m00s [121/196] Installing python3-dbus-0:1.3 100% | 57.9 MiB/s | 533.9 KiB | 00m00s [122/196] Installing geoclue2-libs-0:2. 100% | 41.2 MiB/s | 168.6 KiB | 00m00s [123/196] Installing libportal-0:0.7.1- 100% | 45.0 MiB/s | 184.2 KiB | 00m00s [124/196] Installing gobject-introspect 100% | 45.5 MiB/s | 326.3 KiB | 00m00s [125/196] Installing python3-gobject-ba 100% | 135.8 MiB/s | 1.5 MiB | 00m00s [126/196] Installing flatpak-session-he 100% | 24.6 MiB/s | 100.9 KiB | 00m00s [127/196] Installing xdg-dbus-proxy-0:0 100% | 23.0 MiB/s | 94.3 KiB | 00m00s [128/196] Installing gnupg2-0:2.4.5-1.f 100% | 194.3 MiB/s | 9.5 MiB | 00m00s [129/196] Installing gpgme-0:1.23.2-4.f 100% | 94.0 MiB/s | 577.7 KiB | 00m00s [130/196] Installing gpgme-devel-0:1.23 100% | 47.6 MiB/s | 292.2 KiB | 00m00s [131/196] Installing composefs-libs-0:1 100% | 41.0 MiB/s | 168.1 KiB | 00m00s [132/196] Installing ostree-libs-0:2024 100% | 139.5 MiB/s | 1.1 MiB | 00m00s [133/196] Installing flatpak-libs-0:1.1 100% | 126.9 MiB/s | 1.0 MiB | 00m00s [134/196] Installing ostree-devel-0:202 100% | 52.0 MiB/s | 2.6 MiB | 00m00s [135/196] Installing fuse-common-0:3.16 100% | 142.6 KiB/s | 292.0 B | 00m00s [136/196] Installing fuse3-0:3.16.2-3.f 100% | 31.3 MiB/s | 128.4 KiB | 00m00s [137/196] Installing libyaml-0:0.2.5-14 100% | 42.9 MiB/s | 131.8 KiB | 00m00s [138/196] Installing libstemmer-0:2.2.0 100% | 53.4 MiB/s | 601.3 KiB | 00m00s [139/196] Installing appstream-data-0:4 100% | 113.8 MiB/s | 14.8 MiB | 00m00s [140/196] Installing appstream-0:1.0.2- 100% | 207.0 MiB/s | 3.5 MiB | 00m00s [141/196] Installing libX11-common-0:1. 100% | 84.7 MiB/s | 1.2 MiB | 00m00s [142/196] Installing libX11-0:1.8.9-1.f 100% | 212.3 MiB/s | 1.3 MiB | 00m00s [143/196] Installing libXrender-0:0.9.1 100% | 16.7 MiB/s | 51.4 KiB | 00m00s [144/196] Installing dbus-x11-1:1.14.10 100% | 9.0 MiB/s | 37.0 KiB | 00m00s [145/196] Installing libXext-0:1.3.6-1. 100% | 29.7 MiB/s | 91.3 KiB | 00m00s [146/196] Installing cairo-0:1.18.0-3.f 100% | 216.5 MiB/s | 1.7 MiB | 00m00s [147/196] Installing harfbuzz-0:8.5.0-1 100% | 225.2 MiB/s | 2.7 MiB | 00m00s [148/196] Installing freetype-0:2.13.2- 100% | 137.4 MiB/s | 844.3 KiB | 00m00s [149/196] Installing fontconfig-0:2.15. 100% | 767.9 KiB/s | 787.1 KiB | 00m01s >>> Running post-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Stop post-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 [150/196] Installing cairo-gobject-0:1. 100% | 17.6 MiB/s | 36.1 KiB | 00m00s [151/196] Installing libXft-0:2.3.8-6.f 100% | 40.5 MiB/s | 166.0 KiB | 00m00s [152/196] Installing pango-0:1.54.0-1.f 100% | 122.3 MiB/s | 1.0 MiB | 00m00s [153/196] Installing librsvg2-0:2.57.1- 100% | 274.0 MiB/s | 4.1 MiB | 00m00s [154/196] Installing rsvg-pixbuf-loader 100% | 376.0 KiB/s | 16.5 KiB | 00m00s >>> Running pre-install scriptlet: flatpak-0:1.15.8-1.fc41.x86_64 >>> Stop pre-install scriptlet: flatpak-0:1.15.8-1.fc41.x86_64 [155/196] Installing flatpak-0:1.15.8-1 100% | 173.3 MiB/s | 6.2 MiB | 00m00s >>> Running post-install scriptlet: flatpak-0:1.15.8-1.fc41.x86_64 >>> Stop post-install scriptlet: flatpak-0:1.15.8-1.fc41.x86_64 [156/196] Installing python3-cairo-0:1. 100% | 97.0 MiB/s | 496.6 KiB | 00m00s [157/196] Installing python3-gobject-0: 100% | 8.0 MiB/s | 24.6 KiB | 00m00s [158/196] Installing gc-0:8.2.2-6.fc40. 100% | 51.0 MiB/s | 261.2 KiB | 00m00s [159/196] Installing guile30-0:3.0.9-1. 100% | 334.2 MiB/s | 52.8 MiB | 00m00s [160/196] Installing make-1:4.4.1-6.fc4 100% | 150.0 MiB/s | 1.8 MiB | 00m00s [161/196] Installing gcc-0:14.1.1-6.fc4 100% | 346.1 MiB/s | 104.2 MiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [162/196] Installing webrtc-audio-proce 100% | 110.0 MiB/s | 1.3 MiB | 00m00s [163/196] Installing libusb1-0:1.0.27-2 100% | 17.8 MiB/s | 163.9 KiB | 00m00s [164/196] Installing libsbc-0:2.0-4.fc4 100% | 15.4 MiB/s | 94.6 KiB | 00m00s [165/196] Installing libldac-0:2.0.2.3- 100% | 11.2 MiB/s | 80.4 KiB | 00m00s [166/196] Installing liblc3-0:1.1.1-2.f 100% | 27.3 MiB/s | 167.9 KiB | 00m00s [167/196] Installing fdk-aac-free-0:2.0 100% | 73.8 MiB/s | 604.7 KiB | 00m00s [168/196] Installing bluez-libs-0:5.76- 100% | 27.8 MiB/s | 199.6 KiB | 00m00s [169/196] Installing alsa-lib-0:1.2.12- 100% | 77.5 MiB/s | 1.4 MiB | 00m00s [170/196] Installing pipewire-libs-0:1. 100% | 184.9 MiB/s | 7.2 MiB | 00m00s [171/196] Installing vim-filesystem-2:9 100% | 674.1 KiB/s | 4.7 KiB | 00m00s [172/196] Installing emacs-filesystem-1 100% | 88.5 KiB/s | 544.0 B | 00m00s [173/196] Installing ninja-build-0:1.12 100% | 52.7 MiB/s | 431.8 KiB | 00m00s [174/196] Installing gettext-envsubst-0 100% | 8.3 MiB/s | 76.3 KiB | 00m00s [175/196] Installing gettext-runtime-0: 100% | 47.9 MiB/s | 490.7 KiB | 00m00s [176/196] Installing m4-0:1.4.19-9.fc40 100% | 41.5 MiB/s | 595.2 KiB | 00m00s [177/196] Installing flex-0:2.6.4-16.fc 100% | 61.0 MiB/s | 811.4 KiB | 00m00s [178/196] Installing sgml-common-0:0.6. 100% | 19.0 MiB/s | 174.9 KiB | 00m00s [179/196] Installing docbook-dtds-0:1.0 100% | 25.4 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 [180/196] Installing docbook-style-xsl- 100% | 155.5 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 [181/196] Installing systemd-devel-0:25 100% | 20.3 MiB/s | 685.7 KiB | 00m00s [182/196] Installing flatpak-devel-0:1. 100% | 209.3 MiB/s | 1.5 MiB | 00m00s [183/196] Installing xmlto-0:0.0.28-23. 100% | 29.4 MiB/s | 120.4 KiB | 00m00s [184/196] Installing gettext-0:0.22.5-2 100% | 209.4 MiB/s | 5.2 MiB | 00m00s [185/196] Installing meson-0:1.4.1-2.fc 100% | 217.0 MiB/s | 11.3 MiB | 00m00s [186/196] Installing pipewire-devel-0:1 100% | 65.0 MiB/s | 865.0 KiB | 00m00s [187/196] Installing annobin-plugin-gcc 100% | 34.1 MiB/s | 977.9 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [188/196] Installing gcc-plugin-annobin 100% | 4.1 MiB/s | 58.6 KiB | 00m00s >>> Running trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch >>> Stop trigger-install scriptlet: redhat-rpm-config-0:293-1.fc41.noarch [189/196] Installing python3-dbusmock-0 100% | 80.8 MiB/s | 579.1 KiB | 00m00s [190/196] Installing libportal-devel-0: 100% | 61.4 MiB/s | 314.4 KiB | 00m00s [191/196] Installing geoclue2-devel-0:2 100% | 87.2 MiB/s | 892.6 KiB | 00m00s [192/196] Installing gdk-pixbuf2-devel- 100% | 143.5 MiB/s | 2.3 MiB | 00m00s [193/196] Installing python3-pytest-xdi 100% | 64.1 MiB/s | 459.8 KiB | 00m00s [194/196] Installing python3-docutils-0 100% | 135.6 MiB/s | 5.0 MiB | 00m00s [195/196] Installing fuse3-devel-0:3.16 100% | 52.2 MiB/s | 160.3 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [196/196] Installing systemd-rpm-macros 100% | 1.5 KiB/s | 9.9 KiB | 00m07s >>> Running post-transaction scriptlet: dconf-0:0.40.0-12.fc40.x86_64 >>> Stop post-transaction scriptlet: dconf-0:0.40.0-12.fc40.x86_64 >>> Running post-transaction scriptlet: appstream-0:1.0.2-2.fc41.x86_64 >>> Stop post-transaction scriptlet: appstream-0:1.0.2-2.fc41.x86_64 >>> Running post-transaction scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Stop post-transaction scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Running trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Stop trigger-install scriptlet: info-0:7.1-2.fc40.x86_64 >>> Running trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Running trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Stop trigger-install scriptlet: systemd-0:256.1-3.fc41.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.3-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.3-1.fc41.x86_64 >>> Running trigger-install scriptlet: glib2-0:2.80.3-1.fc41.x86_64 >>> Stop trigger-install scriptlet: glib2-0:2.80.3-1.fc41.x86_64 >>> Running trigger-install scriptlet: shared-mime-info-0:2.3-5.fc41.x86_64 >>> Stop trigger-install scriptlet: shared-mime-info-0:2.3-5.fc41.x86_64 >>> Running trigger-install scriptlet: gdk-pixbuf2-0:2.42.12-1.fc41.x86_64 >>> Stop trigger-install scriptlet: gdk-pixbuf2-0:2.42.12-1.fc41.x86_64 >>> Running trigger-install scriptlet: appstream-0:1.0.2-2.fc41.x86_64 >>> Stop trigger-install scriptlet: appstream-0:1.0.2-2.fc41.x86_64 >>> Running trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> Stop trigger-install scriptlet: fontconfig-0:2.15.0-6.fc41.x86_64 >>> 2024-07-03 18:25:04 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-1.fc41 fedora 33.9 MiB clang x86_64 18.1.7-1.fc41 fedora 587.7 KiB cppcheck x86_64 2.14.2-1.fc41 fedora 10.1 MiB Installing dependencies: clang-libs x86_64 18.1.7-1.fc41 fedora 107.8 MiB clang-resource-filesystem noarch 18.1.7-1.fc41 fedora 522.0 B gcc-c++ x86_64 14.1.1-6.fc41 fedora 38.1 MiB libedit x86_64 3.1-51.20240517cvs.fc41 fedora 243.9 KiB libstdc++-devel x86_64 14.1.1-6.fc41 fedora 15.4 MiB llvm-libs x86_64 18.1.7-1.fc41 fedora 113.5 MiB 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: 11 packages Total size of inbound packages is 76 MiB. Need to download 0 B. After this operation 320 MiB will be used (install 320 MiB, remove 0 B). [ 1/11] cppcheck-0:2.14.2-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 2/11] ShellCheck-0:0.10.0-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 3/11] clang-0:18.1.7-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 4/11] pcre-0:8.45-1.fc40.6.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 5/11] tinyxml2-0:9.0.0-4.fc40.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 6/11] clang-libs-0:18.1.7-1.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/11] llvm-libs-0:18.1.7-1.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/11] clang-resource-filesystem-0:18. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/11] libedit-0:3.1-51.20240517cvs.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/11] gcc-c++-0:14.1.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/11] libstdc++-devel-0:14.1.1-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [11/11] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/13] Verify package files 100% | 44.0 B/s | 11.0 B | 00m00s [ 2/13] Prepare transaction 100% | 244.0 B/s | 11.0 B | 00m00s [ 3/13] Installing libstdc++-devel-0:14 100% | 210.1 MiB/s | 15.6 MiB | 00m00s [ 4/13] Installing gcc-c++-0:14.1.1-6.f 100% | 328.9 MiB/s | 38.2 MiB | 00m00s [ 5/13] Installing libedit-0:3.1-51.202 100% | 48.0 MiB/s | 245.6 KiB | 00m00s [ 6/13] Installing llvm-libs-0:18.1.7-1 100% | 399.5 MiB/s | 113.5 MiB | 00m00s [ 7/13] Installing clang-resource-files 100% | 391.6 KiB/s | 1.6 KiB | 00m00s [ 8/13] Installing clang-libs-0:18.1.7- 100% | 426.2 MiB/s | 107.8 MiB | 00m00s [ 9/13] Installing tinyxml2-0:9.0.0-4.f 100% | 20.5 MiB/s | 104.9 KiB | 00m00s [10/13] Installing pcre-0:8.45-1.fc40.6 100% | 88.6 MiB/s | 544.1 KiB | 00m00s [11/13] Installing cppcheck-0:2.14.2-1. 100% | 315.0 MiB/s | 10.1 MiB | 00m00s [12/13] Installing clang-0:18.1.7-1.fc4 100% | 52.4 MiB/s | 590.4 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [13/13] Installing ShellCheck-0:0.10.0- 100% | 20.5 MiB/s | 33.9 MiB | 00m02s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 18:25:09 "'/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/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 18:25:11 "'/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/csmockb3h1lpdj/rpm-list-mock-provides.txt" >>> 2024-07-03 18:25:12 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41.src.rpm" "/builddir/xdg-desktop-portal-1.18.4-1.fc41.src.rpm" >>> 2024-07-03 18:25:13 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-07-03 18:25:14 "/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/xdg-desktop-portal-1.18.4-1.fc41.src.rpm'\"" Updating / installing... xdg-desktop-portal-1.18.4-1.fc41 ######################################## >>> 2024-07-03 18:25:15 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bs --nodeps /builddir/build/SPECS/xdg-desktop-portal.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/xdg-desktop-portal-1.18.4-1.fc41.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1713484800 Wrote: /builddir/build/SRPMS/xdg-desktop-portal-1.18.4-1.fc41.src.rpm renamed 'xdg-desktop-portal-1.18.4-1.fc41.src.rpm' -> '/builddir/xdg-desktop-portal-1.18.4-1.fc41.src.rpm' >>> 2024-07-03 18:25:16 "/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/xdg-desktop-portal-1.18.4-1.fc41.src.rpm" "/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41.src.rpm" >>> 2024-07-03 18:25:17 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--installdeps" "/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41.src.rpm" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "python3-docutils-0.20.1-5.fc41.noarch" is already installed. Package "xmlto-0.0.28-23.fc40.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "gettext-0.22.5-2.fc41.x86_64" is already installed. Package "meson-1.4.1-2.fc41.noarch" is already installed. Package "flatpak-devel-1.15.8-1.fc41.x86_64" is already installed. Package "fuse3-devel-3.16.2-3.fc40.x86_64" is already installed. Package "gdk-pixbuf2-devel-2.42.12-1.fc41.x86_64" is already installed. Package "glib2-devel-2.80.3-1.fc41.x86_64" is already installed. Package "json-glib-devel-1.8.0-3.fc40.x86_64" is already installed. Package "geoclue2-devel-2.7.0-5.fc40.x86_64" is already installed. Package "pipewire-devel-1.2.0-3.fc41.x86_64" is already installed. Package "libportal-devel-0.7.1-3.fc40.x86_64" is already installed. Package "systemd-devel-256.1-3.fc41.x86_64" is already installed. Package "python3-dbusmock-0.31.1-2.fc41.noarch" is already installed. Package "python3-gobject-base-3.48.2-2.fc41.x86_64" is already installed. Package "python3-pytest-7.4.3-6.fc41.noarch" is already installed. Package "python3-pytest-xdist-3.6.1-2.fc41.noarch" is already installed. Package "systemd-rpm-macros-256.1-3.fc41.noarch" is already installed. Nothing to do. >>> 2024-07-03 18:25:19 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "clang" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 24.8 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-3.fc40.x86_64" is already installed. Package "clang-18.1.7-1.fc41.x86_64" is already installed. Package "cppcheck-2.14.2-1.fc41.x86_64" is already installed. Package "gcc-14.1.1-6.fc41.x86_64" is already installed. Package "ShellCheck-0.10.0-1.fc41.x86_64" is already installed. Nothing to do. >>> 2024-07-03 18:25:20 "'/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/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 18:25:22 "'/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/csmockb3h1lpdj/rpm-list-mock-provides.txt" >>> 2024-07-03 18:25:23 "/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 | 24.8 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.4.0-1.fc41 fedora 3.6 MiB Installing dependencies: boost-atomic x86_64 1.83.0-7.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-7.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-7.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-7.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation 4 MiB will be used (install 4 MiB, remove 0 B). [1/5] csdiff-0:3.4.0-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/5] boost-filesystem-0:1.83.0-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] boost-program-options-0:1.83.0-7. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/5] boost-atomic-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/5] boost-system-0:1.83.0-7.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 142.0 B/s | 5.0 B | 00m00s [3/7] Installing boost-system-0:1.83.0- 100% | 3.4 MiB/s | 17.3 KiB | 00m00s [4/7] Installing boost-atomic-0:1.83.0- 100% | 7.2 MiB/s | 22.0 KiB | 00m00s [5/7] Installing boost-filesystem-0:1.8 100% | 36.3 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 53.5 MiB/s | 273.8 KiB | 00m00s warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.execute() instead [7/7] Installing csdiff-0:3.4.0-1.fc41. 100% | 38.4 MiB/s | 3.7 MiB | 00m00s >>> Running trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> Stop trigger-install scriptlet: glibc-common-0:2.39.9000-26.fc41.x86_64 >>> 2024-07-03 18:25:25 "'/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/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/rpm-list-mock.txt" >>> 2024-07-03 18:25:26 "'/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/csmockb3h1lpdj/rpm-list-mock-provides.txt" >>> 2024-07-03 18:25:27 "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/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41.src.rpm' | '/usr/bin/mock' '-r' 'fedora-41-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/'" tar: Removing leading `/' from member names scan.ini: analyzer-version-clang = 18.1.7 scan.ini: analyzer-version-cppcheck = 2.14.2 scan.ini: analyzer-version-gcc = 14.1.1 >>> 2024-07-03 18:25:29 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" scan.ini: analyzer-version-gcc-analyzer = 14.1.1 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-07-03 18:25:31 "/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/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41.src.rpm'" Updating / installing... xdg-desktop-portal-1.18.4-1.fc41 ######################################## >>> 2024-07-03 18:25:32 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-07-03 18:25:33 "/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 + /usr/bin/gdk-pixbuf-query-loaders-64 --update-cache 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 + sed -i /usr/include/openssl/e_os2.h -e 's|\(# *if\)def DEBUG_UNUSED|\1 1|' 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 + /usr/bin/update-mime-database -n /usr/share/mime RUN: /usr/share/csmock/scripts/chroot-fixups/symbiotic-timeout.sh >>> 2024-07-03 18:25:34 "/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/xdg-desktop-portal.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/xdg-desktop-portal.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'"' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/xdg-desktop-portal.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/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] setting SOURCE_DATE_EPOCH=1713484800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.YbY4GT + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + test -d /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + /usr/bin/rm -rf /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + /usr/bin/mkdir -p /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I4Slv5 + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + cd /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + rm -rf xdg-desktop-portal-1.18.4 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xdg-desktop-portal-1.18.4.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xdg-desktop-portal-1.18.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'"'] Finish: run >>> 2024-07-03 18:25:36 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-07-03 18:25:37 "/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/xdg-desktop-portal.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.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/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] setting SOURCE_DATE_EPOCH=1713484800 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.lHJ9p2 + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdg-desktop-portal-1.18.4 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/meson setup --buildtype=plain --prefix=/usr --libdir=/usr/lib64 --libexecdir=/usr/libexec --bindir=/usr/bin --sbindir=/usr/sbin --includedir=/usr/include --datadir=/usr/share --mandir=/usr/share/man --infodir=/usr/share/info --localedir=/usr/share/locale --sysconfdir=/etc --localstatedir=/var --sharedstatedir=/var/lib --wrap-mode=nodownload --auto-features=enabled . redhat-linux-build The Meson build system Version: 1.4.1 Source dir: /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4 Build dir: /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build Build type: native build Project name: xdg-desktop-portal Project version: 1.18.4 C compiler for the host machine: gcc (gcc 14.1.1 "gcc (GCC) 14.1.1 20240620 (Red Hat 14.1.1-6)") C linker for the host machine: gcc ld.bfd 2.42.50.20240531 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/usr/bin/pkg-config) 2.1.1 Run-time dependency flatpak found: YES 1.15.8 Compiler for C supports arguments -Wno-unused-parameter: YES Compiler for C supports arguments -Wno-sign-compare: YES Compiler for C supports arguments -Wno-missing-field-initializers: YES Checking for function "renameat2" : YES Has header "sys/vfs.h" : YES Has header "sys/mount.h" : YES Has header "sys/statfs.h" : YES Has header "sys/xattr.h" : YES Has header "sys/extattr.h" : NO Run-time dependency glib-2.0 found: YES 2.80.3 Run-time dependency gio-2.0 found: YES 2.80.3 Run-time dependency gio-unix-2.0 found: YES 2.80.3 Run-time dependency json-glib-1.0 found: YES 1.8.0 Run-time dependency fuse3 found: YES 3.16.2 Run-time dependency gdk-pixbuf-2.0 found: YES 2.42.12 Run-time dependency libgeoclue-2.0 found: YES 2.7.0 Run-time dependency libportal found: YES 0.7.1 Run-time dependency libpipewire-0.3 found: YES 1.2.0 Run-time dependency libsystemd found: YES 256 Program bwrap found: YES (/usr/bin/bwrap) Program xmlto found: YES (/usr/bin/xmlto) Program rst2man found: YES (/usr/bin/rst2man) Dependency gio-2.0 found: YES 2.80.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.80.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.80.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.80.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.80.3 (cached) Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Configuring xdg-desktop-portal.service using configuration Configuring org.freedesktop.portal.Desktop.service using configuration Configuring xdg-desktop-portal-rewrite-launchers.service using configuration Dependency gio-2.0 found: YES 2.80.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Configuring xdg-permission-store.service using configuration Dependency gio-2.0 found: YES 2.80.3 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Configuring xdg-document-portal.service using configuration Configuring org.freedesktop.portal.Documents.service using configuration Configuring org.freedesktop.impl.portal.PermissionStore.service using configuration Configuring test.portal using configuration Configuring limited.portal using configuration Configuring org.freedesktop.portal.Documents.service using configuration Configuring org.freedesktop.impl.portal.PermissionStore.service using configuration Program pytest-3 found: YES (/usr/bin/pytest-3) Program python3 (dbus, dbusmock, gi) found: YES (/usr/bin/python3) modules: dbus, dbusmock, gi Program python3 (xdist) found: YES (/usr/bin/python3) modules: xdist 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) Configuring portal-docs.xml using configuration Configuring portals.conf.rst using configuration Configuring config.h using configuration Build targets in project: 65 NOTICE: Future-deprecated features used: * 0.62.0: {'pkgconfig.generate variable for builtin directories'} * 0.64.0: {'copy arg in configure_file'} xdg-desktop-portal 1.18.4 Directories DBus service dir : /usr/share/dbus-1/services Flatpak interfaces dir : /usr/share/dbus-1/interfaces/ systemd user unit dir : /usr/lib/systemd/user Installed tests dir : /usr/libexec/installed-tests/xdg-desktop-portal Optional builds Enable docbook documentation: YES Enable libsystemd support : YES Enable geoclue support : YES Enable libportal support : YES Enable installed tests: : NO Enable python test suite : YES Build man pages : YES Build flatpak interfaces : YES Sandboxed image validation : YES 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 Found ninja-1.12.1 at /usr/bin/ninja + /usr/bin/meson compile -C redhat-linux-build -j 8 --verbose ninja: Entering directory `/builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build' [1/209] /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.freedesktop.background --c-namespace XdpDbusBackground --header --output src/xdp-background-dbus.h ../data/org.freedesktop.background.Monitor.xml [2/209] /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.freedesktop.background --c-namespace XdpDbusBackground --body --output src/xdp-background-dbus.c ../data/org.freedesktop.background.Monitor.xml [3/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.impl.portal --c-namespace XdpDbusImpl --header --output src/xdp-impl-dbus.h ../data/org.freedesktop.impl.portal.Access.xml ../data/org.freedesktop.impl.portal.Account.xml ../data/org.freedesktop.impl.portal.AppChooser.xml ../data/org.freedesktop.impl.portal.Background.xml ../data/org.freedesktop.impl.portal.Clipboard.xml ../data/org.freedesktop.impl.portal.DynamicLauncher.xml ../data/org.freedesktop.impl.portal.Email.xml ../data/org.freedesktop.impl.portal.FileChooser.xml ../data/org.freedesktop.impl.portal.GlobalShortcuts.xml ../data/org.freedesktop.impl.portal.Inhibit.xml ../data/org.freedesktop.impl.portal.InputCapture.xml ../data/org.freedesktop.impl.portal.Lockdown.xml ../data/org.freedesktop.impl.portal.Notification.xml ../data/org.freedesktop.impl.portal.PermissionStore.xml ../data/org.freedesktop.impl.portal.Print.xml ../data/org.freedesktop.impl.portal.RemoteDesktop.xml ../data/org.freedesktop.impl.portal.Request.xml ../data/org.freedesktop.impl.portal.ScreenCast.xml ../data/org.freedesktop.impl.portal.Screenshot.xml ../data/org.freedesktop.impl.portal.Secret.xml ../data/org.freedesktop.impl.portal.Session.xml ../data/org.freedesktop.impl.portal.Settings.xml ../data/org.freedesktop.impl.portal.Wallpaper.xml [4/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.portal --c-namespace XdpDbus --header --output src/xdp-dbus.h ../data/org.freedesktop.portal.Account.xml ../data/org.freedesktop.portal.Background.xml ../data/org.freedesktop.portal.Camera.xml ../data/org.freedesktop.portal.Clipboard.xml ../data/org.freedesktop.portal.Device.xml ../data/org.freedesktop.portal.Documents.xml ../data/org.freedesktop.portal.DynamicLauncher.xml ../data/org.freedesktop.portal.Email.xml ../data/org.freedesktop.portal.FileChooser.xml ../data/org.freedesktop.portal.FileTransfer.xml ../data/org.freedesktop.portal.GameMode.xml ../data/org.freedesktop.portal.GlobalShortcuts.xml ../data/org.freedesktop.portal.Inhibit.xml ../data/org.freedesktop.portal.InputCapture.xml ../data/org.freedesktop.portal.Location.xml ../data/org.freedesktop.portal.MemoryMonitor.xml ../data/org.freedesktop.portal.NetworkMonitor.xml ../data/org.freedesktop.portal.Notification.xml ../data/org.freedesktop.portal.OpenURI.xml ../data/org.freedesktop.portal.PowerProfileMonitor.xml ../data/org.freedesktop.portal.Print.xml ../data/org.freedesktop.portal.ProxyResolver.xml ../data/org.freedesktop.portal.Realtime.xml ../data/org.freedesktop.portal.RemoteDesktop.xml ../data/org.freedesktop.portal.Request.xml ../data/org.freedesktop.portal.ScreenCast.xml ../data/org.freedesktop.portal.Screenshot.xml ../data/org.freedesktop.portal.Secret.xml ../data/org.freedesktop.portal.Session.xml ../data/org.freedesktop.portal.Settings.xml ../data/org.freedesktop.portal.Trash.xml ../data/org.freedesktop.portal.Wallpaper.xml /usr/share/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml [5/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.impl.portal --c-namespace XdpDbusImpl --output-directory src --generate-docbook portal ../data/org.freedesktop.impl.portal.Access.xml ../data/org.freedesktop.impl.portal.Account.xml ../data/org.freedesktop.impl.portal.AppChooser.xml ../data/org.freedesktop.impl.portal.Background.xml ../data/org.freedesktop.impl.portal.Clipboard.xml ../data/org.freedesktop.impl.portal.DynamicLauncher.xml ../data/org.freedesktop.impl.portal.Email.xml ../data/org.freedesktop.impl.portal.FileChooser.xml ../data/org.freedesktop.impl.portal.GlobalShortcuts.xml ../data/org.freedesktop.impl.portal.Inhibit.xml ../data/org.freedesktop.impl.portal.InputCapture.xml ../data/org.freedesktop.impl.portal.Lockdown.xml ../data/org.freedesktop.impl.portal.Notification.xml ../data/org.freedesktop.impl.portal.PermissionStore.xml ../data/org.freedesktop.impl.portal.Print.xml ../data/org.freedesktop.impl.portal.RemoteDesktop.xml ../data/org.freedesktop.impl.portal.Request.xml ../data/org.freedesktop.impl.portal.ScreenCast.xml ../data/org.freedesktop.impl.portal.Screenshot.xml ../data/org.freedesktop.impl.portal.Secret.xml ../data/org.freedesktop.impl.portal.Session.xml ../data/org.freedesktop.impl.portal.Settings.xml ../data/org.freedesktop.impl.portal.Wallpaper.xml [6/209] /usr/bin/glib-compile-resources ../src/xdg-desktop-portal.gresource.xml --sourcedir .. --sourcedir ../src --c-name _xdg_desktop --internal --generate --target src/xdg-desktop-resources.c --dependency-file src/xdg-desktop-resources.c.d [7/209] /usr/bin/glib-compile-resources ../src/xdg-desktop-portal.gresource.xml --sourcedir .. --sourcedir ../src --c-name _xdg_desktop --internal --generate --target src/xdg-desktop-resources.h [8/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.GeoClue2 --c-namespace Geoclue --body --output src/geoclue-dbus.c ../src/org.freedesktop.GeoClue2.Client.xml [9/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.impl.portal --c-namespace XdpDbusImpl --body --output src/xdp-impl-dbus.c ../data/org.freedesktop.impl.portal.Access.xml ../data/org.freedesktop.impl.portal.Account.xml ../data/org.freedesktop.impl.portal.AppChooser.xml ../data/org.freedesktop.impl.portal.Background.xml ../data/org.freedesktop.impl.portal.Clipboard.xml ../data/org.freedesktop.impl.portal.DynamicLauncher.xml ../data/org.freedesktop.impl.portal.Email.xml ../data/org.freedesktop.impl.portal.FileChooser.xml ../data/org.freedesktop.impl.portal.GlobalShortcuts.xml ../data/org.freedesktop.impl.portal.Inhibit.xml ../data/org.freedesktop.impl.portal.InputCapture.xml ../data/org.freedesktop.impl.portal.Lockdown.xml ../data/org.freedesktop.impl.portal.Notification.xml ../data/org.freedesktop.impl.portal.PermissionStore.xml ../data/org.freedesktop.impl.portal.Print.xml ../data/org.freedesktop.impl.portal.RemoteDesktop.xml ../data/org.freedesktop.impl.portal.Request.xml ../data/org.freedesktop.impl.portal.ScreenCast.xml ../data/org.freedesktop.impl.portal.Screenshot.xml ../data/org.freedesktop.impl.portal.Secret.xml ../data/org.freedesktop.impl.portal.Session.xml ../data/org.freedesktop.impl.portal.Settings.xml ../data/org.freedesktop.impl.portal.Wallpaper.xml [10/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.portal --c-namespace XdpDbus --output-directory src --generate-docbook portal ../data/org.freedesktop.portal.Account.xml ../data/org.freedesktop.portal.Background.xml ../data/org.freedesktop.portal.Camera.xml ../data/org.freedesktop.portal.Clipboard.xml ../data/org.freedesktop.portal.Device.xml ../data/org.freedesktop.portal.Documents.xml ../data/org.freedesktop.portal.DynamicLauncher.xml ../data/org.freedesktop.portal.Email.xml ../data/org.freedesktop.portal.FileChooser.xml ../data/org.freedesktop.portal.FileTransfer.xml ../data/org.freedesktop.portal.GameMode.xml ../data/org.freedesktop.portal.GlobalShortcuts.xml ../data/org.freedesktop.portal.Inhibit.xml ../data/org.freedesktop.portal.InputCapture.xml ../data/org.freedesktop.portal.Location.xml ../data/org.freedesktop.portal.MemoryMonitor.xml ../data/org.freedesktop.portal.NetworkMonitor.xml ../data/org.freedesktop.portal.Notification.xml ../data/org.freedesktop.portal.OpenURI.xml ../data/org.freedesktop.portal.PowerProfileMonitor.xml ../data/org.freedesktop.portal.Print.xml ../data/org.freedesktop.portal.ProxyResolver.xml ../data/org.freedesktop.portal.Realtime.xml ../data/org.freedesktop.portal.RemoteDesktop.xml ../data/org.freedesktop.portal.Request.xml ../data/org.freedesktop.portal.ScreenCast.xml ../data/org.freedesktop.portal.Screenshot.xml ../data/org.freedesktop.portal.Secret.xml ../data/org.freedesktop.portal.Session.xml ../data/org.freedesktop.portal.Settings.xml ../data/org.freedesktop.portal.Trash.xml ../data/org.freedesktop.portal.Wallpaper.xml /usr/share/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml [11/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.GeoClue2 --c-namespace Geoclue --header --output src/geoclue-dbus.h ../src/org.freedesktop.GeoClue2.Client.xml [12/209] /usr/bin/gdbus-codegen --c-generate-autocleanup all --interface-prefix org.freedesktop.background --c-namespace XdpDbusBackground --output-directory src --generate-docbook portal ../data/org.freedesktop.background.Monitor.xml [13/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.impl.portal --c-namespace Xdg --header --output document-portal/permission-store-dbus.h ../document-portal/../data/org.freedesktop.impl.portal.PermissionStore.xml [14/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.impl.portal --c-namespace Xdg --body --output document-portal/permission-store-dbus.c ../document-portal/../data/org.freedesktop.impl.portal.PermissionStore.xml [15/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.portal --c-namespace XdpDbus --body --output src/xdp-dbus.c ../data/org.freedesktop.portal.Account.xml ../data/org.freedesktop.portal.Background.xml ../data/org.freedesktop.portal.Camera.xml ../data/org.freedesktop.portal.Clipboard.xml ../data/org.freedesktop.portal.Device.xml ../data/org.freedesktop.portal.Documents.xml ../data/org.freedesktop.portal.DynamicLauncher.xml ../data/org.freedesktop.portal.Email.xml ../data/org.freedesktop.portal.FileChooser.xml ../data/org.freedesktop.portal.FileTransfer.xml ../data/org.freedesktop.portal.GameMode.xml ../data/org.freedesktop.portal.GlobalShortcuts.xml ../data/org.freedesktop.portal.Inhibit.xml ../data/org.freedesktop.portal.InputCapture.xml ../data/org.freedesktop.portal.Location.xml ../data/org.freedesktop.portal.MemoryMonitor.xml ../data/org.freedesktop.portal.NetworkMonitor.xml ../data/org.freedesktop.portal.Notification.xml ../data/org.freedesktop.portal.OpenURI.xml ../data/org.freedesktop.portal.PowerProfileMonitor.xml ../data/org.freedesktop.portal.Print.xml ../data/org.freedesktop.portal.ProxyResolver.xml ../data/org.freedesktop.portal.Realtime.xml ../data/org.freedesktop.portal.RemoteDesktop.xml ../data/org.freedesktop.portal.Request.xml ../data/org.freedesktop.portal.ScreenCast.xml ../data/org.freedesktop.portal.Screenshot.xml ../data/org.freedesktop.portal.Secret.xml ../data/org.freedesktop.portal.Session.xml ../data/org.freedesktop.portal.Settings.xml ../data/org.freedesktop.portal.Trash.xml ../data/org.freedesktop.portal.Wallpaper.xml /usr/share/dbus-1/interfaces/org.freedesktop.portal.Flatpak.xml [16/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.portal --c-namespace XdpDbus --body --output document-portal/document-portal-dbus.c ../document-portal/../data/org.freedesktop.portal.Documents.xml ../document-portal/../data/org.freedesktop.portal.FileTransfer.xml [17/209] /usr/bin/gdbus-codegen --c-generate-autocleanup none --interface-prefix org.freedesktop.portal --c-namespace XdpDbus --header --output document-portal/document-portal-dbus.h ../document-portal/../data/org.freedesktop.portal.Documents.xml ../document-portal/../data/org.freedesktop.portal.FileTransfer.xml [18/209] gcc -Isrc/xdg-desktop-portal-rewrite-launchers.p -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal-rewrite-launchers.p/rewrite-launchers.c.o -MF src/xdg-desktop-portal-rewrite-launchers.p/rewrite-launchers.c.o.d -o src/xdg-desktop-portal-rewrite-launchers.p/rewrite-launchers.c.o -c ../src/rewrite-launchers.c [19/209] gcc -Isrc/xdg-desktop-portal-validate-icon.p -Isrc -I../src -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=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 -D_GNU_SOURCE=1 '-DHELPER="/usr/bin/bwrap"' -MD -MQ src/xdg-desktop-portal-validate-icon.p/validate-icon.c.o -MF src/xdg-desktop-portal-validate-icon.p/validate-icon.c.o.d -o src/xdg-desktop-portal-validate-icon.p/validate-icon.c.o -c ../src/validate-icon.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/validate-icon.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [20/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/meson-generated_.._xdg-desktop-resources.c.o -MF src/xdg-desktop-portal.p/meson-generated_.._xdg-desktop-resources.c.o.d -o src/xdg-desktop-portal.p/meson-generated_.._xdg-desktop-resources.c.o -c src/xdg-desktop-resources.c [21/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/background-monitor.c.o -MF src/xdg-desktop-portal.p/background-monitor.c.o.d -o src/xdg-desktop-portal.p/background-monitor.c.o -c ../src/background-monitor.c [22/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/meson-generated_.._geoclue-dbus.c.o -MF src/xdg-desktop-portal.p/meson-generated_.._geoclue-dbus.c.o.d -o src/xdg-desktop-portal.p/meson-generated_.._geoclue-dbus.c.o -c src/geoclue-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/geoclue-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [23/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/meson-generated_.._xdp-background-dbus.c.o -MF src/xdg-desktop-portal.p/meson-generated_.._xdp-background-dbus.c.o.d -o src/xdg-desktop-portal.p/meson-generated_.._xdp-background-dbus.c.o -c src/xdp-background-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-background-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [24/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/call.c.o -MF src/xdg-desktop-portal.p/call.c.o.d -o src/xdg-desktop-portal.p/call.c.o -c ../src/call.c [25/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/account.c.o -MF src/xdg-desktop-portal.p/account.c.o.d -o src/xdg-desktop-portal.p/account.c.o -c ../src/account.c In file included from /usr/include/glib-2.0/glib.h:64, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:32: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c: In function ‘send_response_in_thread_func’: <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:362:25: warning: dereference of NULL ‘error’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:105:9: note: in expansion of macro ‘g_warning’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:65:1: note: (1) entry to ‘send_response_in_thread_func’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:85:6: note: (2) following ‘false’ branch (when ‘response == 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:88:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:94:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:97:25: note: (5) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:97:25: note: (6) ‘error’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:99:10: note: (7) following ‘true’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:100:16: note: in expansion of macro ‘g_strdup’ <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (9) inlined call to ‘g_strdup_inline’ from ‘send_response_in_thread_func’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:100:16: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘send_response_in_thread_func’ at ../src/account.c:100:16: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c: In function ‘send_response_in_thread_func’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:105:61: note: (11) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:105:61: note: (12) ‘error’ is NULL <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:362:25: note: (13) dereference of NULL ‘error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:105:9: note: in expansion of macro ‘g_warning’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/account.c:105:56: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') [core.NullDereference] <--[clang] [26/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/background.c.o -MF src/xdg-desktop-portal.p/background.c.o.d -o src/xdg-desktop-portal.p/background.c.o -c ../src/background.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/background.c:675:3: warning: Value stored to 'thread' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/background.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [27/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/clipboard.c.o -MF src/xdg-desktop-portal.p/clipboard.c.o.d -o src/xdg-desktop-portal.p/clipboard.c.o -c ../src/clipboard.c [28/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/documents.c.o -MF src/xdg-desktop-portal.p/documents.c.o.d -o src/xdg-desktop-portal.p/documents.c.o -c ../src/documents.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c: In function ‘register_document’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:84:10: warning: leak of file descriptor ‘open(g_path_get_dirname(g_file_get_path(g_file_new_for_uri(uri))), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:30: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (1) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:76:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:78:10: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:83:6: note: (3) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:84:10: note: (4) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:84:10: note: (5) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:84:10: note: (6) ‘open(g_path_get_dirname(g_file_get_path(g_file_new_for_uri(uri))), 2621440)’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:86:10: warning: leak of file descriptor ‘open(g_file_get_path(g_file_new_for_uri(uri)), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (1) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:76:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:78:10: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:83:6: note: (3) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:86:10: note: (4) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:86:10: note: (5) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:86:10: note: (6) ‘open(g_file_get_path(g_file_new_for_uri(uri)), 2621440)’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/documents.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [29/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/device.c.o -MF src/xdg-desktop-portal.p/device.c.o.d -o src/xdg-desktop-portal.p/device.c.o -c ../src/device.c In file included from /usr/include/glib-2.0/glib.h:117, <--[gcc] from /usr/include/glib-2.0/glib/gi18n.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:31: <--[gcc] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘device_query_permission_sync’ at ../src/device.c:105:28: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: warning: ‘desktop_id’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc] 32 | g_free (*pp); | ^~~~~~~~~~~~ /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c: In function ‘device_query_permission_sync’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:105:28: note: ‘desktop_id’ was declared here <--[gcc] 105 | g_autofree char *desktop_id; | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:117, <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] from /usr/include/glib-2.0/glib/gi18n.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:31: <--[gcc] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘device_query_permission_sync’ at ../src/device.c:105:28: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: warning: use of uninitialized value ‘desktop_id’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c: In function ‘device_query_permission_sync’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:196:1: note: (1) entry to ‘handle_access_device_in_thread’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:211:13: note: (2) calling ‘device_query_permission_sync’ from ‘handle_access_device_in_thread’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:83:1: note: (3) entry to ‘device_query_permission_sync’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:105:28: note: (4) region created on stack here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:105:28: note: (5) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:91:6: note: (6) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:97:15: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:103:10: note: (8) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:106:24: note: (9) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/device.c:105:28: note: (10) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘device_query_permission_sync’ <--[gcc] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘device_query_permission_sync’ at ../src/device.c:105:28: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (11) use of uninitialized value ‘desktop_id’ here <--[gcc] [30/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/email.c.o -MF src/xdg-desktop-portal.p/email.c.o.d -o src/xdg-desktop-portal.p/email.c.o -c ../src/email.c [31/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/flatpak-instance.c.o -MF src/xdg-desktop-portal.p/flatpak-instance.c.o.d -o src/xdg-desktop-portal.p/flatpak-instance.c.o -c ../src/flatpak-instance.c [32/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/glib-backports.c.o -MF src/xdg-desktop-portal.p/glib-backports.c.o.d -o src/xdg-desktop-portal.p/glib-backports.c.o -c ../src/glib-backports.c [33/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/camera.c.o -MF src/xdg-desktop-portal.p/camera.c.o.d -o src/xdg-desktop-portal.p/camera.c.o -c ../src/camera.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/camera.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:361: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:381: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:396: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:537: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:65: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:77: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:89: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:101: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:113: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/camera.c:165: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] [34/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/dynamic-launcher.c.o -MF src/xdg-desktop-portal.p/dynamic-launcher.c.o.d -o src/xdg-desktop-portal.p/dynamic-launcher.c.o -c ../src/dynamic-launcher.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/dynamic-launcher.c:416:3: warning: Value stored to 'launcher_data' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/dynamic-launcher.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [35/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/gamemode.c.o -MF src/xdg-desktop-portal.p/gamemode.c.o.d -o src/xdg-desktop-portal.p/gamemode.c.o -c ../src/gamemode.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/gamemode.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [36/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/file-chooser.c.o -MF src/xdg-desktop-portal.p/file-chooser.c.o.d -o src/xdg-desktop-portal.p/file-chooser.c.o -c ../src/file-chooser.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:127:64: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') [core.NullDereference] <--[clang] In file included from /usr/include/glib-2.0/glib.h:64, <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:33: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c: In function ‘send_response_in_thread_func’: <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:362:25: warning: dereference of NULL ‘error’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:127:15: note: in expansion of macro ‘g_warning’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:96:6: note: (1) following ‘false’ branch (when ‘response == 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:99:14: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:111:6: note: (3) following ‘true’ branch... <--[gcc] cc1: note: (4) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:115:24: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:118:29: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:118:29: note: (7) ‘error’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:120:14: note: (8) following ‘true’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:121:34: note: (9) ...to here <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:127:69: note: (10) ‘error’ is NULL <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:362:25: note: (11) dereference of NULL ‘error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:127:15: note: in expansion of macro ‘g_warning’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c: In function ‘looks_like_document_portal_path’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:163:7: warning: use of NULL ‘path’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:514:1: note: (1) entry to ‘handle_open_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:532:6: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:542:7: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:544:8: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:546:37: note: (5) ...to here <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (6) inlined call to ‘g_strdup_inline’ from ‘handle_open_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:547:38: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘handle_open_file’ at ../src/file-chooser.c:547:38: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c: In function ‘looks_like_document_portal_path’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:548:26: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:548:26: note: (9) ‘doc_id_from_app’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:549:13: note: (10) calling ‘looks_like_document_portal_path’ from ‘handle_open_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:153:1: note: (11) entry to ‘looks_like_document_portal_path’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:160:6: note: (12) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:163:7: note: (13) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/file-chooser.c:163:7: note: (14) argument 1 (‘path’) NULL where non-null expected <--[gcc] <built-in>: note: argument 1 of ‘__builtin_strstr’ must be non-null [37/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/meson-generated_.._xdp-impl-dbus.c.o -MF src/xdg-desktop-portal.p/meson-generated_.._xdp-impl-dbus.c.o.d -o src/xdg-desktop-portal.p/meson-generated_.._xdp-impl-dbus.c.o -c src/xdp-impl-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-impl-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [38/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/global-shortcuts.c.o -MF src/xdg-desktop-portal.p/global-shortcuts.c.o.d -o src/xdg-desktop-portal.p/global-shortcuts.c.o -c ../src/global-shortcuts.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/global-shortcuts.c:520:3: warning: Value stored to 'options' is never read [deadcode.DeadStores] <--[clang] [39/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/inhibit.c.o -MF src/xdg-desktop-portal.p/inhibit.c.o.d -o src/xdg-desktop-portal.p/inhibit.c.o -c ../src/inhibit.c [40/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/permissions.c.o -MF src/xdg-desktop-portal.p/permissions.c.o.d -o src/xdg-desktop-portal.p/permissions.c.o -c ../src/permissions.c [41/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/memory-monitor.c.o -MF src/xdg-desktop-portal.p/memory-monitor.c.o.d -o src/xdg-desktop-portal.p/memory-monitor.c.o -c ../src/memory-monitor.c [42/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/network-monitor.c.o -MF src/xdg-desktop-portal.p/network-monitor.c.o.d -o src/xdg-desktop-portal.p/network-monitor.c.o -c ../src/network-monitor.c [43/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/notification.c.o -MF src/xdg-desktop-portal.p/notification.c.o.d -o src/xdg-desktop-portal.p/notification.c.o -c ../src/notification.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/notification.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [44/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/meson-generated_.._xdp-dbus.c.o -MF src/xdg-desktop-portal.p/meson-generated_.._xdp-dbus.c.o.d -o src/xdg-desktop-portal.p/meson-generated_.._xdp-dbus.c.o -c src/xdp-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c: internal warning: child 448 timed out after 30s <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c: internal warning: child 446 timed out after 30s <--[clang] cswrap: error: child 448 (/usr/bin/gcc) terminated by signal 15 (timed out) cswrap: error: child 446 (/usr/bin/clang) terminated by signal 15 (timed out) [45/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/input-capture.c.o -MF src/xdg-desktop-portal.p/input-capture.c.o.d -o src/xdg-desktop-portal.p/input-capture.c.o -c ../src/input-capture.c [46/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/open-uri.c.o -MF src/xdg-desktop-portal.p/open-uri.c.o.d -o src/xdg-desktop-portal.p/open-uri.c.o -c ../src/open-uri.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/open-uri.c:785:7: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/open-uri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [47/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/pipewire.c.o -MF src/xdg-desktop-portal.p/pipewire.c.o.d -o src/xdg-desktop-portal.p/pipewire.c.o -c ../src/pipewire.c /usr/include/pipewire-0.3/pipewire/core.h:361: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:381: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:396: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:537: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:65: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:77: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:89: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:101: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:113: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:106: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:110: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:118: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:202: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:219: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:261: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:264: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:318: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:324: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/pipewire.c:332: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] [48/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/request.c.o -MF src/xdg-desktop-portal.p/request.c.o.d -o src/xdg-desktop-portal.p/request.c.o -c ../src/request.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/request.c:252: error: unknownMacro(CWE-0): There is an unknown macro here somewhere. Configuration is required. If __PRETTY_FUNCTION__ is a macro then please configure it. <--[cppcheck] [49/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/portal-impl.c.o -MF src/xdg-desktop-portal.p/portal-impl.c.o.d -o src/xdg-desktop-portal.p/portal-impl.c.o -c ../src/portal-impl.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/portal-impl.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/portal-impl.c:179:12: warning: Potential leak of memory pointed to by 'impl' [unix.Malloc] <--[clang] [50/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/power-profile-monitor.c.o -MF src/xdg-desktop-portal.p/power-profile-monitor.c.o.d -o src/xdg-desktop-portal.p/power-profile-monitor.c.o -c ../src/power-profile-monitor.c [51/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/proxy-resolver.c.o -MF src/xdg-desktop-portal.p/proxy-resolver.c.o.d -o src/xdg-desktop-portal.p/proxy-resolver.c.o -c ../src/proxy-resolver.c [52/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/print.c.o -MF src/xdg-desktop-portal.p/print.c.o.d -o src/xdg-desktop-portal.p/print.c.o -c ../src/print.c [53/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/realtime.c.o -MF src/xdg-desktop-portal.p/realtime.c.o.d -o src/xdg-desktop-portal.p/realtime.c.o -c ../src/realtime.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/realtime.c:87:3: warning: Value stored to 'response' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/realtime.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [54/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/restore-token.c.o -MF src/xdg-desktop-portal.p/restore-token.c.o.d -o src/xdg-desktop-portal.p/restore-token.c.o -c ../src/restore-token.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/restore-token.c:71:3: warning: Value stored to 'locker' is never read [deadcode.DeadStores] <--[clang] [55/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/remote-desktop.c.o -MF src/xdg-desktop-portal.p/remote-desktop.c.o.d -o src/xdg-desktop-portal.p/remote-desktop.c.o -c ../src/remote-desktop.c /usr/include/pipewire-0.3/pipewire/core.h:361: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:381: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:396: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:537: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:65: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:77: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:89: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:101: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:113: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] [56/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/secret.c.o -MF src/xdg-desktop-portal.p/secret.c.o.d -o src/xdg-desktop-portal.p/secret.c.o -c ../src/secret.c [57/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/screen-cast.c.o -MF src/xdg-desktop-portal.p/screen-cast.c.o.d -o src/xdg-desktop-portal.p/screen-cast.c.o -c ../src/screen-cast.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screen-cast.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:361: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:381: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:396: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/pipewire-0.3/pipewire/core.h:537: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:65: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:77: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:89: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:101: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /usr/include/spa-0.2/spa/support/thread.h:113: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screen-cast.c:683: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] [58/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/screenshot.c.o -MF src/xdg-desktop-portal.p/screenshot.c.o.d -o src/xdg-desktop-portal.p/screenshot.c.o -c ../src/screenshot.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:125:54: warning: Access to field 'message' results in a dereference of a null pointer (loaded from variable 'error') [core.NullDereference] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:327:3: warning: 2nd function call argument is an uninitialized value [core.CallAndMessage] <--[clang] In file included from /usr/include/glib-2.0/glib.h:64, <--[gcc] from /usr/include/glib-2.0/glib/gi18n.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:31: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c: In function ‘send_response_in_thread_func’: <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:362:25: warning: dereference of NULL ‘error’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:125:9: note: in expansion of macro ‘g_warning’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:94:21: note: (1) ‘error’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:104:6: note: (2) following ‘false’ branch (when ‘response == 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:107:12: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:108:6: note: (4) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:113:12: note: (5) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:113:10: note: (6) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:119:11: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:119:10: note: (8) following ‘true’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (9) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:120:16: note: in expansion of macro ‘g_strdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:125:59: note: (10) ‘error’ is NULL <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:362:25: note: (11) dereference of NULL ‘error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:125:9: note: in expansion of macro ‘g_warning’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/screenshot.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [59/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/trash.c.o -MF src/xdg-desktop-portal.p/trash.c.o.d -o src/xdg-desktop-portal.p/trash.c.o -c ../src/trash.c [60/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/settings.c.o -MF src/xdg-desktop-portal.p/settings.c.o.d -o src/xdg-desktop-portal.p/settings.c.o -c ../src/settings.c [61/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/session.c.o -MF src/xdg-desktop-portal.p/session.c.o.d -o src/xdg-desktop-portal.p/session.c.o -c ../src/session.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/session.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [62/209] gcc -Isrc/xdg-desktop-portal-rewrite-launchers.p -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal-rewrite-launchers.p/glib-backports.c.o -MF src/xdg-desktop-portal-rewrite-launchers.p/glib-backports.c.o.d -o src/xdg-desktop-portal-rewrite-launchers.p/glib-backports.c.o -c ../src/glib-backports.c [63/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/xdg-desktop-portal.c.o -MF src/xdg-desktop-portal.p/xdg-desktop-portal.c.o.d -o src/xdg-desktop-portal.p/xdg-desktop-portal.c.o -c ../src/xdg-desktop-portal.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/glib/gi18n.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c:28: <--[gcc] In function ‘glib_autoptr_clear_GOptionContext’, inlined from ‘glib_autoptr_cleanup_GOptionContext’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:72:1, inlined from ‘main’ at ../src/xdg-desktop-portal.c:412:29: /usr/include/glib-2.0/glib/gmacros.h:1356:10: warning: ‘context’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc] 1356 | { if (_ptr) (cleanup) ((ParentName *) _ptr); } \ | ^ /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c:412:29: note: ‘context’ was declared here <--[gcc] 412 | g_autoptr(GOptionContext) context; | ^~~~~~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/glib/gi18n.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c:28: <--[gcc] In function ‘glib_autoptr_clear_GOptionContext’, inlined from ‘glib_autoptr_cleanup_GOptionContext’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:72:1, inlined from ‘main’ at ../src/xdg-desktop-portal.c:412:29: /usr/include/glib-2.0/glib/gmacros.h:1356:10: warning: use of uninitialized value ‘context’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:72:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c: In function ‘main’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c:412:29: note: (1) region created on stack here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c:412:29: note: (2) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c:412:29: note: (3) inlined call to ‘glib_autoptr_cleanup_GOptionContext’ from ‘main’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (4) inlined call to ‘glib_autoptr_clear_GOptionContext’ from ‘glib_autoptr_cleanup_GOptionContext’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:72:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GOptionContext’, inlined from ‘glib_autoptr_cleanup_GOptionContext’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:72:1, inlined from ‘main’ at ../src/xdg-desktop-portal.c:412:29: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (5) use of uninitialized value ‘context’ here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:72:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdg-desktop-portal.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [64/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/sd-escape.c.o -MF src/xdg-desktop-portal.p/sd-escape.c.o.d -o src/xdg-desktop-portal.p/sd-escape.c.o -c ../src/sd-escape.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 'ans' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 't' [unix.Malloc] <--[clang] [65/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/wallpaper.c.o -MF src/xdg-desktop-portal.p/wallpaper.c.o.d -o src/xdg-desktop-portal.p/wallpaper.c.o -c ../src/wallpaper.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/wallpaper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [66/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/permission-store.c.o -MF document-portal/xdg-permission-store.p/permission-store.c.o.d -o document-portal/xdg-permission-store.p/permission-store.c.o -c ../document-portal/permission-store.c [67/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/xdg-permission-store.c.o -MF document-portal/xdg-permission-store.p/xdg-permission-store.c.o.d -o document-portal/xdg-permission-store.p/xdg-permission-store.c.o -c ../document-portal/xdg-permission-store.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/xdg-permission-store.c:404:7: warning: Value stored to 'old_entry' is never read [deadcode.DeadStores] <--[clang] [68/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/location.c.o -MF src/xdg-desktop-portal.p/location.c.o.d -o src/xdg-desktop-portal.p/location.c.o -c ../src/location.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/location.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [69/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/meson-generated_.._permission-store-dbus.c.o -MF document-portal/xdg-permission-store.p/meson-generated_.._permission-store-dbus.c.o.d -o document-portal/xdg-permission-store.p/meson-generated_.._permission-store-dbus.c.o -c document-portal/permission-store-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/permission-store-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [70/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/permission-db.c.o -MF document-portal/xdg-permission-store.p/permission-db.c.o.d -o document-portal/xdg-permission-store.p/permission-db.c.o -c ../document-portal/permission-db.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c: In function ‘sort_strv’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:86:3: warning: use of NULL ‘strv’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:892:1: note: (1) entry to ‘permission_db_print_string’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:27, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:35: <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:906:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_print_string’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] In file included from /usr/include/glib-2.0/glib.h:64: <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:906:9: note: (8) returning to ‘permission_db_print_string’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:907:3: note: (9) calling ‘sort_strv’ from ‘permission_db_print_string’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:84:1: note: (10) entry to ‘sort_strv’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:86:3: note: (11) argument 1 (‘strv’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:27: <--[gcc] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c: In function ‘permission_db_update’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:725:1: note: (1) entry to ‘permission_db_update’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: note: (9) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: note: (10) dereference of NULL ‘permission_db_list_ids(self) + (long unsigned int)i * 8’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:725:1: note: (1) entry to ‘permission_db_update’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:757:10: note: (9) calling ‘permission_db_list_apps’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:393:1: note: (10) entry to ‘permission_db_list_apps’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (11) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:757:10: note: (13) returning to ‘permission_db_update’ from ‘permission_db_list_apps’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: note: (14) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: note: (15) dereference of NULL ‘permission_db_list_apps(self) + (long unsigned int)i * 8’ <--[gcc] [71/209] gcc -Isrc/xdg-desktop-portal.p -Isrc -I../src -Idocument-portal -I../document-portal -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ src/xdg-desktop-portal.p/xdp-utils.c.o -MF src/xdg-desktop-portal.p/xdp-utils.c.o.d -o src/xdg-desktop-portal.p/xdp-utils.c.o -c ../src/xdp-utils.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:760:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:1738:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:2133:3: warning: Value stored to 'guard' is never read [deadcode.DeadStores] <--[clang] [72/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/.._src_sd-escape.c.o -MF document-portal/xdg-permission-store.p/.._src_sd-escape.c.o.d -o document-portal/xdg-permission-store.p/.._src_sd-escape.c.o -c ../src/sd-escape.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 'ans' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 't' [unix.Malloc] <--[clang] [73/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/gvdb_gvdb-builder.c.o -MF document-portal/xdg-permission-store.p/gvdb_gvdb-builder.c.o.d -o document-portal/xdg-permission-store.p/gvdb_gvdb-builder.c.o -c ../document-portal/gvdb/gvdb-builder.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c: In function ‘file_builder_allocate_for_hash’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:524:1: note: (1) entry to ‘gvdb_table_write_contents’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:532:13: note: (2) calling ‘gvdb_table_get_content’ from ‘gvdb_table_write_contents’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:504:1: note: (3) entry to ‘gvdb_table_get_content’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:514:3: note: (4) calling ‘file_builder_add_hash’ from ‘gvdb_table_get_content’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:352:1: note: (5) entry to ‘file_builder_add_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:371:3: note: (6) calling ‘file_builder_allocate_for_hash’ from ‘file_builder_add_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:305:1: note: (7) entry to ‘file_builder_allocate_for_hash’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:20: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch (when ‘n_bloom_words <= 134217727’)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:319:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:321:42: note: (9) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:329:10: note: (10) calling ‘file_builder_allocate’ from ‘file_builder_allocate_for_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:227:1: note: (11) entry to ‘file_builder_allocate’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:234:6: note: (12) following ‘true’ branch (when ‘size == 0’)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:329:10: note: (14) returning to ‘file_builder_allocate_for_hash’ from ‘file_builder_allocate’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: note: (15) dereference of NULL ‘file_builder_allocate(fb, 4, size, pointer)’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] [74/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/meson-generated_.._permission-store-dbus.c.o -MF document-portal/xdg-document-portal.p/meson-generated_.._permission-store-dbus.c.o.d -o document-portal/xdg-document-portal.p/meson-generated_.._permission-store-dbus.c.o -c document-portal/permission-store-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/permission-store-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [75/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/gvdb_gvdb-reader.c.o -MF document-portal/xdg-permission-store.p/gvdb_gvdb-reader.c.o.d -o document-portal/xdg-permission-store.p/gvdb_gvdb-reader.c.o -c ../document-portal/gvdb/gvdb-reader.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-reader.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [76/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/meson-generated_.._document-portal-dbus.c.o -MF document-portal/xdg-document-portal.p/meson-generated_.._document-portal-dbus.c.o.d -o document-portal/xdg-document-portal.p/meson-generated_.._document-portal-dbus.c.o -c document-portal/document-portal-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/document-portal-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [77/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/document-store.c.o -MF document-portal/xdg-document-portal.p/document-store.c.o.d -o document-portal/xdg-document-portal.p/document-store.c.o -c ../document-portal/document-store.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-store.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [78/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/file-transfer.c.o -MF document-portal/xdg-document-portal.p/file-transfer.c.o.d -o document-portal/xdg-document-portal.p/file-transfer.c.o -c ../document-portal/file-transfer.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c: In function ‘file_transfer_execute’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:295:16: warning: leak of file descriptor ‘open(*file.path, 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:266:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:281:15: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:291:17: note: (3) following ‘true’ branch (when ‘i < n_fds’)... <--[gcc] In file included from /usr/include/glib-2.0/glib.h:33, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:36: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:293:70: note: (4) ...to here <--[gcc] /usr/include/glib-2.0/glib/garray.h:149:46: note: in definition of macro ‘g_ptr_array_index’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:295:16: note: (5) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:295:16: note: (6) ‘open(*file.path, 2621440)’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:298:11: warning: Potential leak of memory pointed to by 'parent_devs' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:298:11: warning: Potential leak of memory pointed to by 'parent_inos' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:298:11: warning: Potential leak of memory pointed to by 'documents_flags' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:301:18: warning: Potential leak of memory pointed to by 'fds' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/file-transfer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [79/209] gcc -Idocument-portal/xdg-permission-store.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-permission-store.p/.._src_xdp-utils.c.o -MF document-portal/xdg-permission-store.p/.._src_xdp-utils.c.o.d -o document-portal/xdg-permission-store.p/.._src_xdp-utils.c.o -c ../src/xdp-utils.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:760:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:1738:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:2133:3: warning: Value stored to 'guard' is never read [deadcode.DeadStores] <--[clang] [80/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/.._src_sd-escape.c.o -MF document-portal/xdg-document-portal.p/.._src_sd-escape.c.o.d -o document-portal/xdg-document-portal.p/.._src_sd-escape.c.o -c ../src/sd-escape.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 'ans' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 't' [unix.Malloc] <--[clang] [81/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/permission-db.c.o -MF document-portal/xdg-document-portal.p/permission-db.c.o.d -o document-portal/xdg-document-portal.p/permission-db.c.o -c ../document-portal/permission-db.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c: In function ‘sort_strv’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:86:3: warning: use of NULL ‘strv’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:892:1: note: (1) entry to ‘permission_db_print_string’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:27, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:35: <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:906:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_print_string’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] In file included from /usr/include/glib-2.0/glib.h:64: <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:906:9: note: (8) returning to ‘permission_db_print_string’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:907:3: note: (9) calling ‘sort_strv’ from ‘permission_db_print_string’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:84:1: note: (10) entry to ‘sort_strv’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:86:3: note: (11) argument 1 (‘strv’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:27: <--[gcc] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c: In function ‘permission_db_update’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:725:1: note: (1) entry to ‘permission_db_update’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: note: (9) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: note: (10) dereference of NULL ‘permission_db_list_ids(self) + (long unsigned int)i * 8’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:725:1: note: (1) entry to ‘permission_db_update’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:757:10: note: (9) calling ‘permission_db_list_apps’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:393:1: note: (10) entry to ‘permission_db_list_apps’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (11) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:757:10: note: (13) returning to ‘permission_db_update’ from ‘permission_db_list_apps’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: note: (14) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: note: (15) dereference of NULL ‘permission_db_list_apps(self) + (long unsigned int)i * 8’ <--[gcc] [82/209] gcc -Itests/testdb.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/testdb.p/testdb.c.o -MF tests/testdb.p/testdb.c.o.d -o tests/testdb.p/testdb.c.o -c ../tests/testdb.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:3: <--[gcc] In function ‘glib_auto_cleanup_GStrv’, inlined from ‘verify_test_db’ at ../tests/testdb.c:70:17: /usr/include/glib-2.0/glib/gmacros.h:1379:89: warning: ‘ids’ may be used uninitialized [-Wmaybe-uninitialized] <--[gcc] 1379 | static G_GNUC_UNUSED inline void _GLIB_AUTO_FUNC_NAME(TypeName) (TypeName *_ptr) { if (*_ptr != none) (func) (*_ptr); } \ | ^ /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c: In function ‘verify_test_db’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:70:17: note: ‘ids’ was declared here <--[gcc] 70 | g_auto(GStrv) ids; | ^~~ In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:3: <--[gcc] In function ‘glib_auto_cleanup_GStrv’, inlined from ‘verify_test_db’ at ../tests/testdb.c:70:17: /usr/include/glib-2.0/glib/gmacros.h:1379:89: warning: use of uninitialized value ‘ids’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c: In function ‘verify_test_db’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:70:17: note: (1) region created on stack here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:70:17: note: (2) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:70:17: note: (3) inlined call to ‘glib_auto_cleanup_GStrv’ from ‘verify_test_db’ <--[gcc] In function ‘glib_auto_cleanup_GStrv’, inlined from ‘verify_test_db’ at ../tests/testdb.c:70:17: /usr/include/glib-2.0/glib/gmacros.h:1379:89: note: (4) use of uninitialized value ‘ids’ here <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1379:89: warning: use of uninitialized value ‘ids’ [CWE-457] [-Wanalyzer-use-of-uninitialized-value] <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c: In function ‘verify_test_db’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:178:1: note: (1) entry to ‘test_serialize’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:189:8: note: (2) calling ‘create_test_db’ from ‘test_serialize’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:16:1: note: (3) entry to ‘create_test_db’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (4) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:34:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:37:25: note: (5) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:38:5: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:39:18: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:39:5: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:39:5: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:37:19: note: (9) inlined call to ‘glib_auto_cleanup_GStrv’ from ‘create_test_db’ <--[gcc] In function ‘glib_auto_cleanup_GStrv’, inlined from ‘create_test_db’ at ../tests/testdb.c:37:19: /usr/include/glib-2.0/glib/gmacros.h:1379:105: note: (10) ...to here <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c: In function ‘verify_test_db’: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (11) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:44:5: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:45:19: note: (12) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:45:5: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (13) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:45:5: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:43:19: note: (14) inlined call to ‘glib_auto_cleanup_GStrv’ from ‘create_test_db’ <--[gcc] In function ‘glib_auto_cleanup_GStrv’, inlined from ‘create_test_db’ at ../tests/testdb.c:43:19: /usr/include/glib-2.0/glib/gmacros.h:1379:105: note: (15) ...to here <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c: In function ‘verify_test_db’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:61:6: note: (16) following ‘false’ branch (when ‘serialized == 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:26:32: note: (17) inlined call to ‘glib_autoptr_cleanup_PermissionDbEntry’ from ‘create_test_db’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (18) inlined call to ‘glib_autoptr_clear_PermissionDbEntry’ from ‘glib_autoptr_cleanup_PermissionDbEntry’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:100:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_PermissionDbEntry’, inlined from ‘glib_autoptr_cleanup_PermissionDbEntry’ at ../document-portal/permission-db.h:100:1, inlined from ‘create_test_db’ at ../tests/testdb.c:26:32: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (19) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:100:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c: In function ‘verify_test_db’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:189:8: note: (20) returning to ‘test_serialize’ from ‘create_test_db’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:191:3: note: (21) calling ‘verify_test_db’ from ‘test_serialize’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:68:1: note: (22) entry to ‘verify_test_db’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:70:17: note: (23) region created on stack here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:70:17: note: (24) capacity: 8 bytes <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:70:17: note: (25) inlined call to ‘glib_auto_cleanup_GStrv’ from ‘verify_test_db’ <--[gcc] In function ‘glib_auto_cleanup_GStrv’, inlined from ‘verify_test_db’ at ../tests/testdb.c:70:17: /usr/include/glib-2.0/glib/gmacros.h:1379:89: note: (26) use of uninitialized value ‘ids’ here <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:103:1: note: in expansion of macro ‘G_DEFINE_AUTO_CLEANUP_FREE_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/testdb.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [83/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/document-portal.c.o -MF document-portal/xdg-document-portal.p/document-portal.c.o.d -o document-portal/xdg-document-portal.p/document-portal.c.o -c ../document-portal/document-portal.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:736:7: warning: Potential leak of memory pointed to by 'fd' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:736:7: warning: Potential leak of memory pointed to by 'documents_flags' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c: In function ‘validate_fd’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:411:12: warning: leak of file descriptor ‘open(dirname, 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1222:1: note: (1) entry to ‘portal_lookup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1234:6: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1242:3: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1245:6: note: (4) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1254:8: note: (5) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1254:8: note: (6) calling ‘validate_fd’ from ‘portal_lookup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:370:1: note: (7) entry to ‘validate_fd’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:388:6: note: (8) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:394:20: note: (9) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:394:6: note: (10) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:400:17: note: (11) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:411:12: note: (12) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:411:12: note: (13) ‘open(dirname, 2621440)’ leaks here; was opened at (12) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c: In function ‘document_add_full’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:863:19: warning: use of NULL ‘dirname’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:779:1: note: (1) entry to ‘document_add_full’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:802:17: note: (2) following ‘true’ branch (when ‘i < n_args’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:805:24: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:805:24: note: (4) ‘path’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:813:12: note: (5) calling ‘validate_fd’ from ‘document_add_full’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:370:1: note: (6) entry to ‘validate_fd’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:388:6: note: (7) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:394:20: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:412:6: note: (9) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:415:6: note: (10) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:422:11: note: (11) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:423:18: note: (12) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:422:54: note: (13) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:427:6: note: (14) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:427:6: note: (15) following ‘true’ branch (when ‘path_out’ is non-NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:428:15: note: (16) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:382:18: note: (17) calling ‘xdp_close_fd’ from ‘validate_fd’ <--[gcc] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-store.h:6, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:39: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h:164:1: note: (18) entry to ‘xdp_close_fd’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:35: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (19) following ‘true’ branch (when ‘fdp’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h:168:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h:170:12: note: (20) inlined call to ‘xdp_steal_fd’ from ‘xdp_close_fd’ <--[gcc] In function ‘xdp_steal_fd’, inlined from ‘xdp_close_fd’ at ../src/xdp-utils.h:170:12: /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h:158:7: note: (21) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h: In function ‘document_add_full’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h:171:6: note: (22) following ‘true’ branch (when ‘fd >= 0’)... <--[gcc] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:33: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h:173:15: note: (23) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:382:18: note: (24) returning to ‘validate_fd’ from ‘xdp_close_fd’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:813:12: note: (25) returning to ‘document_add_full’ from ‘validate_fd’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:813:10: note: (26) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:816:22: note: (27) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:836:10: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:838:28: note: (29) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:838:28: note: (30) ‘real_path’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:842:16: note: (31) calling ‘verify_existing_document’ from ‘document_add_full’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:441:1: note: (32) entry to ‘verify_existing_document’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (33) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:451:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:454:8: note: (34) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:456:6: note: (35) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.h:184:5: note: (36) inlined call to ‘g_mutex_locker_new’ from ‘verify_existing_document’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:461:3: note: in expansion of macro ‘XDP_AUTOLOCK’ <--[gcc] In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:34: <--[gcc] In function ‘g_mutex_locker_new’, inlined from ‘verify_existing_document’ at ../document-portal/document-portal.c:461:3: /usr/include/glib-2.0/glib/gthread.h:368:3: note: (37) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c: In function ‘document_add_full’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:469:6: note: (38) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:473:6: note: (39) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:448:32: note: (40) inlined call to ‘glib_autoptr_cleanup_PermissionDbEntry’ from ‘verify_existing_document’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (41) inlined call to ‘glib_autoptr_clear_PermissionDbEntry’ from ‘glib_autoptr_cleanup_PermissionDbEntry’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:100:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_PermissionDbEntry’, inlined from ‘glib_autoptr_cleanup_PermissionDbEntry’ at ../document-portal/permission-db.h:100:1, inlined from ‘verify_existing_document’ at ../document-portal/document-portal.c:448:32: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (42) following ‘true’ branch (when ‘old_entry’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:100:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1356:17: note: (43) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:100:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c: In function ‘document_add_full’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:842:16: note: (44) returning to ‘document_add_full’ from ‘verify_existing_document’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:843:14: note: (45) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:852:15: note: (46) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:852:14: note: (47) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:856:15: note: (48) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:859:18: note: (49) following ‘true’ branch... <--[gcc] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[gcc] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[gcc] from /usr/include/glib-2.0/glib.h:56: <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (50) inlined call to ‘g_strdup_inline’ from ‘document_add_full’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:860:27: note: in expansion of macro ‘g_strdup’ <--[gcc] In function ‘g_strdup_inline’, inlined from ‘document_add_full’ at ../document-portal/document-portal.c:860:27: /usr/include/glib-2.0/glib/gstrfuncs.h:311:7: note: (51) ...to here <--[gcc] /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (52) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c: In function ‘document_add_full’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:863:19: note: (53) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:863:19: note: (54) argument 1 (‘dirname’) NULL where non-null expected <--[gcc] In file included from /usr/include/features.h:511, <--[gcc] from /usr/include/locale.h:25, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:25: <--[gcc] /usr/include/sys/stat.h:327:12: note: argument 1 of ‘lstat’ must be non-null <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c: In function ‘portal_lookup’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1244:8: warning: leak of file descriptor ‘open(filename, 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1234:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1242:3: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1244:8: note: (3) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal.c:1244:8: note: (4) ‘open(filename, 2621440)’ leaks here; was opened at (3) <--[gcc] [84/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/gvdb_gvdb-builder.c.o -MF document-portal/xdg-document-portal.p/gvdb_gvdb-builder.c.o.d -o document-portal/xdg-document-portal.p/gvdb_gvdb-builder.c.o -c ../document-portal/gvdb/gvdb-builder.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c: In function ‘file_builder_allocate_for_hash’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:524:1: note: (1) entry to ‘gvdb_table_write_contents’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:532:13: note: (2) calling ‘gvdb_table_get_content’ from ‘gvdb_table_write_contents’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:504:1: note: (3) entry to ‘gvdb_table_get_content’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:514:3: note: (4) calling ‘file_builder_add_hash’ from ‘gvdb_table_get_content’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:352:1: note: (5) entry to ‘file_builder_add_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:371:3: note: (6) calling ‘file_builder_allocate_for_hash’ from ‘file_builder_add_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:305:1: note: (7) entry to ‘file_builder_allocate_for_hash’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:20: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch (when ‘n_bloom_words <= 134217727’)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:319:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:321:42: note: (9) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:329:10: note: (10) calling ‘file_builder_allocate’ from ‘file_builder_allocate_for_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:227:1: note: (11) entry to ‘file_builder_allocate’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:234:6: note: (12) following ‘true’ branch (when ‘size == 0’)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:329:10: note: (14) returning to ‘file_builder_allocate_for_hash’ from ‘file_builder_allocate’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: note: (15) dereference of NULL ‘file_builder_allocate(fb, 4, size, pointer)’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] [85/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/gvdb_gvdb-reader.c.o -MF document-portal/xdg-document-portal.p/gvdb_gvdb-reader.c.o.d -o document-portal/xdg-document-portal.p/gvdb_gvdb-reader.c.o -c ../document-portal/gvdb/gvdb-reader.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-reader.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [86/209] gcc -Itests/test-doc-portal.p -Itests -I../tests -I. -I.. -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-doc-portal.p/can-use-fuse.c.o -MF tests/test-doc-portal.p/can-use-fuse.c.o.d -o tests/test-doc-portal.p/can-use-fuse.c.o -c ../tests/can-use-fuse.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/can-use-fuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [87/209] gcc -Itests/testdb.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/testdb.p/.._document-portal_permission-db.c.o -MF tests/testdb.p/.._document-portal_permission-db.c.o.d -o tests/testdb.p/.._document-portal_permission-db.c.o -c ../document-portal/permission-db.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c: In function ‘sort_strv’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:86:3: warning: use of NULL ‘strv’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:892:1: note: (1) entry to ‘permission_db_print_string’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:27, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:35: <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:899:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:906:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_print_string’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] In file included from /usr/include/glib-2.0/glib.h:64: <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:906:9: note: (8) returning to ‘permission_db_print_string’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:907:3: note: (9) calling ‘sort_strv’ from ‘permission_db_print_string’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:84:1: note: (10) entry to ‘sort_strv’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:86:3: note: (11) argument 1 (‘strv’) NULL where non-null expected <--[gcc] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:27: <--[gcc] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c: In function ‘permission_db_update’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:725:1: note: (1) entry to ‘permission_db_update’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: note: (9) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:745:18: note: (10) dereference of NULL ‘permission_db_list_ids(self) + (long unsigned int)i * 8’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:725:1: note: (1) entry to ‘permission_db_update’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:3: note: in expansion of macro ‘g_return_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:736:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:341:1: note: (5) entry to ‘permission_db_list_ids’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch (when ‘self’ is non-NULL)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:348:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:744:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:757:10: note: (9) calling ‘permission_db_list_apps’ from ‘permission_db_update’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:393:1: note: (10) entry to ‘permission_db_list_apps’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (11) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.h:36:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[gcc] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (12) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:400:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:757:10: note: (13) returning to ‘permission_db_update’ from ‘permission_db_list_apps’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: note: (14) ‘0’ is NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/permission-db.c:758:19: note: (15) dereference of NULL ‘permission_db_list_apps(self) + (long unsigned int)i * 8’ <--[gcc] [88/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/.._src_xdp-utils.c.o -MF document-portal/xdg-document-portal.p/.._src_xdp-utils.c.o.d -o document-portal/xdg-document-portal.p/.._src_xdp-utils.c.o -c ../src/xdp-utils.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:760:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:1738:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:2133:3: warning: Value stored to 'guard' is never read [deadcode.DeadStores] <--[clang] [89/209] gcc -Idocument-portal/xdg-document-portal.p -Idocument-portal -I../document-portal -Isrc -I../src -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/libgeoclue-2.0 -I/usr/include/pipewire-0.3 -I/usr/include/spa-0.2 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_REENTRANT -pthread -DWITH_GZFILEOP -MD -MQ document-portal/xdg-document-portal.p/document-portal-fuse.c.o -MF document-portal/xdg-document-portal.p/document-portal-fuse.c.o.d -o document-portal/xdg-document-portal.p/document-portal-fuse.c.o -c ../document-portal/document-portal-fuse.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal-fuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal-fuse.c:1624:21: warning: 1st function call argument is an uninitialized value [core.CallAndMessage] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal-fuse.c:2419:23: warning: Potential leak of memory pointed to by 'p' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/document-portal-fuse.c:3108:12: warning: Potential leak of memory pointed to by 'buf' [unix.Malloc] <--[clang] [90/209] gcc -Itests/test-doc-portal.p -Itests -I../tests -I. -I.. -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-doc-portal.p/utils.c.o -MF tests/test-doc-portal.p/utils.c.o.d -o tests/test-doc-portal.p/utils.c.o -c ../tests/utils.c [91/209] gcc -Itests/testdb.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/testdb.p/.._document-portal_gvdb_gvdb-builder.c.o -MF tests/testdb.p/.._document-portal_gvdb_gvdb-builder.c.o.d -o tests/testdb.p/.._document-portal_gvdb_gvdb-builder.c.o -c ../document-portal/gvdb/gvdb-builder.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c: In function ‘file_builder_allocate_for_hash’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: warning: Null pointer passed to 1st parameter expecting 'nonnull' [core.NonNullParamChecker] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:524:1: note: (1) entry to ‘gvdb_table_write_contents’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:532:13: note: (2) calling ‘gvdb_table_get_content’ from ‘gvdb_table_write_contents’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:504:1: note: (3) entry to ‘gvdb_table_get_content’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:514:3: note: (4) calling ‘file_builder_add_hash’ from ‘gvdb_table_get_content’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:352:1: note: (5) entry to ‘file_builder_add_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:371:3: note: (6) calling ‘file_builder_allocate_for_hash’ from ‘file_builder_add_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:305:1: note: (7) entry to ‘file_builder_allocate_for_hash’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.h:23, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:20: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch (when ‘n_bloom_words <= 134217727’)... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:319:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:321:42: note: (9) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:329:10: note: (10) calling ‘file_builder_allocate’ from ‘file_builder_allocate_for_hash’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:227:1: note: (11) entry to ‘file_builder_allocate’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:234:6: note: (12) following ‘true’ branch (when ‘size == 0’)... <--[gcc] cc1: note: (13) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:329:10: note: (14) returning to ‘file_builder_allocate_for_hash’ from ‘file_builder_allocate’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-builder.c:332:3: note: (15) dereference of NULL ‘file_builder_allocate(fb, 4, size, pointer)’ <--[gcc] [92/209] gcc -Itests/testdb.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/testdb.p/.._document-portal_gvdb_gvdb-reader.c.o -MF tests/testdb.p/.._document-portal_gvdb_gvdb-reader.c.o.d -o tests/testdb.p/.._document-portal_gvdb_gvdb-reader.c.o -c ../document-portal/gvdb/gvdb-reader.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/document-portal/gvdb/gvdb-reader.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [93/209] gcc -Itests/test-doc-portal.p -Itests -I../tests -I. -I.. -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-doc-portal.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o -MF tests/test-doc-portal.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o.d -o tests/test-doc-portal.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o -c document-portal/document-portal-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/document-portal-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [94/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_test-backends.c.o -MF tests/test-backends.p/backend_test-backends.c.o.d -o tests/test-backends.p/backend_test-backends.c.o -c ../tests/backend/test-backends.c [95/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o -MF tests/test-backends.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o.d -o tests/test-backends.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o -c document-portal/document-portal-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/document-portal-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [96/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_request.c.o -MF tests/test-backends.p/backend_request.c.o.d -o tests/test-backends.p/backend_request.c.o -c ../tests/backend/request.c [97/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_session.c.o -MF tests/test-backends.p/backend_session.c.o.d -o tests/test-backends.p/backend_session.c.o -c ../tests/backend/session.c [98/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_account.c.o -MF tests/test-backends.p/backend_account.c.o.d -o tests/test-backends.p/backend_account.c.o -c ../tests/backend/account.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/backend/account.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [99/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_background.c.o -MF tests/test-backends.p/backend_background.c.o.d -o tests/test-backends.p/backend_background.c.o -c ../tests/backend/background.c [100/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_access.c.o -MF tests/test-backends.p/backend_access.c.o.d -o tests/test-backends.p/backend_access.c.o -c ../tests/backend/access.c [101/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_appchooser.c.o -MF tests/test-backends.p/backend_appchooser.c.o.d -o tests/test-backends.p/backend_appchooser.c.o -c ../tests/backend/appchooser.c [102/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_filechooser.c.o -MF tests/test-backends.p/backend_filechooser.c.o.d -o tests/test-backends.p/backend_filechooser.c.o -c ../tests/backend/filechooser.c [103/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_lockdown.c.o -MF tests/test-backends.p/backend_lockdown.c.o.d -o tests/test-backends.p/backend_lockdown.c.o -c ../tests/backend/lockdown.c [104/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_notification.c.o -MF tests/test-backends.p/backend_notification.c.o.d -o tests/test-backends.p/backend_notification.c.o -c ../tests/backend/notification.c [105/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_inhibit.c.o -MF tests/test-backends.p/backend_inhibit.c.o.d -o tests/test-backends.p/backend_inhibit.c.o -c ../tests/backend/inhibit.c [106/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_email.c.o -MF tests/test-backends.p/backend_email.c.o.d -o tests/test-backends.p/backend_email.c.o -c ../tests/backend/email.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/backend/email.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [107/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_screenshot.c.o -MF tests/test-backends.p/backend_screenshot.c.o.d -o tests/test-backends.p/backend_screenshot.c.o -c ../tests/backend/screenshot.c [108/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/glib-backports.c.o -MF tests/test-backends.p/glib-backports.c.o.d -o tests/test-backends.p/glib-backports.c.o -c ../tests/glib-backports.c [109/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_print.c.o -MF tests/test-backends.p/backend_print.c.o.d -o tests/test-backends.p/backend_print.c.o -c ../tests/backend/print.c [110/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_settings.c.o -MF tests/test-backends.p/backend_settings.c.o.d -o tests/test-backends.p/backend_settings.c.o -c ../tests/backend/settings.c [111/209] gcc -Itests/test-doc-portal.p -Itests -I../tests -I. -I.. -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -I/usr/include/fuse3 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-doc-portal.p/test-doc-portal.c.o -MF tests/test-doc-portal.p/test-doc-portal.c.o.d -o tests/test-doc-portal.p/test-doc-portal.c.o -c ../tests/test-doc-portal.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:846:3: warning: Value stored to 'res' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_not_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:137:8: warning: leak of file descriptor ‘open(make_doc_path(id, basename, app), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:12: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (10) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GVariant’, inlined from ‘glib_autoptr_cleanup_GVariant’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1, inlined from ‘export_named_file’ at ../tests/test-doc-portal.c:179:23: /usr/include/glib-2.0/glib/gmacros.h:1356:17: note: (13) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_not_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:585:3: note: (30) returning to ‘test_add_named’ from ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:586:3: note: (31) calling ‘assert_doc_not_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:127:1: note: (32) entry to ‘assert_doc_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:129:27: note: (33) calling ‘make_doc_path’ from ‘assert_doc_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:91:1: note: (34) entry to ‘make_doc_path’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:93:26: note: (35) calling ‘make_doc_dir’ from ‘make_doc_path’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (36) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (37) following ‘false’ branch (when ‘app’ is NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:87:12: note: (38) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:93:26: note: (39) returning to ‘make_doc_path’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:129:27: note: (40) returning to ‘assert_doc_not_exist’ from ‘make_doc_path’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:137:8: note: (41) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:137:8: note: (42) ‘open(make_doc_path(id, basename, app), 0)’ leaks here; was opened at (41) <--[gcc] In file included from /usr/include/glib-2.0/glib.h:89: <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:75:48: warning: leak of file descriptor ‘open(make_doc_path(id, basename, app), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (10) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GVariant’, inlined from ‘glib_autoptr_cleanup_GVariant’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1, inlined from ‘export_named_file’ at ../tests/test-doc-portal.c:179:23: /usr/include/glib-2.0/glib/gmacros.h:1356:17: note: (13) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_not_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:585:3: note: (30) returning to ‘test_add_named’ from ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:586:3: note: (31) calling ‘assert_doc_not_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:127:1: note: (32) entry to ‘assert_doc_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:129:27: note: (33) calling ‘make_doc_path’ from ‘assert_doc_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:91:1: note: (34) entry to ‘make_doc_path’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:93:26: note: (35) calling ‘make_doc_dir’ from ‘make_doc_path’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (36) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (37) following ‘false’ branch (when ‘app’ is NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:87:12: note: (38) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:93:26: note: (39) returning to ‘make_doc_path’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:129:27: note: (40) returning to ‘assert_doc_not_exist’ from ‘make_doc_path’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:137:8: note: (41) opened here <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:74:49: note: (42) assuming ‘open(make_doc_path(id, basename, app), 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:74:49: note: (43) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:75:48: note: (44) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:75:48: note: (45) ‘open(make_doc_path(id, basename, app), 0)’ leaks here; was opened at (41) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_dir_not_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:153:8: warning: leak of file descriptor ‘open(make_doc_dir(id, app), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (10) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GVariant’, inlined from ‘glib_autoptr_cleanup_GVariant’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1, inlined from ‘export_named_file’ at ../tests/test-doc-portal.c:179:23: /usr/include/glib-2.0/glib/gmacros.h:1356:17: note: (13) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_dir_not_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:153:8: note: (30) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:153:8: note: (31) ‘open(make_doc_dir(id, app), 0)’ leaks here; was opened at (30) <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:75:48: warning: leak of file descriptor ‘open(make_doc_dir(id, app), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (10) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GVariant’, inlined from ‘glib_autoptr_cleanup_GVariant’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1, inlined from ‘export_named_file’ at ../tests/test-doc-portal.c:179:23: /usr/include/glib-2.0/glib/gmacros.h:1356:17: note: (13) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_dir_not_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:153:8: note: (30) opened here <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:74:49: note: (31) assuming ‘open(make_doc_dir(id, app), 0)’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:74:49: note: (32) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:75:48: note: (33) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:75:48: note: (34) ‘open(make_doc_dir(id, app), 0)’ leaks here; was opened at (30) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_dir_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:168:8: warning: leak of file descriptor ‘open(make_doc_dir(id, app), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (8) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (10) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GVariant’, inlined from ‘glib_autoptr_cleanup_GVariant’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1, inlined from ‘export_named_file’ at ../tests/test-doc-portal.c:179:23: /usr/include/glib-2.0/glib/gmacros.h:1356:17: note: (13) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘assert_doc_dir_exist’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:168:8: note: (22) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:168:8: note: (23) ‘open(make_doc_dir(id, app), 0)’ leaks here; was opened at (22) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c: In function ‘test_create_docs’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (3) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (4) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (3) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (5) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:521:3: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (3) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (5) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:521:3: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (3) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (5) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:49: note: (7) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:3: note: in expansion of macro ‘g_assert_no_error’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:219:48: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:3: note: in expansion of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: note: (9) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (3) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (5) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (3) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (5) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:517:9: note: (3) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (5) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (7) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:522:22: note: (9) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:524:9: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (3) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:524:9: note: (5) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:524:9: note: (6) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:527:13: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (3) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:524:9: note: (5) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (7) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:527:13: note: (9) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:528:15: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (3) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:524:9: note: (5) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (7) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:528:15: note: (9) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:528:15: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (3) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:524:9: note: (5) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (7) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:218:49: note: (9) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:529:3: note: in expansion of macro ‘g_assert_no_error’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:219:48: note: (10) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:529:3: note: in expansion of macro ‘g_assert_no_error’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:528:15: note: (11) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:528:15: warning: leak of file descriptor ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (3) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:524:9: note: (5) opened here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1237:7: note: (7) following ‘true’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1243:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1244:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[gcc] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-doc-portal.c:528:15: note: (9) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[gcc] [112/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/backend_wallpaper.c.o -MF tests/test-backends.p/backend_wallpaper.c.o.d -o tests/test-backends.p/backend_wallpaper.c.o -c ../tests/backend/wallpaper.c [113/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/.._src_sd-escape.c.o -MF tests/test-portals.p/.._src_sd-escape.c.o.d -o tests/test-portals.p/.._src_sd-escape.c.o -c ../src/sd-escape.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 'ans' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 't' [unix.Malloc] <--[clang] [114/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/account.c.o -MF tests/test-portals.p/account.c.o.d -o tests/test-portals.p/account.c.o -c ../tests/account.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/account.c:78:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] [115/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o -MF tests/test-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o.d -o tests/test-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o -c document-portal/permission-store-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/permission-store-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [116/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/utils.c.o -MF tests/test-portals.p/utils.c.o.d -o tests/test-portals.p/utils.c.o -c ../tests/utils.c [117/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/background.c.o -MF tests/test-portals.p/background.c.o.d -o tests/test-portals.p/background.c.o -c ../tests/background.c [118/209] gcc -Itests/test-backends.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-backends.p/meson-generated_.._.._src_xdp-impl-dbus.c.o -MF tests/test-backends.p/meson-generated_.._.._src_xdp-impl-dbus.c.o.d -o tests/test-backends.p/meson-generated_.._.._src_xdp-impl-dbus.c.o -c src/xdp-impl-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-impl-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [119/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/inhibit.c.o -MF tests/test-portals.p/inhibit.c.o.d -o tests/test-portals.p/inhibit.c.o -c ../tests/inhibit.c [120/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/location.c.o -MF tests/test-portals.p/location.c.o.d -o tests/test-portals.p/location.c.o -c ../tests/location.c [121/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/camera.c.o -MF tests/test-portals.p/camera.c.o.d -o tests/test-portals.p/camera.c.o -c ../tests/camera.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/camera.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [122/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/email.c.o -MF tests/test-portals.p/email.c.o.d -o tests/test-portals.p/email.c.o -c ../tests/email.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/email.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [123/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/filechooser.c.o -MF tests/test-portals.p/filechooser.c.o.d -o tests/test-portals.p/filechooser.c.o -c ../tests/filechooser.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/filechooser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [124/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/test-portals.c.o -MF tests/test-portals.p/test-portals.c.o.d -o tests/test-portals.p/test-portals.c.o -c ../tests/test-portals.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c: In function ‘global_setup’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:130:1: note: (1) entry to ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:146:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:100:1: note: (3) entry to ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:108:7: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:107:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (7) calling ‘glib_autoptr_cleanup_GString’ from ‘update_data_dirs’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:5: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1338:43: note: (8) entry to ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (9) inlined call to ‘glib_autoptr_clear_GString’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GString’, inlined from ‘glib_autoptr_cleanup_GString’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (10) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h: In function ‘global_setup’: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:56: note: (11) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (12) returning to ‘update_data_dirs’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:146:3: note: (13) returning to ‘global_setup’ from ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:187:3: note: (14) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:56:1: note: (15) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:58:15: note: (16) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (17) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (18) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:187:3: note: (20) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (21) ‘xdup(2)’ leaks here; was opened at (16) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:130:1: note: (1) entry to ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:146:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:100:1: note: (3) entry to ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:108:7: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:107:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (7) calling ‘glib_autoptr_cleanup_GString’ from ‘update_data_dirs’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1338:43: note: (8) entry to ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (9) inlined call to ‘glib_autoptr_clear_GString’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GString’, inlined from ‘glib_autoptr_cleanup_GString’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (10) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h: In function ‘global_setup’: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:56: note: (11) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (12) returning to ‘update_data_dirs’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:146:3: note: (13) returning to ‘global_setup’ from ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:187:3: note: (14) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:56:1: note: (15) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:58:15: note: (16) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (17) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (18) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:187:3: note: (20) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:192:45: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:192:11: note: (22) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:227:3: note: (23) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:56:1: note: (24) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:58:15: note: (25) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (26) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (27) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (28) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:227:3: note: (29) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (30) ‘xdup(2)’ leaks here; was opened at (25) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:130:1: note: (1) entry to ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:146:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:100:1: note: (3) entry to ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:108:7: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:107:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (7) calling ‘glib_autoptr_cleanup_GString’ from ‘update_data_dirs’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1338:43: note: (8) entry to ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (9) inlined call to ‘glib_autoptr_clear_GString’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GString’, inlined from ‘glib_autoptr_cleanup_GString’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (10) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h: In function ‘global_setup’: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:56: note: (11) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:104:22: note: (12) returning to ‘update_data_dirs’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:146:3: note: (13) returning to ‘global_setup’ from ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:187:3: note: (14) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:56:1: note: (15) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:58:15: note: (16) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (17) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (18) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:187:3: note: (20) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:227:3: note: (21) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:56:1: note: (22) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:58:15: note: (23) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (24) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (25) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (26) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:227:3: note: (27) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:236:45: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:236:11: note: (29) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:274:3: note: (30) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:56:1: note: (31) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:58:15: note: (32) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (33) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:60:6: note: (34) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (35) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:274:3: note: (36) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-portals.c:63:10: note: (37) ‘xdup(2)’ leaks here; was opened at (32) <--[gcc] [125/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/notification.c.o -MF tests/test-portals.p/notification.c.o.d -o tests/test-portals.p/notification.c.o -c ../tests/notification.c [126/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/trash.c.o -MF tests/test-portals.p/trash.c.o.d -o tests/test-portals.p/trash.c.o -c ../tests/trash.c [127/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/glib-backports.c.o -MF tests/test-portals.p/glib-backports.c.o.d -o tests/test-portals.p/glib-backports.c.o -c ../tests/glib-backports.c [128/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/screenshot.c.o -MF tests/test-portals.p/screenshot.c.o.d -o tests/test-portals.p/screenshot.c.o -c ../tests/screenshot.c [129/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/print.c.o -MF tests/test-portals.p/print.c.o.d -o tests/test-portals.p/print.c.o -c ../tests/print.c [130/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/openuri.c.o -MF tests/test-portals.p/openuri.c.o.d -o tests/test-portals.p/openuri.c.o -c ../tests/openuri.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/openuri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [131/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/wallpaper.c.o -MF tests/test-portals.p/wallpaper.c.o.d -o tests/test-portals.p/wallpaper.c.o -c ../tests/wallpaper.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/wallpaper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [132/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o -MF tests/test-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o.d -o tests/test-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o -c src/xdp-impl-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-impl-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [133/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o -MF tests/limited-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o.d -o tests/limited-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o -c document-portal/permission-store-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/permission-store-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [134/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/utils.c.o -MF tests/limited-portals.p/utils.c.o.d -o tests/limited-portals.p/utils.c.o -c ../tests/utils.c [135/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/.._src_xdp-utils.c.o -MF tests/test-portals.p/.._src_xdp-utils.c.o.d -o tests/test-portals.p/.._src_xdp-utils.c.o -c ../src/xdp-utils.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:760:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:1738:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:2133:3: warning: Value stored to 'guard' is never read [deadcode.DeadStores] <--[clang] [136/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/.._src_sd-escape.c.o -MF tests/limited-portals.p/.._src_sd-escape.c.o.d -o tests/limited-portals.p/.._src_sd-escape.c.o -c ../src/sd-escape.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 'ans' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 't' [unix.Malloc] <--[clang] [137/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/account.c.o -MF tests/limited-portals.p/account.c.o.d -o tests/limited-portals.p/account.c.o -c ../tests/account.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/account.c:78:3: warning: Value stored to 'ret' is never read [deadcode.DeadStores] <--[clang] [138/209] gcc -Itests/test-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/test-portals.p/meson-generated_.._.._src_xdp-dbus.c.o -MF tests/test-portals.p/meson-generated_.._.._src_xdp-dbus.c.o.d -o tests/test-portals.p/meson-generated_.._.._src_xdp-dbus.c.o -c src/xdp-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c: internal warning: child 1837 timed out after 30s <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c: internal warning: child 1839 timed out after 30s <--[gcc] cswrap: error: child 1837 (/usr/bin/clang) terminated by signal 15 (timed out) cswrap: error: child 1839 (/usr/bin/gcc) terminated by signal 15 (timed out) [139/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/background.c.o -MF tests/limited-portals.p/background.c.o.d -o tests/limited-portals.p/background.c.o -c ../tests/background.c [140/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/limited-portals.c.o -MF tests/limited-portals.p/limited-portals.c.o.d -o tests/limited-portals.p/limited-portals.c.o -c ../tests/limited-portals.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c: In function ‘global_setup’: <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:131:1: note: (1) entry to ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:147:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:101:1: note: (3) entry to ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:109:7: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:108:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (7) calling ‘glib_autoptr_cleanup_GString’ from ‘update_data_dirs’ <--[gcc] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[gcc] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[gcc] from /usr/include/glib-2.0/glib/galloca.h:34, <--[gcc] from /usr/include/glib-2.0/glib.h:32, <--[gcc] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[gcc] from /usr/include/glib-2.0/glib-object.h:24, <--[gcc] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[gcc] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[gcc] from /usr/include/glib-2.0/gio/gio.h:28, <--[gcc] from /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:6: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1338:43: note: (8) entry to ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (9) inlined call to ‘glib_autoptr_clear_GString’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GString’, inlined from ‘glib_autoptr_cleanup_GString’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (10) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h: In function ‘global_setup’: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:56: note: (11) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (12) returning to ‘update_data_dirs’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:147:3: note: (13) returning to ‘global_setup’ from ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:188:3: note: (14) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:57:1: note: (15) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:59:15: note: (16) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (17) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (18) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:188:3: note: (20) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (21) ‘xdup(2)’ leaks here; was opened at (16) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:131:1: note: (1) entry to ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:147:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:101:1: note: (3) entry to ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:109:7: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:108:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (7) calling ‘glib_autoptr_cleanup_GString’ from ‘update_data_dirs’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1338:43: note: (8) entry to ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (9) inlined call to ‘glib_autoptr_clear_GString’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GString’, inlined from ‘glib_autoptr_cleanup_GString’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (10) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h: In function ‘global_setup’: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:56: note: (11) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (12) returning to ‘update_data_dirs’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:147:3: note: (13) returning to ‘global_setup’ from ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:188:3: note: (14) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:57:1: note: (15) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:59:15: note: (16) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (17) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (18) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:188:3: note: (20) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:193:45: note: (21) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:193:11: note: (22) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:228:3: note: (23) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:57:1: note: (24) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:59:15: note: (25) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (26) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (27) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (28) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:228:3: note: (29) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (30) ‘xdup(2)’ leaks here; was opened at (25) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:131:1: note: (1) entry to ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:147:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:101:1: note: (3) entry to ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:109:7: note: (4) when ‘strstr’ returns non-NULL <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:108:25: note: (5) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (6) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (7) calling ‘glib_autoptr_cleanup_GString’ from ‘update_data_dirs’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1338:43: note: (8) entry to ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1357:36: note: in expansion of macro ‘_GLIB_AUTOPTR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1339:49: note: (9) inlined call to ‘glib_autoptr_clear_GString’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] In function ‘glib_autoptr_clear_GString’, inlined from ‘glib_autoptr_cleanup_GString’ at /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: /usr/include/glib-2.0/glib/gmacros.h:1356:10: note: (10) following ‘false’ branch... <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h: In function ‘global_setup’: <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1358:56: note: (11) ...to here <--[gcc] /usr/include/glib-2.0/glib/gmacros.h:1372:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[gcc] /usr/include/glib-2.0/glib/glib-autocleanups.h:83:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:105:22: note: (12) returning to ‘update_data_dirs’ from ‘glib_autoptr_cleanup_GString’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:147:3: note: (13) returning to ‘global_setup’ from ‘update_data_dirs’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:188:3: note: (14) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:57:1: note: (15) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:59:15: note: (16) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (17) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (18) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (19) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:188:3: note: (20) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:228:3: note: (21) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:57:1: note: (22) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:59:15: note: (23) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (24) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (25) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (26) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:228:3: note: (27) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:237:45: note: (28) following ‘true’ branch... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:237:11: note: (29) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:275:3: note: (30) calling ‘xdup’ from ‘global_setup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:57:1: note: (31) entry to ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:59:15: note: (32) opened here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (33) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:61:6: note: (34) following ‘false’ branch (when ‘newfd >= 0’)... <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (35) ...to here <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:275:3: note: (36) returning to ‘global_setup’ from ‘xdup’ <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:64:10: note: (37) ‘xdup(2)’ leaks here; was opened at (32) <--[gcc] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/limited-portals.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [141/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/email.c.o -MF tests/limited-portals.p/email.c.o.d -o tests/limited-portals.p/email.c.o -c ../tests/email.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/email.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [142/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/location.c.o -MF tests/limited-portals.p/location.c.o.d -o tests/limited-portals.p/location.c.o -c ../tests/location.c [143/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/inhibit.c.o -MF tests/limited-portals.p/inhibit.c.o.d -o tests/limited-portals.p/inhibit.c.o -c ../tests/inhibit.c [144/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/notification.c.o -MF tests/limited-portals.p/notification.c.o.d -o tests/limited-portals.p/notification.c.o -c ../tests/notification.c [145/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/trash.c.o -MF tests/limited-portals.p/trash.c.o.d -o tests/limited-portals.p/trash.c.o -c ../tests/trash.c [146/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/print.c.o -MF tests/limited-portals.p/print.c.o.d -o tests/limited-portals.p/print.c.o -c ../tests/print.c [147/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o -MF tests/limited-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o.d -o tests/limited-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o -c src/xdp-impl-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-impl-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [148/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/screenshot.c.o -MF tests/limited-portals.p/screenshot.c.o.d -o tests/limited-portals.p/screenshot.c.o -c ../tests/screenshot.c [149/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/glib-backports.c.o -MF tests/limited-portals.p/glib-backports.c.o.d -o tests/limited-portals.p/glib-backports.c.o -c ../tests/glib-backports.c [150/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/camera.c.o -MF tests/limited-portals.p/camera.c.o.d -o tests/limited-portals.p/camera.c.o -c ../tests/camera.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/camera.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [151/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/filechooser.c.o -MF tests/limited-portals.p/filechooser.c.o.d -o tests/limited-portals.p/filechooser.c.o -c ../tests/filechooser.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/filechooser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [152/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/openuri.c.o -MF tests/limited-portals.p/openuri.c.o.d -o tests/limited-portals.p/openuri.c.o -c ../tests/openuri.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/openuri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [153/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/wallpaper.c.o -MF tests/limited-portals.p/wallpaper.c.o.d -o tests/limited-portals.p/wallpaper.c.o -c ../tests/wallpaper.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/wallpaper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [154/209] gcc -Itests/test-permission-store.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-permission-store.p/test-permission-store.c.o -MF tests/test-permission-store.p/test-permission-store.c.o.d -o tests/test-permission-store.p/test-permission-store.c.o -c ../tests/test-permission-store.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-permission-store.c:193:3: warning: Value stored to 'res' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-permission-store.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/tests/test-permission-store.c:246:3: warning: Value stored to 'res' is never read [deadcode.DeadStores] <--[clang] [155/209] gcc -Itests/test-permission-store.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-permission-store.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o -MF tests/test-permission-store.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o.d -o tests/test-permission-store.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o -c document-portal/permission-store-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/permission-store-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [156/209] gcc -Itests/test-xdp-utils.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-xdp-utils.p/test-xdp-utils.c.o -MF tests/test-xdp-utils.p/test-xdp-utils.c.o.d -o tests/test-xdp-utils.p/test-xdp-utils.c.o -c ../tests/test-xdp-utils.c [157/209] gcc -Itests/test-xdp-utils.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-xdp-utils.p/utils.c.o -MF tests/test-xdp-utils.p/utils.c.o.d -o tests/test-xdp-utils.p/utils.c.o -c ../tests/utils.c [158/209] gcc -Itests/test-permission-store.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-permission-store.p/utils.c.o -MF tests/test-permission-store.p/utils.c.o.d -o tests/test-permission-store.p/utils.c.o -c ../tests/utils.c [159/209] gcc -o src/xdg-desktop-portal-validate-icon src/xdg-desktop-portal-validate-icon.p/validate-icon.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libglib-2.0.so -Wl,--end-group [160/209] gcc -o src/xdg-desktop-portal-rewrite-launchers src/xdg-desktop-portal-rewrite-launchers.p/rewrite-launchers.c.o src/xdg-desktop-portal-rewrite-launchers.p/glib-backports.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so -Wl,--end-group [161/209] gcc -Itests/test-permission-store.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-permission-store.p/.._src_sd-escape.c.o -MF tests/test-permission-store.p/.._src_sd-escape.c.o.d -o tests/test-permission-store.p/.._src_sd-escape.c.o -c ../src/sd-escape.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 'ans' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 't' [unix.Malloc] <--[clang] [162/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/meson-generated_.._.._src_xdp-dbus.c.o -MF tests/limited-portals.p/meson-generated_.._.._src_xdp-dbus.c.o.d -o tests/limited-portals.p/meson-generated_.._.._src_xdp-dbus.c.o -c src/xdp-dbus.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c: internal warning: child 2150 timed out after 30s <--[clang] cswrap: error: child 2150 (/usr/bin/clang) terminated by signal 15 (timed out) /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdp-dbus.c: internal warning: child 2154 timed out after 30s <--[gcc] cswrap: error: child 2154 (/usr/bin/gcc) terminated by signal 15 (timed out) [163/209] gcc -o document-portal/xdg-permission-store document-portal/xdg-permission-store.p/meson-generated_.._permission-store-dbus.c.o document-portal/xdg-permission-store.p/permission-store.c.o document-portal/xdg-permission-store.p/xdg-permission-store.c.o document-portal/xdg-permission-store.p/.._src_xdp-utils.c.o document-portal/xdg-permission-store.p/permission-db.c.o document-portal/xdg-permission-store.p/gvdb_gvdb-reader.c.o document-portal/xdg-permission-store.p/gvdb_gvdb-builder.c.o document-portal/xdg-permission-store.p/.._src_sd-escape.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libgeoclue-2.so /usr/lib64/libpipewire-0.3.so /usr/lib64/libsystemd.so -Wl,--end-group [164/209] gcc -Itests/test-xdp-utils.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-xdp-utils.p/.._src_sd-escape.c.o -MF tests/test-xdp-utils.p/.._src_sd-escape.c.o.d -o tests/test-xdp-utils.p/.._src_sd-escape.c.o -c ../src/sd-escape.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 'ans' [unix.Malloc] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/sd-escape.c:327:33: warning: Potential leak of memory pointed to by 't' [unix.Malloc] <--[clang] [165/209] gcc -o tests/test-doc-portal tests/test-doc-portal.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o tests/test-doc-portal.p/can-use-fuse.c.o tests/test-doc-portal.p/test-doc-portal.c.o tests/test-doc-portal.p/utils.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libfuse3.so -lpthread -Wl,--end-group [166/209] gcc -o tests/testdb tests/testdb.p/testdb.c.o tests/testdb.p/.._document-portal_permission-db.c.o tests/testdb.p/.._document-portal_gvdb_gvdb-reader.c.o tests/testdb.p/.._document-portal_gvdb_gvdb-builder.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so -Wl,--end-group [167/209] /usr/bin/msgfmt -o po/be/LC_MESSAGES/xdg-desktop-portal.mo ../po/be.po [168/209] /usr/bin/msgfmt -o po/ca/LC_MESSAGES/xdg-desktop-portal.mo ../po/ca.po [169/209] /usr/bin/msgfmt -o po/cs/LC_MESSAGES/xdg-desktop-portal.mo ../po/cs.po [170/209] /usr/bin/msgfmt -o po/da/LC_MESSAGES/xdg-desktop-portal.mo ../po/da.po [171/209] /usr/bin/msgfmt -o po/de/LC_MESSAGES/xdg-desktop-portal.mo ../po/de.po [172/209] /usr/bin/msgfmt -o po/en_GB/LC_MESSAGES/xdg-desktop-portal.mo ../po/en_GB.po [173/209] /usr/bin/msgfmt -o po/es/LC_MESSAGES/xdg-desktop-portal.mo ../po/es.po [174/209] /usr/bin/msgfmt -o po/fr/LC_MESSAGES/xdg-desktop-portal.mo ../po/fr.po [175/209] gcc -o document-portal/xdg-document-portal document-portal/xdg-document-portal.p/meson-generated_.._document-portal-dbus.c.o document-portal/xdg-document-portal.p/meson-generated_.._permission-store-dbus.c.o document-portal/xdg-document-portal.p/document-portal.c.o document-portal/xdg-document-portal.p/file-transfer.c.o document-portal/xdg-document-portal.p/document-store.c.o document-portal/xdg-document-portal.p/document-portal-fuse.c.o document-portal/xdg-document-portal.p/.._src_xdp-utils.c.o document-portal/xdg-document-portal.p/permission-db.c.o document-portal/xdg-document-portal.p/gvdb_gvdb-reader.c.o document-portal/xdg-document-portal.p/gvdb_gvdb-builder.c.o document-portal/xdg-document-portal.p/.._src_sd-escape.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libgeoclue-2.so /usr/lib64/libpipewire-0.3.so /usr/lib64/libsystemd.so /usr/lib64/libfuse3.so -lpthread -Wl,--end-group [176/209] /usr/bin/msgfmt -o po/gl/LC_MESSAGES/xdg-desktop-portal.mo ../po/gl.po [177/209] /usr/bin/msgfmt -o po/he/LC_MESSAGES/xdg-desktop-portal.mo ../po/he.po [178/209] /usr/bin/msgfmt -o po/hi/LC_MESSAGES/xdg-desktop-portal.mo ../po/hi.po [179/209] /usr/bin/msgfmt -o po/hr/LC_MESSAGES/xdg-desktop-portal.mo ../po/hr.po [180/209] /usr/bin/msgfmt -o po/hu/LC_MESSAGES/xdg-desktop-portal.mo ../po/hu.po [181/209] /usr/bin/msgfmt -o po/id/LC_MESSAGES/xdg-desktop-portal.mo ../po/id.po [182/209] /usr/bin/msgfmt -o po/it/LC_MESSAGES/xdg-desktop-portal.mo ../po/it.po [183/209] /usr/bin/msgfmt -o po/ka/LC_MESSAGES/xdg-desktop-portal.mo ../po/ka.po [184/209] /usr/bin/msgfmt -o po/lt/LC_MESSAGES/xdg-desktop-portal.mo ../po/lt.po [185/209] /usr/bin/msgfmt -o po/nl/LC_MESSAGES/xdg-desktop-portal.mo ../po/nl.po [186/209] /usr/bin/msgfmt -o po/oc/LC_MESSAGES/xdg-desktop-portal.mo ../po/oc.po [187/209] /usr/bin/msgfmt -o po/pl/LC_MESSAGES/xdg-desktop-portal.mo ../po/pl.po [188/209] /usr/bin/msgfmt -o po/pt/LC_MESSAGES/xdg-desktop-portal.mo ../po/pt.po [189/209] /usr/bin/msgfmt -o po/pt_BR/LC_MESSAGES/xdg-desktop-portal.mo ../po/pt_BR.po [190/209] /usr/bin/msgfmt -o po/ro/LC_MESSAGES/xdg-desktop-portal.mo ../po/ro.po [191/209] /usr/bin/msgfmt -o po/ru/LC_MESSAGES/xdg-desktop-portal.mo ../po/ru.po [192/209] /usr/bin/msgfmt -o po/sk/LC_MESSAGES/xdg-desktop-portal.mo ../po/sk.po [193/209] /usr/bin/msgfmt -o po/sr/LC_MESSAGES/xdg-desktop-portal.mo ../po/sr.po [194/209] /usr/bin/msgfmt -o po/sv/LC_MESSAGES/xdg-desktop-portal.mo ../po/sv.po [195/209] /usr/bin/msgfmt -o po/tr/LC_MESSAGES/xdg-desktop-portal.mo ../po/tr.po [196/209] /usr/bin/msgfmt -o po/uk/LC_MESSAGES/xdg-desktop-portal.mo ../po/uk.po [197/209] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/xdg-desktop-portal.mo ../po/zh_CN.po [198/209] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/xdg-desktop-portal.mo ../po/zh_TW.po [199/209] gcc -o src/xdg-desktop-portal src/xdg-desktop-portal.p/meson-generated_.._xdp-dbus.c.o src/xdg-desktop-portal.p/meson-generated_.._xdp-impl-dbus.c.o src/xdg-desktop-portal.p/meson-generated_.._xdp-background-dbus.c.o src/xdg-desktop-portal.p/meson-generated_.._geoclue-dbus.c.o src/xdg-desktop-portal.p/meson-generated_.._xdg-desktop-resources.c.o src/xdg-desktop-portal.p/account.c.o src/xdg-desktop-portal.p/background.c.o src/xdg-desktop-portal.p/background-monitor.c.o src/xdg-desktop-portal.p/call.c.o src/xdg-desktop-portal.p/camera.c.o src/xdg-desktop-portal.p/clipboard.c.o src/xdg-desktop-portal.p/device.c.o src/xdg-desktop-portal.p/documents.c.o src/xdg-desktop-portal.p/dynamic-launcher.c.o src/xdg-desktop-portal.p/email.c.o src/xdg-desktop-portal.p/file-chooser.c.o src/xdg-desktop-portal.p/flatpak-instance.c.o src/xdg-desktop-portal.p/gamemode.c.o src/xdg-desktop-portal.p/glib-backports.c.o src/xdg-desktop-portal.p/global-shortcuts.c.o src/xdg-desktop-portal.p/inhibit.c.o src/xdg-desktop-portal.p/input-capture.c.o src/xdg-desktop-portal.p/memory-monitor.c.o src/xdg-desktop-portal.p/network-monitor.c.o src/xdg-desktop-portal.p/notification.c.o src/xdg-desktop-portal.p/open-uri.c.o src/xdg-desktop-portal.p/permissions.c.o src/xdg-desktop-portal.p/pipewire.c.o src/xdg-desktop-portal.p/portal-impl.c.o src/xdg-desktop-portal.p/power-profile-monitor.c.o src/xdg-desktop-portal.p/print.c.o src/xdg-desktop-portal.p/proxy-resolver.c.o src/xdg-desktop-portal.p/realtime.c.o src/xdg-desktop-portal.p/remote-desktop.c.o src/xdg-desktop-portal.p/request.c.o src/xdg-desktop-portal.p/restore-token.c.o src/xdg-desktop-portal.p/screen-cast.c.o src/xdg-desktop-portal.p/screenshot.c.o src/xdg-desktop-portal.p/secret.c.o src/xdg-desktop-portal.p/session.c.o src/xdg-desktop-portal.p/settings.c.o src/xdg-desktop-portal.p/trash.c.o src/xdg-desktop-portal.p/wallpaper.c.o src/xdg-desktop-portal.p/xdg-desktop-portal.c.o src/xdg-desktop-portal.p/xdp-utils.c.o src/xdg-desktop-portal.p/location.c.o src/xdg-desktop-portal.p/sd-escape.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libgeoclue-2.so /usr/lib64/libpipewire-0.3.so /usr/lib64/libsystemd.so -Wl,--end-group [200/209] /usr/bin/meson --internal exe --capture doc/portals.conf.5 -- /usr/bin/rst2man --syntax-highlight=none doc/portals.conf.rst [201/209] gcc -Itests/limited-portals.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP '-DXDG_DP_BUILDDIR="src"' '-DXDG_PS_BUILDDIR="document-portal"' -MD -MQ tests/limited-portals.p/.._src_xdp-utils.c.o -MF tests/limited-portals.p/.._src_xdp-utils.c.o.d -o tests/limited-portals.p/.._src_xdp-utils.c.o -c ../src/xdp-utils.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:760:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:1738:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:2133:3: warning: Value stored to 'guard' is never read [deadcode.DeadStores] <--[clang] [202/209] gcc -o tests/test-backends tests/test-backends.p/meson-generated_.._.._document-portal_document-portal-dbus.c.o tests/test-backends.p/meson-generated_.._.._src_xdp-impl-dbus.c.o tests/test-backends.p/backend_test-backends.c.o tests/test-backends.p/backend_request.c.o tests/test-backends.p/backend_session.c.o tests/test-backends.p/backend_access.c.o tests/test-backends.p/backend_account.c.o tests/test-backends.p/backend_appchooser.c.o tests/test-backends.p/backend_background.c.o tests/test-backends.p/backend_email.c.o tests/test-backends.p/backend_filechooser.c.o tests/test-backends.p/backend_inhibit.c.o tests/test-backends.p/backend_lockdown.c.o tests/test-backends.p/backend_notification.c.o tests/test-backends.p/backend_print.c.o tests/test-backends.p/backend_screenshot.c.o tests/test-backends.p/backend_settings.c.o tests/test-backends.p/backend_wallpaper.c.o tests/test-backends.p/glib-backports.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so -Wl,--end-group [203/209] gcc -o tests/test-portals tests/test-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o tests/test-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o tests/test-portals.p/meson-generated_.._.._src_xdp-dbus.c.o tests/test-portals.p/.._src_sd-escape.c.o tests/test-portals.p/test-portals.c.o tests/test-portals.p/utils.c.o tests/test-portals.p/account.c.o tests/test-portals.p/background.c.o tests/test-portals.p/camera.c.o tests/test-portals.p/email.c.o tests/test-portals.p/filechooser.c.o tests/test-portals.p/inhibit.c.o tests/test-portals.p/location.c.o tests/test-portals.p/notification.c.o tests/test-portals.p/openuri.c.o tests/test-portals.p/print.c.o tests/test-portals.p/screenshot.c.o tests/test-portals.p/trash.c.o tests/test-portals.p/wallpaper.c.o tests/test-portals.p/glib-backports.c.o tests/test-portals.p/.._src_xdp-utils.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libportal.so /usr/lib64/libsystemd.so -Wl,--end-group [204/209] gcc -o tests/limited-portals tests/limited-portals.p/meson-generated_.._.._src_xdp-impl-dbus.c.o tests/limited-portals.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o tests/limited-portals.p/meson-generated_.._.._src_xdp-dbus.c.o tests/limited-portals.p/.._src_sd-escape.c.o tests/limited-portals.p/limited-portals.c.o tests/limited-portals.p/utils.c.o tests/limited-portals.p/account.c.o tests/limited-portals.p/background.c.o tests/limited-portals.p/camera.c.o tests/limited-portals.p/email.c.o tests/limited-portals.p/filechooser.c.o tests/limited-portals.p/inhibit.c.o tests/limited-portals.p/location.c.o tests/limited-portals.p/notification.c.o tests/limited-portals.p/openuri.c.o tests/limited-portals.p/print.c.o tests/limited-portals.p/screenshot.c.o tests/limited-portals.p/trash.c.o tests/limited-portals.p/wallpaper.c.o tests/limited-portals.p/glib-backports.c.o tests/limited-portals.p/.._src_xdp-utils.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libportal.so /usr/lib64/libsystemd.so -Wl,--end-group [205/209] gcc -Itests/test-permission-store.p -Itests -I../tests -I. -I.. -Isrc -I../src -Idocument-portal -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-permission-store.p/.._src_xdp-utils.c.o -MF tests/test-permission-store.p/.._src_xdp-utils.c.o.d -o tests/test-permission-store.p/.._src_xdp-utils.c.o -c ../src/xdp-utils.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:760:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:1738:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:2133:3: warning: Value stored to 'guard' is never read [deadcode.DeadStores] <--[clang] [206/209] gcc -Itests/test-xdp-utils.p -Itests -I../tests -I. -I.. -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 -I/usr/include/gio-unix-2.0 -I/usr/include/json-glib-1.0 -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Wno-unused-parameter -Wno-sign-compare -Wno-missing-field-initializers -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_66 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -pthread -DWITH_GZFILEOP -MD -MQ tests/test-xdp-utils.p/.._src_xdp-utils.c.o -MF tests/test-xdp-utils.p/.._src_xdp-utils.c.o.d -o tests/test-xdp-utils.p/.._src_xdp-utils.c.o -c ../src/xdp-utils.c /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:760:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:1738:3: warning: Value stored to 'fd' is never read [deadcode.DeadStores] <--[clang] /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/src/xdp-utils.c:2133:3: warning: Value stored to 'guard' is never read [deadcode.DeadStores] <--[clang] [207/209] gcc -o tests/test-xdp-utils tests/test-xdp-utils.p/test-xdp-utils.c.o tests/test-xdp-utils.p/utils.c.o tests/test-xdp-utils.p/.._src_xdp-utils.c.o tests/test-xdp-utils.p/.._src_sd-escape.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libsystemd.so -Wl,--end-group [208/209] gcc -o tests/test-permission-store tests/test-permission-store.p/meson-generated_.._.._document-portal_permission-store-dbus.c.o tests/test-permission-store.p/test-permission-store.c.o tests/test-permission-store.p/utils.c.o tests/test-permission-store.p/.._src_xdp-utils.c.o tests/test-permission-store.p/.._src_sd-escape.c.o -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,--start-group /usr/lib64/libglib-2.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libjson-glib-1.0.so /usr/lib64/libsystemd.so -Wl,--end-group [209/209] /usr/bin/xmlto xhtml-nochunks -o doc -m ../doc/xmlto-config.xsl --searchpath /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src doc/portal-docs.xml INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/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/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\'\\""'] Finish: run >>> 2024-07-03 18:28:00 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-07-03 18:28:01 "/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/xdg-desktop-portal.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.6 starting (python version = 3.9.19, NVR = mock-5.6-1.el9), args: /usr/libexec/mock/mock -r fedora-41-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::clang:clang++:cppcheck:gcc'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.6 INFO: Mock Version: 5.6 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.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/xdg-desktop-portal.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=1713484800 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.gQOrSG + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + '[' /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT ++ dirname /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT + mkdir -p /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + mkdir /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -mtls-dialect=gnu2 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd xdg-desktop-portal-1.18.4 + DESTDIR=/builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT + /usr/bin/meson install -C redhat-linux-build --no-rebuild Installing src/xdg-desktop-portal to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/libexec Installing src/xdg-desktop-portal-validate-icon to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/libexec Installing src/xdg-desktop-portal-rewrite-launchers to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/libexec Installing document-portal/xdg-permission-store to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/libexec Installing document-portal/xdg-document-portal to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/libexec Installing po/be/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/be/LC_MESSAGES Installing po/ca/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/ca/LC_MESSAGES Installing po/cs/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/cs/LC_MESSAGES Installing po/da/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/da/LC_MESSAGES Installing po/de/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/de/LC_MESSAGES Installing po/en_GB/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/en_GB/LC_MESSAGES Installing po/es/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/es/LC_MESSAGES Installing po/fr/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/fr/LC_MESSAGES Installing po/gl/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/gl/LC_MESSAGES Installing po/he/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/he/LC_MESSAGES Installing po/hi/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/hi/LC_MESSAGES Installing po/hr/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/hr/LC_MESSAGES Installing po/hu/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/hu/LC_MESSAGES Installing po/id/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/id/LC_MESSAGES Installing po/it/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/it/LC_MESSAGES Installing po/ka/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/ka/LC_MESSAGES Installing po/lt/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/lt/LC_MESSAGES Installing po/nl/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/nl/LC_MESSAGES Installing po/oc/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/oc/LC_MESSAGES Installing po/pl/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/pl/LC_MESSAGES Installing po/pt/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/pt/LC_MESSAGES Installing po/pt_BR/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/pt_BR/LC_MESSAGES Installing po/ro/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/ro/LC_MESSAGES Installing po/ru/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/ru/LC_MESSAGES Installing po/sk/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/sk/LC_MESSAGES Installing po/sr/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/sr/LC_MESSAGES Installing po/sv/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/sv/LC_MESSAGES Installing po/tr/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/tr/LC_MESSAGES Installing po/uk/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/uk/LC_MESSAGES Installing po/zh_CN/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/zh_CN/LC_MESSAGES Installing po/zh_TW/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/locale/zh_TW/LC_MESSAGES Installing doc/portal-docs.html to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/doc/xdg-desktop-portal Installing doc/portals.conf.5 to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/man/man5 Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/meson-private/xdg-desktop-portal.pc to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/pkgconfig Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Account.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Background.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Camera.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Clipboard.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Device.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Documents.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.DynamicLauncher.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Email.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.FileChooser.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.FileTransfer.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.GameMode.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.GlobalShortcuts.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Inhibit.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.InputCapture.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Location.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.MemoryMonitor.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.NetworkMonitor.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Notification.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.OpenURI.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.PowerProfileMonitor.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Print.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.ProxyResolver.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Realtime.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.RemoteDesktop.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Request.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.ScreenCast.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Screenshot.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Secret.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Session.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Settings.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Trash.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.portal.Wallpaper.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Access.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Account.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.AppChooser.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Background.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Clipboard.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.DynamicLauncher.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Email.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.FileChooser.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.GlobalShortcuts.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Inhibit.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.InputCapture.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Lockdown.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Notification.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.PermissionStore.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Print.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.RemoteDesktop.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Request.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.ScreenCast.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Screenshot.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Secret.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Session.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Settings.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/data/org.freedesktop.impl.portal.Wallpaper.xml to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdg-desktop-portal.service to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/org.freedesktop.portal.Desktop.service to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/services Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/src/xdg-desktop-portal-rewrite-launchers.service to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/xdg-permission-store.service to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/xdg-document-portal.service to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/org.freedesktop.portal.Documents.service to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/services Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/document-portal/org.freedesktop.impl.portal.PermissionStore.service to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/dbus-1/services Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/doc/docbook.css to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/doc/xdg-desktop-portal Installing /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/redhat-linux-build/doc/redirect.html to /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/doc/xdg-desktop-portal + install -dm 755 /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT//usr/share/doc/xdg-desktop-portal + install -pm 644 README.md /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT//usr/share/doc/xdg-desktop-portal + install -dm 755 /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT//usr/share/xdg-desktop-portal/portals + /usr/lib/rpm/find-lang.sh /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT xdg-desktop-portal + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.18.4-1.fc41 --unique-debug-suffix -1.18.4-1.fc41.x86_64 --unique-debug-src-base xdg-desktop-portal-1.18.4-1.fc41.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4 find-debuginfo: starting Extracting debug info from 5 files DWARF-compressing 5 files sepdebugcrcfix: Updated 5 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/xdg-desktop-portal-1.18.4-1.fc41.x86_64 12333 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j8 /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT Scanned 93 directories and 226 files, processed 2 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/SPECPARTS/rpm-debuginfo.specpart Processing files: xdg-desktop-portal-1.18.4-1.fc41.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.DWPJNU + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build + cd xdg-desktop-portal-1.18.4 + LICENSEDIR=/builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/licenses/xdg-desktop-portal + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/licenses/xdg-desktop-portal + cp -pr /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/xdg-desktop-portal-1.18.4/COPYING /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT/usr/share/licenses/xdg-desktop-portal + RPM_EC=0 ++ jobs -p + exit 0 Provides: xdg-desktop-portal = 1.18.4-1.fc41 xdg-desktop-portal(x86-64) = 1.18.4-1.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(preun): /bin/sh Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_ABI_DT_RELR)(64bit) libfuse3.so.3()(64bit) libfuse3.so.3(FUSE_3.0)(64bit) libfuse3.so.3(FUSE_3.12)(64bit) libfuse3.so.3(FUSE_3.2)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgio-2.0.so.0()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libjson-glib-1.0.so.0()(64bit) libjson-glib-1.0.so.0(libjson-glib-1.0.so.0)(64bit) libpipewire-0.3.so.0()(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) rtld(GNU_HASH) Recommends: low-memory-monitor >= 2.0 pipewire >= 0.2.90 Processing files: xdg-desktop-portal-devel-1.18.4-1.fc41.x86_64 Provides: pkgconfig(xdg-desktop-portal) = 1.18.4 xdg-desktop-portal-devel = 1.18.4-1.fc41 xdg-desktop-portal-devel(x86-64) = 1.18.4-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config Processing files: xdg-desktop-portal-debugsource-1.18.4-1.fc41.x86_64 Provides: xdg-desktop-portal-debugsource = 1.18.4-1.fc41 xdg-desktop-portal-debugsource(x86-64) = 1.18.4-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xdg-desktop-portal-debuginfo-1.18.4-1.fc41.x86_64 Provides: debuginfo(build-id) = 62ed01663a6976fca3abbe4dc5614e43e749b4a2 debuginfo(build-id) = 9e5ca8be9922bd893e49682277ae79c6ad4a2d0d debuginfo(build-id) = b69390746dc6238b24ef52bd1feab18a58950f10 debuginfo(build-id) = bbc5cec76d0a7f4a4ddc52bb824b8d3d5a3bc2aa debuginfo(build-id) = ce05a1d7d5a041541fa038e8c2f34263a7a37e9d xdg-desktop-portal-debuginfo = 1.18.4-1.fc41 xdg-desktop-portal-debuginfo(x86-64) = 1.18.4-1.fc41 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xdg-desktop-portal-debugsource(x86-64) = 1.18.4-1.fc41 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/xdg-desktop-portal-1.18.4-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csclng:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::clang:clang++:cppcheck:gcc\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-07-03 18:28:03 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT > /builddir/shellcheck-capture.err" >>> 2024-07-03 18:28:04 "'/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/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/raw-results'" tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-07-03 18:28:05 "cat '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CLANG_WARNING --event error | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/uni-results/cswrap-capture.js'" >>> 2024-07-03 18:28:05 "csgrep --quiet '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/raw-results/builddir/shellcheck-capture.err' | csgrep --invert-match --event '^note|warning\\[SC1090\\]' > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/uni-results/shellcheck-capture.err'" scan.ini: time-finished = 2024-07-03 18:28:05 scan.ini: exit-code = 0 >>> 2024-07-03 18:28:05 "cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan.ini' '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/uni-results'/* > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/scan-results-all.js'" >>> 2024-07-03 18:28:05 "'/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/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/scan-results-all.js' >'/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/scan-results-all.js.tmp'" >>> 2024-07-03 18:28:06 "/usr/bin/mock" "-r" "fedora-41-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-07-03 18:28:09 "cat '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\\.c\$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results.js'" >>> 2024-07-03 18:28:09 "cat '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/scan-results-all.js' | sed 's|/builddir/build/BUILDROOT/[^/]*/|/builddir/build/BUILD//|' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results.js' - | cssort > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/suppressed-results.js'" >>> 2024-07-03 18:28:09 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/suppressed-results.js' > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/suppressed-results.err'" >>> 2024-07-03 18:28:09 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/suppressed-results.js' | cshtml - > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/suppressed-results.html'" >>> 2024-07-03 18:28:09 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/suppressed-results.js' | tee '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/debug/suppressed-results-summary.txt'" >>> 2024-07-03 18:28:09 "csgrep --mode=grep --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results.js' > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results.err'" >>> 2024-07-03 18:28:09 "csgrep --mode=json --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results.js' | cshtml - > '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results.html'" >>> 2024-07-03 18:28:10 "csgrep --mode=evtstat --invert-match --event \"internal warning\" --prune-events=1 '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results.js' | tee '/tmp/csmockb3h1lpdj/xdg-desktop-portal-1.18.4-1.fc41/scan-results-summary.txt'" 2 CLANG_WARNING warning[core.CallAndMessage] 1 CLANG_WARNING warning[core.NonNullParamChecker] 3 CLANG_WARNING warning[core.NullDereference] 14 CLANG_WARNING warning[deadcode.DeadStores] 11 CLANG_WARNING warning[unix.Malloc] 12 CPPCHECK_WARNING error[integerOverflow] 46 CPPCHECK_WARNING information[normalCheckLevelMaxBranches] 17 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] <<< 2024-07-03 18:28:10 csmock exit code: 0 Wrote: /tmp/tmpcvrst6fh/xdg-desktop-portal-1.18.4-1.fc41.tar.xz