scan.ini: [scan] scan.ini: tool = csmock scan.ini: tool-version = csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 scan.ini: tool-args = '/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpuyi8d_ty/xdg-desktop-portal-1.19.0-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpuyi8d_ty/xdg-desktop-portal-1.19.0-1.fc42.src.rpm' scan.ini: host = ip-172-16-1-190.us-west-2.compute.internal scan.ini: store-results-to = /tmp/tmpuyi8d_ty/xdg-desktop-portal-1.19.0-1.fc42.tar.xz scan.ini: time-created = 2024-11-13 03:45:46 scan.ini: enabled-plugins = clippy, cppcheck, gcc, shellcheck, unicontrol scan.ini: mock-config = fedora-rawhide-gcc-latest-x86_64 scan.ini: project-name = xdg-desktop-portal-1.19.0-1.fc42 >>> 2024-11-13 03:45:46 rpm -qa | sort -V > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/rpm-list-host.txt' scan.ini: analyzer-version-unicontrol = 0.0.2 >>> 2024-11-13 03:45:47 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--init" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --init Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Start: clean chroot Finish: clean chroot Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init Finish: run >>> 2024-11-13 03:45:49 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1728604800 Wrote: /builddir/build/SRPMS/xdg-desktop-portal-1.19.0-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 1.2 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 14.1 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: flatpak-devel x86_64 1.15.10-1.fc42 fedora 1.5 MiB fuse3-devel x86_64 3.16.2-4.fc41 fedora 158.8 KiB gcc x86_64 14.2.1-6.fc42 fedora 104.3 MiB gdk-pixbuf2-devel x86_64 2.42.12-6.fc41 fedora 2.3 MiB geoclue2-devel x86_64 2.7.0-6.fc41 fedora 887.7 KiB gettext x86_64 0.22.5-6.fc41 fedora 5.2 MiB glib2-devel x86_64 2.83.0-1.fc42 fedora 15.8 MiB json-glib-devel x86_64 1.10.0-1.fc42 fedora 2.6 MiB libportal-devel x86_64 0.8.1-2.fc42 fedora 375.0 KiB meson noarch 1.5.1-1.fc42 fedora 11.4 MiB pipewire-devel x86_64 1.2.6-1.fc42 fedora 830.9 KiB python3-dbusmock noarch 0.32.2-1.fc42 fedora 588.6 KiB python3-docutils noarch 0.21.2-1.fc42 fedora 4.9 MiB python3-furo noarch 2024.08.06-1.fc41 fedora 359.1 KiB python3-gobject-base x86_64 3.48.2-3.fc41 fedora 1.4 MiB python3-pytest noarch 8.3.3-3.fc42 fedora 20.8 MiB python3-pytest-xdist noarch 3.6.1-4.fc41 fedora 419.8 KiB python3-sphinx noarch 1:7.3.7-2.fc41 fedora 10.8 MiB python3-sphinx-copybutton noarch 0.5.2-6.fc41 fedora 35.0 KiB python3-sphinxext-opengraph noarch 0.9.1-4.fc41 fedora 66.0 KiB systemd-devel x86_64 257~rc1-2.fc42 fedora 610.8 KiB systemd-rpm-macros noarch 257~rc1-2.fc42 fedora 10.7 KiB xmlto x86_64 0.0.29-1.fc41 fedora 120.2 KiB Installing dependencies: abattis-cantarell-vf-fonts noarch 0.301-13.fc41 fedora 192.7 KiB alsa-lib x86_64 1.2.12-2.fc41 fedora 1.4 MiB annobin-docs noarch 12.70-1.fc42 fedora 97.7 KiB annobin-plugin-gcc x86_64 12.70-1.fc42 fedora 985.6 KiB appstream x86_64 1.0.2-4.fc41 fedora 3.5 MiB appstream-data noarch 42-1.fc42 fedora 14.3 MiB avahi-libs x86_64 0.8-30.fc42 fedora 174.2 KiB bluez-libs x86_64 5.79-1.fc42 fedora 198.7 KiB brotli x86_64 1.1.0-5.fc41 fedora 31.8 KiB brotli-devel x86_64 1.1.0-5.fc41 fedora 65.6 KiB bubblewrap x86_64 0.10.0-1.fc42 fedora 134.1 KiB cairo x86_64 1.18.0-4.fc41 fedora 1.7 MiB cairo-gobject x86_64 1.18.0-4.fc41 fedora 35.2 KiB cmake-filesystem x86_64 3.30.5-1.fc42 fedora 0.0 B composefs-libs x86_64 1.0.6-1.fc42 fedora 166.3 KiB cpp x86_64 14.2.1-6.fc42 fedora 35.0 MiB dbus x86_64 1:1.14.10-4.fc41 fedora 0.0 B dbus-broker x86_64 36-4.fc41 fedora 382.8 KiB dbus-common noarch 1:1.14.10-4.fc41 fedora 11.2 KiB dbus-daemon x86_64 1:1.14.10-4.fc41 fedora 553.2 KiB dbus-libs x86_64 1:1.14.10-4.fc41 fedora 368.9 KiB dbus-tools x86_64 1:1.14.10-4.fc41 fedora 131.2 KiB dbus-x11 x86_64 1:1.14.10-4.fc41 fedora 36.0 KiB dconf x86_64 0.40.0-14.fc41 fedora 315.8 KiB dconf-devel x86_64 0.40.0-14.fc41 fedora 198.2 KiB default-fonts-core-sans noarch 4.2-1.fc42 fedora 11.9 KiB docbook-dtds noarch 1.0-87.fc41 fedora 8.3 MiB docbook-style-xsl noarch 1.79.2-23.fc41 fedora 15.6 MiB emacs-filesystem noarch 1:30.0-3.fc41 fedora 0.0 B expat x86_64 2.6.4-1.fc42 fedora 285.5 KiB fdk-aac-free x86_64 2.0.0-14.fc41 fedora 607.2 KiB flac-libs x86_64 1.4.3-5.fc41 fedora 674.2 KiB flatpak x86_64 1.15.10-1.fc42 fedora 6.3 MiB flatpak-libs x86_64 1.15.10-1.fc42 fedora 1.0 MiB flatpak-session-helper x86_64 1.15.10-1.fc42 fedora 103.3 KiB flex x86_64 2.6.4-18.fc41 fedora 805.4 KiB fontconfig x86_64 2.15.0-8.fc41 fedora 791.9 KiB fonts-filesystem noarch 1:2.0.5-17.fc41 fedora 0.0 B freetype x86_64 2.13.3-1.fc42 fedora 850.5 KiB fribidi x86_64 1.0.16-1.fc42 fedora 194.5 KiB fuse-common x86_64 3.16.2-4.fc41 fedora 38.0 B fuse3 x86_64 3.16.2-4.fc41 fedora 126.0 KiB fuse3-libs x86_64 3.16.2-4.fc41 fedora 281.5 KiB gcc-plugin-annobin x86_64 14.2.1-6.fc42 fedora 57.6 KiB gdk-pixbuf2 x86_64 2.42.12-6.fc41 fedora 2.5 MiB geoclue2-libs x86_64 2.7.0-6.fc41 fedora 167.2 KiB gettext-envsubst x86_64 0.22.5-6.fc41 fedora 74.9 KiB gettext-libs x86_64 0.22.5-6.fc41 fedora 1.7 MiB gettext-runtime x86_64 0.22.5-6.fc41 fedora 481.3 KiB glib2 x86_64 2.83.0-1.fc42 fedora 14.7 MiB glibc-devel x86_64 2.40.9000-16.fc42 fedora 2.3 MiB gnupg2 x86_64 2.4.5-3.fc41 fedora 9.5 MiB gnutls x86_64 3.8.8-1.fc42 fedora 3.2 MiB gobject-introspection x86_64 1.82.0-1.fc42 fedora 396.2 KiB google-noto-fonts-common noarch 20240901-1.fc42 fedora 17.5 KiB google-noto-sans-vf-fonts noarch 20240901-1.fc42 fedora 1.2 MiB gpgme x86_64 1.24.0-1.fc42 fedora 586.7 KiB gpgme-devel x86_64 1.24.0-1.fc42 fedora 297.6 KiB graphite2 x86_64 1.3.14-16.fc41 fedora 192.0 KiB gsm x86_64 1.0.22-7.fc41 fedora 68.8 KiB harfbuzz x86_64 10.1.0-1.fc42 fedora 2.7 MiB jbigkit-libs x86_64 2.1-30.fc41 fedora 117.6 KiB json-glib x86_64 1.10.0-1.fc42 fedora 562.2 KiB kernel-headers x86_64 6.12.0-0.rc7.58.fc42 fedora 6.4 MiB lame-libs x86_64 3.100-18.fc41 fedora 1.2 MiB libX11 x86_64 1.8.10-2.fc42 fedora 1.3 MiB libX11-common noarch 1.8.10-2.fc42 fedora 1.1 MiB libXau x86_64 1.0.11-7.fc41 fedora 66.9 KiB libXau-devel x86_64 1.0.11-7.fc41 fedora 6.4 KiB libXext x86_64 1.3.6-2.fc41 fedora 90.1 KiB libXft x86_64 2.3.8-7.fc41 fedora 164.5 KiB libXrender x86_64 0.9.11-7.fc41 fedora 50.1 KiB libarchive-devel x86_64 3.7.7-1.fc42 fedora 179.3 KiB libassuan x86_64 2.5.7-2.fc41 fedora 163.8 KiB libassuan-devel x86_64 2.5.7-2.fc41 fedora 78.8 KiB libasyncns x86_64 0.8-29.fc41 fedora 59.4 KiB libb2 x86_64 0.98.1-12.fc41 fedora 42.2 KiB libblkid-devel x86_64 2.40.2-8.fc42 fedora 44.9 KiB libcurl-devel x86_64 8.10.1-2.fc42 fedora 1.3 MiB libdatrie x86_64 0.2.13-10.fc41 fedora 57.9 KiB libffi-devel x86_64 3.4.6-3.fc42 fedora 33.1 KiB libgcrypt x86_64 1.11.0-4.fc42 fedora 1.5 MiB libgpg-error x86_64 1.50-2.fc41 fedora 889.5 KiB libgpg-error-devel x86_64 1.50-2.fc41 fedora 245.1 KiB libidn2-devel x86_64 2.3.7-2.fc41 fedora 252.1 KiB libjpeg-turbo x86_64 3.0.4-1.fc42 fedora 789.1 KiB libjpeg-turbo-devel x86_64 3.0.4-1.fc42 fedora 353.1 KiB libksba x86_64 1.6.7-2.fc41 fedora 398.4 KiB liblc3 x86_64 1.1.1-3.fc41 fedora 170.9 KiB libldac x86_64 2.0.2.3-16.fc41 fedora 82.4 KiB liblerc x86_64 4.0.0-7.fc41 fedora 607.5 KiB libmount-devel x86_64 2.40.2-8.fc42 fedora 63.5 KiB libmpc x86_64 1.3.1-6.fc41 fedora 164.7 KiB libnghttp2-devel x86_64 1.64.0-1.fc42 fedora 295.4 KiB libogg x86_64 2:1.3.5-9.fc41 fedora 49.4 KiB libpng x86_64 2:1.6.44-1.fc42 fedora 245.8 KiB libpng-devel x86_64 2:1.6.44-1.fc42 fedora 886.0 KiB libportal x86_64 0.8.1-2.fc42 fedora 215.6 KiB libpsl-devel x86_64 0.21.5-4.fc41 fedora 110.3 KiB librsvg2 x86_64 2.59.2-1.fc42 fedora 4.6 MiB libsbc x86_64 2.0-5.fc41 fedora 93.5 KiB libseccomp x86_64 2.5.5-2.fc41 fedora 173.3 KiB libseccomp-devel x86_64 2.5.5-2.fc41 fedora 113.1 KiB libselinux-devel x86_64 3.7-6.fc42 fedora 126.5 KiB libsepol-devel x86_64 3.7-3.fc42 fedora 120.3 KiB libsndfile x86_64 1.2.2-4.fc41 fedora 534.0 KiB libssh-devel x86_64 0.11.1-1.fc42 fedora 177.8 KiB libstemmer x86_64 2.2.0-13.fc41 fedora 603.9 KiB libtextstyle x86_64 0.22.5-6.fc41 fedora 195.6 KiB libthai x86_64 0.1.29-9.fc41 fedora 783.5 KiB libtiff x86_64 4.6.0-6.fc42 fedora 606.0 KiB libtiff-devel x86_64 4.6.0-6.fc42 fedora 709.2 KiB libusb1 x86_64 1.0.27-4.fc42 fedora 170.6 KiB libvorbis x86_64 1:1.3.7-11.fc41 fedora 833.6 KiB libwayland-client x86_64 1.23.0-2.fc41 fedora 62.1 KiB libwayland-cursor x86_64 1.23.0-2.fc41 fedora 37.4 KiB libwayland-egl x86_64 1.23.0-2.fc41 fedora 16.5 KiB libwayland-server x86_64 1.23.0-2.fc41 fedora 78.6 KiB libwebp x86_64 1.4.0-4.fc41 fedora 822.6 KiB libwebp-devel x86_64 1.4.0-4.fc41 fedora 120.3 KiB libxcb x86_64 1.17.0-3.fc42 fedora 1.2 MiB libxcrypt-devel x86_64 4.4.36-10.fc42 fedora 30.5 KiB libxml2-devel x86_64 2.12.8-2.fc41 fedora 3.4 MiB libxmlb x86_64 0.3.21-1.fc42 fedora 288.6 KiB libxslt x86_64 1.1.42-2.fc41 fedora 483.1 KiB libyaml x86_64 0.2.5-15.fc41 fedora 134.4 KiB libzstd-devel x86_64 1.5.6-2.fc41 fedora 202.4 KiB m4 x86_64 1.4.19-10.fc41 fedora 592.9 KiB make x86_64 1:4.4.1-9.fc42 fedora 1.8 MiB malcontent-devel x86_64 0.12.0-1.fc42 fedora 127.4 KiB malcontent-libs x86_64 0.12.0-1.fc42 fedora 109.1 KiB mpdecimal x86_64 2.5.1-16.fc41 fedora 204.9 KiB mpg123-libs x86_64 1.31.3-5.fc41 fedora 787.3 KiB nettle x86_64 3.10-3.fc41 fedora 793.0 KiB ninja-build x86_64 1.12.1-3.fc41 fedora 432.6 KiB npth x86_64 1.7-2.fc41 fedora 49.6 KiB openssl-devel x86_64 1:3.2.2-8.fc42 fedora 4.3 MiB opus x86_64 1.5.2-1.fc42 fedora 411.7 KiB ostree-devel x86_64 2024.9-1.fc42 fedora 2.6 MiB ostree-libs x86_64 2024.9-1.fc42 fedora 1.1 MiB pango x86_64 1.54.0-2.fc41 fedora 996.2 KiB pcre2-devel x86_64 10.44-1.fc41.1 fedora 2.0 MiB pcre2-utf16 x86_64 10.44-1.fc41.1 fedora 590.1 KiB pcre2-utf32 x86_64 10.44-1.fc41.1 fedora 562.0 KiB pipewire-libs x86_64 1.2.6-1.fc42 fedora 7.1 MiB pixman x86_64 0.44.0-0.fc42 fedora 670.8 KiB polkit-devel x86_64 125-3.fc42 fedora 405.6 KiB polkit-docs noarch 125-3.fc42 fedora 946.0 KiB polkit-libs x86_64 125-3.fc42 fedora 200.9 KiB publicsuffix-list noarch 20240107-4.fc41 fedora 318.0 KiB pulseaudio-libs x86_64 17.0-2.fc41 fedora 3.4 MiB python-pip-wheel noarch 24.2-2.fc42 fedora 1.2 MiB python3 x86_64 3.13.0-1.fc42 fedora 31.8 KiB python3-babel noarch 2.16.0-1.fc42 fedora 28.3 MiB python3-beautifulsoup4 noarch 4.12.3-8.fc42 fedora 1.4 MiB python3-cairo x86_64 1.25.1-5.fc41 fedora 492.5 KiB python3-charset-normalizer noarch 3.4.0-1.fc42 fedora 319.9 KiB python3-dbus x86_64 1.3.2-8.fc41 fedora 520.7 KiB python3-execnet noarch 2.1.1-4.fc42 fedora 916.6 KiB python3-gobject x86_64 3.48.2-3.fc41 fedora 23.9 KiB python3-idna noarch 3.9-1.fc42 fedora 639.8 KiB python3-imagesize noarch 1.4.1-9.fc41 fedora 35.3 KiB python3-iniconfig noarch 1.1.1-23.fc41 fedora 20.6 KiB python3-jinja2 noarch 3.1.4-5.fc41 fedora 2.9 MiB python3-libs x86_64 3.13.0-1.fc42 fedora 40.4 MiB python3-lxml x86_64 5.3.0-1.fc42 fedora 4.9 MiB python3-markupsafe x86_64 3.0.2-1.fc42 fedora 56.1 KiB python3-packaging noarch 24.2-2.fc42 fedora 555.7 KiB python3-pluggy noarch 1.5.0-1.fc41 fedora 193.2 KiB python3-pygments noarch 2.18.0-2.fc42 fedora 10.6 MiB python3-requests noarch 2.32.3-3.fc41 fedora 485.9 KiB python3-setuptools noarch 74.1.3-4.fc42 fedora 8.4 MiB python3-snowballstemmer noarch 2.2.0-13.fc41 fedora 1.7 MiB python3-soupsieve noarch 2.6-2.fc42 fedora 294.5 KiB python3-sphinx-basic-ng noarch 1.0.0-0.11.beta2.fc41 fedora 33.1 KiB python3-sphinx-theme-alabaster noarch 0.7.16-6.fc41 fedora 41.9 KiB python3-urllib3 noarch 2.2.3-3.fc42 fedora 1.0 MiB rsvg-pixbuf-loader x86_64 2.59.2-1.fc42 fedora 340.3 KiB sgml-common noarch 0.6.3-65.fc41 fedora 168.1 KiB shared-mime-info x86_64 2.3-6.fc41 fedora 5.2 MiB sysprof-capture-devel x86_64 47.1-1.fc42 fedora 273.1 KiB systemd x86_64 257~rc1-2.fc42 fedora 17.4 MiB systemd-pam x86_64 257~rc1-2.fc42 fedora 1.1 MiB tpm2-tss x86_64 4.1.3-3.fc41 fedora 1.6 MiB tzdata noarch 2024a-9.fc41 fedora 1.7 MiB vim-filesystem noarch 2:9.1.825-1.fc42 fedora 40.0 B wayland-devel x86_64 1.23.0-2.fc41 fedora 679.0 KiB webrtc-audio-processing x86_64 1.3-3.fc42 fedora 1.3 MiB xdg-dbus-proxy x86_64 0.1.6-1.fc42 fedora 94.7 KiB xml-common noarch 0.6.3-65.fc41 fedora 78.4 KiB xorg-x11-proto-devel noarch 2024.1-3.fc41 fedora 1.7 MiB xz-devel x86_64 1:5.6.3-2.fc42 fedora 255.6 KiB zlib-ng-compat-devel x86_64 2.2.2-1.fc42 fedora 106.8 KiB Transaction Summary: Installing: 216 packages Total size of inbound packages is 155 MiB. Need to download 15 MiB. After this operation, 525 MiB extra will be used (install 525 MiB, remove 0 B). [1/1] python3-docutils-0:0.21.2-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] xmlto-0:0.0.29-1.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [2/4] gcc-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [3/5] gettext-0:0.22.5-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [4/6] meson-0:1.5.1-1.fc42.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [5/7] python3-dbusmock-0:0.32.2-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [6/9] python3-pytest-xdist-0:3.6.1-4.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 7/12] systemd-rpm-macros-0:257~rc1-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 8/13] flatpak-devel-0:1.15.10-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 9/14] fuse3-devel-0:3.16.2-4.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [10/15] gdk-pixbuf2-devel-0:2.42.12-6.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [11/16] glib2-devel-0:2.83.0-1.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [12/17] json-glib-devel-0:1.10.0-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [13/18] geoclue2-devel-0:2.7.0-6.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [14/19] pipewire-devel-0:1.2.6-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [15/20] libportal-devel-0:0.8.1-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [16/21] systemd-devel-0:257~rc1-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [17/22] python3-gobject-base-0:3.48.2-3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [18/26] python3-packaging-0:24.2-2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [19/31] docbook-dtds-0:1.0-87.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [20/32] docbook-style-xsl-0:1.79.2-23.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [21/33] flex-0:2.6.4-18.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [22/34] cpp-0:14.2.1-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [23/35] libmpc-0:1.3.1-6.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [24/36] make-1:4.4.1-9.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [25/37] gettext-libs-0:0.22.5-6.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [26/38] gettext-runtime-0:0.22.5-6.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [27/39] libtextstyle-0:0.22.5-6.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [28/40] ninja-build-0:1.12.1-3.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [29/41] python3-setuptools-0:74.1.3-4.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [30/42] dbus-x11-1:1.14.10-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [31/43] python3-dbus-0:1.3.2-8.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [32/46] python3-execnet-0:2.1.1-4.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [33/47] flatpak-0:1.15.10-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [34/48] flatpak-libs-0:1.15.10-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [35/49] fuse3-libs-0:3.16.2-4.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [36/50] gdk-pixbuf2-0:2.42.12-6.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [37/51] glib2-0:2.83.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [38/52] shared-mime-info-0:2.3-6.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [39/53] json-glib-0:1.10.0-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [40/54] geoclue2-libs-0:2.7.0-6.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [41/55] pipewire-libs-0:1.2.6-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [42/56] libportal-0:0.8.1-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [43/57] gobject-introspection-0:1.82.0- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [44/62] sgml-common-0:0.6.3-65.fc41.noa 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [45/63] xml-common-0:0.6.3-65.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [46/64] m4-0:1.4.19-10.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [47/65] gettext-envsubst-0:0.22.5-6.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [48/66] emacs-filesystem-1:30.0-3.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [49/67] vim-filesystem-2:9.1.825-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [50/68] dbus-daemon-1:1.14.10-4.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [51/69] dbus-libs-1:1.14.10-4.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [52/70] libX11-0:1.8.10-2.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [53/73] appstream-0:1.0.2-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [54/74] bubblewrap-0:0.10.0-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [55/75] dconf-0:0.40.0-14.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [56/76] flatpak-session-helper-0:1.15.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [57/77] fuse3-0:3.16.2-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [58/78] libXau-0:1.0.11-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [59/79] librsvg2-0:2.59.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [60/80] libseccomp-0:2.5.5-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [61/81] libwayland-client-0:1.23.0-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [62/82] malcontent-libs-0:0.12.0-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [63/83] ostree-libs-0:2024.9-1.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [64/84] polkit-libs-0:125-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [65/85] xdg-dbus-proxy-0:0.1.6-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [66/86] libjpeg-turbo-0:3.0.4-1.fc42.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [67/87] libpng-2:1.6.44-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [68/88] gnutls-0:3.8.8-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [69/89] alsa-lib-0:1.2.12-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [70/90] avahi-libs-0:0.8-30.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [71/91] bluez-libs-0:5.79-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [72/92] fdk-aac-free-0:2.0.0-14.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [73/93] liblc3-0:1.1.1-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [74/94] libldac-0:2.0.2.3-16.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [75/95] libsbc-0:2.0-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [76/96] libsndfile-0:1.2.2-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [77/97] libusb1-0:1.0.27-4.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [78/98] opus-0:1.5.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [79/99] pulseaudio-libs-0:17.0-2.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 80/100] webrtc-audio-processing-0:1.3 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 81/101] dbus-common-1:1.14.10-4.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 82/102] dbus-tools-1:1.14.10-4.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 83/103] expat-0:2.6.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 84/104] libX11-common-0:1.8.10-2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 85/105] libxcb-0:1.17.0-3.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 86/106] libxslt-0:1.1.42-2.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 87/107] appstream-data-0:42-1.fc42.no 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 88/108] libstemmer-0:2.2.0-13.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 89/109] libxmlb-0:0.3.21-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 90/110] libyaml-0:0.2.5-15.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 91/111] dbus-1:1.14.10-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 92/112] fuse-common-0:3.16.2-4.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 93/113] cairo-0:1.18.0-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 94/114] cairo-gobject-0:1.18.0-4.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 95/115] pango-0:1.54.0-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 96/116] composefs-libs-0:1.0.6-1.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 97/117] gpgme-0:1.24.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 98/118] libgpg-error-0:1.50-2.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [ 99/119] nettle-0:3.10-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [100/120] flac-libs-0:1.4.3-5.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [101/121] gsm-0:1.0.22-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [102/122] lame-libs-0:3.100-18.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [103/123] libogg-2:1.3.5-9.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [104/124] libvorbis-1:1.3.7-11.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [105/125] mpg123-libs-0:1.31.3-5.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [106/126] libasyncns-0:0.8-29.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [107/127] dbus-broker-0:36-4.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [108/128] fontconfig-0:2.15.0-8.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [109/129] freetype-0:2.13.3-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [110/130] libXext-0:1.3.6-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [111/131] libXrender-0:0.9.11-7.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [112/132] pixman-0:0.44.0-0.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [113/133] fribidi-0:1.0.16-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [114/134] harfbuzz-0:10.1.0-1.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [115/135] libXft-0:2.3.8-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [116/136] libthai-0:0.1.29-9.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [117/137] gnupg2-0:2.4.5-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [118/138] libassuan-0:2.5.7-2.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [119/139] default-fonts-core-sans-0:4.2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [120/140] fonts-filesystem-1:2.0.5-17.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [121/141] graphite2-0:1.3.14-16.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [122/142] libdatrie-0:0.2.13-10.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [123/143] libgcrypt-0:1.11.0-4.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [124/144] libksba-0:1.6.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [125/145] npth-0:1.7-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [126/146] tpm2-tss-0:4.1.3-3.fc41.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [127/147] abattis-cantarell-vf-fonts-0: 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [128/148] google-noto-sans-vf-fonts-0:2 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [129/149] google-noto-fonts-common-0:20 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [130/150] python3-pytest-0:8.3.3-3.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [131/151] python3-iniconfig-0:1.1.1-23. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [132/152] python3-pluggy-0:1.5.0-1.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [133/153] python3-0:3.13.0-1.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [134/154] python3-libs-0:3.13.0-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [135/155] libb2-0:0.98.1-12.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [136/156] mpdecimal-0:2.5.1-16.fc41.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [137/157] python-pip-wheel-0:24.2-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [138/158] tzdata-0:2024a-9.fc41.noarch 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [139/159] python3-gobject-0:3.48.2-3.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [140/160] python3-cairo-0:1.25.1-5.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [141/161] rsvg-pixbuf-loader-0:2.59.2-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [142/162] libffi-devel-0:3.4.6-3.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [143/163] libmount-devel-0:2.40.2-8.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [144/164] libselinux-devel-0:3.7-6.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [145/165] libsepol-devel-0:3.7-3.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [146/166] pcre2-devel-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [147/167] pcre2-utf16-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [148/168] pcre2-utf32-0:10.44-1.fc41.1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [149/169] sysprof-capture-devel-0:47.1- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [150/170] zlib-ng-compat-devel-0:2.2.2- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [151/171] cmake-filesystem-0:3.30.5-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [152/172] libjpeg-turbo-devel-0:3.0.4-1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [153/173] libpng-devel-2:1.6.44-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [154/174] libtiff-devel-0:4.6.0-6.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [155/175] libtiff-0:4.6.0-6.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [156/176] jbigkit-libs-0:2.1-30.fc41.x8 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [157/177] liblerc-0:4.0.0-7.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [158/178] libwebp-0:1.4.0-4.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [159/179] glibc-devel-0:2.40.9000-16.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [160/180] libxcrypt-devel-0:4.4.36-10.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [161/181] systemd-0:257~rc1-2.fc42.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [162/182] systemd-pam-0:257~rc1-2.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [163/183] dconf-devel-0:0.40.0-14.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [164/184] gpgme-devel-0:1.24.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [165/185] libgpg-error-devel-0:1.50-2.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [166/186] libXau-devel-0:1.0.11-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [167/187] xorg-x11-proto-devel-0:2024.1 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [168/188] libarchive-devel-0:3.7.7-1.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [169/189] libcurl-devel-0:8.10.1-2.fc42 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [170/190] libseccomp-devel-0:2.5.5-2.fc 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [171/191] libxml2-devel-0:2.12.8-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [172/192] xz-devel-1:5.6.3-2.fc42.x86_6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [173/193] libzstd-devel-0:1.5.6-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [174/194] malcontent-devel-0:0.12.0-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [175/195] ostree-devel-0:2024.9-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [176/196] polkit-devel-0:125-3.fc42.x86 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [177/197] polkit-docs-0:125-3.fc42.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [178/198] wayland-devel-0:1.23.0-2.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [179/199] libwayland-cursor-0:1.23.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [180/200] libwayland-egl-0:1.23.0-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [181/201] libwayland-server-0:1.23.0-2. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [182/202] libwebp-devel-0:1.4.0-4.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [183/203] libblkid-devel-0:2.40.2-8.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [184/204] brotli-devel-0:1.1.0-5.fc41.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [185/205] brotli-0:1.1.0-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [186/206] libidn2-devel-0:2.3.7-2.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [187/207] libnghttp2-devel-0:1.64.0-1.f 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [188/208] libpsl-devel-0:0.21.5-4.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [189/209] publicsuffix-list-0:20240107- 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [190/210] libssh-devel-0:0.11.1-1.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [191/211] openssl-devel-1:3.2.2-8.fc42. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [192/212] libassuan-devel-0:2.5.7-2.fc4 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [193/213] kernel-headers-0:6.12.0-0.rc7 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [194/214] annobin-plugin-gcc-0:12.70-1. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [195/215] gcc-plugin-annobin-0:14.2.1-6 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [196/216] annobin-docs-0:12.70-1.fc42.n 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded [197/216] python3-sphinx-copybutton-0:0 100% | 457.2 KiB/s | 22.9 KiB | 00m00s [198/216] python3-sphinx-1:7.3.7-2.fc41 100% | 28.6 MiB/s | 2.6 MiB | 00m00s [199/216] python3-babel-0:2.16.0-1.fc42 100% | 114.3 MiB/s | 6.5 MiB | 00m00s [200/216] python3-imagesize-0:1.4.1-9.f 100% | 2.7 MiB/s | 22.2 KiB | 00m00s [201/216] python3-jinja2-0:3.1.4-5.fc41 100% | 25.3 MiB/s | 492.8 KiB | 00m00s [202/216] python3-pygments-0:2.18.0-2.f 100% | 84.3 MiB/s | 2.5 MiB | 00m00s [203/216] python3-requests-0:2.32.3-3.f 100% | 9.2 MiB/s | 159.4 KiB | 00m00s [204/216] python3-snowballstemmer-0:2.2 100% | 14.8 MiB/s | 258.4 KiB | 00m00s [205/216] python3-sphinx-theme-alabaste 100% | 2.6 MiB/s | 24.3 KiB | 00m00s [206/216] python3-beautifulsoup4-0:4.12 100% | 12.7 MiB/s | 325.3 KiB | 00m00s [207/216] python3-sphinxext-opengraph-0 100% | 78.5 KiB/s | 38.7 KiB | 00m00s [208/216] python3-markupsafe-0:3.0.2-1. 100% | 3.7 MiB/s | 30.0 KiB | 00m00s [209/216] python3-charset-normalizer-0: 100% | 7.6 MiB/s | 109.2 KiB | 00m00s [210/216] python3-idna-0:3.9-1.fc42.noa 100% | 5.8 MiB/s | 117.9 KiB | 00m00s [211/216] python3-furo-0:2024.08.06-1.f 100% | 193.9 KiB/s | 116.2 KiB | 00m01s [212/216] python3-urllib3-0:2.2.3-3.fc4 100% | 9.7 MiB/s | 277.8 KiB | 00m00s [213/216] python3-lxml-0:5.3.0-1.fc42.x 100% | 37.0 MiB/s | 1.4 MiB | 00m00s [214/216] python3-soupsieve-0:2.6-2.fc4 100% | 2.8 MiB/s | 97.6 KiB | 00m00s [215/216] python3-sphinx-basic-ng-0:1.0 100% | 87.7 KiB/s | 34.5 KiB | 00m00s -------------------------------------------------------------------------------- [216/216] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/218] Verify package files 100% | 414.0 B/s | 216.0 B | 00m01s [ 2/218] Prepare transaction 100% | 1.2 KiB/s | 216.0 B | 00m00s [ 3/218] Installing libgpg-error-0:1.5 100% | 87.4 MiB/s | 895.4 KiB | 00m00s [ 4/218] Installing dbus-libs-1:1.14.1 100% | 72.3 MiB/s | 370.0 KiB | 00m00s [ 5/218] Installing cmake-filesystem-0 100% | 1.4 MiB/s | 7.3 KiB | 00m00s [ 6/218] Installing zlib-ng-compat-dev 100% | 35.3 MiB/s | 108.3 KiB | 00m00s [ 7/218] Installing libassuan-0:2.5.7- 100% | 40.4 MiB/s | 165.6 KiB | 00m00s [ 8/218] Installing expat-0:2.6.4-1.fc 100% | 56.2 MiB/s | 287.6 KiB | 00m00s [ 9/218] Installing libpng-2:1.6.44-1. 100% | 60.3 MiB/s | 247.0 KiB | 00m00s [ 10/218] Installing libwayland-client- 100% | 20.6 MiB/s | 63.3 KiB | 00m00s [ 11/218] Installing libseccomp-0:2.5.5 100% | 34.2 MiB/s | 175.2 KiB | 00m00s [ 12/218] Installing libXau-0:1.0.11-7. 100% | 22.3 MiB/s | 68.4 KiB | 00m00s [ 13/218] Installing libxcb-0:1.17.0-3. 100% | 118.8 MiB/s | 1.2 MiB | 00m00s [ 14/218] Installing fonts-filesystem-1 100% | 384.8 KiB/s | 788.0 B | 00m00s [ 15/218] Installing libogg-2:1.3.5-9.f 100% | 16.6 MiB/s | 51.0 KiB | 00m00s [ 16/218] Installing libjpeg-turbo-0:3. 100% | 77.2 MiB/s | 790.8 KiB | 00m00s [ 17/218] Installing xml-common-0:0.6.3 100% | 19.8 MiB/s | 81.1 KiB | 00m00s [ 18/218] Installing fuse3-libs-0:3.16. 100% | 55.2 MiB/s | 282.6 KiB | 00m00s [ 19/218] Installing libjpeg-turbo-deve 100% | 69.5 MiB/s | 355.6 KiB | 00m00s [ 20/218] Installing libgpg-error-devel 100% | 20.1 MiB/s | 247.3 KiB | 00m00s [ 21/218] Installing openssl-devel-1:3. 100% | 28.5 MiB/s | 5.2 MiB | 00m00s [ 22/218] Installing libzstd-devel-0:1. 100% | 66.2 MiB/s | 203.2 KiB | 00m00s [ 23/218] Installing libwebp-0:1.4.0-4. 100% | 115.3 MiB/s | 826.8 KiB | 00m00s [ 24/218] Installing libffi-devel-0:3.4 100% | 8.5 MiB/s | 34.8 KiB | 00m00s [ 25/218] Installing libxslt-0:1.1.42-2 100% | 79.1 MiB/s | 486.2 KiB | 00m00s [ 26/218] Installing dbus-common-1:1.14 100% | 1.7 MiB/s | 13.6 KiB | 00m00s [ 27/218] Installing opus-0:1.5.2-1.fc4 100% | 100.8 MiB/s | 412.8 KiB | 00m00s [ 28/218] Installing bubblewrap-0:0.10. 100% | 26.6 MiB/s | 136.3 KiB | 00m00s [ 29/218] Installing libtextstyle-0:0.2 100% | 64.0 MiB/s | 196.5 KiB | 00m00s [ 30/218] Installing gettext-libs-0:0.2 100% | 186.3 MiB/s | 1.7 MiB | 00m00s [ 31/218] Installing libmpc-0:1.3.1-6.f 100% | 32.5 MiB/s | 166.2 KiB | 00m00s [ 32/218] Installing cpp-0:14.2.1-6.fc4 100% | 239.6 MiB/s | 35.0 MiB | 00m00s [ 33/218] Installing dbus-broker-0:36-4 100% | 37.6 MiB/s | 385.3 KiB | 00m00s [ 34/218] Installing dbus-1:1.14.10-4.f 100% | 60.5 KiB/s | 124.0 B | 00m00s [ 35/218] Installing systemd-pam-0:257~ 100% | 111.4 MiB/s | 1.1 MiB | 00m00s [ 36/218] Installing systemd-0:257~rc1- 100% | 93.4 MiB/s | 17.6 MiB | 00m00s [ 37/218] Installing libwebp-devel-0:1. 100% | 20.2 MiB/s | 124.0 KiB | 00m00s [ 38/218] Installing libarchive-devel-0 100% | 6.1 MiB/s | 185.9 KiB | 00m00s [ 39/218] Installing libassuan-devel-0: 100% | 26.0 MiB/s | 79.9 KiB | 00m00s [ 40/218] Installing flac-libs-0:1.4.3- 100% | 132.2 MiB/s | 677.0 KiB | 00m00s [ 41/218] Installing libvorbis-1:1.3.7- 100% | 102.1 MiB/s | 836.2 KiB | 00m00s [ 42/218] Installing abattis-cantarell- 100% | 47.5 MiB/s | 194.4 KiB | 00m00s [ 43/218] Installing libseccomp-devel-0 100% | 13.0 MiB/s | 119.5 KiB | 00m00s [ 44/218] Installing libwayland-cursor- 100% | 9.4 MiB/s | 38.5 KiB | 00m00s [ 45/218] Installing libpng-devel-2:1.6 100% | 96.6 MiB/s | 889.9 KiB | 00m00s [ 46/218] Installing libssh-devel-0:0.1 100% | 58.7 MiB/s | 180.3 KiB | 00m00s [ 47/218] Installing avahi-libs-0:0.8-3 100% | 28.8 MiB/s | 176.8 KiB | 00m00s [ 48/218] Installing dbus-tools-1:1.14. 100% | 11.9 MiB/s | 134.1 KiB | 00m00s [ 49/218] Installing dbus-daemon-1:1.14 100% | 23.7 MiB/s | 557.9 KiB | 00m00s [ 50/218] Installing libgcrypt-0:1.11.0 100% | 172.2 MiB/s | 1.6 MiB | 00m00s [ 51/218] Installing libksba-0:1.6.7-2. 100% | 65.3 MiB/s | 401.0 KiB | 00m00s [ 52/218] Installing annobin-docs-0:12. 100% | 16.1 MiB/s | 98.8 KiB | 00m00s [ 53/218] Installing kernel-headers-0:6 100% | 104.7 MiB/s | 6.6 MiB | 00m00s [ 54/218] Installing libxcrypt-devel-0: 100% | 5.3 MiB/s | 32.9 KiB | 00m00s [ 55/218] Installing glibc-devel-0:2.40 100% | 80.3 MiB/s | 2.3 MiB | 00m00s [ 56/218] Installing publicsuffix-list- 100% | 103.9 MiB/s | 319.1 KiB | 00m00s [ 57/218] Installing libpsl-devel-0:0.2 100% | 22.2 MiB/s | 113.6 KiB | 00m00s [ 58/218] Installing libnghttp2-devel-0 100% | 96.5 MiB/s | 296.5 KiB | 00m00s [ 59/218] Installing libidn2-devel-0:2. 100% | 36.3 MiB/s | 260.1 KiB | 00m00s [ 60/218] Installing brotli-0:1.1.0-5.f 100% | 3.2 MiB/s | 32.5 KiB | 00m00s [ 61/218] Installing brotli-devel-0:1.1 100% | 13.3 MiB/s | 68.0 KiB | 00m00s [ 62/218] Installing libcurl-devel-0:8. 100% | 39.9 MiB/s | 1.4 MiB | 00m00s [ 63/218] Installing libblkid-devel-0:2 100% | 11.2 MiB/s | 46.0 KiB | 00m00s [ 64/218] Installing libwayland-server- 100% | 26.0 MiB/s | 79.8 KiB | 00m00s [ 65/218] Installing libwayland-egl-0:1 100% | 4.3 MiB/s | 17.6 KiB | 00m00s [ 66/218] Installing wayland-devel-0:1. 100% | 83.9 MiB/s | 687.4 KiB | 00m00s [ 67/218] Installing xz-devel-1:5.6.3-2 100% | 42.2 MiB/s | 259.4 KiB | 00m00s [ 68/218] Installing libxml2-devel-0:2. 100% | 189.8 MiB/s | 3.4 MiB | 00m00s [ 69/218] Installing xorg-x11-proto-dev 100% | 111.4 MiB/s | 1.8 MiB | 00m00s [ 70/218] Installing libXau-devel-0:1.0 100% | 1.6 MiB/s | 8.2 KiB | 00m00s [ 71/218] Installing liblerc-0:4.0.0-7. 100% | 119.0 MiB/s | 609.0 KiB | 00m00s [ 72/218] Installing jbigkit-libs-0:2.1 100% | 23.4 MiB/s | 119.6 KiB | 00m00s [ 73/218] Installing libtiff-0:4.6.0-6. 100% | 99.0 MiB/s | 608.2 KiB | 00m00s [ 74/218] Installing libtiff-devel-0:4. 100% | 100.4 MiB/s | 720.0 KiB | 00m00s [ 75/218] Installing sysprof-capture-de 100% | 53.9 MiB/s | 276.0 KiB | 00m00s [ 76/218] Installing pcre2-utf32-0:10.4 100% | 137.4 MiB/s | 562.8 KiB | 00m00s [ 77/218] Installing pcre2-utf16-0:10.4 100% | 20.6 MiB/s | 590.9 KiB | 00m00s [ 78/218] Installing pcre2-devel-0:10.4 100% | 124.7 MiB/s | 2.0 MiB | 00m00s [ 79/218] Installing libsepol-devel-0:3 100% | 17.8 MiB/s | 127.8 KiB | 00m00s [ 80/218] Installing libselinux-devel-0 100% | 12.1 MiB/s | 161.3 KiB | 00m00s [ 81/218] Installing libmount-devel-0:2 100% | 7.0 MiB/s | 64.5 KiB | 00m00s [ 82/218] Installing tzdata-0:2024a-9.f 100% | 30.3 MiB/s | 1.9 MiB | 00m00s [ 83/218] Installing python-pip-wheel-0 100% | 310.4 MiB/s | 1.2 MiB | 00m00s [ 84/218] Installing mpdecimal-0:2.5.1- 100% | 67.1 MiB/s | 206.0 KiB | 00m00s [ 85/218] Installing libb2-0:0.98.1-12. 100% | 5.3 MiB/s | 43.3 KiB | 00m00s [ 86/218] Installing python3-libs-0:3.1 100% | 220.1 MiB/s | 40.7 MiB | 00m00s [ 87/218] Installing python3-0:3.13.0-1 100% | 8.2 MiB/s | 33.5 KiB | 00m00s [ 88/218] Installing python3-packaging- 100% | 55.5 MiB/s | 568.0 KiB | 00m00s [ 89/218] Installing python3-pygments-0 100% | 166.8 MiB/s | 10.8 MiB | 00m00s [ 90/218] Installing python3-idna-0:3.9 100% | 78.9 MiB/s | 646.1 KiB | 00m00s [ 91/218] Installing python3-urllib3-0: 100% | 77.1 MiB/s | 1.0 MiB | 00m00s [ 92/218] Installing python3-docutils-0 100% | 129.4 MiB/s | 5.0 MiB | 00m00s [ 93/218] Installing python3-babel-0:2. 100% | 217.6 MiB/s | 28.5 MiB | 00m00s [ 94/218] Installing python3-imagesize- 100% | 9.4 MiB/s | 38.3 KiB | 00m00s [ 95/218] Installing python3-snowballst 100% | 145.4 MiB/s | 1.7 MiB | 00m00s [ 96/218] Installing python3-sphinx-the 100% | 7.6 MiB/s | 46.4 KiB | 00m00s [ 97/218] Installing python3-setuptools 100% | 133.7 MiB/s | 8.6 MiB | 00m00s [ 98/218] Installing python3-execnet-0: 100% | 83.3 MiB/s | 938.2 KiB | 00m00s [ 99/218] Installing python3-markupsafe 100% | 11.8 MiB/s | 60.2 KiB | 00m00s [100/218] Installing python3-jinja2-0:3 100% | 193.7 MiB/s | 2.9 MiB | 00m00s [101/218] Installing python3-charset-no 100% | 40.3 MiB/s | 329.8 KiB | 00m00s [102/218] Installing python3-requests-0 100% | 40.5 MiB/s | 498.0 KiB | 00m00s [103/218] Installing python3-sphinx-1:7 100% | 141.4 MiB/s | 11.0 MiB | 00m00s [104/218] Installing python3-sphinx-bas 100% | 6.2 MiB/s | 44.7 KiB | 00m00s [105/218] Installing python3-lxml-0:5.3 100% | 191.0 MiB/s | 5.0 MiB | 00m00s [106/218] Installing python3-soupsieve- 100% | 58.7 MiB/s | 300.6 KiB | 00m00s [107/218] Installing python3-beautifuls 100% | 119.2 MiB/s | 1.4 MiB | 00m00s [108/218] Installing python3-iniconfig- 100% | 7.7 MiB/s | 23.6 KiB | 00m00s [109/218] Installing python3-pluggy-0:1 100% | 27.8 MiB/s | 199.4 KiB | 00m00s [110/218] Installing python3-pytest-0:8 100% | 268.7 MiB/s | 21.0 MiB | 00m00s [111/218] Installing google-noto-fonts- 100% | 5.9 MiB/s | 18.3 KiB | 00m00s [112/218] Installing google-noto-sans-v 100% | 178.4 MiB/s | 1.2 MiB | 00m00s [113/218] Installing default-fonts-core 100% | 505.3 KiB/s | 18.2 KiB | 00m00s [114/218] Installing tpm2-tss-0:4.1.3-3 100% | 121.6 MiB/s | 1.6 MiB | 00m00s [115/218] Installing npth-0:1.7-2.fc41. 100% | 16.5 MiB/s | 50.7 KiB | 00m00s [116/218] Installing libdatrie-0:0.2.13 100% | 19.2 MiB/s | 59.0 KiB | 00m00s [117/218] Installing libthai-0:0.1.29-9 100% | 109.6 MiB/s | 785.3 KiB | 00m00s [118/218] Installing graphite2-0:1.3.14 100% | 37.9 MiB/s | 194.1 KiB | 00m00s [119/218] Installing fribidi-0:1.0.16-1 100% | 38.5 MiB/s | 197.0 KiB | 00m00s [120/218] Installing pixman-0:0.44.0-0. 100% | 164.0 MiB/s | 671.9 KiB | 00m00s [121/218] Installing libasyncns-0:0.8-2 100% | 19.7 MiB/s | 60.6 KiB | 00m00s [122/218] Installing mpg123-libs-0:1.31 100% | 96.4 MiB/s | 789.9 KiB | 00m00s [123/218] Installing lame-libs-0:3.100- 100% | 199.0 MiB/s | 1.2 MiB | 00m00s [124/218] Installing gsm-0:1.0.22-7.fc4 100% | 17.2 MiB/s | 70.4 KiB | 00m00s [125/218] Installing libsndfile-0:1.2.2 100% | 104.6 MiB/s | 535.6 KiB | 00m00s [126/218] Installing pulseaudio-libs-0: 100% | 178.3 MiB/s | 3.4 MiB | 00m00s [127/218] Installing nettle-0:3.10-3.fc 100% | 97.2 MiB/s | 796.1 KiB | 00m00s [128/218] Installing gnutls-0:3.8.8-1.f 100% | 52.4 MiB/s | 3.2 MiB | 00m00s [129/218] Installing glib2-0:2.83.0-1.f 100% | 282.6 MiB/s | 14.7 MiB | 00m00s [130/218] Installing glib2-devel-0:2.83 100% | 330.5 MiB/s | 15.9 MiB | 00m00s [131/218] Installing shared-mime-info-0 100% | 150.4 MiB/s | 2.6 MiB | 00m00s [132/218] Installing gdk-pixbuf2-0:2.42 100% | 140.3 MiB/s | 2.5 MiB | 00m00s [133/218] Installing json-glib-0:1.10.0 100% | 70.1 MiB/s | 574.1 KiB | 00m00s [134/218] Installing dconf-0:0.40.0-14. 100% | 24.1 MiB/s | 320.5 KiB | 00m00s [135/218] Installing malcontent-libs-0: 100% | 27.0 MiB/s | 110.8 KiB | 00m00s [136/218] Installing polkit-libs-0:125- 100% | 65.9 MiB/s | 202.5 KiB | 00m00s [137/218] Installing polkit-docs-0:125- 100% | 133.3 MiB/s | 955.8 KiB | 00m00s [138/218] Installing polkit-devel-0:125 100% | 100.5 MiB/s | 411.8 KiB | 00m00s [139/218] Installing freetype-0:2.13.3- 100% | 138.7 MiB/s | 852.2 KiB | 00m00s [140/218] Installing harfbuzz-0:10.1.0- 100% | 244.7 MiB/s | 2.7 MiB | 00m00s [141/218] Installing fontconfig-0:2.15. 100% | 789.0 KiB/s | 811.1 KiB | 00m01s [142/218] Installing malcontent-devel-0 100% | 42.0 MiB/s | 129.1 KiB | 00m00s [143/218] Installing dconf-devel-0:0.40 100% | 39.9 MiB/s | 204.1 KiB | 00m00s [144/218] Installing json-glib-devel-0: 100% | 149.7 MiB/s | 2.7 MiB | 00m00s [145/218] Installing libxmlb-0:0.3.21-1 100% | 71.0 MiB/s | 290.9 KiB | 00m00s [146/218] Installing python3-dbus-0:1.3 100% | 86.9 MiB/s | 533.8 KiB | 00m00s [147/218] Installing geoclue2-libs-0:2. 100% | 54.9 MiB/s | 168.7 KiB | 00m00s [148/218] Installing libportal-0:0.8.1- 100% | 70.7 MiB/s | 217.3 KiB | 00m00s [149/218] Installing gobject-introspect 100% | 78.2 MiB/s | 400.5 KiB | 00m00s [150/218] Installing python3-gobject-ba 100% | 160.0 MiB/s | 1.4 MiB | 00m00s [151/218] Installing flatpak-session-he 100% | 34.1 MiB/s | 104.8 KiB | 00m00s [152/218] Installing xdg-dbus-proxy-0:0 100% | 31.3 MiB/s | 96.2 KiB | 00m00s [153/218] Installing gnupg2-0:2.4.5-3.f 100% | 257.9 MiB/s | 9.5 MiB | 00m00s [154/218] Installing gpgme-0:1.24.0-1.f 100% | 115.1 MiB/s | 589.3 KiB | 00m00s [155/218] Installing gpgme-devel-0:1.24 100% | 97.6 MiB/s | 300.0 KiB | 00m00s [156/218] Installing composefs-libs-0:1 100% | 54.8 MiB/s | 168.2 KiB | 00m00s [157/218] Installing ostree-libs-0:2024 100% | 161.3 MiB/s | 1.1 MiB | 00m00s [158/218] Installing flatpak-libs-0:1.1 100% | 170.5 MiB/s | 1.0 MiB | 00m00s [159/218] Installing ostree-devel-0:202 100% | 325.0 MiB/s | 2.6 MiB | 00m00s [160/218] Installing fuse-common-0:3.16 100% | 142.6 KiB/s | 292.0 B | 00m00s [161/218] Installing fuse3-0:3.16.2-4.f 100% | 41.8 MiB/s | 128.4 KiB | 00m00s [162/218] Installing libyaml-0:0.2.5-15 100% | 66.3 MiB/s | 135.8 KiB | 00m00s [163/218] Installing libstemmer-0:2.2.0 100% | 53.7 MiB/s | 605.3 KiB | 00m00s [164/218] Installing appstream-data-0:4 100% | 112.3 MiB/s | 14.8 MiB | 00m00s [165/218] Installing appstream-0:1.0.2- 100% | 220.2 MiB/s | 3.5 MiB | 00m00s [166/218] Installing libX11-common-0:1. 100% | 79.2 MiB/s | 1.2 MiB | 00m00s [167/218] Installing libX11-0:1.8.10-2. 100% | 214.2 MiB/s | 1.3 MiB | 00m00s [168/218] Installing libXrender-0:0.9.1 100% | 25.1 MiB/s | 51.4 KiB | 00m00s [169/218] Installing libXft-0:2.3.8-7.f 100% | 81.1 MiB/s | 166.0 KiB | 00m00s [170/218] Installing dbus-x11-1:1.14.10 100% | 12.0 MiB/s | 37.0 KiB | 00m00s [171/218] Installing libXext-0:1.3.6-2. 100% | 29.7 MiB/s | 91.3 KiB | 00m00s [172/218] Installing cairo-0:1.18.0-4.f 100% | 193.7 MiB/s | 1.7 MiB | 00m00s [173/218] Installing cairo-gobject-0:1. 100% | 17.6 MiB/s | 36.1 KiB | 00m00s [174/218] Installing pango-0:1.54.0-2.f 100% | 139.8 MiB/s | 1.0 MiB | 00m00s [175/218] Installing librsvg2-0:2.59.2- 100% | 273.3 MiB/s | 4.6 MiB | 00m00s [176/218] Installing rsvg-pixbuf-loader 100% | 5.6 MiB/s | 341.3 KiB | 00m00s [177/218] Installing flatpak-0:1.15.10- 100% | 170.0 MiB/s | 6.3 MiB | 00m00s [178/218] Installing python3-cairo-0:1. 100% | 97.0 MiB/s | 496.6 KiB | 00m00s [179/218] Installing python3-gobject-0: 100% | 12.0 MiB/s | 24.6 KiB | 00m00s [180/218] Installing webrtc-audio-proce 100% | 191.9 MiB/s | 1.3 MiB | 00m00s [181/218] Installing libusb1-0:1.0.27-4 100% | 56.1 MiB/s | 172.3 KiB | 00m00s [182/218] Installing libsbc-0:2.0-5.fc4 100% | 46.2 MiB/s | 94.6 KiB | 00m00s [183/218] Installing libldac-0:2.0.2.3- 100% | 41.2 MiB/s | 84.4 KiB | 00m00s [184/218] Installing liblc3-0:1.1.1-3.f 100% | 55.9 MiB/s | 171.9 KiB | 00m00s [185/218] Installing fdk-aac-free-0:2.0 100% | 118.9 MiB/s | 608.7 KiB | 00m00s [186/218] Installing bluez-libs-0:5.79- 100% | 65.0 MiB/s | 199.8 KiB | 00m00s [187/218] Installing alsa-lib-0:1.2.12- 100% | 116.3 MiB/s | 1.4 MiB | 00m00s [188/218] Installing pipewire-libs-0:1. 100% | 183.0 MiB/s | 7.1 MiB | 00m00s [189/218] Installing vim-filesystem-2:9 100% | 1.5 MiB/s | 4.7 KiB | 00m00s [190/218] Installing emacs-filesystem-1 100% | 531.2 KiB/s | 544.0 B | 00m00s [191/218] Installing ninja-build-0:1.12 100% | 106.4 MiB/s | 435.8 KiB | 00m00s [192/218] Installing gettext-envsubst-0 100% | 24.9 MiB/s | 76.3 KiB | 00m00s [193/218] Installing gettext-runtime-0: 100% | 59.9 MiB/s | 490.7 KiB | 00m00s [194/218] Installing m4-0:1.4.19-10.fc4 100% | 97.5 MiB/s | 599.2 KiB | 00m00s [195/218] Installing flex-0:2.6.4-18.fc 100% | 113.2 MiB/s | 811.4 KiB | 00m00s [196/218] Installing sgml-common-0:0.6. 100% | 34.2 MiB/s | 174.9 KiB | 00m00s [197/218] Installing docbook-dtds-0:1.0 100% | 32.5 MiB/s | 8.3 MiB | 00m00s [198/218] Installing docbook-style-xsl- 100% | 146.9 MiB/s | 15.9 MiB | 00m00s [199/218] Installing make-1:4.4.1-9.fc4 100% | 150.0 MiB/s | 1.8 MiB | 00m00s [200/218] Installing gcc-0:14.2.1-6.fc4 100% | 338.7 MiB/s | 104.3 MiB | 00m00s [201/218] Installing systemd-devel-0:25 100% | 20.1 MiB/s | 741.9 KiB | 00m00s [202/218] Installing flatpak-devel-0:1. 100% | 209.3 MiB/s | 1.5 MiB | 00m00s [203/218] Installing annobin-plugin-gcc 100% | 64.3 MiB/s | 987.3 KiB | 00m00s [204/218] Installing gcc-plugin-annobin 100% | 3.9 MiB/s | 59.2 KiB | 00m00s [205/218] Installing xmlto-0:0.0.29-1.f 100% | 24.7 MiB/s | 126.2 KiB | 00m00s [206/218] Installing gettext-0:0.22.5-6 100% | 209.6 MiB/s | 5.2 MiB | 00m00s [207/218] Installing meson-0:1.5.1-1.fc 100% | 202.1 MiB/s | 11.5 MiB | 00m00s [208/218] Installing pipewire-devel-0:1 100% | 38.5 MiB/s | 866.3 KiB | 00m00s [209/218] Installing python3-dbusmock-0 100% | 84.4 MiB/s | 605.1 KiB | 00m00s [210/218] Installing libportal-devel-0: 100% | 92.7 MiB/s | 379.9 KiB | 00m00s [211/218] Installing geoclue2-devel-0:2 100% | 125.4 MiB/s | 899.2 KiB | 00m00s [212/218] Installing gdk-pixbuf2-devel- 100% | 143.8 MiB/s | 2.3 MiB | 00m00s [213/218] Installing python3-pytest-xdi 100% | 60.3 MiB/s | 432.1 KiB | 00m00s [214/218] Installing python3-furo-0:202 100% | 46.4 MiB/s | 379.8 KiB | 00m00s [215/218] Installing python3-sphinx-cop 100% | 12.6 MiB/s | 38.7 KiB | 00m00s [216/218] Installing python3-sphinxext- 100% | 23.2 MiB/s | 71.4 KiB | 00m00s [217/218] Installing fuse3-devel-0:3.16 100% | 78.3 MiB/s | 160.3 KiB | 00m00s [218/218] Installing systemd-rpm-macros 100% | 1.6 KiB/s | 11.2 KiB | 00m07s Complete! >>> 2024-11-13 03:46:07 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: fedora 100% | 1.2 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 15.5 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package Arch Version Repository Size Installing: ShellCheck x86_64 0.10.0-3.fc41 fedora 20.6 MiB cppcheck x86_64 2.16.0-1.fc42 fedora 10.4 MiB gcc-latest x86_64 15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42 copr_base 295.1 MiB Installing dependencies: pcre x86_64 8.45-1.fc41.7 fedora 545.8 KiB tinyxml2 x86_64 9.0.0-5.fc41 fedora 103.8 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 78 MiB. Need to download 0 B. After this operation, 327 MiB extra will be used (install 327 MiB, remove 0 B). [1/1] gcc-latest-0:15.0.0-4.20241020git 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cppcheck-0:2.16.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] ShellCheck-0:0.10.0-3.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] pcre-0:8.45-1.fc41.7.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] tinyxml2-0:9.0.0-5.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 16.0 B/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 92.0 B/s | 5.0 B | 00m00s [3/7] Installing tinyxml2-0:9.0.0-5.fc4 100% | 20.5 MiB/s | 104.9 KiB | 00m00s [4/7] Installing pcre-0:8.45-1.fc41.7.x 100% | 76.5 MiB/s | 548.1 KiB | 00m00s [5/7] Installing cppcheck-0:2.16.0-1.fc 100% | 288.7 MiB/s | 10.4 MiB | 00m00s [6/7] Installing ShellCheck-0:0.10.0-3. 100% | 412.1 MiB/s | 20.6 MiB | 00m00s [7/7] Installing gcc-latest-0:15.0.0-4. 100% | 55.0 MiB/s | 295.4 MiB | 00m05s Warning: skipped PGP checks for 1 package from repository: copr_base Complete! >>> 2024-11-13 03:46:15 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 03:46:17 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock4z05obyv/rpm-list-mock-provides.txt >>> 2024-11-13 03:46:18 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--copyin" "/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42.src.rpm" "/builddir/xdg-desktop-portal-1.19.0-1.fc42.src.rpm" >>> 2024-11-13 03:46:19 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 03:46:20 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"rpm -Uvh --nodeps '/builddir/xdg-desktop-portal-1.19.0-1.fc42.src.rpm'\"" Updating / installing... xdg-desktop-portal-1.19.0-1.fc42 ######################################## >>> 2024-11-13 03:46:21 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/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.19.0-1.fc42.src.rpm || :'\"" setting SOURCE_DATE_EPOCH=1728604800 Wrote: /builddir/build/SRPMS/xdg-desktop-portal-1.19.0-1.fc42.src.rpm renamed 'xdg-desktop-portal-1.19.0-1.fc42.src.rpm' -> '/builddir/xdg-desktop-portal-1.19.0-1.fc42.src.rpm' >>> 2024-11-13 03:46:22 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--disable-plugin=selinux" "--copyout" "/builddir/xdg-desktop-portal-1.19.0-1.fc42.src.rpm" "/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42.src.rpm" >>> 2024-11-13 03:46:23 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--no-clean" "--calculate-build-dependencies" "/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42.src.rpm" Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1728604800 Wrote: /builddir/build/SRPMS/xdg-desktop-portal-1.19.0-1.fc42.src.rpm Updating and loading repositories: fedora 100% | 1.2 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 16.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package "python3-docutils-0.21.2-1.fc42.noarch" is already installed. Package "python3-sphinx-1:7.3.7-2.fc41.noarch" is already installed. Package "xmlto-0.0.29-1.fc41.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "gettext-0.22.5-6.fc41.x86_64" is already installed. Package "meson-1.5.1-1.fc42.noarch" is already installed. Package "flatpak-devel-1.15.10-1.fc42.x86_64" is already installed. Package "fuse3-devel-3.16.2-4.fc41.x86_64" is already installed. Package "gdk-pixbuf2-devel-2.42.12-6.fc41.x86_64" is already installed. Package "glib2-devel-2.83.0-1.fc42.x86_64" is already installed. Package "json-glib-devel-1.10.0-1.fc42.x86_64" is already installed. Package "geoclue2-devel-2.7.0-6.fc41.x86_64" is already installed. Package "pipewire-devel-1.2.6-1.fc42.x86_64" is already installed. Package "libportal-devel-0.8.1-2.fc42.x86_64" is already installed. Package "systemd-devel-257~rc1-2.fc42.x86_64" is already installed. Package "python3-dbusmock-0.32.2-1.fc42.noarch" is already installed. Package "python3-furo-2024.08.06-1.fc41.noarch" is already installed. Package "python3-gobject-base-3.48.2-3.fc41.x86_64" is already installed. Package "python3-pytest-8.3.3-3.fc42.noarch" is already installed. Package "python3-pytest-xdist-3.6.1-4.fc41.noarch" is already installed. Package "python3-sphinx-copybutton-0.5.2-6.fc41.noarch" is already installed. Package "python3-sphinxext-opengraph-0.9.1-4.fc41.noarch" is already installed. Package "systemd-rpm-macros-257~rc1-2.fc42.noarch" is already installed. Nothing to do. >>> 2024-11-13 03:46:27 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "tar" "gcc-latest" "cppcheck" "gcc" "ShellCheck" Updating and loading repositories: Copr repository 100% | 15.6 KiB/s | 1.5 KiB | 00m00s fedora 100% | 1.2 MiB/s | 28.0 KiB | 00m00s Repositories loaded. Package "tar-2:1.35-4.fc41.x86_64" is already installed. Package "gcc-latest-15.0.0-4.20241020git01f50ebfd97a.pr116613.v0.155.fc42.x86_64" is already installed. Package "cppcheck-2.16.0-1.fc42.x86_64" is already installed. Package "gcc-14.2.1-6.fc42.x86_64" is already installed. Package "ShellCheck-0.10.0-3.fc41.x86_64" is already installed. Nothing to do. >>> 2024-11-13 03:46:29 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 03:46:30 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock4z05obyv/rpm-list-mock-provides.txt >>> 2024-11-13 03:46:31 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "csdiff" Updating and loading repositories: Copr repository 100% | 13.5 KiB/s | 1.5 KiB | 00m00s fedora 100% | 1.3 MiB/s | 28.0 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: csdiff x86_64 3.5.2-1.fc42 fedora 3.7 MiB Installing dependencies: boost-atomic x86_64 1.83.0-8.fc41 fedora 21.0 KiB boost-filesystem x86_64 1.83.0-8.fc41 fedora 147.6 KiB boost-program-options x86_64 1.83.0-8.fc41 fedora 272.7 KiB boost-system x86_64 1.83.0-8.fc41 fedora 16.3 KiB Transaction Summary: Installing: 5 packages Total size of inbound packages is 1 MiB. Need to download 0 B. After this operation, 4 MiB extra will be used (install 4 MiB, remove 0 B). [1/1] csdiff-0:3.5.2-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] boost-filesystem-0:1.83.0-8.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] boost-program-options-0:1.83.0-8. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] boost-atomic-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] boost-system-0:1.83.0-8.fc41.x86_ 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/7] Verify package files 100% | 1.2 KiB/s | 5.0 B | 00m00s [2/7] Prepare transaction 100% | 138.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% | 29.0 MiB/s | 148.6 KiB | 00m00s [6/7] Installing boost-program-options- 100% | 66.8 MiB/s | 273.8 KiB | 00m00s [7/7] Installing csdiff-0:3.5.2-1.fc42. 100% | 39.6 MiB/s | 3.7 MiB | 00m00s Complete! >>> 2024-11-13 03:46:33 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "clippy" Updating and loading repositories: fedora 100% | 1.3 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 16.1 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: clippy x86_64 1.82.0-1.fc42 fedora 11.0 MiB Installing dependencies: cargo x86_64 1.82.0-1.fc42 fedora 19.4 MiB libedit x86_64 3.1-53.20240808cvs.fc41 fedora 244.1 KiB libgit2 x86_64 1.8.4-1.fc42 fedora 1.3 MiB libssh2 x86_64 1.11.1-1.fc42 fedora 322.8 KiB llhttp x86_64 9.2.1-2.fc41 fedora 72.6 KiB llvm-libs x86_64 19.1.0-1.fc42 fedora 124.5 MiB rust x86_64 1.82.0-1.fc42 fedora 87.8 MiB rust-std-static x86_64 1.82.0-1.fc42 fedora 143.6 MiB Transaction Summary: Installing: 9 packages Total size of inbound packages is 105 MiB. Need to download 0 B. After this operation, 388 MiB extra will be used (install 388 MiB, remove 0 B). [1/1] clippy-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/2] cargo-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [2/2] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/3] rust-0:1.82.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [3/3] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/4] libgit2-0:1.8.4-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [4/4] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/5] libssh2-0:1.11.1-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [5/5] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/6] llvm-libs-0:19.1.0-1.fc42.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [6/6] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/7] rust-std-static-0:1.82.0-1.fc42.x 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [7/7] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/8] llhttp-0:9.2.1-2.fc41.x86_64 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [8/8] Total 100% | 0.0 B/s | 0.0 B | 00m00s [1/9] libedit-0:3.1-53.20240808cvs.fc41 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [9/9] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [ 1/11] Verify package files 100% | 26.0 B/s | 9.0 B | 00m00s [ 2/11] Prepare transaction 100% | 236.0 B/s | 9.0 B | 00m00s [ 3/11] Installing libssh2-0:1.11.1-1.f 100% | 52.8 MiB/s | 324.5 KiB | 00m00s [ 4/11] Installing libedit-0:3.1-53.202 100% | 60.0 MiB/s | 245.8 KiB | 00m00s [ 5/11] Installing llvm-libs-0:19.1.0-1 100% | 360.8 MiB/s | 124.5 MiB | 00m00s [ 6/11] Installing rust-std-static-0:1. 100% | 403.3 MiB/s | 143.6 MiB | 00m00s [ 7/11] Installing rust-0:1.82.0-1.fc42 100% | 337.7 MiB/s | 87.8 MiB | 00m00s [ 8/11] Installing llhttp-0:9.2.1-2.fc4 100% | 24.0 MiB/s | 73.8 KiB | 00m00s [ 9/11] Installing libgit2-0:1.8.4-1.fc 100% | 159.3 MiB/s | 1.3 MiB | 00m00s [10/11] Installing cargo-0:1.82.0-1.fc4 100% | 302.7 MiB/s | 19.4 MiB | 00m00s [11/11] Installing clippy-0:1.82.0-1.fc 100% | 4.9 MiB/s | 11.0 MiB | 00m02s Complete! >>> 2024-11-13 03:46:39 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-magic" Updating and loading repositories: Copr repository 100% | 15.5 KiB/s | 1.5 KiB | 00m00s fedora 100% | 1.1 MiB/s | 28.0 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-file-magic noarch 5.45-7.fc41 fedora 28.7 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 20 KiB. Need to download 0 B. After this operation, 29 KiB extra will be used (install 29 KiB, remove 0 B). [1/1] python3-file-magic-0:5.45-7.fc41. 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 62.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-file-magic-0:5 100% | 554.1 KiB/s | 31.0 KiB | 00m00s Complete! >>> 2024-11-13 03:46:41 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--install" "python3-six" Updating and loading repositories: fedora 100% | 1.4 MiB/s | 28.0 KiB | 00m00s Copr repository 100% | 16.0 KiB/s | 1.5 KiB | 00m00s Repositories loaded. Package Arch Version Repository Size Installing: python3-six noarch 1.16.0-23.fc41 fedora 118.3 KiB Transaction Summary: Installing: 1 package Total size of inbound packages is 41 KiB. Need to download 0 B. After this operation, 118 KiB extra will be used (install 118 KiB, remove 0 B). [1/1] python3-six-0:1.16.0-23.fc41.noar 100% | 0.0 B/s | 0.0 B | 00m00s >>> Already downloaded -------------------------------------------------------------------------------- [1/1] Total 100% | 0.0 B/s | 0.0 B | 00m00s Running transaction [1/3] Verify package files 100% | 0.0 B/s | 1.0 B | 00m00s [2/3] Prepare transaction 100% | 66.0 B/s | 1.0 B | 00m00s [3/3] Installing python3-six-0:1.16.0-2 100% | 2.6 MiB/s | 120.7 KiB | 00m00s Complete! >>> 2024-11-13 03:46:43 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa' | sort -V > /tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/rpm-list-mock.txt >>> 2024-11-13 03:46:44 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'rpm -qa --provides' | sort -V > /tmp/csmock4z05obyv/rpm-list-mock-provides.txt >>> 2024-11-13 03:46:45 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chown mockbuild -R /builddir" >>> 2024-11-13 03:46:46 tar -cP '/usr/share/csmock/scripts' '/usr/bin/cswrap' '/usr/lib64/cswrap' '/usr/bin/cscppc' '/usr/lib64/cscppc' '/usr/share/cscppc' '/usr/bin/csgcca' '/usr/lib64/csgcca' '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42.src.rpm' | '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -xC/' tar: Removing leading `/' from member names scan.ini: analyzer-version-clippy = 1.82.0 >>> 2024-11-13 03:46:47 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/usr/share/csmock/scripts/inject-clippy.sh" renamed '/usr/bin/cargo' -> '/usr/bin/cargo_original' scan.ini: analyzer-version-cppcheck = 2.16.0 scan.ini: analyzer-version-gcc = 14.2.1 >>> 2024-11-13 03:46:50 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events\"" >>> 2024-11-13 03:46:51 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "/bin/su mockbuild -l -c \"echo 'int main() {}' | /opt/gcc-latest/bin/gcc -xc - -c -o /dev/null -fanalyzer -fdiagnostics-path-format=separate-events -fdiagnostics-text-art-charset=none\"" >>> 2024-11-13 03:46:52 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "echo '#!/bin/bash exec /opt/gcc-latest/bin/gcc \"\$@\"' > /usr/bin/csmock-gcc-wrapper && chmod 755 /usr/bin/csmock-gcc-wrapper" >>> 2024-11-13 03:46:53 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "ln -sf ../../bin/cswrap /usr/lib64/cswrap/csmock-gcc-wrapper" scan.ini: analyzer-version-gcc-analyzer = 15.0.0 scan.ini: analyzer-version-shellcheck = 0.10.0 >>> 2024-11-13 03:46:55 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpm -Uvh --nodeps '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42.src.rpm'" Updating / installing... xdg-desktop-portal-1.19.0-1.fc42 ######################################## >>> 2024-11-13 03:46:56 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir" >>> 2024-11-13 03:46:57 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--shell" "for i in /usr/share/csmock/scripts/chroot-fixups/*; do test -x \$i && echo RUN: \$i >&2 && \$i; done" RUN: /usr/share/csmock/scripts/chroot-fixups/00-pre-usr-move-shells.sh RUN: /usr/share/csmock/scripts/chroot-fixups/gdk-pixbuf2-triggers.sh + /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-11-13 03:46:59 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"rpmbuild -bp --nodeps /builddir/build/SPECS/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.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/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.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "rpmbuild -bp --nodeps /builddir/build/SPECS/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=1728604800 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.x7NyL2 + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + test -d /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + /usr/bin/rm -rf /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KKphgg + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + cd /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + rm -rf xdg-desktop-portal-1.19.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/xdg-desktop-portal-1.19.0.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd xdg-desktop-portal-1.19.0 + /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-11-13 03:47:00 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "chmod -R +r /builddir/build" >>> 2024-11-13 03:47:01 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1728604800 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Rk1my3 + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.19.0-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.19.0 + 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.5.1 Source dir: /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0 Build dir: /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build Build type: native build Project name: xdg-desktop-portal Project version: 1.19.0 C compiler for the host machine: gcc (gcc 14.2.1 "gcc (GCC) 14.2.1 20241104 (Red Hat 14.2.1-6)") C linker for the host machine: gcc ld.bfd 2.43.50.20241014 Host machine cpu family: x86_64 Host machine cpu: x86_64 Found pkg-config: YES (/usr/bin/pkg-config) 2.3.0 Run-time dependency flatpak found: YES 1.15.10 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 Checking for function "splice" : 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.83.0 Run-time dependency gio-2.0 found: YES 2.83.0 Run-time dependency gio-unix-2.0 found: YES 2.83.0 Run-time dependency json-glib-1.0 found: YES 1.10.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.8.1 Run-time dependency libpipewire-0.3 found: YES 1.2.6 Run-time dependency libsystemd found: YES 257 Program bwrap found: YES (/usr/bin/bwrap) Program gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Program sphinx-build found: YES (/usr/bin/sphinx-build) Program python3 (sphinxext.opengraph, sphinx_copybutton, furo) found: YES (/usr/bin/python3) modules: sphinxext.opengraph, sphinx_copybutton, furo Program rst2man found: YES (/usr/bin/rst2man) Dependency gio-2.0 found: YES 2.83.0 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.83.0 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.83.0 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.83.0 (cached) Program /usr/bin/gdbus-codegen found: YES (/usr/bin/gdbus-codegen) Dependency gio-2.0 found: YES 2.83.0 (cached) Program /usr/bin/glib-compile-resources found: YES (/usr/bin/glib-compile-resources) Program generate-method-info.py found: YES (/builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/generate-method-info.py) Configuring xdp-method-info-generated.c with command 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.83.0 (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.83.0 (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 portals.conf.rst using configuration Program fix-rst-dbus.py found: YES (/builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/doc/fix-rst-dbus.py) Program copy-subdir.py found: YES (/usr/bin/python3 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/doc/copy-subdir.py) Program copy-subtree.py found: YES (/usr/bin/python3 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/doc/copy-subtree.py) WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 Configuring config.h using configuration Build targets in project: 71 NOTICE: Future-deprecated features used: * 0.62.0: {'pkgconfig.generate variable for builtin directories'} xdg-desktop-portal 1.19.0 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 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.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build' [1/262] /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/262] /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/262] /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/262] /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.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/262] /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 [6/262] /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 [7/262] /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/262] /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 [9/262] /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 [10/262] /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 [11/262] /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/262] /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.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 [13/262] /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 [14/262] /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 [15/262] /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 [16/262] /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 [17/262] /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.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 [18/262] /usr/bin/gdbus-codegen --generate-rst doc/doc ../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.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 ../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 ../data/org.freedesktop.background.Monitor.xml [19/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [20/262] gcc -Isrc/xdg-desktop-portal-validate-icon.p -Isrc -I../src -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/sysprof-6 -I/usr/include/gio-unix-2.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 -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.19.0-build/xdg-desktop-portal-1.19.0/src/validate-icon.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [21/262] 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 [22/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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/262] 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 [24/262] 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/262] 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, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:34: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c: In function ‘send_response_in_thread_func’: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: warning: dereference of NULL ‘error’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:107:9: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:67:1: note: (1) entry to ‘send_response_in_thread_func’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:87:6: note: (2) following ‘false’ branch (when ‘response == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:90:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:96:6: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:99:25: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:99:25: note: (6) ‘error’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:101:10: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:102:16: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (9) inlined call to ‘g_strdup_inline’ from ‘send_response_in_thread_func’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:102:16: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘send_response_in_thread_func’ at ../src/account.c:102:16: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c: In function ‘send_response_in_thread_func’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:107:61: note: (11) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:107:61: note: (12) ‘error’ is NULL <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: note: (13) dereference of NULL ‘error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/account.c:107:9: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] [26/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/background.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [27/262] 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/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c: In function ‘register_document’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:93: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] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:32: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:85:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:87:10: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:92:6: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:93:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:93:10: note: (5) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:93: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) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:95:10: warning: leak of file descriptor ‘open(g_file_get_path(g_file_new_for_uri(uri)), 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:85:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:87:10: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:92:6: note: (3) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:95:10: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:95:10: note: (5) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:95:10: note: (6) ‘open(g_file_get_path(g_file_new_for_uri(uri)), 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/documents.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [29/262] 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 [30/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/src/camera.c:254: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] [31/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/dynamic-launcher.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [32/262] 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 [33/262] 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 [34/262] 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/launch-context.c.o -MF src/xdg-desktop-portal.p/launch-context.c.o.d -o src/xdg-desktop-portal.p/launch-context.c.o -c ../src/launch-context.c [35/262] 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 In file included from /usr/include/glib-2.0/glib.h:64, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c: In function ‘send_response_in_thread_func’: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: warning: dereference of NULL ‘error’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:137:15: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:98:6: note: (1) following ‘false’ branch (when ‘response == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:101:14: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:113:6: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] cc1: note: (4) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:117:24: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:120:29: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:120:29: note: (7) ‘error’ is NULL <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:172:16: note: (8) following ‘true’ branch (when ‘__str_len > 6’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:124:16: note: in expansion of macro ‘g_str_has_prefix’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:173:26: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:124:16: note: in expansion of macro ‘g_str_has_prefix’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:124:14: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:130:15: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:130:14: note: (12) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:131:34: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:38: note: in definition of macro ‘g_strdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:137:69: note: (14) ‘error’ is NULL <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: note: (15) dereference of NULL ‘error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:137:15: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c: In function ‘looks_like_document_portal_path’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:173:7: warning: use of NULL ‘path’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:524:1: note: (1) entry to ‘handle_open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:542:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:552:7: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:554:8: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:556:37: note: (5) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (6) inlined call to ‘g_strdup_inline’ from ‘handle_open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:557:38: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘handle_open_file’ at ../src/file-chooser.c:557:38: /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c: In function ‘looks_like_document_portal_path’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:558:26: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:558:26: note: (9) ‘doc_id_from_app’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:559:13: note: (10) calling ‘looks_like_document_portal_path’ from ‘handle_open_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:163:1: note: (11) entry to ‘looks_like_document_portal_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:170:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:173:7: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:173:7: note: (14) argument 1 (‘path’) NULL where non-null expected <--[csmock-gcc-wrapper] : note: argument 1 of ‘__builtin_strstr’ must be non-null /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/file-chooser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [36/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/gamemode.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [37/262] 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 [38/262] 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 [39/262] 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 [40/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:108: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:112: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:120: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:204: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:221: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:263: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:266: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:320: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:326: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/pipewire.c:334: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] [41/262] 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/262] 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 [43/262] 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 [44/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/notification.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [45/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/portal-impl.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [46/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdp-impl-dbus.c: internal warning: child 387 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 387 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out) [47/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/open-uri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [48/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdp-dbus.c: internal warning: child 446 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 446 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out) [49/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/request.c:193: 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] [50/262] 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 [51/262] 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 [52/262] 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/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/realtime.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [54/262] 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 [55/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/src/screen-cast.c:690: error: integerOverflow(CWE-190): Signed integer overflow for expression '0-1'. <--[cppcheck] [56/262] 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] [57/262] 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 In file included from /usr/include/glib-2.0/glib.h:64, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gi18n.h:23, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:33: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c: In function ‘send_response_in_thread_func’: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: warning: dereference of NULL ‘error’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:127:9: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:96:21: note: (1) ‘error’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:106:6: note: (2) following ‘false’ branch (when ‘response == 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:109:12: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:110:6: note: (4) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:115:12: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:115:10: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:121:11: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:121:10: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:122:16: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:127:59: note: (10) ‘error’ is NULL <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: note: (11) dereference of NULL ‘error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:127:9: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/screenshot.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [58/262] 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 [59/262] 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 [60/262] 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 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdg-desktop-portal.c:125: 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] [61/262] 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 [62/262] 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 [63/262] 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-app-info-flatpak.c.o -MF src/xdg-desktop-portal.p/xdp-app-info-flatpak.c.o.d -o src/xdg-desktop-portal.p/xdp-app-info-flatpak.c.o -c ../src/xdp-app-info-flatpak.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: warning: leak of ‘opendir("/proc")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:542:1: note: (1) entry to ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:550:6: note: (2) following ‘false’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (4) calling ‘load_bwrap_info’ from ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:496:1: note: (5) entry to ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-types.h:32, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:505:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:507:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:513:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:516:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:517:6: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:523:10: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:524:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:54:42: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:74:42: note: in expansion of macro ‘JSON_NODE_HOLDS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:8: note: in expansion of macro ‘JSON_NODE_HOLDS_OBJECT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:6: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:503:20: note: (15) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:117: <--[csmock-gcc-wrapper] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:503:20: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:500:23: note: (17) inlined call to ‘glib_autoptr_cleanup_JsonNode’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (18) inlined call to ‘glib_autoptr_clear_JsonNode’ from ‘glib_autoptr_cleanup_JsonNode’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonNode’, inlined from ‘glib_autoptr_cleanup_JsonNode’ at /usr/include/json-glib-1.0/json-glib/json-types.h:533:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:500:23: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (19) following ‘false’ branch (when ‘root’ is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:499:25: note: (20) inlined call to ‘glib_autoptr_cleanup_JsonParser’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (21) inlined call to ‘glib_autoptr_clear_JsonParser’ from ‘glib_autoptr_cleanup_JsonParser’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonParser’, inlined from ‘glib_autoptr_cleanup_JsonParser’ at /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:499:25: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (22) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (23) returning to ‘get_bwrap_pidfd’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:558:6: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:561:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:562:6: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (28) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (29) ‘opendir("/proc")’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [64/262] 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-app-info-host.c.o -MF src/xdg-desktop-portal.p/xdp-app-info-host.c.o.d -o src/xdg-desktop-portal.p/xdp-app-info-host.c.o -c ../src/xdp-app-info-host.c [65/262] 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-app-info.c.o -MF src/xdg-desktop-portal.p/xdp-app-info.c.o.d -o src/xdg-desktop-portal.p/xdp-app-info.c.o -c ../src/xdp-app-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [66/262] 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-sealed-fd.c.o -MF src/xdg-desktop-portal.p/xdp-sealed-fd.c.o.d -o src/xdg-desktop-portal.p/xdp-sealed-fd.c.o -c ../src/xdp-sealed-fd.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-sealed-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [67/262] 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-method-info.c.o -MF src/xdg-desktop-portal.p/xdp-method-info.c.o.d -o src/xdg-desktop-portal.p/xdp-method-info.c.o -c ../src/xdp-method-info.c [68/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [69/262] 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-method-info-generated.c.o -MF src/xdg-desktop-portal.p/meson-generated_.._xdp-method-info-generated.c.o.d -o src/xdg-desktop-portal.p/meson-generated_.._xdp-method-info-generated.c.o -c src/xdp-method-info-generated.c [70/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/wallpaper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [71/262] 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-app-info-snap.c.o -MF src/xdg-desktop-portal.p/xdp-app-info-snap.c.o.d -o src/xdg-desktop-portal.p/xdp-app-info-snap.c.o -c ../src/xdp-app-info-snap.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c: In function ‘pid_is_snap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: warning: leak of file descriptor ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:31, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch (when ‘pid > 0’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:103:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:105:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (4) ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [72/262] 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-app-info-test.c.o -MF src/xdg-desktop-portal.p/xdp-app-info-test.c.o.d -o src/xdg-desktop-portal.p/xdp-app-info-test.c.o -c ../src/xdp-app-info-test.c [73/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [74/262] 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 [75/262] 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 [76/262] 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 [77/262] 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 [78/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [79/262] 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-app-info.c.o -MF document-portal/xdg-permission-store.p/.._src_xdp-app-info.c.o.d -o document-portal/xdg-permission-store.p/.._src_xdp-app-info.c.o -c ../src/xdp-app-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [80/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/location.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [81/262] 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-app-info-host.c.o -MF document-portal/xdg-permission-store.p/.._src_xdp-app-info-host.c.o.d -o document-portal/xdg-permission-store.p/.._src_xdp-app-info-host.c.o -c ../src/xdp-app-info-host.c [82/262] 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-sealed-fd.c.o -MF document-portal/xdg-permission-store.p/.._src_xdp-sealed-fd.c.o.d -o document-portal/xdg-permission-store.p/.._src_xdp-sealed-fd.c.o -c ../src/xdp-sealed-fd.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-sealed-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [83/262] 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-app-info-flatpak.c.o -MF document-portal/xdg-permission-store.p/.._src_xdp-app-info-flatpak.c.o.d -o document-portal/xdg-permission-store.p/.._src_xdp-app-info-flatpak.c.o -c ../src/xdp-app-info-flatpak.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: warning: leak of ‘opendir("/proc")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:542:1: note: (1) entry to ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:550:6: note: (2) following ‘false’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (4) calling ‘load_bwrap_info’ from ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:496:1: note: (5) entry to ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-types.h:32, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:505:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:507:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:513:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:516:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:517:6: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:523:10: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:524:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:54:42: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:74:42: note: in expansion of macro ‘JSON_NODE_HOLDS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:8: note: in expansion of macro ‘JSON_NODE_HOLDS_OBJECT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:6: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:503:20: note: (15) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:117: <--[csmock-gcc-wrapper] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:503:20: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:500:23: note: (17) inlined call to ‘glib_autoptr_cleanup_JsonNode’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (18) inlined call to ‘glib_autoptr_clear_JsonNode’ from ‘glib_autoptr_cleanup_JsonNode’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonNode’, inlined from ‘glib_autoptr_cleanup_JsonNode’ at /usr/include/json-glib-1.0/json-glib/json-types.h:533:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:500:23: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (19) following ‘false’ branch (when ‘root’ is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:499:25: note: (20) inlined call to ‘glib_autoptr_cleanup_JsonParser’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (21) inlined call to ‘glib_autoptr_clear_JsonParser’ from ‘glib_autoptr_cleanup_JsonParser’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonParser’, inlined from ‘glib_autoptr_cleanup_JsonParser’ at /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:499:25: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (22) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (23) returning to ‘get_bwrap_pidfd’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:558:6: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:561:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:562:6: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (28) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (29) ‘opendir("/proc")’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [84/262] 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-app-info-snap.c.o -MF document-portal/xdg-permission-store.p/.._src_xdp-app-info-snap.c.o.d -o document-portal/xdg-permission-store.p/.._src_xdp-app-info-snap.c.o -c ../src/xdp-app-info-snap.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c: In function ‘pid_is_snap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: warning: leak of file descriptor ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:31, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch (when ‘pid > 0’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:103:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:105:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (4) ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [85/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [86/262] 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-app-info-test.c.o -MF document-portal/xdg-permission-store.p/.._src_xdp-app-info-test.c.o.d -o document-portal/xdg-permission-store.p/.._src_xdp-app-info-test.c.o -c ../src/xdp-app-info-test.c [87/262] 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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-reader.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [88/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [89/262] 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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c: In function ‘file_transfer_execute’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:298:16: warning: leak of file descriptor ‘open(*file.path, 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:269:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:284:15: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:294:17: note: (3) following ‘true’ branch (when ‘i < n_fds’)... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:33, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:38: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:296:70: note: (4) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/garray.h:149:46: note: in definition of macro ‘g_ptr_array_index’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:298:16: note: (5) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:298:16: note: (6) ‘open(*file.path, 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/file-transfer.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [90/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [91/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [92/262] 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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-store.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [93/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c: In function ‘sort_strv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:88:3: warning: use of NULL ‘strv’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:894:1: note: (1) entry to ‘permission_db_print_string’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:37: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:908:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_print_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:64: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:908:9: note: (8) returning to ‘permission_db_print_string’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:909:3: note: (9) calling ‘sort_strv’ from ‘permission_db_print_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:86:1: note: (10) entry to ‘sort_strv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:88:3: note: (11) argument 1 (‘strv’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:29: <--[csmock-gcc-wrapper] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c: In function ‘permission_db_update’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:727:1: note: (1) entry to ‘permission_db_update’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: note: (9) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: note: (10) dereference of NULL ‘permission_db_list_ids(self) + (long unsigned int)i * 8’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:727:1: note: (1) entry to ‘permission_db_update’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:759:10: note: (9) calling ‘permission_db_list_apps’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:395:1: note: (10) entry to ‘permission_db_list_apps’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:759:10: note: (13) returning to ‘permission_db_update’ from ‘permission_db_list_apps’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: note: (14) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: note: (15) dereference of NULL ‘permission_db_list_apps(self) + (long unsigned int)i * 8’ <--[csmock-gcc-wrapper] [94/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c: In function ‘file_builder_allocate_for_hash’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:332:3: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:524:1: note: (1) entry to ‘gvdb_table_write_contents’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:532:13: note: (2) calling ‘gvdb_table_get_content’ from ‘gvdb_table_write_contents’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:504:1: note: (3) entry to ‘gvdb_table_get_content’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:514:3: note: (4) calling ‘file_builder_add_hash’ from ‘gvdb_table_get_content’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:352:1: note: (5) entry to ‘file_builder_add_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:371:3: note: (6) calling ‘file_builder_allocate_for_hash’ from ‘file_builder_add_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:305:1: note: (7) entry to ‘file_builder_allocate_for_hash’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.h:23, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:20: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch (when ‘n_bloom_words <= 134217727’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:319:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:321:42: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:329:10: note: (10) calling ‘file_builder_allocate’ from ‘file_builder_allocate_for_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:227:1: note: (11) entry to ‘file_builder_allocate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:234:6: note: (12) following ‘true’ branch (when ‘size == 0’)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:329:10: note: (14) returning to ‘file_builder_allocate_for_hash’ from ‘file_builder_allocate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:332:3: note: (15) dereference of NULL ‘file_builder_allocate(fb, 4, size, pointer)’ <--[csmock-gcc-wrapper] [95/262] 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-sealed-fd.c.o -MF document-portal/xdg-document-portal.p/.._src_xdp-sealed-fd.c.o.d -o document-portal/xdg-document-portal.p/.._src_xdp-sealed-fd.c.o -c ../src/xdp-sealed-fd.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-sealed-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [96/262] 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-app-info.c.o -MF document-portal/xdg-document-portal.p/.._src_xdp-app-info.c.o.d -o document-portal/xdg-document-portal.p/.._src_xdp-app-info.c.o -c ../src/xdp-app-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [97/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [98/262] 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-app-info-snap.c.o -MF document-portal/xdg-document-portal.p/.._src_xdp-app-info-snap.c.o.d -o document-portal/xdg-document-portal.p/.._src_xdp-app-info-snap.c.o -c ../src/xdp-app-info-snap.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c: In function ‘pid_is_snap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: warning: leak of file descriptor ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:31, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch (when ‘pid > 0’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:103:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:105:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (4) ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [99/262] 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-app-info-host.c.o -MF document-portal/xdg-document-portal.p/.._src_xdp-app-info-host.c.o.d -o document-portal/xdg-document-portal.p/.._src_xdp-app-info-host.c.o -c ../src/xdp-app-info-host.c [100/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [101/262] 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-app-info-flatpak.c.o -MF document-portal/xdg-document-portal.p/.._src_xdp-app-info-flatpak.c.o.d -o document-portal/xdg-document-portal.p/.._src_xdp-app-info-flatpak.c.o -c ../src/xdp-app-info-flatpak.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: warning: leak of ‘opendir("/proc")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:542:1: note: (1) entry to ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:550:6: note: (2) following ‘false’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (4) calling ‘load_bwrap_info’ from ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:496:1: note: (5) entry to ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-types.h:32, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:505:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:507:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:513:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:516:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:517:6: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:523:10: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:524:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:54:42: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:74:42: note: in expansion of macro ‘JSON_NODE_HOLDS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:8: note: in expansion of macro ‘JSON_NODE_HOLDS_OBJECT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:6: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:503:20: note: (15) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:117: <--[csmock-gcc-wrapper] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:503:20: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:500:23: note: (17) inlined call to ‘glib_autoptr_cleanup_JsonNode’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (18) inlined call to ‘glib_autoptr_clear_JsonNode’ from ‘glib_autoptr_cleanup_JsonNode’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonNode’, inlined from ‘glib_autoptr_cleanup_JsonNode’ at /usr/include/json-glib-1.0/json-glib/json-types.h:533:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:500:23: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (19) following ‘false’ branch (when ‘root’ is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:499:25: note: (20) inlined call to ‘glib_autoptr_cleanup_JsonParser’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (21) inlined call to ‘glib_autoptr_clear_JsonParser’ from ‘glib_autoptr_cleanup_JsonParser’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonParser’, inlined from ‘glib_autoptr_cleanup_JsonParser’ at /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:499:25: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (22) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (23) returning to ‘get_bwrap_pidfd’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:558:6: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:561:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:562:6: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (28) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (29) ‘opendir("/proc")’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [102/262] 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-app-info-test.c.o -MF document-portal/xdg-document-portal.p/.._src_xdp-app-info-test.c.o.d -o document-portal/xdg-document-portal.p/.._src_xdp-app-info-test.c.o -c ../src/xdp-app-info-test.c [103/262] 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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-reader.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [104/262] 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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-reader.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [105/262] 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 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/testdb.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [106/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/can-use-fuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [107/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c: In function ‘validate_fd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:414:12: warning: leak of file descriptor ‘open(dirname, 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1206:1: note: (1) entry to ‘portal_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1218:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1226:3: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1229:6: note: (4) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1238:8: note: (5) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1238:8: note: (6) calling ‘validate_fd’ from ‘portal_lookup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:373:1: note: (7) entry to ‘validate_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:391:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:397:20: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:397:6: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:403:17: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:414:12: note: (12) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:414:12: note: (13) ‘open(dirname, 2621440)’ leaks here; was opened at (12) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c: In function ‘document_add_full’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:847:19: warning: use of NULL ‘dirname’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:763:1: note: (1) entry to ‘document_add_full’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:786:17: note: (2) following ‘true’ branch (when ‘i < n_args’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:789:24: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:789:24: note: (4) ‘path’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:797:12: note: (5) calling ‘validate_fd’ from ‘document_add_full’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:373:1: note: (6) entry to ‘validate_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:391:6: note: (7) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:397:20: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:415:6: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:418:6: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:425:11: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:426:18: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:425:54: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:430:6: note: (14) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:430:6: note: (15) following ‘true’ branch (when ‘path_out’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:431:15: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:385:18: note: (17) calling ‘xdp_close_fd’ from ‘validate_fd’ <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-store.h:7, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:41: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:109:1: note: (18) entry to ‘xdp_close_fd’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:37: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (19) following ‘true’ branch (when ‘fdp’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:113:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:115:12: note: (20) inlined call to ‘xdp_steal_fd’ from ‘xdp_close_fd’ <--[csmock-gcc-wrapper] In function ‘xdp_steal_fd’, inlined from ‘xdp_close_fd’ at ../src/xdp-utils.h:115:12: /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:103:7: note: (21) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h: In function ‘document_add_full’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:116:6: note: (22) following ‘true’ branch (when ‘fd >= 0’)... <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:35: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:118:15: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:385:18: note: (24) returning to ‘validate_fd’ from ‘xdp_close_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:797:12: note: (25) returning to ‘document_add_full’ from ‘validate_fd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:797:10: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:800:22: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:820:10: note: (28) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:822:28: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:822:28: note: (30) ‘real_path’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:826:16: note: (31) calling ‘verify_existing_document’ from ‘document_add_full’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:444:1: note: (32) entry to ‘verify_existing_document’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (33) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:454:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:457:8: note: (34) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:459:6: note: (35) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:129:5: note: (36) inlined call to ‘g_mutex_locker_new’ from ‘verify_existing_document’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:464:3: note: in expansion of macro ‘XDP_AUTOLOCK’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gasyncqueue.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:34: <--[csmock-gcc-wrapper] In function ‘g_mutex_locker_new’, inlined from ‘verify_existing_document’ at ../document-portal/document-portal.c:464:3: /usr/include/glib-2.0/glib/gthread.h:368:3: note: (37) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c: In function ‘document_add_full’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:472:6: note: (38) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:476:6: note: (39) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:451:32: note: (40) inlined call to ‘glib_autoptr_cleanup_PermissionDbEntry’ from ‘verify_existing_document’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (41) inlined call to ‘glib_autoptr_clear_PermissionDbEntry’ from ‘glib_autoptr_cleanup_PermissionDbEntry’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:102:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_PermissionDbEntry’, inlined from ‘glib_autoptr_cleanup_PermissionDbEntry’ at ../document-portal/permission-db.h:102:1, inlined from ‘verify_existing_document’ at ../document-portal/document-portal.c:451:32: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (42) following ‘true’ branch (when ‘old_entry’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:102:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1363:17: note: (43) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:102:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c: In function ‘document_add_full’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:826:16: note: (44) returning to ‘document_add_full’ from ‘verify_existing_document’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:827:14: note: (45) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:836:15: note: (46) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:836:14: note: (47) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:840:15: note: (48) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:843:18: note: (49) following ‘true’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib/gstring.h:37, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/giochannel.h:36, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:56: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:324:21: note: (50) inlined call to ‘g_strdup_inline’ from ‘document_add_full’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:844:27: note: in expansion of macro ‘g_strdup’ <--[csmock-gcc-wrapper] In function ‘g_strdup_inline’, inlined from ‘document_add_full’ at ../document-portal/document-portal.c:844:27: /usr/include/glib-2.0/glib/gstrfuncs.h:311:7: note: (51) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gstrfuncs.h:311:6: note: (52) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c: In function ‘document_add_full’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:847:19: note: (53) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:847:19: note: (54) argument 1 (‘dirname’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /usr/include/features.h:511, <--[csmock-gcc-wrapper] from /usr/include/locale.h:25, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:27: <--[csmock-gcc-wrapper] /usr/include/sys/stat.h:327:12: note: argument 1 of ‘lstat’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c: In function ‘portal_lookup’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1228:8: warning: leak of file descriptor ‘open(filename, 2621440)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1218:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1226:3: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1228:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1228:8: note: (4) ‘open(filename, 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:64: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c: In function ‘portal_get_host_paths’: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: warning: dereference of NULL ‘error’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1484:11: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1464:1: note: (1) entry to ‘portal_get_host_paths’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1476:33: note: (2) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1478:25: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1478:25: note: (4) ‘error’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1481:14: note: (5) calling ‘get_host_path_internal’ from ‘portal_get_host_paths’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1404:1: note: (6) entry to ‘get_host_path_internal’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1417:10: note: (7) following ‘true’ branch (when ‘error’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1417:28: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1417:25: note: (9) following ‘false’ branch... <--[csmock-gcc-wrapper] In file included from /usr/include/sched.h:29, <--[csmock-gcc-wrapper] from /opt/gcc-latest/lib/gcc/x86_64-pc-linux-gnu/15.0.0/include-fixed/pthread.h:31, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/deprecated/gthread.h:126, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:115: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1425:14: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1409:32: note: (11) inlined call to ‘glib_autoptr_cleanup_PermissionDbEntry’ from ‘get_host_path_internal’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (12) inlined call to ‘glib_autoptr_clear_PermissionDbEntry’ from ‘glib_autoptr_cleanup_PermissionDbEntry’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:102:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_PermissionDbEntry’, inlined from ‘glib_autoptr_cleanup_PermissionDbEntry’ at ../document-portal/permission-db.h:102:1, inlined from ‘get_host_path_internal’ at ../document-portal/document-portal.c:1409:32: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (13) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:102:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘portal_get_host_paths’: cc1: note: (14) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1481:14: note: (15) returning to ‘portal_get_host_paths’ from ‘get_host_path_internal’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1482:10: note: (16) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1484:77: note: (17) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1484:77: note: (18) ‘error’ is NULL <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:364:32: note: in definition of macro ‘g_warning’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:362:25: note: (19) dereference of NULL ‘error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal.c:1484:11: note: in expansion of macro ‘g_warning’ <--[csmock-gcc-wrapper] [108/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [109/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c: In function ‘file_builder_allocate_for_hash’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:332:3: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:524:1: note: (1) entry to ‘gvdb_table_write_contents’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:532:13: note: (2) calling ‘gvdb_table_get_content’ from ‘gvdb_table_write_contents’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:504:1: note: (3) entry to ‘gvdb_table_get_content’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:514:3: note: (4) calling ‘file_builder_add_hash’ from ‘gvdb_table_get_content’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:352:1: note: (5) entry to ‘file_builder_add_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:371:3: note: (6) calling ‘file_builder_allocate_for_hash’ from ‘file_builder_add_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:305:1: note: (7) entry to ‘file_builder_allocate_for_hash’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.h:23, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:20: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch (when ‘n_bloom_words <= 134217727’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:319:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:321:42: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:329:10: note: (10) calling ‘file_builder_allocate’ from ‘file_builder_allocate_for_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:227:1: note: (11) entry to ‘file_builder_allocate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:234:6: note: (12) following ‘true’ branch (when ‘size == 0’)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:329:10: note: (14) returning to ‘file_builder_allocate_for_hash’ from ‘file_builder_allocate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:332:3: note: (15) dereference of NULL ‘file_builder_allocate(fb, 4, size, pointer)’ <--[csmock-gcc-wrapper] [110/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c: In function ‘sort_strv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:88:3: warning: use of NULL ‘strv’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:894:1: note: (1) entry to ‘permission_db_print_string’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:37: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:908:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_print_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:64: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:908:9: note: (8) returning to ‘permission_db_print_string’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:909:3: note: (9) calling ‘sort_strv’ from ‘permission_db_print_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:86:1: note: (10) entry to ‘sort_strv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:88:3: note: (11) argument 1 (‘strv’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:29: <--[csmock-gcc-wrapper] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c: In function ‘permission_db_update’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:727:1: note: (1) entry to ‘permission_db_update’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: note: (9) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: note: (10) dereference of NULL ‘permission_db_list_ids(self) + (long unsigned int)i * 8’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:727:1: note: (1) entry to ‘permission_db_update’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:759:10: note: (9) calling ‘permission_db_list_apps’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:395:1: note: (10) entry to ‘permission_db_list_apps’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:759:10: note: (13) returning to ‘permission_db_update’ from ‘permission_db_list_apps’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: note: (14) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: note: (15) dereference of NULL ‘permission_db_list_apps(self) + (long unsigned int)i * 8’ <--[csmock-gcc-wrapper] [111/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c: In function ‘sort_strv’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:88:3: warning: use of NULL ‘strv’ where non-null expected [CWE-476] [-Wanalyzer-null-argument] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:894:1: note: (1) entry to ‘permission_db_print_string’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:37: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:901:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:908:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_print_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:64: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:908:9: note: (8) returning to ‘permission_db_print_string’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:909:3: note: (9) calling ‘sort_strv’ from ‘permission_db_print_string’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:86:1: note: (10) entry to ‘sort_strv’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:88:3: note: (11) argument 1 (‘strv’) NULL where non-null expected <--[csmock-gcc-wrapper] In file included from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:29: <--[csmock-gcc-wrapper] /usr/include/stdlib.h:970:13: note: argument 1 of ‘qsort’ must be non-null <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c: In function ‘permission_db_update’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:727:1: note: (1) entry to ‘permission_db_update’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: note: (9) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:747:18: note: (10) dereference of NULL ‘permission_db_list_ids(self) + (long unsigned int)i * 8’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:727:1: note: (1) entry to ‘permission_db_update’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (2) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (3) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:651:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:3: note: in expansion of macro ‘g_return_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:738:21: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (4) calling ‘permission_db_list_ids’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:343:1: note: (5) entry to ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (6) following ‘false’ branch (when ‘self’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2675:18: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:350:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:746:9: note: (8) returning to ‘permission_db_update’ from ‘permission_db_list_ids’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:759:10: note: (9) calling ‘permission_db_list_apps’ from ‘permission_db_update’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:395:1: note: (10) entry to ‘permission_db_list_apps’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:2673:6: note: (11) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:8: note: in definition of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/gobject/gtype.h:541:66: note: in expansion of macro ‘_G_TYPE_CIT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.h:38:32: note: in expansion of macro ‘G_TYPE_CHECK_INSTANCE_TYPE’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:25: note: in expansion of macro ‘PERMISSION_IS_DB’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:668:9: note: (12) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:402:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:759:10: note: (13) returning to ‘permission_db_update’ from ‘permission_db_list_apps’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: note: (14) ‘0’ is NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/permission-db.c:760:19: note: (15) dereference of NULL ‘permission_db_list_apps(self) + (long unsigned int)i * 8’ <--[csmock-gcc-wrapper] [112/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c: In function ‘file_builder_allocate_for_hash’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:332:3: warning: dereference of NULL ‘0’ [CWE-476] [-Wanalyzer-null-dereference] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:524:1: note: (1) entry to ‘gvdb_table_write_contents’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:532:13: note: (2) calling ‘gvdb_table_get_content’ from ‘gvdb_table_write_contents’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:504:1: note: (3) entry to ‘gvdb_table_get_content’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:514:3: note: (4) calling ‘file_builder_add_hash’ from ‘gvdb_table_get_content’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:352:1: note: (5) entry to ‘file_builder_add_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:371:3: note: (6) calling ‘file_builder_allocate_for_hash’ from ‘file_builder_add_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:305:1: note: (7) entry to ‘file_builder_allocate_for_hash’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.h:23, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:20: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch (when ‘n_bloom_words <= 134217727’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:319:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:321:42: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:329:10: note: (10) calling ‘file_builder_allocate’ from ‘file_builder_allocate_for_hash’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:227:1: note: (11) entry to ‘file_builder_allocate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:234:6: note: (12) following ‘true’ branch (when ‘size == 0’)... <--[csmock-gcc-wrapper] cc1: note: (13) ...to here /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:329:10: note: (14) returning to ‘file_builder_allocate_for_hash’ from ‘file_builder_allocate’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/document-portal/gvdb/gvdb-builder.c:332:3: note: (15) dereference of NULL ‘file_builder_allocate(fb, 4, size, pointer)’ <--[csmock-gcc-wrapper] [113/262] 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.19.0-build/xdg-desktop-portal-1.19.0/document-portal/document-portal-fuse.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [114/262] 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 [115/262] 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 [116/262] 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 [117/262] 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 [118/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [119/262] 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 [120/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/backend/account.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [121/262] 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 [122/262] 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 [123/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/backend/email.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [124/262] 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 [125/262] 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 [126/262] 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 [127/262] 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 [128/262] 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 [129/262] 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 [130/262] 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 [131/262] 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 [132/262] 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 [133/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_not_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:12: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] 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:1363:17: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_not_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:585:3: note: (30) returning to ‘test_add_named’ from ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:586:3: note: (31) calling ‘assert_doc_not_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:127:1: note: (32) entry to ‘assert_doc_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:129:27: note: (33) calling ‘make_doc_path’ from ‘assert_doc_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:91:1: note: (34) entry to ‘make_doc_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:93:26: note: (35) calling ‘make_doc_dir’ from ‘make_doc_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (36) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (37) following ‘false’ branch (when ‘app’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:87:12: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:93:26: note: (39) returning to ‘make_doc_path’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:129:27: note: (40) returning to ‘assert_doc_not_exist’ from ‘make_doc_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:137:8: note: (41) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:137:8: note: (42) ‘open(make_doc_path(id, basename, app), 0)’ leaks here; was opened at (41) <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:89: <--[csmock-gcc-wrapper] /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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] 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:1363:17: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_not_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:585:3: note: (30) returning to ‘test_add_named’ from ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:586:3: note: (31) calling ‘assert_doc_not_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:127:1: note: (32) entry to ‘assert_doc_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:129:27: note: (33) calling ‘make_doc_path’ from ‘assert_doc_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:91:1: note: (34) entry to ‘make_doc_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:93:26: note: (35) calling ‘make_doc_dir’ from ‘make_doc_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (36) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (37) following ‘false’ branch (when ‘app’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:87:12: note: (38) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:93:26: note: (39) returning to ‘make_doc_path’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:129:27: note: (40) returning to ‘assert_doc_not_exist’ from ‘make_doc_path’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:137:8: note: (41) opened here <--[csmock-gcc-wrapper] /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) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:74:49: note: (43) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:75:48: note: (44) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /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) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:138:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_dir_not_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:153:8: warning: leak of file descriptor ‘open(make_doc_dir(id, app), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] 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:1363:17: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_dir_not_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:153:8: note: (30) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:153:8: note: (31) ‘open(make_doc_dir(id, app), 0)’ leaks here; was opened at (30) <--[csmock-gcc-wrapper] /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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] 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:1363:17: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_dir_not_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (22) returning to ‘test_add_named’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:585:3: note: (23) calling ‘assert_doc_dir_not_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:143:1: note: (24) entry to ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (25) calling ‘make_doc_dir’ from ‘assert_doc_dir_not_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (26) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (27) following ‘true’ branch (when ‘app’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:85:12: note: (28) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:145:27: note: (29) returning to ‘assert_doc_dir_not_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:153:8: note: (30) opened here <--[csmock-gcc-wrapper] /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) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:74:49: note: (32) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:75:48: note: (33) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /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) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:154:3: note: in expansion of macro ‘g_assert_cmpint’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_dir_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:168:8: warning: leak of file descriptor ‘open(make_doc_dir(id, app), 0)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:572:1: note: (1) entry to ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:579:6: note: (2) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (4) calling ‘export_named_file’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:174:1: note: (5) entry to ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:184:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:186:13: note: (7) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:205:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:207:3: note: (9) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (10) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:208:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:179:23: note: (11) inlined call to ‘glib_autoptr_cleanup_GVariant’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (12) inlined call to ‘glib_autoptr_clear_GVariant’ from ‘glib_autoptr_cleanup_GVariant’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] 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:1363:17: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/glib-autocleanups.h:96:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘assert_doc_dir_exist’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:582:9: note: (14) returning to ‘test_add_named’ from ‘export_named_file’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:584:3: note: (15) calling ‘assert_doc_dir_exist’ from ‘test_add_named’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:159:1: note: (16) entry to ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (17) calling ‘make_doc_dir’ from ‘assert_doc_dir_exist’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:82:1: note: (18) entry to ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:84:6: note: (19) following ‘false’ branch (when ‘app’ is NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:87:12: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:161:27: note: (21) returning to ‘assert_doc_dir_exist’ from ‘make_doc_dir’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:168:8: note: (22) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:168:8: note: (23) ‘open(make_doc_dir(id, app), 0)’ leaks here; was opened at (22) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c: In function ‘test_create_docs’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (4) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (3) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (3) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:521:3: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (3) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:49: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:522:3: note: in expansion of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:219:48: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:522:3: note: in expansion of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:522:22: note: (9) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (3) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:522:22: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (3) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:522:22: note: (7) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:517:9: note: (3) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (4) assuming ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (6) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:522:22: note: (9) ‘open(g_build_filename(&outdir, "doc1", 0), 2621440)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:50: note: in definition of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:524:9: note: (5) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:524:9: note: (6) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:524:9: note: (5) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:527:13: note: (9) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:524:9: note: (5) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:528:15: note: (9) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:524:9: note: (5) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:528:15: note: (9) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/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] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:510:6: note: (1) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:513:11: note: (2) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (3) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:518:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:520:11: note: (4) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:524:9: note: (5) opened here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) assuming ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (7) following ‘true’ branch... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:276:49: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:525:3: note: in expansion of macro ‘g_assert’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:527:13: note: (8) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:218:49: note: (9) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:529:3: note: in expansion of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gtestutils.h:219:48: note: (10) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:529:3: note: in expansion of macro ‘g_assert_no_error’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-doc-portal.c:528:15: note: (11) ‘open(g_build_filename(&outdir, "doc2", 0), 2621440)’ leaks here; was opened at (5) <--[csmock-gcc-wrapper] [134/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [135/262] 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 [136/262] 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 [137/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/camera.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [138/262] 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 [139/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/email.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [140/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/filechooser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [141/262] 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 [142/262] 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 [143/262] 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 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/notification.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [144/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c: In function ‘global_setup’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:131:1: note: (1) entry to ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:101:1: note: (3) entry to ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:109:7: note: (4) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:108:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:105:22: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (7) returning to ‘global_setup’ from ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:177:6: note: (8) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:179:18: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:181:7: note: (10) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:57:1: note: (11) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:59:15: note: (12) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (13) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (14) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (15) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:181:7: note: (16) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (17) ‘xdup(2)’ leaks here; was opened at (12) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:131:1: note: (1) entry to ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:101:1: note: (3) entry to ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:109:7: note: (4) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:108:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:105:22: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (7) returning to ‘global_setup’ from ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:206:3: note: (8) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:57:1: note: (9) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:59:15: note: (10) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (11) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (12) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:206:3: note: (14) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (15) ‘xdup(2)’ leaks here; was opened at (10) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:131:1: note: (1) entry to ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:101:1: note: (3) entry to ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:109:7: note: (4) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:108:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:105:22: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (7) returning to ‘global_setup’ from ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:206:3: note: (8) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:57:1: note: (9) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:59:15: note: (10) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (11) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (12) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:206:3: note: (14) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:211:45: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:211:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:246:3: note: (17) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:57:1: note: (18) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:59:15: note: (19) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (20) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (21) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:246:3: note: (23) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (24) ‘xdup(2)’ leaks here; was opened at (19) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:131:1: note: (1) entry to ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:101:1: note: (3) entry to ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:109:7: note: (4) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:108:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:105:22: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:149:3: note: (7) returning to ‘global_setup’ from ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:206:3: note: (8) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:57:1: note: (9) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:59:15: note: (10) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (11) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (12) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:206:3: note: (14) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:246:3: note: (15) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:57:1: note: (16) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:59:15: note: (17) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (18) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (19) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:246:3: note: (21) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:255:45: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:255:11: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:293:3: note: (24) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:57:1: note: (25) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:59:15: note: (26) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (27) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:61:6: note: (28) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:293:3: note: (30) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-portals.c:64:10: note: (31) ‘xdup(2)’ leaks here; was opened at (26) <--[csmock-gcc-wrapper] [145/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/openuri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [146/262] 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 [147/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdp-impl-dbus.c: internal warning: child 1546 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 1546 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out) [148/262] 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 [149/262] 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 [150/262] 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 [151/262] 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-app-info-host.c.o -MF tests/test-portals.p/.._src_xdp-app-info-host.c.o.d -o tests/test-portals.p/.._src_xdp-app-info-host.c.o -c ../src/xdp-app-info-host.c [152/262] 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-sealed-fd.c.o -MF tests/test-portals.p/.._src_xdp-sealed-fd.c.o.d -o tests/test-portals.p/.._src_xdp-sealed-fd.c.o -c ../src/xdp-sealed-fd.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-sealed-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [153/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/wallpaper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [154/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [155/262] 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-app-info.c.o -MF tests/test-portals.p/.._src_xdp-app-info.c.o.d -o tests/test-portals.p/.._src_xdp-app-info.c.o -c ../src/xdp-app-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [156/262] 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-app-info-snap.c.o -MF tests/test-portals.p/.._src_xdp-app-info-snap.c.o.d -o tests/test-portals.p/.._src_xdp-app-info-snap.c.o -c ../src/xdp-app-info-snap.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c: In function ‘pid_is_snap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: warning: leak of file descriptor ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:31, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch (when ‘pid > 0’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:103:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:105:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (4) ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] [157/262] 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-app-info-flatpak.c.o -MF tests/test-portals.p/.._src_xdp-app-info-flatpak.c.o.d -o tests/test-portals.p/.._src_xdp-app-info-flatpak.c.o -c ../src/xdp-app-info-flatpak.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: warning: leak of ‘opendir("/proc")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:542:1: note: (1) entry to ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:550:6: note: (2) following ‘false’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (4) calling ‘load_bwrap_info’ from ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:496:1: note: (5) entry to ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-types.h:32, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:505:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:507:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:513:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:516:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:517:6: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:523:10: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:524:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:54:42: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:74:42: note: in expansion of macro ‘JSON_NODE_HOLDS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:8: note: in expansion of macro ‘JSON_NODE_HOLDS_OBJECT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:6: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:503:20: note: (15) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:117: <--[csmock-gcc-wrapper] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:503:20: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:500:23: note: (17) inlined call to ‘glib_autoptr_cleanup_JsonNode’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (18) inlined call to ‘glib_autoptr_clear_JsonNode’ from ‘glib_autoptr_cleanup_JsonNode’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonNode’, inlined from ‘glib_autoptr_cleanup_JsonNode’ at /usr/include/json-glib-1.0/json-glib/json-types.h:533:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:500:23: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (19) following ‘false’ branch (when ‘root’ is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:499:25: note: (20) inlined call to ‘glib_autoptr_cleanup_JsonParser’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (21) inlined call to ‘glib_autoptr_clear_JsonParser’ from ‘glib_autoptr_cleanup_JsonParser’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonParser’, inlined from ‘glib_autoptr_cleanup_JsonParser’ at /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:499:25: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (22) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (23) returning to ‘get_bwrap_pidfd’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:558:6: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:561:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:562:6: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (28) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (29) ‘opendir("/proc")’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper] [158/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [159/262] 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-app-info-test.c.o -MF tests/test-portals.p/.._src_xdp-app-info-test.c.o.d -o tests/test-portals.p/.._src_xdp-app-info-test.c.o -c ../src/xdp-app-info-test.c [160/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [161/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdp-impl-dbus.c: internal warning: child 1766 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 1766 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out) [162/262] 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 [163/262] 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 [164/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdp-dbus.c: internal warning: child 1790 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 1790 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out) [165/262] 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 [166/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c: In function ‘global_setup’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:132:1: note: (1) entry to ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:150:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:102:1: note: (3) entry to ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:110:7: note: (4) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:109:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:106:22: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:150:3: note: (7) returning to ‘global_setup’ from ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:192:3: note: (8) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:58:1: note: (9) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:60:15: note: (10) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (11) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (12) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:192:3: note: (14) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (15) ‘xdup(2)’ leaks here; was opened at (10) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:132:1: note: (1) entry to ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:150:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:102:1: note: (3) entry to ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:110:7: note: (4) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:109:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:106:22: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:150:3: note: (7) returning to ‘global_setup’ from ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:192:3: note: (8) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:58:1: note: (9) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:60:15: note: (10) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (11) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (12) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:192:3: note: (14) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:197:45: note: (15) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:197:11: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:232:3: note: (17) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:58:1: note: (18) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:60:15: note: (19) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (20) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (21) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (22) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:232:3: note: (23) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (24) ‘xdup(2)’ leaks here; was opened at (19) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: warning: leak of file descriptor ‘xdup(2)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:132:1: note: (1) entry to ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:150:3: note: (2) calling ‘update_data_dirs’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:102:1: note: (3) entry to ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:110:7: note: (4) when ‘strstr’ returns non-NULL <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:109:25: note: (5) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:106:22: note: (6) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:150:3: note: (7) returning to ‘global_setup’ from ‘update_data_dirs’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:192:3: note: (8) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:58:1: note: (9) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:60:15: note: (10) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (11) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (12) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (13) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:192:3: note: (14) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:232:3: note: (15) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:58:1: note: (16) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:60:15: note: (17) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (18) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (19) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (20) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:232:3: note: (21) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:241:45: note: (22) following ‘true’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:241:11: note: (23) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:279:3: note: (24) calling ‘xdup’ from ‘global_setup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:58:1: note: (25) entry to ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:60:15: note: (26) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (27) assuming ‘newfd’ is a valid file descriptor (>= 0) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:62:6: note: (28) following ‘false’ branch (when ‘newfd >= 0’)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (29) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:279:3: note: (30) returning to ‘global_setup’ from ‘xdup’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:65:10: note: (31) ‘xdup(2)’ leaks here; was opened at (26) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/limited-portals.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [167/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/email.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [168/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/camera.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [169/262] 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 [170/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/filechooser.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [171/262] 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 [172/262] 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 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/notification.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [173/262] 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 [174/262] 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 [175/262] 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 [176/262] 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 [177/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/openuri.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [178/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/wallpaper.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [179/262] 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-app-info.c.o -MF tests/limited-portals.p/.._src_xdp-app-info.c.o.d -o tests/limited-portals.p/.._src_xdp-app-info.c.o -c ../src/xdp-app-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [180/262] 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-app-info-host.c.o -MF tests/limited-portals.p/.._src_xdp-app-info-host.c.o.d -o tests/limited-portals.p/.._src_xdp-app-info-host.c.o -c ../src/xdp-app-info-host.c [181/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [182/262] 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-app-info-test.c.o -MF tests/limited-portals.p/.._src_xdp-app-info-test.c.o.d -o tests/limited-portals.p/.._src_xdp-app-info-test.c.o -c ../src/xdp-app-info-test.c [183/262] 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-sealed-fd.c.o -MF tests/limited-portals.p/.._src_xdp-sealed-fd.c.o.d -o tests/limited-portals.p/.._src_xdp-sealed-fd.c.o -c ../src/xdp-sealed-fd.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-sealed-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [184/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [185/262] 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-app-info-snap.c.o -MF tests/limited-portals.p/.._src_xdp-app-info-snap.c.o.d -o tests/limited-portals.p/.._src_xdp-app-info-snap.c.o -c ../src/xdp-app-info-snap.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c: In function ‘pid_is_snap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: warning: leak of file descriptor ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:31, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch (when ‘pid > 0’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:103:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:105:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (4) ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] [186/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] [187/262] 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.19.0-build/xdg-desktop-portal-1.19.0/tests/test-permission-store.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [188/262] 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-app-info-flatpak.c.o -MF tests/limited-portals.p/.._src_xdp-app-info-flatpak.c.o.d -o tests/limited-portals.p/.._src_xdp-app-info-flatpak.c.o -c ../src/xdp-app-info-flatpak.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: warning: leak of ‘opendir("/proc")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:542:1: note: (1) entry to ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:550:6: note: (2) following ‘false’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (4) calling ‘load_bwrap_info’ from ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:496:1: note: (5) entry to ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-types.h:32, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:505:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:507:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:513:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:516:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:517:6: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:523:10: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:524:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:54:42: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:74:42: note: in expansion of macro ‘JSON_NODE_HOLDS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:8: note: in expansion of macro ‘JSON_NODE_HOLDS_OBJECT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:6: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:503:20: note: (15) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:117: <--[csmock-gcc-wrapper] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:503:20: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:500:23: note: (17) inlined call to ‘glib_autoptr_cleanup_JsonNode’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (18) inlined call to ‘glib_autoptr_clear_JsonNode’ from ‘glib_autoptr_cleanup_JsonNode’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonNode’, inlined from ‘glib_autoptr_cleanup_JsonNode’ at /usr/include/json-glib-1.0/json-glib/json-types.h:533:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:500:23: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (19) following ‘false’ branch (when ‘root’ is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:499:25: note: (20) inlined call to ‘glib_autoptr_cleanup_JsonParser’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (21) inlined call to ‘glib_autoptr_clear_JsonParser’ from ‘glib_autoptr_cleanup_JsonParser’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonParser’, inlined from ‘glib_autoptr_cleanup_JsonParser’ at /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:499:25: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (22) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (23) returning to ‘get_bwrap_pidfd’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:558:6: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:561:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:562:6: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (28) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (29) ‘opendir("/proc")’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper] [189/262] 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 [190/262] 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-app-info-host.c.o -MF tests/test-permission-store.p/.._src_xdp-app-info-host.c.o.d -o tests/test-permission-store.p/.._src_xdp-app-info-host.c.o -c ../src/xdp-app-info-host.c [191/262] 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-app-info.c.o -MF tests/test-permission-store.p/.._src_xdp-app-info.c.o.d -o tests/test-permission-store.p/.._src_xdp-app-info.c.o -c ../src/xdp-app-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [192/262] 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-sealed-fd.c.o -MF tests/test-permission-store.p/.._src_xdp-sealed-fd.c.o.d -o tests/test-permission-store.p/.._src_xdp-sealed-fd.c.o -c ../src/xdp-sealed-fd.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-sealed-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [193/262] 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-app-info-flatpak.c.o -MF tests/test-permission-store.p/.._src_xdp-app-info-flatpak.c.o.d -o tests/test-permission-store.p/.._src_xdp-app-info-flatpak.c.o -c ../src/xdp-app-info-flatpak.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: warning: leak of ‘opendir("/proc")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:542:1: note: (1) entry to ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:550:6: note: (2) following ‘false’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (4) calling ‘load_bwrap_info’ from ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:496:1: note: (5) entry to ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-types.h:32, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:505:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:507:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:513:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:516:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:517:6: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:523:10: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:524:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:54:42: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:74:42: note: in expansion of macro ‘JSON_NODE_HOLDS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:8: note: in expansion of macro ‘JSON_NODE_HOLDS_OBJECT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:6: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:503:20: note: (15) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:117: <--[csmock-gcc-wrapper] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:503:20: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:500:23: note: (17) inlined call to ‘glib_autoptr_cleanup_JsonNode’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (18) inlined call to ‘glib_autoptr_clear_JsonNode’ from ‘glib_autoptr_cleanup_JsonNode’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonNode’, inlined from ‘glib_autoptr_cleanup_JsonNode’ at /usr/include/json-glib-1.0/json-glib/json-types.h:533:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:500:23: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (19) following ‘false’ branch (when ‘root’ is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:499:25: note: (20) inlined call to ‘glib_autoptr_cleanup_JsonParser’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (21) inlined call to ‘glib_autoptr_clear_JsonParser’ from ‘glib_autoptr_cleanup_JsonParser’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonParser’, inlined from ‘glib_autoptr_cleanup_JsonParser’ at /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:499:25: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (22) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (23) returning to ‘get_bwrap_pidfd’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:558:6: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:561:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:562:6: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (28) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (29) ‘opendir("/proc")’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [194/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [195/262] 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-app-info-snap.c.o -MF tests/test-permission-store.p/.._src_xdp-app-info-snap.c.o.d -o tests/test-permission-store.p/.._src_xdp-app-info-snap.c.o -c ../src/xdp-app-info-snap.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c: In function ‘pid_is_snap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: warning: leak of file descriptor ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:31, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch (when ‘pid > 0’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:103:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:105:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (4) ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [196/262] 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-app-info-test.c.o -MF tests/test-permission-store.p/.._src_xdp-app-info-test.c.o.d -o tests/test-permission-store.p/.._src_xdp-app-info-test.c.o -c ../src/xdp-app-info-test.c [197/262] 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 [198/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdp-impl-dbus.c: internal warning: child 2084 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 2084 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out) [199/262] 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.19.0-build/xdg-desktop-portal-1.19.0/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.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdp-dbus.c: internal warning: child 2091 timed out after 30s <--[csmock-gcc-wrapper] cswrap: error: child 2091 (/usr/bin/csmock-gcc-wrapper) terminated by signal 15 (timed out) [200/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [201/262] 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 [202/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/sd-escape.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [203/262] gcc -Itests/test-xdp-method-info.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-method-info.p/test-xdp-method-info.c.o -MF tests/test-xdp-method-info.p/test-xdp-method-info.c.o.d -o tests/test-xdp-method-info.p/test-xdp-method-info.c.o -c ../tests/test-xdp-method-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/tests/test-xdp-method-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [204/262] 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-app-info-test.c.o -MF tests/test-xdp-utils.p/.._src_xdp-app-info-test.c.o.d -o tests/test-xdp-utils.p/.._src_xdp-app-info-test.c.o -c ../src/xdp-app-info-test.c [205/262] 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-app-info-host.c.o -MF tests/test-xdp-utils.p/.._src_xdp-app-info-host.c.o.d -o tests/test-xdp-utils.p/.._src_xdp-app-info-host.c.o -c ../src/xdp-app-info-host.c [206/262] 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-sealed-fd.c.o -MF tests/test-xdp-utils.p/.._src_xdp-sealed-fd.c.o.d -o tests/test-xdp-utils.p/.._src_xdp-sealed-fd.c.o -c ../src/xdp-sealed-fd.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-sealed-fd.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [207/262] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/doc/fix-rst-dbus.py /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc doc doc/org.freedesktop.portal.Account.rst doc/org.freedesktop.portal.Background.rst doc/org.freedesktop.portal.Camera.rst doc/org.freedesktop.portal.Clipboard.rst doc/org.freedesktop.portal.Documents.rst doc/org.freedesktop.portal.DynamicLauncher.rst doc/org.freedesktop.portal.Email.rst doc/org.freedesktop.portal.FileChooser.rst doc/org.freedesktop.portal.FileTransfer.rst doc/org.freedesktop.portal.GameMode.rst doc/org.freedesktop.portal.GlobalShortcuts.rst doc/org.freedesktop.portal.Inhibit.rst doc/org.freedesktop.portal.InputCapture.rst doc/org.freedesktop.portal.Location.rst doc/org.freedesktop.portal.MemoryMonitor.rst doc/org.freedesktop.portal.NetworkMonitor.rst doc/org.freedesktop.portal.Notification.rst doc/org.freedesktop.portal.OpenURI.rst doc/org.freedesktop.portal.PowerProfileMonitor.rst doc/org.freedesktop.portal.Print.rst doc/org.freedesktop.portal.ProxyResolver.rst doc/org.freedesktop.portal.Realtime.rst doc/org.freedesktop.portal.RemoteDesktop.rst doc/org.freedesktop.portal.Request.rst doc/org.freedesktop.portal.ScreenCast.rst doc/org.freedesktop.portal.Screenshot.rst doc/org.freedesktop.portal.Secret.rst doc/org.freedesktop.portal.Session.rst doc/org.freedesktop.portal.Settings.rst doc/org.freedesktop.portal.Trash.rst doc/org.freedesktop.portal.Wallpaper.rst doc/org.freedesktop.impl.portal.Access.rst doc/org.freedesktop.impl.portal.Account.rst doc/org.freedesktop.impl.portal.AppChooser.rst doc/org.freedesktop.impl.portal.Background.rst doc/org.freedesktop.impl.portal.Clipboard.rst doc/org.freedesktop.impl.portal.DynamicLauncher.rst doc/org.freedesktop.impl.portal.Email.rst doc/org.freedesktop.impl.portal.FileChooser.rst doc/org.freedesktop.impl.portal.GlobalShortcuts.rst doc/org.freedesktop.impl.portal.Inhibit.rst doc/org.freedesktop.impl.portal.InputCapture.rst doc/org.freedesktop.impl.portal.Lockdown.rst doc/org.freedesktop.impl.portal.Notification.rst doc/org.freedesktop.impl.portal.PermissionStore.rst doc/org.freedesktop.impl.portal.Print.rst doc/org.freedesktop.impl.portal.RemoteDesktop.rst doc/org.freedesktop.impl.portal.Request.rst doc/org.freedesktop.impl.portal.ScreenCast.rst doc/org.freedesktop.impl.portal.Screenshot.rst doc/org.freedesktop.impl.portal.Secret.rst doc/org.freedesktop.impl.portal.Session.rst doc/org.freedesktop.impl.portal.Settings.rst doc/org.freedesktop.impl.portal.Wallpaper.rst doc/org.freedesktop.background.Monitor.rst [208/262] /usr/bin/meson --internal exe --capture doc/portals.conf.5 -- /usr/bin/rst2man --syntax-highlight=none doc/portals.conf.rst [209/262] 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-app-info.c.o -MF tests/test-xdp-utils.p/.._src_xdp-app-info.c.o.d -o tests/test-xdp-utils.p/.._src_xdp-app-info.c.o -c ../src/xdp-app-info.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [210/262] gcc -Itests/test-xdp-method-info.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-method-info.p/.._src_xdp-method-info.c.o -MF tests/test-xdp-method-info.p/.._src_xdp-method-info.c.o.d -o tests/test-xdp-method-info.p/.._src_xdp-method-info.c.o -c ../src/xdp-method-info.c [211/262] gcc -Itests/test-xdp-method-info.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-method-info.p/meson-generated_.._.._src_xdp-method-info-generated.c.o -MF tests/test-xdp-method-info.p/meson-generated_.._.._src_xdp-method-info-generated.c.o.d -o tests/test-xdp-method-info.p/meson-generated_.._.._src_xdp-method-info-generated.c.o -c src/xdp-method-info-generated.c [212/262] 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 /usr/lib64/libgio-2.0.so -Wl,--end-group [213/262] 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-app-info-flatpak.c.o -MF tests/test-xdp-utils.p/.._src_xdp-app-info-flatpak.c.o.d -o tests/test-xdp-utils.p/.._src_xdp-app-info-flatpak.c.o -c ../src/xdp-app-info-flatpak.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: warning: leak of ‘opendir("/proc")’ [CWE-401] [-Wanalyzer-malloc-leak] <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:542:1: note: (1) entry to ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:550:6: note: (2) following ‘false’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (3) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (4) calling ‘load_bwrap_info’ from ‘get_bwrap_pidfd’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:496:1: note: (5) entry to ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-types.h:32, <--[csmock-gcc-wrapper] from /usr/include/json-glib-1.0/json-glib/json-glib.h:29, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (6) following ‘true’ branch (when ‘instance’ is non-NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:505:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:507:10: note: (7) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:513:6: note: (8) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:516:12: note: (9) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:517:6: note: (10) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:523:10: note: (11) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:524:6: note: (12) following ‘false’ branch... <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:54:42: note: (13) ...to here <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:74:42: note: in expansion of macro ‘JSON_NODE_HOLDS’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:8: note: in expansion of macro ‘JSON_NODE_HOLDS_OBJECT’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:531:6: note: (14) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:503:20: note: (15) inlined call to ‘g_autoptr_cleanup_generic_gfree’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] In file included from /usr/include/glib-2.0/glib.h:117: <--[csmock-gcc-wrapper] In function ‘g_autoptr_cleanup_generic_gfree’, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:503:20: /usr/include/glib-2.0/glib/glib-autocleanups.h:32:3: note: (16) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:500:23: note: (17) inlined call to ‘glib_autoptr_cleanup_JsonNode’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (18) inlined call to ‘glib_autoptr_clear_JsonNode’ from ‘glib_autoptr_cleanup_JsonNode’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonNode’, inlined from ‘glib_autoptr_cleanup_JsonNode’ at /usr/include/json-glib-1.0/json-glib/json-types.h:533:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:500:23: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (19) following ‘false’ branch (when ‘root’ is NULL)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-types.h:533:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:499:25: note: (20) inlined call to ‘glib_autoptr_cleanup_JsonParser’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1345:49: note: (21) inlined call to ‘glib_autoptr_clear_JsonParser’ from ‘glib_autoptr_cleanup_JsonParser’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1365:7: note: in expansion of macro ‘_GLIB_AUTOPTR_CLEAR_FUNC_NAME’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] In function ‘glib_autoptr_clear_JsonParser’, inlined from ‘glib_autoptr_cleanup_JsonParser’ at /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1, inlined from ‘load_bwrap_info’ at ../src/xdp-app-info-flatpak.c:499:25: /usr/include/glib-2.0/glib/gmacros.h:1363:10: note: (22) ...to here <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1381:3: note: in expansion of macro ‘_GLIB_DEFINE_AUTOPTR_CLEANUP_FUNCS’ <--[csmock-gcc-wrapper] /usr/include/json-glib-1.0/json-glib/json-parser.h:243:1: note: in expansion of macro ‘G_DEFINE_AUTOPTR_CLEANUP_FUNC’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c: In function ‘get_bwrap_pidfd’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:557:10: note: (23) returning to ‘get_bwrap_pidfd’ from ‘load_bwrap_info’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:558:6: note: (24) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:561:9: note: (25) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:562:6: note: (26) following ‘false’ branch... <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (27) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (28) allocated here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:565:10: note: (29) ‘opendir("/proc")’ leaks here; was allocated at (28) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-flatpak.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [214/262] 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-app-info-snap.c.o -MF tests/test-xdp-utils.p/.._src_xdp-app-info-snap.c.o.d -o tests/test-xdp-utils.p/.._src_xdp-app-info-snap.c.o -c ../src/xdp-app-info-snap.c /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c: In function ‘pid_is_snap’: <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: warning: leak of file descriptor ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ [CWE-775] [-Wanalyzer-fd-leak] <--[csmock-gcc-wrapper] In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/gtypes.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib/galloca.h:34, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib.h:32, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gobject/gbinding.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/glib-object.h:24, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gioenums.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/giotypes.h:30, <--[csmock-gcc-wrapper] from /usr/include/glib-2.0/gio/gio.h:28, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.h:31, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap-private.h:22, <--[csmock-gcc-wrapper] from /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:28: <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1243:7: note: (1) following ‘true’ branch (when ‘pid > 0’)... <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1249:31: note: in expansion of macro ‘_G_BOOLEAN_EXPR_IMPL’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmacros.h:1250:43: note: in expansion of macro ‘_G_BOOLEAN_EXPR’ <--[csmock-gcc-wrapper] /usr/include/glib-2.0/glib/gmessages.h:664:9: note: in expansion of macro ‘G_LIKELY’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:103:3: note: in expansion of macro ‘g_return_val_if_fail’ <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:105:17: note: (2) ...to here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (3) opened here <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:106:8: note: (4) ‘open(g_strdup_printf("/proc/%u/cgroup", (unsigned int)pid), 524544)’ leaks here; was opened at (3) <--[csmock-gcc-wrapper] /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-app-info-snap.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [215/262] 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.19.0-build/xdg-desktop-portal-1.19.0/src/xdp-utils.c:0: information: normalCheckLevelMaxBranches(CWE-0): Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches. <--[cppcheck] [216/262] 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 [217/262] 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 [218/262] 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 [219/262] 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/.._src_xdp-app-info.c.o document-portal/xdg-permission-store.p/.._src_xdp-sealed-fd.c.o document-portal/xdg-permission-store.p/.._src_xdp-app-info-host.c.o document-portal/xdg-permission-store.p/.._src_xdp-app-info-flatpak.c.o document-portal/xdg-permission-store.p/.._src_xdp-app-info-snap.c.o document-portal/xdg-permission-store.p/.._src_xdp-app-info-test.c.o document-portal/xdg-permission-store.p/.._src_sd-escape.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 -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 [220/262] gcc -o tests/test-xdp-method-info tests/test-xdp-method-info.p/test-xdp-method-info.c.o tests/test-xdp-method-info.p/.._src_xdp-method-info.c.o tests/test-xdp-method-info.p/meson-generated_.._.._src_xdp-method-info-generated.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 [221/262] /usr/bin/msgfmt -o po/be/LC_MESSAGES/xdg-desktop-portal.mo ../po/be.po [222/262] /usr/bin/msgfmt -o po/ca/LC_MESSAGES/xdg-desktop-portal.mo ../po/ca.po [223/262] /usr/bin/msgfmt -o po/cs/LC_MESSAGES/xdg-desktop-portal.mo ../po/cs.po [224/262] /usr/bin/msgfmt -o po/da/LC_MESSAGES/xdg-desktop-portal.mo ../po/da.po [225/262] /usr/bin/msgfmt -o po/de/LC_MESSAGES/xdg-desktop-portal.mo ../po/de.po [226/262] /usr/bin/msgfmt -o po/en_GB/LC_MESSAGES/xdg-desktop-portal.mo ../po/en_GB.po [227/262] /usr/bin/msgfmt -o po/es/LC_MESSAGES/xdg-desktop-portal.mo ../po/es.po [228/262] /usr/bin/msgfmt -o po/fr/LC_MESSAGES/xdg-desktop-portal.mo ../po/fr.po [229/262] /usr/bin/msgfmt -o po/gl/LC_MESSAGES/xdg-desktop-portal.mo ../po/gl.po [230/262] /usr/bin/msgfmt -o po/he/LC_MESSAGES/xdg-desktop-portal.mo ../po/he.po [231/262] /usr/bin/msgfmt -o po/hi/LC_MESSAGES/xdg-desktop-portal.mo ../po/hi.po [232/262] /usr/bin/msgfmt -o po/hr/LC_MESSAGES/xdg-desktop-portal.mo ../po/hr.po [233/262] /usr/bin/msgfmt -o po/hu/LC_MESSAGES/xdg-desktop-portal.mo ../po/hu.po [234/262] /usr/bin/msgfmt -o po/id/LC_MESSAGES/xdg-desktop-portal.mo ../po/id.po [235/262] /usr/bin/msgfmt -o po/ie/LC_MESSAGES/xdg-desktop-portal.mo ../po/ie.po [236/262] 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_xdp-app-info.c.o tests/test-permission-store.p/.._src_xdp-sealed-fd.c.o tests/test-permission-store.p/.._src_xdp-app-info-host.c.o tests/test-permission-store.p/.._src_xdp-app-info-flatpak.c.o tests/test-permission-store.p/.._src_xdp-app-info-snap.c.o tests/test-permission-store.p/.._src_xdp-app-info-test.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 [237/262] /usr/bin/msgfmt -o po/it/LC_MESSAGES/xdg-desktop-portal.mo ../po/it.po [238/262] /usr/bin/msgfmt -o po/ja/LC_MESSAGES/xdg-desktop-portal.mo ../po/ja.po [239/262] /usr/bin/msgfmt -o po/ka/LC_MESSAGES/xdg-desktop-portal.mo ../po/ka.po [240/262] /usr/bin/msgfmt -o po/lt/LC_MESSAGES/xdg-desktop-portal.mo ../po/lt.po [241/262] /usr/bin/msgfmt -o po/nl/LC_MESSAGES/xdg-desktop-portal.mo ../po/nl.po [242/262] /usr/bin/msgfmt -o po/oc/LC_MESSAGES/xdg-desktop-portal.mo ../po/oc.po [243/262] /usr/bin/msgfmt -o po/pl/LC_MESSAGES/xdg-desktop-portal.mo ../po/pl.po [244/262] /usr/bin/msgfmt -o po/pt/LC_MESSAGES/xdg-desktop-portal.mo ../po/pt.po [245/262] /usr/bin/msgfmt -o po/pt_BR/LC_MESSAGES/xdg-desktop-portal.mo ../po/pt_BR.po [246/262] /usr/bin/msgfmt -o po/ro/LC_MESSAGES/xdg-desktop-portal.mo ../po/ro.po [247/262] /usr/bin/msgfmt -o po/ru/LC_MESSAGES/xdg-desktop-portal.mo ../po/ru.po [248/262] /usr/bin/msgfmt -o po/sk/LC_MESSAGES/xdg-desktop-portal.mo ../po/sk.po [249/262] /usr/bin/msgfmt -o po/sl/LC_MESSAGES/xdg-desktop-portal.mo ../po/sl.po [250/262] /usr/bin/msgfmt -o po/sr/LC_MESSAGES/xdg-desktop-portal.mo ../po/sr.po [251/262] /usr/bin/msgfmt -o po/sv/LC_MESSAGES/xdg-desktop-portal.mo ../po/sv.po [252/262] /usr/bin/msgfmt -o po/tr/LC_MESSAGES/xdg-desktop-portal.mo ../po/tr.po [253/262] /usr/bin/msgfmt -o po/uk/LC_MESSAGES/xdg-desktop-portal.mo ../po/uk.po [254/262] /usr/bin/msgfmt -o po/zh_CN/LC_MESSAGES/xdg-desktop-portal.mo ../po/zh_CN.po [255/262] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/xdg-desktop-portal.mo ../po/zh_TW.po [256/262] 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_xdp-app-info.c.o tests/test-xdp-utils.p/.._src_xdp-sealed-fd.c.o tests/test-xdp-utils.p/.._src_xdp-app-info-host.c.o tests/test-xdp-utils.p/.._src_xdp-app-info-flatpak.c.o tests/test-xdp-utils.p/.._src_xdp-app-info-snap.c.o tests/test-xdp-utils.p/.._src_xdp-app-info-test.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 [257/262] 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/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 tests/limited-portals.p/.._src_xdp-app-info.c.o tests/limited-portals.p/.._src_xdp-sealed-fd.c.o tests/limited-portals.p/.._src_xdp-app-info-host.c.o tests/limited-portals.p/.._src_xdp-app-info-flatpak.c.o tests/limited-portals.p/.._src_xdp-app-info-snap.c.o tests/limited-portals.p/.._src_xdp-app-info-test.c.o tests/limited-portals.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/libportal.so /usr/lib64/libsystemd.so -Wl,--end-group [258/262] 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 [259/262] 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/.._src_xdp-app-info.c.o document-portal/xdg-document-portal.p/.._src_xdp-sealed-fd.c.o document-portal/xdg-document-portal.p/.._src_xdp-app-info-host.c.o document-portal/xdg-document-portal.p/.._src_xdp-app-info-flatpak.c.o document-portal/xdg-document-portal.p/.._src_xdp-app-info-snap.c.o document-portal/xdg-document-portal.p/.._src_xdp-app-info-test.c.o document-portal/xdg-document-portal.p/.._src_sd-escape.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 -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 [260/262] 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/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 tests/test-portals.p/.._src_xdp-app-info.c.o tests/test-portals.p/.._src_xdp-sealed-fd.c.o tests/test-portals.p/.._src_xdp-app-info-host.c.o tests/test-portals.p/.._src_xdp-app-info-flatpak.c.o tests/test-portals.p/.._src_xdp-app-info-snap.c.o tests/test-portals.p/.._src_xdp-app-info-test.c.o tests/test-portals.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/libportal.so /usr/lib64/libsystemd.so -Wl,--end-group [261/262] 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/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/launch-context.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/xdp-app-info.c.o src/xdg-desktop-portal.p/xdp-sealed-fd.c.o src/xdg-desktop-portal.p/xdp-app-info-host.c.o src/xdg-desktop-portal.p/xdp-app-info-flatpak.c.o src/xdg-desktop-portal.p/xdp-app-info-snap.c.o src/xdg-desktop-portal.p/xdp-app-info-test.c.o src/xdg-desktop-portal.p/sd-escape.c.o src/xdg-desktop-portal.p/xdp-method-info.c.o src/xdg-desktop-portal.p/meson-generated_.._xdp-method-info-generated.c.o src/xdg-desktop-portal.p/location.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 [262/262] /usr/bin/sphinx-build /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc doc/html Running Sphinx v7.3.7 WARNING: html_static_path entry '_static' does not exist WARNING: logo file 'img/logo.svg' does not exist WARNING: favicon file 'img/favicon.svg' does not exist matplotlib is not installed, social cards will not be generated building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 76 source files that are out of date updating environment: [new config] 76 added, 0 changed, 0 removed reading sources... [ 1%] api-reference reading sources... [ 3%] architecture reading sources... [ 4%] building-and-running reading sources... [ 5%] common-conventions reading sources... [ 7%] configuration-file reading sources... [ 8%] convenience-libraries reading sources... [ 9%] doc-org.freedesktop.background.Monitor reading sources... [ 11%] doc-org.freedesktop.impl.portal.Access reading sources... [ 12%] doc-org.freedesktop.impl.portal.Account reading sources... [ 13%] doc-org.freedesktop.impl.portal.AppChooser reading sources... [ 14%] doc-org.freedesktop.impl.portal.Background reading sources... [ 16%] doc-org.freedesktop.impl.portal.Clipboard reading sources... [ 17%] doc-org.freedesktop.impl.portal.DynamicLauncher reading sources... [ 18%] doc-org.freedesktop.impl.portal.Email reading sources... [ 20%] doc-org.freedesktop.impl.portal.FileChooser reading sources... [ 21%] doc-org.freedesktop.impl.portal.GlobalShortcuts reading sources... [ 22%] doc-org.freedesktop.impl.portal.Inhibit reading sources... [ 24%] doc-org.freedesktop.impl.portal.InputCapture reading sources... [ 25%] doc-org.freedesktop.impl.portal.Lockdown reading sources... [ 26%] doc-org.freedesktop.impl.portal.Notification reading sources... [ 28%] doc-org.freedesktop.impl.portal.PermissionStore reading sources... [ 29%] doc-org.freedesktop.impl.portal.Print reading sources... [ 30%] doc-org.freedesktop.impl.portal.RemoteDesktop reading sources... [ 32%] doc-org.freedesktop.impl.portal.Request reading sources... [ 33%] doc-org.freedesktop.impl.portal.ScreenCast reading sources... [ 34%] doc-org.freedesktop.impl.portal.Screenshot reading sources... [ 36%] doc-org.freedesktop.impl.portal.Secret reading sources... [ 37%] doc-org.freedesktop.impl.portal.Session reading sources... [ 38%] doc-org.freedesktop.impl.portal.Settings reading sources... [ 39%] doc-org.freedesktop.impl.portal.Wallpaper reading sources... [ 41%] doc-org.freedesktop.portal.Account reading sources... [ 42%] doc-org.freedesktop.portal.Background reading sources... [ 43%] doc-org.freedesktop.portal.Camera reading sources... [ 45%] doc-org.freedesktop.portal.Clipboard reading sources... [ 46%] doc-org.freedesktop.portal.Documents reading sources... [ 47%] doc-org.freedesktop.portal.DynamicLauncher reading sources... [ 49%] doc-org.freedesktop.portal.Email reading sources... [ 50%] doc-org.freedesktop.portal.FileChooser reading sources... [ 51%] doc-org.freedesktop.portal.FileTransfer reading sources... [ 53%] doc-org.freedesktop.portal.GameMode reading sources... [ 54%] doc-org.freedesktop.portal.GlobalShortcuts reading sources... [ 55%] doc-org.freedesktop.portal.Inhibit reading sources... [ 57%] doc-org.freedesktop.portal.InputCapture reading sources... [ 58%] doc-org.freedesktop.portal.Location reading sources... [ 59%] doc-org.freedesktop.portal.MemoryMonitor reading sources... [ 61%] doc-org.freedesktop.portal.NetworkMonitor reading sources... [ 62%] doc-org.freedesktop.portal.Notification reading sources... [ 63%] doc-org.freedesktop.portal.OpenURI reading sources... [ 64%] doc-org.freedesktop.portal.PowerProfileMonitor reading sources... [ 66%] doc-org.freedesktop.portal.Print reading sources... [ 67%] doc-org.freedesktop.portal.ProxyResolver reading sources... [ 68%] doc-org.freedesktop.portal.Realtime reading sources... [ 70%] doc-org.freedesktop.portal.RemoteDesktop reading sources... [ 71%] doc-org.freedesktop.portal.Request reading sources... [ 72%] doc-org.freedesktop.portal.ScreenCast reading sources... [ 74%] doc-org.freedesktop.portal.Screenshot reading sources... [ 75%] doc-org.freedesktop.portal.Secret reading sources... [ 76%] doc-org.freedesktop.portal.Session reading sources... [ 78%] doc-org.freedesktop.portal.Settings reading sources... [ 79%] doc-org.freedesktop.portal.Trash reading sources... [ 80%] doc-org.freedesktop.portal.Wallpaper reading sources... [ 82%] documents-and-fuse reading sources... [ 83%] for-app-developers reading sources... [ 84%] for-contributors reading sources... [ 86%] for-desktop-developers reading sources... [ 87%] impl-dbus-interfaces reading sources... [ 88%] index reading sources... [ 89%] portals.conf reading sources... [ 91%] pull-requests reading sources... [ 92%] reasons-to-use-portals reading sources... [ 93%] requests reading sources... [ 95%] sessions reading sources... [ 96%] system-integration reading sources... [ 97%] terminology reading sources... [ 99%] window-identifiers reading sources... [100%] writing-a-new-backend /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/api-reference.rst:10: WARNING: toctree contains reference to nonexisting document 'doc-org.freedesktop.portal.Device' /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:18: WARNING: image file not readable: _static/img/tiles/Terminology-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:21: WARNING: image file not readable: _static/img/tiles/Terminology-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:26: WARNING: image file not readable: _static/img/tiles/Request-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:29: WARNING: image file not readable: _static/img/tiles/Request-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:34: WARNING: image file not readable: _static/img/tiles/Sessions-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:37: WARNING: image file not readable: _static/img/tiles/Sessions-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:42: WARNING: image file not readable: _static/img/tiles/Window-ids-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/common-conventions.rst:45: WARNING: image file not readable: _static/img/tiles/Window-ids-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/doc-org.freedesktop.portal.RemoteDesktop.rst:719: ERROR: Unknown target name: "org.freedesktop.portal.screencast.start". /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/doc-org.freedesktop.portal.Screenshot.rst:93: WARNING: Inline interpreted text or phrase reference start-string without end-string. /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-app-developers.rst:25: WARNING: image file not readable: _static/img/tiles/Reasons-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-app-developers.rst:28: WARNING: image file not readable: _static/img/tiles/Reasons-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-app-developers.rst:34: WARNING: image file not readable: _static/img/tiles/Libraries-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-app-developers.rst:37: WARNING: image file not readable: _static/img/tiles/Libraries-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-app-developers.rst:43: WARNING: image file not readable: _static/img/tiles/APIs-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-app-developers.rst:46: WARNING: image file not readable: _static/img/tiles/APIs-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-contributors.rst:23: WARNING: image file not readable: _static/img/tiles/Building-running-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-contributors.rst:26: WARNING: image file not readable: _static/img/tiles/Building-running-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-contributors.rst:32: WARNING: image file not readable: _static/img/tiles/Pull-request-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-contributors.rst:35: WARNING: image file not readable: _static/img/tiles/Pull-request-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-contributors.rst:40: WARNING: image file not readable: _static/img/tiles/Architecture-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-contributors.rst:43: WARNING: image file not readable: _static/img/tiles/Architecture-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:28: WARNING: image file not readable: _static/img/tiles/Backend-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:31: WARNING: image file not readable: _static/img/tiles/Backend-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:36: WARNING: image file not readable: _static/img/tiles/Config-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:39: WARNING: image file not readable: _static/img/tiles/Config-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:45: WARNING: image file not readable: _static/img/tiles/System-integration-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:48: WARNING: image file not readable: _static/img/tiles/System-integration-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:67: WARNING: image file not readable: _static/img/tiles/Dbus-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:70: WARNING: image file not readable: _static/img/tiles/Dbus-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:95: WARNING: image file not readable: _static/img/tiles/Bmon-l.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/for-desktop-developers.rst:98: WARNING: image file not readable: _static/img/tiles/Bmon-d.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/index.rst:6: WARNING: image file not readable: _static/xdg-portal-light.png /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/doc/index.rst:8: WARNING: image file not readable: _static/xdg-portal-dark.png looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done done writing output... [ 1%] api-reference writing output... [ 3%] architecture writing output... [ 4%] building-and-running writing output... [ 5%] common-conventions writing output... [ 7%] configuration-file writing output... [ 8%] convenience-libraries writing output... [ 9%] doc-org.freedesktop.background.Monitor writing output... [ 11%] doc-org.freedesktop.impl.portal.Access writing output... [ 12%] doc-org.freedesktop.impl.portal.Account writing output... [ 13%] doc-org.freedesktop.impl.portal.AppChooser writing output... [ 14%] doc-org.freedesktop.impl.portal.Background writing output... [ 16%] doc-org.freedesktop.impl.portal.Clipboard writing output... [ 17%] doc-org.freedesktop.impl.portal.DynamicLauncher writing output... [ 18%] doc-org.freedesktop.impl.portal.Email writing output... [ 20%] doc-org.freedesktop.impl.portal.FileChooser writing output... [ 21%] doc-org.freedesktop.impl.portal.GlobalShortcuts writing output... [ 22%] doc-org.freedesktop.impl.portal.Inhibit writing output... [ 24%] doc-org.freedesktop.impl.portal.InputCapture writing output... [ 25%] doc-org.freedesktop.impl.portal.Lockdown writing output... [ 26%] doc-org.freedesktop.impl.portal.Notification writing output... [ 28%] doc-org.freedesktop.impl.portal.PermissionStore writing output... [ 29%] doc-org.freedesktop.impl.portal.Print writing output... [ 30%] doc-org.freedesktop.impl.portal.RemoteDesktop writing output... [ 32%] doc-org.freedesktop.impl.portal.Request writing output... [ 33%] doc-org.freedesktop.impl.portal.ScreenCast writing output... [ 34%] doc-org.freedesktop.impl.portal.Screenshot writing output... [ 36%] doc-org.freedesktop.impl.portal.Secret writing output... [ 37%] doc-org.freedesktop.impl.portal.Session writing output... [ 38%] doc-org.freedesktop.impl.portal.Settings writing output... [ 39%] doc-org.freedesktop.impl.portal.Wallpaper writing output... [ 41%] doc-org.freedesktop.portal.Account writing output... [ 42%] doc-org.freedesktop.portal.Background writing output... [ 43%] doc-org.freedesktop.portal.Camera writing output... [ 45%] doc-org.freedesktop.portal.Clipboard writing output... [ 46%] doc-org.freedesktop.portal.Documents writing output... [ 47%] doc-org.freedesktop.portal.DynamicLauncher writing output... [ 49%] doc-org.freedesktop.portal.Email writing output... [ 50%] doc-org.freedesktop.portal.FileChooser writing output... [ 51%] doc-org.freedesktop.portal.FileTransfer writing output... [ 53%] doc-org.freedesktop.portal.GameMode writing output... [ 54%] doc-org.freedesktop.portal.GlobalShortcuts writing output... [ 55%] doc-org.freedesktop.portal.Inhibit writing output... [ 57%] doc-org.freedesktop.portal.InputCapture writing output... [ 58%] doc-org.freedesktop.portal.Location writing output... [ 59%] doc-org.freedesktop.portal.MemoryMonitor writing output... [ 61%] doc-org.freedesktop.portal.NetworkMonitor writing output... [ 62%] doc-org.freedesktop.portal.Notification writing output... [ 63%] doc-org.freedesktop.portal.OpenURI writing output... [ 64%] doc-org.freedesktop.portal.PowerProfileMonitor writing output... [ 66%] doc-org.freedesktop.portal.Print writing output... [ 67%] doc-org.freedesktop.portal.ProxyResolver writing output... [ 68%] doc-org.freedesktop.portal.Realtime writing output... [ 70%] doc-org.freedesktop.portal.RemoteDesktop writing output... [ 71%] doc-org.freedesktop.portal.Request writing output... [ 72%] doc-org.freedesktop.portal.ScreenCast writing output... [ 74%] doc-org.freedesktop.portal.Screenshot writing output... [ 75%] doc-org.freedesktop.portal.Secret writing output... [ 76%] doc-org.freedesktop.portal.Session writing output... [ 78%] doc-org.freedesktop.portal.Settings writing output... [ 79%] doc-org.freedesktop.portal.Trash writing output... [ 80%] doc-org.freedesktop.portal.Wallpaper writing output... [ 82%] documents-and-fuse writing output... [ 83%] for-app-developers writing output... [ 84%] for-contributors writing output... [ 86%] for-desktop-developers writing output... [ 87%] impl-dbus-interfaces writing output... [ 88%] index writing output... [ 89%] portals.conf writing output... [ 91%] pull-requests writing output... [ 92%] reasons-to-use-portals writing output... [ 93%] requests writing output... [ 95%] sessions writing output... [ 96%] system-integration writing output... [ 97%] terminology writing output... [ 99%] window-identifiers writing output... [100%] writing-a-new-backend generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 38 warnings. The HTML pages are in doc/html. INFO: autodetecting backend as ninja INFO: calculating backend command to run: /usr/bin/ninja -C /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build -j 8 -v + RPM_EC=0 ++ jobs -p + exit 0 Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bc --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 03:49:31 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "rpmbuild --nocheck" >>> 2024-11-13 03:49:32 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--chroot" "/bin/su mockbuild -l -c \"PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\\$PATH CSWRAP_CAP_FILE=\\\$'/builddir/cswrap-capture.err' CSWRAP_TIMEOUT=\\\$'30' CSWRAP_TIMEOUT_FOR=\\\$'::cppcheck:csmock-gcc-wrapper' CSWRAP_ADD_CFLAGS=\\\$'-Wno-unknown-pragmas' CSWRAP_DEL_CFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSWRAP_ADD_CXXFLAGS=\\\$'' CSWRAP_DEL_CXXFLAGS=\\\$'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register' CSGCCA_ADD_OPTS=\\\$'-fdiagnostics-text-art-charset=none' CSGCCA_ANALYZER_BIN=\\\$'csmock-gcc-wrapper' sh -c \\\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec '--define' '_unpackaged_files_terminate_build 0' '--define' 'apidocs 0' '--define' 'with_publican 0' '--without' 'docs' '--without' 'langpacks' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite' '--nocheck' '--define' 'libguestfs_runtests 0' '--define' 'runselftest 0' '--without' 'test' '--without' 'testsuite'\\\"\"" INFO: mock.py version 5.9 starting (python version = 3.9.20, NVR = mock-5.9-1.el9), args: /usr/libexec/mock/mock -r fedora-rawhide-gcc-latest-x86_64 --plugin-option=tmpfs:keep_mounted=True --config-opts=print_main_output=True --chroot '/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\$PATH CSWRAP_CAP_FILE=\$'"'"'/builddir/cswrap-capture.err'"'"' CSWRAP_TIMEOUT=\$'"'"'30'"'"' CSWRAP_TIMEOUT_FOR=\$'"'"'::cppcheck:csmock-gcc-wrapper'"'"' CSWRAP_ADD_CFLAGS=\$'"'"'-Wno-unknown-pragmas'"'"' CSWRAP_DEL_CFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSWRAP_ADD_CXXFLAGS=\$'"'"''"'"' CSWRAP_DEL_CXXFLAGS=\$'"'"'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register'"'"' CSGCCA_ADD_OPTS=\$'"'"'-fdiagnostics-text-art-charset=none'"'"' CSGCCA_ANALYZER_BIN=\$'"'"'csmock-gcc-wrapper'"'"' sh -c \"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec '"'"'--define'"'"' '"'"'_unpackaged_files_terminate_build 0'"'"' '"'"'--define'"'"' '"'"'apidocs 0'"'"' '"'"'--define'"'"' '"'"'with_publican 0'"'"' '"'"'--without'"'"' '"'"'docs'"'"' '"'"'--without'"'"' '"'"'langpacks'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"' '"'"'--nocheck'"'"' '"'"'--define'"'"' '"'"'libguestfs_runtests 0'"'"' '"'"'--define'"'"' '"'"'runselftest 0'"'"' '"'"'--without'"'"' '"'"'test'"'"' '"'"'--without'"'"' '"'"'testsuite'"'"'\""' Start(bootstrap): init plugins INFO: selinux enabled Finish(bootstrap): init plugins Start: init plugins INFO: selinux enabled Finish: init plugins INFO: Signal handler active Start: run Mock Version: 5.9 INFO: Mock Version: 5.9 Start(bootstrap): chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Package manager dnf5 detected and used (fallback) Finish(bootstrap): chroot init Start: chroot init INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf5 detected and used (direct choice) Finish: chroot init INFO: Running in chroot: ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Start: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] setting SOURCE_DATE_EPOCH=1728604800 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.a1QG5L + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + '[' /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT ++ dirname /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT + mkdir -p /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + mkdir /builddir/build/BUILD/xdg-desktop-portal-1.19.0-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.19.0 + DESTDIR=/builddir/build/BUILD/xdg-desktop-portal-1.19.0-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.19.0-build/BUILDROOT/usr/libexec Installing src/xdg-desktop-portal-validate-icon to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/libexec Installing src/xdg-desktop-portal-rewrite-launchers to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/libexec Installing document-portal/xdg-permission-store to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/libexec Installing document-portal/xdg-document-portal to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/libexec Installing po/be/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-build/BUILDROOT/usr/share/locale/id/LC_MESSAGES Installing po/ie/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/locale/ie/LC_MESSAGES Installing po/it/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/locale/it/LC_MESSAGES Installing po/ja/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/locale/ja/LC_MESSAGES Installing po/ka/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-build/BUILDROOT/usr/share/locale/sk/LC_MESSAGES Installing po/sl/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/locale/sl/LC_MESSAGES Installing po/sr/LC_MESSAGES/xdg-desktop-portal.mo to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-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.19.0-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.19.0-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.19.0-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.19.0-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.19.0-build/BUILDROOT/usr/share/locale/zh_TW/LC_MESSAGES Installing doc/portals.conf.5 to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/man/man5 Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/meson-private/xdg-desktop-portal.pc to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/pkgconfig Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Account.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Background.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Camera.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Clipboard.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Documents.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.DynamicLauncher.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Email.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.FileChooser.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.FileTransfer.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.GameMode.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.GlobalShortcuts.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Inhibit.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.InputCapture.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Location.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.MemoryMonitor.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.NetworkMonitor.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Notification.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.OpenURI.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.PowerProfileMonitor.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Print.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.ProxyResolver.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Realtime.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.RemoteDesktop.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Request.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.ScreenCast.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Screenshot.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Secret.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Session.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Settings.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Trash.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.portal.Wallpaper.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Access.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Account.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.AppChooser.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Background.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Clipboard.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.DynamicLauncher.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Email.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.FileChooser.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.GlobalShortcuts.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Inhibit.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.InputCapture.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Lockdown.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Notification.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.PermissionStore.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Print.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.RemoteDesktop.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Request.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.ScreenCast.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Screenshot.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Secret.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Session.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Settings.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/data/org.freedesktop.impl.portal.Wallpaper.xml to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/interfaces Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdg-desktop-portal.service to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/org.freedesktop.portal.Desktop.service to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/services Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/src/xdg-desktop-portal-rewrite-launchers.service to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/document-portal/xdg-permission-store.service to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/document-portal/xdg-document-portal.service to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/lib/systemd/user Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/document-portal/org.freedesktop.portal.Documents.service to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/services Installing /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/redhat-linux-build/document-portal/org.freedesktop.impl.portal.PermissionStore.service to /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/dbus-1/services + install -dm 755 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT//usr/share/doc/xdg-desktop-portal + install -pm 644 README.md /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT//usr/share/doc/xdg-desktop-portal + install -dm 755 /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT//usr/share/xdg-desktop-portal/portals + /usr/lib/rpm/find-lang.sh /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT xdg-desktop-portal + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 1.19.0-1.fc42 --unique-debug-suffix -1.19.0-1.fc42.x86_64 --unique-debug-src-base xdg-desktop-portal-1.19.0-1.fc42.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.19.0-build/xdg-desktop-portal-1.19.0 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.19.0-1.fc42.x86_64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /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.19.0-build/BUILDROOT Scanned 99 directories and 241 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/SPECPARTS/rpm-debuginfo.specpart Processing files: xdg-desktop-portal-1.19.0-1.fc42.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.4tlqQX + umask 022 + cd /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build + cd xdg-desktop-portal-1.19.0 + LICENSEDIR=/builddir/build/BUILD/xdg-desktop-portal-1.19.0-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.19.0-build/BUILDROOT/usr/share/licenses/xdg-desktop-portal + cp -pr /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/xdg-desktop-portal-1.19.0/COPYING /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT/usr/share/licenses/xdg-desktop-portal + RPM_EC=0 ++ jobs -p + exit 0 Provides: xdg-desktop-portal = 1.19.0-1.fc42 xdg-desktop-portal(x86-64) = 1.19.0-1.fc42 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.27)(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.19.0-1.fc42.x86_64 Provides: pkgconfig(xdg-desktop-portal) = 1.19.0 xdg-desktop-portal-devel = 1.19.0-1.fc42 xdg-desktop-portal-devel(x86-64) = 1.19.0-1.fc42 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.19.0-1.fc42.x86_64 Provides: xdg-desktop-portal-debugsource = 1.19.0-1.fc42 xdg-desktop-portal-debugsource(x86-64) = 1.19.0-1.fc42 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.19.0-1.fc42.x86_64 Provides: debuginfo(build-id) = 163a7f830ffb26e71dbec15d1b2a2f29e583250b debuginfo(build-id) = 2cde0686cc83eddf831285e7102e0a66fd90b57e debuginfo(build-id) = 50e394461e90796e431b21152d430ace4f5f9f04 debuginfo(build-id) = eb19608fdaac037f6fad21f474689b59914d050a debuginfo(build-id) = fbaeed75eb339c958512d84503b1afd72472c56e xdg-desktop-portal-debuginfo = 1.19.0-1.fc42 xdg-desktop-portal-debuginfo(x86-64) = 1.19.0-1.fc42 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.19.0-1.fc42 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/xdg-desktop-portal-1.19.0-build/BUILDROOT Finish: chroot ['/bin/su mockbuild -l -c "PATH=/usr/lib64/cscppc:/usr/lib64/csgcca:/usr/lib64/cswrap:\\$PATH CSWRAP_CAP_FILE=\\$\'/builddir/cswrap-capture.err\' CSWRAP_TIMEOUT=\\$\'30\' CSWRAP_TIMEOUT_FOR=\\$\'::cppcheck:csmock-gcc-wrapper\' CSWRAP_ADD_CFLAGS=\\$\'-Wno-unknown-pragmas\' CSWRAP_DEL_CFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSWRAP_ADD_CXXFLAGS=\\$\'\' CSWRAP_DEL_CXXFLAGS=\\$\'-Werror*:-fdiagnostics-color*:-no-canonical-prefixes:-Wno-error=deprecated-register\' CSGCCA_ADD_OPTS=\\$\'-fdiagnostics-text-art-charset=none\' CSGCCA_ANALYZER_BIN=\\$\'csmock-gcc-wrapper\' sh -c \\"rpmbuild -bi --nodeps --short-circuit /builddir/build/SPECS/xdg-desktop-portal.spec \'--define\' \'_unpackaged_files_terminate_build 0\' \'--define\' \'apidocs 0\' \'--define\' \'with_publican 0\' \'--without\' \'docs\' \'--without\' \'langpacks\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\' \'--nocheck\' \'--define\' \'libguestfs_runtests 0\' \'--define\' \'runselftest 0\' \'--without\' \'test\' \'--without\' \'testsuite\'\\""'] Finish: run >>> 2024-11-13 03:49:35 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "shopt -s nullglob && SC_RESULTS_DIR=/builddir/shellcheck-results SC_BATCH=1 SC_TIMEOUT=30 /usr/share/csmock/scripts/run-shellcheck.sh /builddir/build/BUILDROOT/* /builddir/build/BUILD/*/BUILDROOT/*" Looking for shell scripts... done >>> 2024-11-13 03:49:36 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--chroot" "LANG=en_US.utf8 /usr/share/csmock/scripts/find-unicode-control.py -d -v /builddir/build/BUILD -p bidi --notests >/builddir/unicontrol-capture.err 2>/builddir/unicontrol-capture.log" >>> 2024-11-13 03:49:39 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'tar -c --remove-files '/builddir/cswrap-capture.err' '/builddir/shellcheck-results' '/builddir/unicontrol-capture.err' '/builddir/unicontrol-capture.log' '/builddir/clippy-output.txt'' | tar -xC '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/raw-results' tar: Removing leading `/' from member names tar: Removing leading `/' from hard link targets >>> 2024-11-13 03:49:40 cat '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/raw-results/builddir/cswrap-capture.err' | csgrep --mode=json --quiet --path '^/builddir/build/BUILD/' --remove-duplicates | csgrep --mode=json --invert-match --checker CPPCHECK_WARNING --event 'cppcheckError|internalAstError|normalCheckLevelMaxBranches|preprocessorErrorDirective|syntaxError|unknownMacro' | csgrep --mode=json --invert-match --checker COMPILER_WARNING --event error > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/uni-results/cswrap-capture.js' >>> 2024-11-13 03:49:40 set -o pipefail; /usr/share/csmock/scripts/convert-clippy.py < /tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/raw-results/builddir/clippy-output.txt | csgrep --remove-duplicates > /tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/uni-results/clippy-capture.err >>> 2024-11-13 03:49:40 cd /tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/raw-results/builddir/shellcheck-results && csgrep --mode=json --remove-duplicates --quiet --invert-match --event '^info|style|warning\[SC1090\]' *.json > /tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/uni-results/shellcheck-capture.json >>> 2024-11-13 03:49:40 csgrep --mode=json '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/raw-results/builddir/unicontrol-capture.err' > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/uni-results/unicontrol-capture.js' scan.ini: time-finished = 2024-11-13 03:49:40 scan.ini: exit-code = 0 >>> 2024-11-13 03:49:40 cslinker --quiet --cwelist '/usr/share/csmock/cwe-map.csv' --inifile '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan.ini' '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/uni-results'/* > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/scan-results-all.js' >>> 2024-11-13 03:49:40 '/usr/bin/mock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '--plugin-option=tmpfs:keep_mounted=True' '--config-opts=print_main_output=True' '--quiet' '--shell' 'csgrep --mode=json --embed-context 3 '--warning-rate-limit=1024' '--limit-msg-len=512'' <'/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/scan-results-all.js' >'/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/scan-results-all.js.tmp' >>> 2024-11-13 03:49:42 "/usr/bin/mock" "-r" "fedora-rawhide-gcc-latest-x86_64" "--plugin-option=tmpfs:keep_mounted=True" "--config-opts=print_main_output=True" "--quiet" "--clean" >>> 2024-11-13 03:49:45 cat '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --path '^/builddir/build/BUILD/' --strip-path-prefix /builddir/build/BUILD/ | csgrep --mode=json --invert-match --path '^ksh-.*[0-9]+\.c$' | csgrep --mode=json --invert-match --path 'CMakeFiles/CMakeTmp|conftest.c' | cssort --key=path > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results.js' >>> 2024-11-13 03:49:45 cat '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/scan-results-all.js' | sed -r 's;/builddir/build/BUILD(ROOT/[^/]+|/[^/]+/BUILDROOT)/;/builddir/build/BUILD//;' | csgrep --mode=json --strip-path-prefix /builddir/build/BUILD/ | csdiff --show-internal '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results.js' - | cssort > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/suppressed-results.js' >>> 2024-11-13 03:49:45 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/suppressed-results.js' > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/suppressed-results.err' >>> 2024-11-13 03:49:45 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/suppressed-results.js' | cshtml - > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/suppressed-results.html' >>> 2024-11-13 03:49:45 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/suppressed-results.js' | tee '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/debug/suppressed-results-summary.txt' >>> 2024-11-13 03:49:45 csgrep --mode=grep --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results.js' > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results.err' >>> 2024-11-13 03:49:45 csgrep --mode=json --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results.js' | cshtml - > '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results.html' >>> 2024-11-13 03:49:45 csgrep --mode=evtstat --invert-match --event "internal warning" --prune-events=1 '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results.js' | tee '/tmp/csmock4z05obyv/xdg-desktop-portal-1.19.0-1.fc42/scan-results-summary.txt' 12 CPPCHECK_WARNING error[integerOverflow] 18 GCC_ANALYZER_WARNING warning[-Wanalyzer-fd-leak] 1 GCC_ANALYZER_WARNING warning[-Wanalyzer-malloc-leak] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-argument] 3 GCC_ANALYZER_WARNING warning[-Wanalyzer-null-dereference] <<< 2024-11-13 03:49:45 csmock exit code: 0